From: drh Date: Tue, 15 Mar 2011 18:35:44 +0000 (+0000) Subject: Fix an out-of-order variable declaration in shell.c. X-Git-Tag: version-3.7.6~101 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=77ec9ba3f89d54202d764e53ce1cef3868dcf341;p=thirdparty%2Fsqlite.git Fix an out-of-order variable declaration in shell.c. FossilOrigin-Name: 725708465072fc63736e99610cc9cb0ac336145a --- diff --git a/manifest b/manifest index a007a938e2..3f43f7f896 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,8 @@ -C Fix\scut-and-paste\stypo\sin\sdebugging\sprint\sstatement\sin\swinMutexTry(). -D 2011-03-15T02:55:28.657 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +C Fix\san\sout-of-order\svariable\sdeclaration\sin\sshell.c. +D 2011-03-15T18:35:44.256 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in 27701a1653595a1f2187dc61c8117e00a6c1d50f F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@ -177,7 +180,7 @@ F src/random.c cd4a67b3953b88019f8cd4ccd81394a8ddfaba50 F src/resolve.c 1c0f32b64f8e3f555fe1f732f9d6f501a7f05706 F src/rowset.c 69afa95a97c524ba6faf3805e717b5b7ae85a697 F src/select.c d24406c45dd2442eb2eeaac413439066b149c944 -F src/shell.c 54f8fe0afab6839444882c4d18a0032668392c9a +F src/shell.c ea40658271dfff494dab3dee4a1c0f382d239675 F src/sqlite.h.in 369c767e6b9f101d63d8e4c5e40279f975ccec08 F src/sqlite3ext.h c90bd5507099f62043832d73f6425d8d5c5da754 F src/sqliteInt.h 2cea3e47997e3f4d9b4f1ce62f99c35be1b5a586 @@ -913,7 +916,14 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f -P 3934b004e93852c89b937ec20431de96a2e99440 -R a3bacb1f22d0b4cfa6cea5cf5efe9cdf -U shaneh -Z 62a7f6dd55f1de5255b8d7f88e967001 +P def98fd23e42bda13547e38ab13fed0e6554ce99 +R 2ceb7e2495de2e32fa2e2aca83b58f09 +U drh +Z e7ee1c18a6d623c4d19a0ae664dea8d8 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFNf7GDoxKgR168RlERAhc+AJ9qHfOaDlOtj2TqHpdpAXpIiMjRTwCeP6Tv +esEJjmOwgIx+D+pi9BcOh8Y= +=lte8 +-----END PGP SIGNATURE----- diff --git a/manifest.uuid b/manifest.uuid index 03da2a631d..72a3cfb274 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -def98fd23e42bda13547e38ab13fed0e6554ce99 \ No newline at end of file +725708465072fc63736e99610cc9cb0ac336145a \ No newline at end of file diff --git a/src/shell.c b/src/shell.c index a617c06795..34e821ca3d 100644 --- a/src/shell.c +++ b/src/shell.c @@ -2687,8 +2687,7 @@ int main(int argc, char **argv){ sqlite3_config(SQLITE_CONFIG_HEAP, malloc((int)szHeap), (int)szHeap, 64); #endif }else if( strcmp(argv[i],"-vfs")==0 ){ - i++; - sqlite3_vfs *pVfs = sqlite3_vfs_find(argv[i]); + sqlite3_vfs *pVfs = sqlite3_vfs_find(argv[++i]); if( pVfs ){ sqlite3_vfs_register(pVfs, 1); }else{