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

fix problems found by 10.0

This commit is contained in:
Oleksandr Byelkin
2021-01-27 13:13:31 +01:00
parent 0b46f1ae42
commit b503e52288
7 changed files with 35 additions and 33 deletions

View File

@@ -513,7 +513,6 @@ static int bug30472_retrieve_charset_info(MYSQL *con,
static int test_bug30472(MYSQL *mysql)
{
SKIP_MAXSCALE;
int rc;
char character_set_name_1[MY_CS_NAME_SIZE];
@@ -536,6 +535,8 @@ static int test_bug30472(MYSQL *mysql)
char character_set_results_4[MY_CS_NAME_SIZE];
char collation_connnection_4[MY_CS_NAME_SIZE];
SKIP_MAXSCALE;
if (mysql_get_server_version(mysql) < 50100 || !is_mariadb)
{
diag("Test requires MySQL Server version 5.1 or above");