|
NAMEksql_stmt_reset —
resets a statement on a database connection
LIBRARYlibrary “ksql”SYNOPSIS#include <sys/types.h>
#include <stdint.h>
#include <ksql.h>
enum ksqlc
DESCRIPTIONTheksql_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 VALUESThis function returnsKSQL_OK on success or another
error on failure. Currently, it can only fail due to communication failures in
split-process mode.
The return value of the underlying
sqlite3_reset(3)
is ignored because resource deallocation cannot fail, and because
sqlite3_reset(3)
instead returns the return value of the most recent step of the execution of
the statement. Even if the last step of the execution failed,
SEE ALSOsqlite3_reset(3)
Visit the GSP FreeBSD Man Page Interface. |