Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Comment fixes. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | tkt-b6eea9446d |
| Files: | files | file ages | folders |
| SHA1: |
19d2a8db7c5011cb35470b0ef3480923 |
| User & Date: | mistachkin 2013-10-07 20:26:40.815 |
Context
|
2013-10-07
| ||
| 21:36 | Fix array indexing issue in db_all_column_text_and_int64() and refactor all_cmd() in an attempt to avoid bug [b6eea9446d]. check-in: cb8f7eb88a user: mistachkin tags: tkt-b6eea9446d | |
| 20:26 | Comment fixes. check-in: 19d2a8db7c user: mistachkin tags: tkt-b6eea9446d | |
| 20:24 | Initial groundwork for fixing bug [b6eea9446d]. check-in: d5407ff954 user: mistachkin tags: tkt-b6eea9446d | |
Changes
Changes to src/db.c.
| ︙ | ︙ | |||
344 345 346 347 348 349 350 | rc = sqlite3_step(pStmt->pStmt); pStmt->nStep++; return rc; } /* ** Steps the SQL statement until there are no more rows. Returns the | | | | > > | | | | 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 | rc = sqlite3_step(pStmt->pStmt); pStmt->nStep++; return rc; } /* ** Steps the SQL statement until there are no more rows. Returns the ** total number of rows processed by this function. If the pazValue1 ** parameter is non-zero, captures the iCol1'th column value from each ** row (as text) and stores the resulting final array pointer into it. ** If the paiValue2 parameter is non-zero, captures the iCol2'th column ** value from each row (as int64) and stores the resulting final array ** pointer into it. The caller of this function is responsible for ** calling the db_all_column_free() function later, passing it the ** result of this function along with the values for both the pazValue1 ** and paiValue2 paramters. */ int db_all_column_text_and_int64( Stmt *pStmt, /* The statement handle. */ int iCol1, /* The first column number to fetch from the results. */ char ***pazValue1, /* Array of iCol1'th column values from query. */ int iCol2, /* The second column number to fetch from the results. */ i64 **paiValue2 /* Array of iCol2'th column values from query. */ |
| ︙ | ︙ |