mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Fix an error message in the spellfix extension so that it conforms to the
style of error messages in the core. FossilOrigin-Name: b896ae3d2787c370be3ff5d09da7d631a16d3a2a
This commit is contained in:
@ -2672,7 +2672,7 @@ static int spellfix1Update(
|
||||
const char *zCmd =
|
||||
(const char*)sqlite3_value_text(argv[SPELLFIX_COL_COMMAND+2]);
|
||||
if( zCmd==0 ){
|
||||
pVTab->zErrMsg = sqlite3_mprintf("%s.word may not be NULL",
|
||||
pVTab->zErrMsg = sqlite3_mprintf("NOT NULL constraint failed: %s.word",
|
||||
p->zTableName);
|
||||
return SQLITE_CONSTRAINT_NOTNULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user