diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-08-28 16:53:27 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-08-28 16:53:27 +0000 |
commit | c6aae12cc16e79cbeb51032f5b2822d29410c142 (patch) | |
tree | 8d91708ece9721666e4db5dca50cd74f9fba48f9 /ext/pdo_sqlite/sqlite/src/shell.c | |
parent | 3a21310f37054961066eec5752775c173d1dc1d7 (diff) | |
download | php-git-c6aae12cc16e79cbeb51032f5b2822d29410c142.tar.gz |
Upgraded bundled SQLite library for PDO:SQLite to 3.2.5 (step 1)
Diffstat (limited to 'ext/pdo_sqlite/sqlite/src/shell.c')
-rw-r--r-- | ext/pdo_sqlite/sqlite/src/shell.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/pdo_sqlite/sqlite/src/shell.c b/ext/pdo_sqlite/sqlite/src/shell.c index e6411fc363..cd32a9e172 100644 --- a/ext/pdo_sqlite/sqlite/src/shell.c +++ b/ext/pdo_sqlite/sqlite/src/shell.c @@ -984,10 +984,10 @@ static int do_meta_command(char *zLine, struct callback_data *p){ p->showHeader = 1; memset(p->colWidth,0,ArraySize(p->colWidth)); p->colWidth[0] = 4; - p->colWidth[1] = 12; + p->colWidth[1] = 14; p->colWidth[2] = 10; p->colWidth[3] = 10; - p->colWidth[4] = 35; + p->colWidth[4] = 33; }else if (p->explainPrev.valid) { p->explainPrev.valid = 0; p->mode = p->explainPrev.mode; @@ -1093,6 +1093,7 @@ static int do_meta_command(char *zLine, struct callback_data *p){ } } } + *z = 0; if( i+1!=nCol ){ fprintf(stderr,"%s line %d: expected %d columns of data but found %d\n", zFile, lineno, nCol, i+1); |