diff options
author | drh <drh@noemail.net> | 2005-12-06 13:19:07 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2005-12-06 13:19:07 +0000 |
commit | 7dd90a4785bde77c79c2020c201e44f8f141bb8d (patch) | |
tree | b1488469dcf1cedbfb4eaa23a08e64414ac463d2 /src/main.c | |
parent | 1a485fca832fd84b8d54056f104881cc6b988103 (diff) | |
download | sqlite-7dd90a4785bde77c79c2020c201e44f8f141bb8d.tar.gz sqlite-7dd90a4785bde77c79c2020c201e44f8f141bb8d.zip |
Report errors out of sqlite3_open16(). (CVS 2802)
FossilOrigin-Name: f5b58163d4520fa3e7137e8445a8ef19aae3e799
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c index c2ab9df42..d0fa7291e 100644 --- a/src/main.c +++ b/src/main.c @@ -14,7 +14,7 @@ ** other files are for internal use by SQLite and should not be ** accessed by users of the library. ** -** $Id: main.c,v 1.305 2005/12/06 12:52:59 danielk1977 Exp $ +** $Id: main.c,v 1.306 2005/12/06 13:19:08 drh Exp $ */ #include "sqliteInt.h" #include "os.h" @@ -830,7 +830,7 @@ int sqlite3_open16( if( zFilename8 ){ rc = openDatabase(zFilename8, ppDb); if( rc==SQLITE_OK && *ppDb ){ - sqlite3_exec(*ppDb, "PRAGMA encoding = 'UTF-16'", 0, 0, 0); + rc = sqlite3_exec(*ppDb, "PRAGMA encoding = 'UTF-16'", 0, 0, 0); } } if( pVal ){ |