In one part of the vector search code we relying on the SQLITE_CONSTRAINT but since by default we enable sqlite3_extended_result_codes - the real return code will be more detailed.
In order to fix this we need to compare lower bits of the error code: rc & 0xff
Context
In one part of the vector search code we relying on the
SQLITE_CONSTRAINT
but since by default we enablesqlite3_extended_result_codes
- the real return code will be more detailed.In order to fix this we need to compare lower bits of the error code:
rc & 0xff