You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
Fix typo (thanks to OttoK).
This commit is contained in:
@@ -65,7 +65,8 @@ static int client_use_result(MYSQL *mysql)
|
|||||||
result= mysql_use_result(mysql);
|
result= mysql_use_result(mysql);
|
||||||
FAIL_IF(!result, "Invalid result set");
|
FAIL_IF(!result, "Invalid result set");
|
||||||
|
|
||||||
/* since we use use result, we shouldn't be able execute other api calls */
|
/* since we use mysql_use_result (=unbuffered), we shouldn't be
|
||||||
|
able to execute other api calls */
|
||||||
rc= mysql_ping(mysql);
|
rc= mysql_ping(mysql);
|
||||||
FAIL_IF(!rc, "Error expected");
|
FAIL_IF(!rc, "Error expected");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user