1
0
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:
Georg Richter
2024-09-12 18:44:51 +02:00
parent cd81266f44
commit 858a3e36b7

View File

@@ -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");