diff options
author | danielk1977 <danielk1977@noemail.net> | 2004-06-25 02:38:54 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2004-06-25 02:38:54 +0000 |
commit | 7657240a21c3a8d461e2fcf89a94a30a3bc9657c (patch) | |
tree | 52f54e92d1a4362a4e3951d77bf7f182e383d591 /src/test5.c | |
parent | e9707671447d0061f13ec9fdf990c47ca0ea085c (diff) | |
download | sqlite-7657240a21c3a8d461e2fcf89a94a30a3bc9657c.tar.gz sqlite-7657240a21c3a8d461e2fcf89a94a30a3bc9657c.zip |
Modifications to the journal format to make it more robust. (CVS 1686)
FossilOrigin-Name: 504246a18daca794473b17a7874096f1ec8648ee
Diffstat (limited to 'src/test5.c')
-rw-r--r-- | src/test5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test5.c b/src/test5.c index cd6d877f3..2b325bd99 100644 --- a/src/test5.c +++ b/src/test5.c @@ -15,7 +15,7 @@ ** is used for testing the SQLite routines for converting between ** the various supported unicode encodings. ** -** $Id: test5.c,v 1.12 2004/06/23 13:46:32 danielk1977 Exp $ +** $Id: test5.c,v 1.13 2004/06/25 02:38:55 danielk1977 Exp $ */ #include "sqliteInt.h" #include "vdbeInt.h" @@ -168,7 +168,7 @@ static int test_translate( sqlite3ValueSetStr(pVal, -1, z, enc_from, xDel); } - z = sqlite3ValueText(pVal, enc_to); + z = (char *)sqlite3ValueText(pVal, enc_to); len = sqlite3ValueBytes(pVal, enc_to) + (enc_to==SQLITE_UTF8?1:2); Tcl_SetObjResult(interp, Tcl_NewByteArrayObj(z, len)); |