From: drh Date: Wed, 20 May 2015 17:36:49 +0000 (+0000) Subject: Fix the initialization logic in CREATE TABLE AS so that the correct affinities X-Git-Tag: version-3.8.11~245 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7b125489061cf4640118f902edaca35ebb3b22ba;p=thirdparty%2Fsqlite.git Fix the initialization logic in CREATE TABLE AS so that the correct affinities are applied to all values being inserted into the new table, even if the RHS is a compound SELECT. Fix for ticket [f2ad7de056ab1dc9200]. FossilOrigin-Name: 6a0cf3ce9e68d0127f9653232e588ed59d34eca5 --- 7b125489061cf4640118f902edaca35ebb3b22ba diff --cc manifest index 10bfc3621f,40287ea2dd..322b8def98 --- a/manifest +++ b/manifest @@@ -1,5 -1,5 +1,5 @@@ - C Fix\shandling\sof\squeries\swith\sVALUES\son\sthe\sleft\sand\sUNION\sALL\sSELECT\son\sthe\nright\sand\sa\sLIMIT\sclause. - D 2015-05-20T00:15:27.101 -C Add\sa\stest\scase\sto\sverify\sthat\sCREATE\sTABLE\sAS\sdoes\snot\sstore\sINT\svalues\nin\sTEXT\scolumns.\s\sTicket\s[f2ad7de056ab1dc92]. -D 2015-05-20T17:25:44.766 ++C Fix\sthe\sinitialization\slogic\sin\sCREATE\sTABLE\sAS\sso\sthat\sthe\scorrect\saffinities\nare\sapplied\sto\sall\svalues\sbeing\sinserted\sinto\sthe\snew\stable,\seven\sif\sthe\nRHS\sis\sa\scompound\sSELECT.\s\sFix\sfor\sticket\s[f2ad7de056ab1dc9200]. ++D 2015-05-20T17:36:49.966 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in 0a6ae26396ec696221021780dffbb894ff3cead7 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@@ -1278,7 -1278,7 +1278,8 @@@ F tool/vdbe_profile.tcl 67746953071a9f8 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4 F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f - P 45d3893c6142ee1dfed48e26a13cf547da12468a - R d2f9de9f0b0e2d9149961be12bc360a3 -P 937f659e8933011c44e822328a97cb5f0607c04d ++P c403502cdce8b82e570e6fc49ab7f5144800c189 0e45e8f1574ef19a43dbd118440ddbc5cec80ce7 + R a7c7024ecc6e55965138342c00704c17 ++T +closed 0e45e8f1574ef19a43dbd118440ddbc5cec80ce7 U drh - Z dfad787f317538afb4e1ced0974df5c8 -Z 8a4264223b9336427c1887f1ad564ff3 ++Z fd6f77c4d4a68df5c93e64187bb026e9 diff --cc manifest.uuid index 8f7a7be3d9,d5a52b27d6..af099e8f47 --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - c403502cdce8b82e570e6fc49ab7f5144800c189 -0e45e8f1574ef19a43dbd118440ddbc5cec80ce7 ++6a0cf3ce9e68d0127f9653232e588ed59d34eca5