Parameterized SQL statement: Difference between revisions

m
Removed extra brace from C example comment.
(Added C example)
m (Removed extra brace from C example comment.)
Line 171:
Checks the result code from an SQLite operation.
If it contains an error code then this function prints the error message,
closes the database and exits. }
*/
void check_error(int result_code, sqlite3 *db) {
Anonymous user