Wrapper for sqlGenericQuery() using varialbe number of args. * This is what you want when doing SELECT queries. */
| 194 | /* Wrapper for sqlGenericQuery() using varialbe number of args. |
| 195 | * This is what you want when doing SELECT queries. */ |
| 196 | int sqlSelect(sqlite3 *dbhandle, sqlRow *row, const char *sql, ...) { |
| 197 | va_list ap; |
| 198 | va_start(ap,sql); |
| 199 | int rc = sqlGenericQuery(dbhandle,row,sql,ap); |
| 200 | va_end(ap); |
| 201 | return rc; |
| 202 | } |
| 203 | |
| 204 | /* Wrapper for sqlGenericQuery() using variable number of args. |
| 205 | * This is what you want when doing SELECT queries that return a |
no test coverage detected