aboutsummaryrefslogtreecommitdiff
path: root/ext/misc/normalize.c
diff options
context:
space:
mode:
authormistachkin <mistachkin@noemail.net>2018-06-18 19:09:30 +0000
committermistachkin <mistachkin@noemail.net>2018-06-18 19:09:30 +0000
commit5bce7d8f6c3aebc6db61e2bf0574eeb0258d6123 (patch)
treec15b4c7ad1e36d94b831ce8cf2f42899fa768e50 /ext/misc/normalize.c
parent2f1f8801ed7d3708de6fc4d669bc1aef43b3f524 (diff)
downloadsqlite-5bce7d8f6c3aebc6db61e2bf0574eeb0258d6123.tar.gz
sqlite-5bce7d8f6c3aebc6db61e2bf0574eeb0258d6123.zip
Fix typo in the 'normalize' extension.
FossilOrigin-Name: 0c9163ea232d4008105939910565b0d1e533cbb38067d7900dc732b911786d37
Diffstat (limited to 'ext/misc/normalize.c')
-rw-r--r--ext/misc/normalize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/misc/normalize.c b/ext/misc/normalize.c
index fd656f130..5997ec12e 100644
--- a/ext/misc/normalize.c
+++ b/ext/misc/normalize.c
@@ -593,7 +593,7 @@ char *sqlite3_normalize(const char *zSql){
}
}
while( j>0 && z[j-1]==' ' ){ j--; }
- if( i>0 && z[j-1]!=';' ){ z[j++] = ';'; }
+ if( j>0 && z[j-1]!=';' ){ z[j++] = ';'; }
z[j] = 0;
/* Make a second pass converting "in(...)" where the "..." is not a