diff options
author | drh <> | 2022-10-17 16:31:55 +0000 |
---|---|---|
committer | drh <> | 2022-10-17 16:31:55 +0000 |
commit | 79b99b09fa92d65d3ad065731e9f6392300bc120 (patch) | |
tree | 1a98cddf2149d83067573badc5bb8739a09a5524 /src | |
parent | e70d458340146bf20cc48224b8ddd9a18120d3c0 (diff) | |
parent | 8be89249012a556580737d9e7a6b1938bab9e02c (diff) | |
download | sqlite-79b99b09fa92d65d3ad065731e9f6392300bc120.tar.gz sqlite-79b99b09fa92d65d3ad065731e9f6392300bc120.zip |
Merge trunk changes into the index-expr-opt branch.
FossilOrigin-Name: a1485ce6c8374135290eb0a1e4eb4e225497ad7096847a4e2377c9c054946ca7
Diffstat (limited to 'src')
-rw-r--r-- | src/shell.c.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shell.c.in b/src/shell.c.in index a83aab58a..1dbe349ef 100644 --- a/src/shell.c.in +++ b/src/shell.c.in @@ -1990,7 +1990,9 @@ static int wsToEol(const char *z){ */ static void eqp_append(ShellState *p, int iEqpId, int p2, const char *zText){ EQPGraphRow *pNew; - i64 nText = strlen(zText); + i64 nText; + if( zText==0 ) return; + nText = strlen(zText); if( p->autoEQPtest ){ utf8_printf(p->out, "%d,%d,%s\n", iEqpId, p2, zText); } |