diff options
author | drh <drh@noemail.net> | 2006-05-24 12:43:26 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2006-05-24 12:43:26 +0000 |
commit | f012ea3b0020d65e57ebb30b9dfdaa0a0aed6294 (patch) | |
tree | a723d30638375452bc8a4e078c44f86dc29b3a44 /src/callback.c | |
parent | 9c0cb0e893caacfeadcdc674fec27657eeb39ee6 (diff) | |
download | sqlite-f012ea3b0020d65e57ebb30b9dfdaa0a0aed6294.tar.gz sqlite-f012ea3b0020d65e57ebb30b9dfdaa0a0aed6294.zip |
When opening a new connection on a shared cache, be careful not to
overwrite the encoding flag on the shared cache. Ticket #1824. (CVS 3190)
FossilOrigin-Name: c8e5ceedee087098c04e3b6b8b82710de0563e77
Diffstat (limited to 'src/callback.c')
-rw-r--r-- | src/callback.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/callback.c b/src/callback.c index e7ca3c613..2a87677dd 100644 --- a/src/callback.c +++ b/src/callback.c @@ -13,7 +13,7 @@ ** This file contains functions used to access the internal hash tables ** of user defined functions and collation sequences. ** -** $Id: callback.c,v 1.14 2006/03/14 11:08:28 drh Exp $ +** $Id: callback.c,v 1.15 2006/05/24 12:43:27 drh Exp $ */ #include "sqliteInt.h" @@ -362,6 +362,7 @@ Schema *sqlite3SchemaGet(Btree *pBt){ sqlite3HashInit(&p->idxHash, SQLITE_HASH_STRING, 0); sqlite3HashInit(&p->trigHash, SQLITE_HASH_STRING, 0); sqlite3HashInit(&p->aFKey, SQLITE_HASH_STRING, 1); + p->enc = SQLITE_UTF8; } return p; } |