mysql_send_query - Online Linux Manual PageSection : 3
Updated :
Source : Version 3.2.2
Note : MariaDB Connector/C
Namemysql_send_query − sends a SQL statement without waiting for server reponse
Synopsis
#include <mysql.h>
int mysql_send_query(MYSQL * mysql,
const char *query,
unsigned long length);
DescriptionSends a statement to the server, without waiting for the Server OK packet and/or resultset.
Parameters• mysql − a mysql handle, which was previously allocated by mysql_init(3) and connected by mysql_real_connect(3). • query − SQL statement • length − length of the SQL statement
Notes• The OK and result set package need to be retrieved by mysql_read_query_result(3) function • mysql_send_query() can be used for semi asynchronous operation. While the function itself is blocking, an event driven application can do other tasks until result set is available.
ExampleFor an example how to use ’mysql_send_query()` in an event driven model, please check Jan Kneschke’s article ‟Async MySQL Queries with C−API” (https://jan.kneschke.de/projects/mysql/async-mysql-queries-with-c-api/).
See also• <mysql_real_query> • <mysql_read_query_result> 0
Johanes Gumabo
Data Size : 6,267 byte
man-mysql_send_query.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 193,212
Visitor ID : :
Visitor IP : 13.59.54.188 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.