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
This commit is contained in:
parent
428e282662
commit
8601124d56
14
manifest
14
manifest
@ -1,5 +1,5 @@
|
|||||||
C Make\sthe\slatest\sinterfaces\susable\sby\sloadable\sextensions.\s(CVS\s4343)
|
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:23:19
|
D 2007-08-30T16:30:27
|
||||||
F Makefile.in bfcc303429a5d9dcd552d807ee016c77427418c3
|
F Makefile.in bfcc303429a5d9dcd552d807ee016c77427418c3
|
||||||
F Makefile.linux-gcc 65241babba6faf1152bf86574477baab19190499
|
F Makefile.linux-gcc 65241babba6faf1152bf86574477baab19190499
|
||||||
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
|
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
|
||||||
@ -91,7 +91,7 @@ F src/date.c af235f38f50809abd0a96da3bb3e0cc32be6226e
|
|||||||
F src/delete.c 849846d06d29851dde0d9f424a5de5817eb140d1
|
F src/delete.c 849846d06d29851dde0d9f424a5de5817eb140d1
|
||||||
F src/experimental.c 1b2d1a6cd62ecc39610e97670332ca073c50792b
|
F src/experimental.c 1b2d1a6cd62ecc39610e97670332ca073c50792b
|
||||||
F src/expr.c e0e393df864531720b5281c528c6a8d59d530b80
|
F src/expr.c e0e393df864531720b5281c528c6a8d59d530b80
|
||||||
F src/func.c 30f9562b0e71efcf0d9752079b95480d2cba6a34
|
F src/func.c 10135a09d37f89b524bfea7c36368699e9c3b89a
|
||||||
F src/hash.c 8fe2fa52bd17869c87748e42cff5b1e7fbf90822
|
F src/hash.c 8fe2fa52bd17869c87748e42cff5b1e7fbf90822
|
||||||
F src/hash.h 3ad3da76bfb954978d227bf495568b0e6da2c19e
|
F src/hash.h 3ad3da76bfb954978d227bf495568b0e6da2c19e
|
||||||
F src/insert.c b11e5ca0d68bf2a7a56f47a052a0ee67dd4e2f89
|
F src/insert.c b11e5ca0d68bf2a7a56f47a052a0ee67dd4e2f89
|
||||||
@ -568,7 +568,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
|
|||||||
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
|
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
|
||||||
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
|
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
|
||||||
F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
|
F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
|
||||||
P e30546504c59c7d92d83a32d9b7e83edc175e247
|
P e9b2700b8c30b0255c9e33419ff18bdebb78087a
|
||||||
R 34333bee6b905f0af369402169c0c1ca
|
R 27462cb23e301d0ba4176124c264ff8a
|
||||||
U drh
|
U danielk1977
|
||||||
Z 87a90450ab7d85013af51642e9aa58c3
|
Z 0415599994e32458e5dda96854a85efc
|
||||||
|
@ -1 +1 @@
|
|||||||
e9b2700b8c30b0255c9e33419ff18bdebb78087a
|
c073b78040e5833de038dea464ac87c7358b8b51
|
@ -16,7 +16,7 @@
|
|||||||
** sqliteRegisterBuildinFunctions() found at the bottom of the file.
|
** sqliteRegisterBuildinFunctions() found at the bottom of the file.
|
||||||
** All other code has file scope.
|
** 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 "sqliteInt.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
@ -1084,6 +1084,7 @@ static void test_destructor(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
zVal[len+1] = 0;
|
zVal[len+1] = 0;
|
||||||
|
zVal[len+2] = 0;
|
||||||
zVal++;
|
zVal++;
|
||||||
memcpy(zVal, sqlite3ValueText(argv[0], ENC(db)), len);
|
memcpy(zVal, sqlite3ValueText(argv[0], ENC(db)), len);
|
||||||
if( ENC(db)==SQLITE_UTF8 ){
|
if( ENC(db)==SQLITE_UTF8 ){
|
||||||
|
Loading…
Reference in New Issue
Block a user