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
Merge branch '3.3' into 3.4
This commit is contained in:
@@ -993,7 +993,7 @@ static void convert_from_double(MYSQL_BIND *r_param, const MYSQL_FIELD *field, d
|
|||||||
if (field->length < length || field->length > MAX_DOUBLE_STRING_REP_LENGTH - 1)
|
if (field->length < length || field->length > MAX_DOUBLE_STRING_REP_LENGTH - 1)
|
||||||
break;
|
break;
|
||||||
ma_bmove_upp(buff + field->length, buff + length, length);
|
ma_bmove_upp(buff + field->length, buff + length, length);
|
||||||
/* coverity [bad_memset] */
|
/* coverity[bad_memset] */
|
||||||
memset((void*) buff, (int) '0', field->length - length);
|
memset((void*) buff, (int) '0', field->length - length);
|
||||||
length= field->length;
|
length= field->length;
|
||||||
}
|
}
|
||||||
|
@@ -914,10 +914,7 @@ static int parse_connection_string(MYSQL *mysql, const char *unused __attribute_
|
|||||||
pos += 2;
|
pos += 2;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (in_curly_brace)
|
in_curly_brace= 0;
|
||||||
in_curly_brace= 0;
|
|
||||||
else
|
|
||||||
goto error;
|
|
||||||
*pos++= 0;
|
*pos++= 0;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@@ -51,7 +51,7 @@ if [ -n "$server_branch" ] ; then
|
|||||||
make -j9
|
make -j9
|
||||||
|
|
||||||
cd mysql-test/
|
cd mysql-test/
|
||||||
./mysql-test-run.pl --suite=main ${TEST_OPTION} --parallel=auto --skip-test=session_tracker_last_gtid
|
./mysql-test-run.pl --suite=main,unit ${TEST_OPTION} --parallel=auto --skip-test=session_tracker_last_gtid
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
|
@@ -2433,8 +2433,8 @@ static int test_conc748(MYSQL *my __attribute__((unused)))
|
|||||||
mysql_ssl_set(mysql, NULL, NULL, NULL, NULL, NULL);
|
mysql_ssl_set(mysql, NULL, NULL, NULL, NULL, NULL);
|
||||||
mysql_optionsv(mysql, MYSQL_OPT_SSL_CIPHER, ciphers[i]);
|
mysql_optionsv(mysql, MYSQL_OPT_SSL_CIPHER, ciphers[i]);
|
||||||
|
|
||||||
if (!my_test_connect(mysql, hostname, NULL,
|
if (!my_test_connect(mysql, hostname, username,
|
||||||
NULL, schema, port, socketname, 0, 0))
|
password, schema, port, socketname, 0))
|
||||||
{
|
{
|
||||||
diag("error: %s", mysql_error(mysql));
|
diag("error: %s", mysql_error(mysql));
|
||||||
return FAIL;
|
return FAIL;
|
||||||
|
Reference in New Issue
Block a user