1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

Added support for indicator variables

Fixed windows compilation bug
This commit is contained in:
Georg Richter
2016-07-08 12:51:26 +02:00
parent ba0ed073fd
commit ecf26f7e6f
10 changed files with 133 additions and 74 deletions

View File

@@ -534,7 +534,7 @@ static int test_mysql_insert_id(MYSQL *mysql)
according to the manual, this might be 20 or 300, but it looks like
auto_increment column takes priority over last_insert_id().
*/
diag("res: %ld", res);
diag("res: %lld", res);
FAIL_UNLESS(res == 20, "");
/* If first autogenerated number fails and 2nd works: */
rc= mysql_query(mysql, "drop table t2");