Skip to content

Inconsistent error messages #296

@brody4hire

Description

@brody4hire

As reproduced in sqlcipher/sqlcipher-android-tests#16:

While a constraint exception is reported with a correct error message such as: error code 19: UNIQUE constraint failed: tt.a

some other errors are reported with error messages with no error code and obviously some information missing, for example:

  • near "SLCT": syntax error: , while compiling: SLCT 1"
  • no such function: UPER: , while compiling: SELECT UPER('Test')

Just like #295 this was fixed in AOSP several years ago. Again I am not sure how easy it is to incorporate these fixes due to the divergence in code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions