You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
Fix for CONC-243:
ABI breakage: Revert parameter length from size_t to unsigned long. (affects mysql_stmt_prepare, mysql_real_query, mysql_send_query)
This commit is contained in:
@@ -549,7 +549,7 @@ static int test_mysql_insert_id(MYSQL *mysql)
|
||||
rc= mysql_query(mysql, "drop table t2");
|
||||
check_mysql_rc(rc, mysql);
|
||||
rc= mysql_query(mysql, "create table t2 (f1 int not null primary key "
|
||||
"auto_increment, f2 varchar(255), unique (f2)) engine=MyISAM");
|
||||
"auto_increment, f2 varchar(200), unique (f2)) engine=MyISAM");
|
||||
check_mysql_rc(rc, mysql);
|
||||
rc= mysql_query(mysql, "insert into t2 values (null,'e')");
|
||||
res= mysql_insert_id(mysql);
|
||||
|
@@ -704,12 +704,6 @@ static int test_wl4284_1(MYSQL *mysql)
|
||||
return SKIP;
|
||||
}
|
||||
|
||||
if (!rc)
|
||||
{
|
||||
diag("InnoDB Storage engine not available");
|
||||
return SKIP;
|
||||
}
|
||||
|
||||
/* set AUTOCOMMIT to OFF */
|
||||
rc= mysql_autocommit(mysql, FALSE);
|
||||
check_mysql_rc(rc, mysql);
|
||||
|
Reference in New Issue
Block a user