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
Fixed bug in character set autodetection
Fixed compiler warnings in test suite Skipped change_users tests: They don't work anymore (mysql_change_user) security fix Applied patch from John Schember
This commit is contained in:
@@ -167,6 +167,8 @@ static int test_change_user(MYSQL *mysql)
|
||||
const char *db= "mysqltest_user_test_database";
|
||||
int rc;
|
||||
|
||||
diag("Due to mysql_change_user security fix this test will not work anymore.");
|
||||
return(SKIP);
|
||||
DBUG_ENTER("test_change_user");
|
||||
|
||||
/* Prepare environment */
|
||||
@@ -321,6 +323,9 @@ static int test_bug31669(MYSQL *mysql)
|
||||
static char db[NAME_CHAR_LEN+1];
|
||||
static char query[LARGE_BUFFER_SIZE*2];
|
||||
|
||||
diag("Due to mysql_change_user security fix this test will not work anymore.");
|
||||
return(SKIP);
|
||||
|
||||
rc= mysql_change_user(mysql, NULL, NULL, NULL);
|
||||
FAIL_UNLESS(rc, "Error expected");
|
||||
|
||||
|
@@ -569,7 +569,7 @@ static int test_bug19671(MYSQL *mysql)
|
||||
rc= mysql_query(mysql, "drop table t1");
|
||||
check_mysql_rc(rc, mysql);
|
||||
|
||||
return OK;
|
||||
return retcode;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user