From: danielk1977 Date: Thu, 30 Aug 2007 16:30:27 +0000 (+0000) Subject: Fix the "test_destructor" test function in utf-16 mode. Fix for test failure in utf16... X-Git-Tag: version-3.6.10~1833 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8601124d568c82cacc7dc620103a47aee2913b42;p=thirdparty%2Fsqlite.git Fix the "test_destructor" test function in utf-16 mode. Fix for test failure in utf16 version of func.test. (CVS 4344) FossilOrigin-Name: c073b78040e5833de038dea464ac87c7358b8b51 --- diff --git a/manifest b/manifest index 40475e3400..23261058f2 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Make\sthe\slatest\sinterfaces\susable\sby\sloadable\sextensions.\s(CVS\s4343) -D 2007-08-30T16:23:19 +C Fix\sthe\s"test_destructor"\stest\sfunction\sin\sutf-16\smode.\sFix\sfor\stest\sfailure\sin\sutf16\sversion\sof\sfunc.test.\s(CVS\s4344) +D 2007-08-30T16:30:27 F Makefile.in bfcc303429a5d9dcd552d807ee016c77427418c3 F Makefile.linux-gcc 65241babba6faf1152bf86574477baab19190499 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028 @@ -91,7 +91,7 @@ F src/date.c af235f38f50809abd0a96da3bb3e0cc32be6226e F src/delete.c 849846d06d29851dde0d9f424a5de5817eb140d1 F src/experimental.c 1b2d1a6cd62ecc39610e97670332ca073c50792b F src/expr.c e0e393df864531720b5281c528c6a8d59d530b80 -F src/func.c 30f9562b0e71efcf0d9752079b95480d2cba6a34 +F src/func.c 10135a09d37f89b524bfea7c36368699e9c3b89a F src/hash.c 8fe2fa52bd17869c87748e42cff5b1e7fbf90822 F src/hash.h 3ad3da76bfb954978d227bf495568b0e6da2c19e F src/insert.c b11e5ca0d68bf2a7a56f47a052a0ee67dd4e2f89 @@ -568,7 +568,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5 -P e30546504c59c7d92d83a32d9b7e83edc175e247 -R 34333bee6b905f0af369402169c0c1ca -U drh -Z 87a90450ab7d85013af51642e9aa58c3 +P e9b2700b8c30b0255c9e33419ff18bdebb78087a +R 27462cb23e301d0ba4176124c264ff8a +U danielk1977 +Z 0415599994e32458e5dda96854a85efc diff --git a/manifest.uuid b/manifest.uuid index 37cd036bea..55dc1d0cb6 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -e9b2700b8c30b0255c9e33419ff18bdebb78087a \ No newline at end of file +c073b78040e5833de038dea464ac87c7358b8b51 \ No newline at end of file diff --git a/src/func.c b/src/func.c index f530d32122..6a8ea56820 100644 --- a/src/func.c +++ b/src/func.c @@ -16,7 +16,7 @@ ** sqliteRegisterBuildinFunctions() found at the bottom of the file. ** All other code has file scope. ** -** $Id: func.c,v 1.171 2007/08/29 14:06:23 danielk1977 Exp $ +** $Id: func.c,v 1.172 2007/08/30 16:30:27 danielk1977 Exp $ */ #include "sqliteInt.h" #include @@ -1084,6 +1084,7 @@ static void test_destructor( return; } zVal[len+1] = 0; + zVal[len+2] = 0; zVal++; memcpy(zVal, sqlite3ValueText(argv[0], ENC(db)), len); if( ENC(db)==SQLITE_UTF8 ){