diff options
author | drh <drh@noemail.net> | 2016-02-25 18:54:30 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2016-02-25 18:54:30 +0000 |
commit | d3e1af4aa04113b379050119e0015ada3078cc4e (patch) | |
tree | d12ed8d1907415a474cf321b76498befd1312fc9 /src/shell.c | |
parent | 7f219fad58bb84f5e856134a7b6909c8c0482c9b (diff) | |
parent | eecb80e77e3556e9373237eff6ab0a8dad7eb5fb (diff) | |
download | sqlite-d3e1af4aa04113b379050119e0015ada3078cc4e.tar.gz sqlite-d3e1af4aa04113b379050119e0015ada3078cc4e.zip |
Merge all the latest changes from trunk.
FossilOrigin-Name: b86590043e17705ada90562cf30f69b3e3ef65a4
Diffstat (limited to 'src/shell.c')
-rw-r--r-- | src/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.c b/src/shell.c index 2988f48d0..1cf9eb447 100644 --- a/src/shell.c +++ b/src/shell.c @@ -3260,7 +3260,7 @@ static int do_meta_command(char *zLine, ShellState *p){ char *zCreate = sqlite3_mprintf("CREATE TABLE %s", zTable); char cSep = '('; while( xRead(&sCtx) ){ - zCreate = sqlite3_mprintf("%z%c\n \"%s\" TEXT", zCreate, cSep, sCtx.z); + zCreate = sqlite3_mprintf("%z%c\n \"%w\" TEXT", zCreate, cSep, sCtx.z); cSep = ','; if( sCtx.cTerm!=sCtx.cColSep ) break; } |