equal
deleted
inserted
replaced
44 ){ |
44 ){ |
45 unsigned char const *zSql = sqlite3_value_text(argv[0]); |
45 unsigned char const *zSql = sqlite3_value_text(argv[0]); |
46 unsigned char const *zTableName = sqlite3_value_text(argv[1]); |
46 unsigned char const *zTableName = sqlite3_value_text(argv[1]); |
47 |
47 |
48 int token; |
48 int token; |
49 Token tname = {0,0,0}; /* Initialized to placate warning */ |
49 Token tname; |
50 unsigned char const *zCsr = zSql; |
50 unsigned char const *zCsr = zSql; |
51 int len = 0; |
51 int len = 0; |
52 char *zRet; |
52 char *zRet; |
53 |
53 |
54 sqlite3 *db = sqlite3_context_db_handle(context); |
54 sqlite3 *db = sqlite3_context_db_handle(context); |
99 ){ |
99 ){ |
100 unsigned char const *zSql = sqlite3_value_text(argv[0]); |
100 unsigned char const *zSql = sqlite3_value_text(argv[0]); |
101 unsigned char const *zTableName = sqlite3_value_text(argv[1]); |
101 unsigned char const *zTableName = sqlite3_value_text(argv[1]); |
102 |
102 |
103 int token; |
103 int token; |
104 Token tname = {0,0,0}; /* Initialized to placate warning */ |
104 Token tname; |
105 int dist = 3; |
105 int dist = 3; |
106 unsigned char const *zCsr = zSql; |
106 unsigned char const *zCsr = zSql; |
107 int len = 0; |
107 int len = 0; |
108 char *zRet; |
108 char *zRet; |
109 |
109 |