aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-07-03 21:24:42 +0000
committerdrh <drh@noemail.net>2020-07-03 21:24:42 +0000
commita4e42d24df0f34afd769e8fe5466f7a9ebcdfe50 (patch)
treeaa1e5d244f3c4a3c89b9989e42e24102296c285d /src
parent27ee29f68c232cc9b5df0803d01a323e8abf1cb9 (diff)
downloadsqlite-a4e42d24df0f34afd769e8fe5466f7a9ebcdfe50.tar.gz
sqlite-a4e42d24df0f34afd769e8fe5466f7a9ebcdfe50.zip
Fix the line-number of error messages coming out of the ".import" command
when the --skip option is used. FossilOrigin-Name: e0a8b11dfd6b3ab89ae5032d60cf3c1bba7198a1a2debe5c691b5d1f2e1befee
Diffstat (limited to 'src')
-rw-r--r--src/shell.c.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shell.c.in b/src/shell.c.in
index 2ad7f990d..78a80da3e 100644
--- a/src/shell.c.in
+++ b/src/shell.c.in
@@ -8136,7 +8136,6 @@ static int do_meta_command(char *zLine, ShellState *p){
}
while( (nSkip--)>0 ){
while( xRead(&sCtx) && sCtx.cTerm==sCtx.cColSep ){}
- sCtx.nLine++;
}
zSql = sqlite3_mprintf("SELECT * FROM %s", zTable);
if( zSql==0 ){