More realistic lengths of string values in speedtest1 with --testset orm.

FossilOrigin-Name: e4731fd65f9698817690b741cc454f25e8e871e6
This commit is contained in:
drh 2017-02-14 16:30:13 +00:00
parent a829054049
commit d2f92c26d5
3 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
C Fix\sa\stestcase\snumber\son\sthe\sORM\stestset\sof\sspeedtest1.
D 2017-02-14T15:58:58.551
C More\srealistic\slengths\sof\sstring\svalues\sin\sspeedtest1\swith\s--testset\sorm.
D 2017-02-14T16:30:13.697
F Makefile.in edb6bcdd37748d2b1c3422ff727c748df7ffe918
F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
F Makefile.msc 067a6766f800cc8d72845ab61f8de4ffe8f3fc99
@ -1137,7 +1137,7 @@ F test/speed3.test 694affeb9100526007436334cf7d08f3d74b85ef
F test/speed4.test abc0ad3399dcf9703abed2fff8705e4f8e416715
F test/speed4p.explain 6b5f104ebeb34a038b2f714150f51d01143e59aa
F test/speed4p.test 0e51908951677de5a969b723e03a27a1c45db38b
F test/speedtest1.c 4f7a10a3db37a5d9ab673244b8c87f77fa8ab913
F test/speedtest1.c 7b1ab42b097b484c18d99e1d1c71a6a0c9c87a7a
F test/spellfix.test f9c1f431e2c096c8775fec032952320c0e4700db
F test/spellfix2.test dfc8f519a3fc204cb2dfa8b4f29821ae90f6f8c3
F test/spellfix3.test 0f9efaaa502a0e0a09848028518a6fb096c8ad33
@ -1555,7 +1555,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
P 1836adc1d1f8e496ae0a07bf0fc933a19dc8fee5
R db256bb9d4f2af476591a168e0c752ad
P 58b2f911eec2e3eb9944dd6d8573ff5c7bd43f70
R 20b26eda0719e5594bae6bc77f8993f3
U drh
Z 52eb4a5120830a27e32049ce6ccc32b2
Z ceef40c49fe3ba25325b7e3939c1bded

View File

@ -1 +1 @@
58b2f911eec2e3eb9944dd6d8573ff5c7bd43f70
e4731fd65f9698817690b741cc454f25e8e871e6

View File

@ -1499,14 +1499,14 @@ void testset_orm(void){
);
for(i=0; i<n; i++){
x1 = speedtest1_random();
speedtest1_numbername(x1, zNum, sizeof(zNum));
speedtest1_numbername(x1%1000, zNum, sizeof(zNum));
len = (int)strlen(zNum);
sqlite3_bind_int(g.pStmt, 1, i^0xf);
for(j=0; zType[j]; j++){
switch( zType[j] ){
case 'I':
case 'T':
sqlite3_bind_int(g.pStmt, j+2, x1);
sqlite3_bind_int64(g.pStmt, j+2, x1);
break;
case 'F':
sqlite3_bind_double(g.pStmt, j+2, (double)x1);