FreeBSD Manual Pages
KSQL_STMT_RESET(3) Library Functions Manual KSQL_STMT_RESET(3) NAME ksql_stmt_reset -- resets a statement on a database connection LIBRARY library "ksql" SYNOPSIS #include <sys/types.h> #include <stdint.h> #include <ksql.h> enum ksqlc ksql_stmt_reset(struct ksqlstmt *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 This function returns KSQL_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, ksql_stmt_reset() will usually succeed. SEE ALSO sqlite3_reset(3) FreeBSD Ports 14.quarterly April 5, 2018 KSQL_STMT_RESET(3)
NAME | LIBRARY | SYNOPSIS | DESCRIPTION | RETURN VALUES | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=ksql_stmt_reset&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>