From 209b23a38c76a9a304c7895c0ffef870d43733c7 Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Wed, 30 Aug 2023 07:44:32 +0200 Subject: [PATCH] Test fixes: - Fixed failing test when running against MySQL server - Disabled test when running against MySQL server. --- unittest/libmariadb/ps_bugs.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/unittest/libmariadb/ps_bugs.c b/unittest/libmariadb/ps_bugs.c index 643f9f33..87e38410 100644 --- a/unittest/libmariadb/ps_bugs.c +++ b/unittest/libmariadb/ps_bugs.c @@ -5604,7 +5604,7 @@ static int test_conc623(MYSQL *mysql) MYSQL_STMT *stmt= mysql_stmt_init(mysql); - rc= mysql_query(mysql, "CREATE OR REPLACE TEMPORARY TABLE t1 (a int)"); + rc= mysql_query(mysql, "CREATE TEMPORARY TABLE t1 (a int)"); rc= mysql_stmt_attr_set(stmt, STMT_ATTR_CB_USER_DATA, mysql); check_stmt_rc(rc, stmt); @@ -5664,11 +5664,15 @@ static int test_conc627(MYSQL *mysql) static int test_conc633(MYSQL *mysql) { - MYSQL_STMT *stmt= mysql_stmt_init(mysql); + MYSQL_STMT *stmt; MYSQL *my= NULL; int ret= FAIL; int rc; + SKIP_MYSQL(mysql); + + stmt= mysql_stmt_init(mysql); + if (!mariadb_stmt_execute_direct(stmt, SL("SÄLECT 1"))) { diag("Syntax error expected");