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
mysql_stmt_execute(3) MariaDB Connector/C mysql_stmt_execute(3)

mysql_stmt_execute - Executes a prepared statement


#include <mysql.h>
int mysql_stmt_execute(MYSQL_STMT * stmt);

    

Executes a prepared statement which was previously prepared by mysql_stmt_prepare(3). When executed any parameter markers which exist will automatically be replaced with the appropriate data.

stmt - A statement handle, which was previously allocated by mysql_stmt_init(3).

Returns zero on success, non-zero on failure.

If the statement is UPDATE, REPLACE, DELETE or INSERT, the total number of affected rows can be determined by using the mysql_stmt_affected_rows(3) function. Likewise, if the query yields a result set the mysql_stmt_fetch(3) function is used.

mariadb_stmt_execute_direct(3)
mysql_stmt_prepare(3)
mysql_stmt_bind_param(3)
Version 3.2.2

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.