KSQL_STMT_RESET(3)

NAME
ksql_stmt_reset - resets a statement on a database connection

LIBRARY
ksql

SYNOPSIS
#include <stdint.h>
#include <ksql.h>
enum ksqlc
ksql_stmt_reset(struct ksql_stmt *stmt);

DESCRIPTION
The ksql_stmt_reset function resets a statement allocated with ksql_stmt_alloc(3). Note: as documented in sqlite3_reset(3), this does not unbind statements made with ksql_bind_double(3) and friends.

RETURN VALUES
Returns KSQL_OK on success or another error on failure. Note: this does not return the code of sqlite3_finalize(3), which itself returns the code of the last step and not the failure of the resource de-allocation.

SEE ALSO
sqlite3_reset(3)