Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
KSQL_STMT_RESET(3)     FreeBSD 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	13.0			 April 5, 2018			  FreeBSD 13.0

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | RETURN VALUES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=ksql_stmt_reset&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help