aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <>2021-07-30 18:39:59 +0000
committerdrh <>2021-07-30 18:39:59 +0000
commit77441faff5f4d5cee08c747116fae97b48eeb9b0 (patch)
treef6691599a4454725ced373b181b39d32819e56a1 /src/sqliteInt.h
parent7b3c514b5324156c8ba4c9fbb0548f374ccdb629 (diff)
downloadsqlite-77441faff5f4d5cee08c747116fae97b48eeb9b0.tar.gz
sqlite-77441faff5f4d5cee08c747116fae97b48eeb9b0.zip
Avoid clownfeet in the names columns when the column names are quoted
in the original CREATE TABLE statement. FossilOrigin-Name: 980f7292afd45a8e73272e2139b55b99ab86167febec9fd0bf0356e8167b2ee9
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 25eb9f108..7d6fda4c6 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -4317,6 +4317,7 @@ void sqlite3ErrorMsg(Parse*, const char*, ...);
int sqlite3ErrorToParser(sqlite3*,int);
void sqlite3Dequote(char*);
void sqlite3DequoteExpr(Expr*);
+void sqlite3DequoteToken(Token*);
void sqlite3TokenInit(Token*,char*);
int sqlite3KeywordCode(const unsigned char*, int);
int sqlite3RunParser(Parse*, const char*, char **);
@@ -4383,7 +4384,7 @@ void sqlite3StartTable(Parse*,Token*,Token*,int,int,int,int);
#else
# define sqlite3ColumnPropertiesFromName(T,C) /* no-op */
#endif
-void sqlite3AddColumn(Parse*,Token*,Token*);
+void sqlite3AddColumn(Parse*,Token,Token);
void sqlite3AddNotNull(Parse*, int);
void sqlite3AddPrimaryKey(Parse*, ExprList*, int, int, int);
void sqlite3AddCheckConstraint(Parse*, Expr*, const char*, const char*);