1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Add the sqlite3TokenInit() utility function.

FossilOrigin-Name: 7323175337b7ba85ac932ca892b28860f6a5b688
This commit is contained in:
drh
2016-01-22 17:48:09 +00:00
parent b5c557b87e
commit 40aced5c65
10 changed files with 35 additions and 35 deletions

View File

@@ -234,6 +234,14 @@ int sqlite3Dequote(char *z){
return j;
}
/*
** Generate a Token object from a string
*/
void sqlite3TokenInit(Token *p, char *z){
p->z = z;
p->n = sqlite3Strlen30(z);
}
/* Convenient short-hand */
#define UpperToLower sqlite3UpperToLower