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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user