line |
true |
false |
branch |
35
|
1 |
4 |
if (!argc) { |
40
|
0 |
4 |
if( t==NULL ) return SQLITE_NOMEM; |
47
|
0 |
4 |
PUSHMARK(SP); |
53
|
0 |
4 |
if (n_retval != 1) { |
61
|
4 |
0 |
FREETMPS; |
98
|
24 |
80 |
if (nBytes < 0) { /* we get -1 from fts3. Don't know why ! */ |
119
|
0 |
104 |
DBD_SQLITE_UTF8_DECODE_IF_NEEDED(perl_string, MY_CXT.last_dbh_string_mode); |
|
0 |
104 |
DBD_SQLITE_UTF8_DECODE_IF_NEEDED(perl_string, MY_CXT.last_dbh_string_mode); |
|
0 |
0 |
DBD_SQLITE_UTF8_DECODE_IF_NEEDED(perl_string, MY_CXT.last_dbh_string_mode); |
|
52 |
52 |
DBD_SQLITE_UTF8_DECODE_IF_NEEDED(perl_string, MY_CXT.last_dbh_string_mode); |
|
52 |
0 |
DBD_SQLITE_UTF8_DECODE_IF_NEEDED(perl_string, MY_CXT.last_dbh_string_mode); |
130
|
52 |
52 |
if (MY_CXT.last_dbh_string_mode & DBD_SQLITE_STRING_MODE_UNICODE_ANY) { |
141
|
0 |
104 |
PUSHMARK(SP); |
142
|
0 |
104 |
XPUSHs(perl_string); |
148
|
0 |
104 |
if (n_retval != 1) { |
154
|
104 |
0 |
FREETMPS; |
168
|
104 |
0 |
if (c->pToken) sqlite3_free(c->pToken); |
200
|
0 |
255816 |
PUSHMARK(SP); |
206
|
40 |
255776 |
if (n_retval == 0) { |
211
|
0 |
255776 |
if (n_retval != 5) { |
214
|
255776 |
0 |
*piPosition = POPi; |
215
|
255776 |
0 |
*piEndOffset = POPi; |
216
|
255776 |
0 |
*piStartOffset = POPi; |
217
|
255776 |
0 |
*pnBytes = POPi; |
218
|
255776 |
0 |
token = POPpx; |
220
|
127888 |
127888 |
if (c->pInput) { /* if working with utf8 data */ |
248
|
108 |
255668 |
if (*pnBytes > c->nTokenAllocated ){ |
252
|
0 |
108 |
if( !pNew ) return SQLITE_NOMEM; |
264
|
255776 |
40 |
FREETMPS; |
294
|
0 |
307 |
if (!DBIc_ACTIVE(imp_dbh)) { |
301
|
0 |
307 |
if( rc!=SQLITE_OK ){ |
307
|
0 |
307 |
if( rc!=SQLITE_OK ){ |