diff options
author | drh <drh@noemail.net> | 2012-10-09 14:58:15 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2012-10-09 14:58:15 +0000 |
commit | d1102b1ec7d50045cbbcf2575eacb2d423361fc7 (patch) | |
tree | a586e444e7362a6cf02fa05c85311851e36abb97 /src/test_intarray.c | |
parent | c4645dacfb435002911b187b474fa0788db9cde0 (diff) | |
parent | 5a55826bcda624f8fa4a3b7cc0c8845a689d8957 (diff) | |
download | sqlite-d1102b1ec7d50045cbbcf2575eacb2d423361fc7.tar.gz sqlite-d1102b1ec7d50045cbbcf2575eacb2d423361fc7.zip |
Merge the latest trunk changes, especially the ORDER BY optimizer enhancements
but also other fixes, onto the sessions branch.
FossilOrigin-Name: f1fbb8c5bfa84e84e0b8e2872d83b06a0c0d5acc
Diffstat (limited to 'src/test_intarray.c')
-rw-r--r-- | src/test_intarray.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test_intarray.c b/src/test_intarray.c index 8651d01cf..6ea775617 100644 --- a/src/test_intarray.c +++ b/src/test_intarray.c @@ -346,8 +346,9 @@ static int test_intarray_bind( return TCL_ERROR; } for(i=0; i<n; i++){ - a[i] = 0; - Tcl_GetWideIntFromObj(0, objv[i+2], &a[i]); + Tcl_WideInt x = 0; + Tcl_GetWideIntFromObj(0, objv[i+2], &x); + a[i] = x; } rc = sqlite3_intarray_bind(pArray, n, a, sqlite3_free); if( rc!=SQLITE_OK ){ |