aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2018-12-05 23:45:46 +0000
committerdrh <drh@noemail.net>2018-12-05 23:45:46 +0000
commit253a6af532438efbb27a23d775d75d748679a861 (patch)
tree83810c57fb7bc482ee88a13075982a96827a535d /src/expr.c
parentd4a4dd6ebcbd1d43f916fcd7f8d91d91ca762c08 (diff)
downloadsqlite-253a6af532438efbb27a23d775d75d748679a861.tar.gz
sqlite-253a6af532438efbb27a23d775d75d748679a861.zip
The sqlite3_normalized_sql() interface should not be transforming quoted
identifier names into wildcards. Fix this, and at the same time simplify the code substantially. FossilOrigin-Name: e8540377ec66fa5f9ae3c93bedb5c094057698199c37fc211f7ea95429e815e4
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/expr.c b/src/expr.c
index d4eb9de62..fb44a7ef7 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -2149,14 +2149,6 @@ int sqlite3IsRowid(const char *z){
if( sqlite3StrICmp(z, "OID")==0 ) return 1;
return 0;
}
-#ifdef SQLITE_ENABLE_NORMALIZE
-int sqlite3IsRowidN(const char *z, int n){
- if( sqlite3StrNICmp(z, "_ROWID_", n)==0 ) return 1;
- if( sqlite3StrNICmp(z, "ROWID", n)==0 ) return 1;
- if( sqlite3StrNICmp(z, "OID", n)==0 ) return 1;
- return 0;
-}
-#endif
/*
** pX is the RHS of an IN operator. If pX is a SELECT statement