aboutsummaryrefslogtreecommitdiff
path: root/ext/misc/spellfix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2013-11-12 01:11:56 +0000
committerdrh <drh@noemail.net>2013-11-12 01:11:56 +0000
commitf8396b201c68bb27d7f01c2f8b9e33dd3eeb4151 (patch)
treef9520ba44ea295d2b1c1f7961721af39c37bd7b4 /ext/misc/spellfix.c
parent5d2f6c211e23ae4eaa8cf899c13e09453ba111a2 (diff)
downloadsqlite-f8396b201c68bb27d7f01c2f8b9e33dd3eeb4151.tar.gz
sqlite-f8396b201c68bb27d7f01c2f8b9e33dd3eeb4151.zip
Fix an error message in the spellfix extension so that it conforms to the
style of error messages in the core. FossilOrigin-Name: b896ae3d2787c370be3ff5d09da7d631a16d3a2a
Diffstat (limited to 'ext/misc/spellfix.c')
-rw-r--r--ext/misc/spellfix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/misc/spellfix.c b/ext/misc/spellfix.c
index 7d4f5e987..768ea5753 100644
--- a/ext/misc/spellfix.c
+++ b/ext/misc/spellfix.c
@@ -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;
}