GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
KSQL_STMT_RESET(3) FreeBSD Library Functions Manual KSQL_STMT_RESET(3)

ksql_stmt_reset
resets a statement on a database connection

library “ksql”

#include <sys/types.h>
#include <stdint.h>
#include <ksql.h>

enum ksqlc
ksql_stmt_reset(struct ksqlstmt *stmt);

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.

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.

sqlite3_reset(3)
April 5, 2018 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.