Home
last modified time | relevance | path

Searched refs:azResult (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dtable.c28 char **azResult; member
60 azNew = realloc( p->azResult, sizeof(char*)*p->nAlloc ); in sqlite_get_table_cb()
65 p->azResult = azNew; in sqlite_get_table_cb()
84 p->azResult[p->nData++] = z; in sqlite_get_table_cb()
108 p->azResult[p->nData++] = z; in sqlite_get_table_cb()
146 res.azResult = malloc( sizeof(char*)*res.nAlloc ); in sqlite_get_table()
147 if( res.azResult==0 ){ in sqlite_get_table()
150 res.azResult[0] = 0; in sqlite_get_table()
152 if( res.azResult ){ in sqlite_get_table()
153 res.azResult[0] = (char*)res.nData; in sqlite_get_table()
[all …]
H A Dsqlite.h.in309 ** If the 3rd argument were &azResult then after the function returns
310 ** azResult will contain the following data:
312 ** azResult[0] = "Name";
313 ** azResult[1] = "Age";
314 ** azResult[2] = "Alice";
315 ** azResult[3] = "43";
316 ** azResult[4] = "Bob";
317 ** azResult[5] = "28";
318 ** azResult[6] = "Cindy";
319 ** azResult[7] = "21";
[all …]
/illumos-gate/usr/src/cmd/sqlite/
H A Dshell.c895 char **azResult; in do_meta_command() local
907 &azResult, &nRow, 0, &zErrMsg in do_meta_command()
917 &azResult, &nRow, 0, &zErrMsg, azArg[1], azArg[1] in do_meta_command()
929 if( azResult[i]==0 ) continue; in do_meta_command()
930 len = strlen(azResult[i]); in do_meta_command()
939 printf("%s%-*s", zSp, maxlen, azResult[j] ? azResult[j] : ""); in do_meta_command()
944 sqlite_free_table(azResult); in do_meta_command()