]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Rework the logic that generates a schema for tables created using
authordrh <drh@noemail.net>
Mon, 11 May 2009 20:53:28 +0000 (20:53 +0000)
committerdrh <drh@noemail.net>
Mon, 11 May 2009 20:53:28 +0000 (20:53 +0000)
commitc4a64facce89c5033fbfb308175a81975391c977
tree15c7eb5cd7bb0494085b3a107593094d19753764
parentaaac8b4e1bcd9d7e61d30ceb2ff0169c9e11a951
Rework the logic that generates a schema for tables created using
"CREATE TABLE ... AS SELECT ...".  Instead of trying to copy the raw
datatype string from the right-hand side, just make the type one
of TEXT, INT, REAL, NUM, or nothing.  This is much simpler than
trying to parse and quote datatype strings.  Other minor
implifications to build.c are bundled with this change. (CVS 6626)

FossilOrigin-Name: 33cf83591e6e13875ef6ada5b8ac8ab07619d8bc
manifest
manifest.uuid
src/build.c
src/callback.c
src/expr.c
src/main.c
src/prepare.c
src/select.c
src/sqliteInt.h
test/table.test