Skip to content

Commit 6a7894b

Browse files
Adjust SQLITE_NOTADB text message
1 parent be789e9 commit 6a7894b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1435,7 +1435,7 @@ const char *sqlite3ErrStr(int rc){
14351435
/* SQLITE_AUTH */ "authorization denied",
14361436
/* SQLITE_FORMAT */ 0,
14371437
/* SQLITE_RANGE */ "column index out of range",
1438-
/* SQLITE_NOTADB */ "file is not a database",
1438+
/* SQLITE_NOTADB */ "file is encrypted or is not a database",
14391439
};
14401440
const char *zErr = "unknown error";
14411441
switch( rc ){

0 commit comments

Comments
 (0)