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

Fixes for bigendian systems (CONC-252, CONC-265)

This commit is contained in:
Georg Richter
2017-06-30 14:00:28 +02:00
parent 28f4832800
commit 6e156a63e3
4 changed files with 10 additions and 5 deletions

View File

@@ -194,7 +194,7 @@ static int test_cursor(MYSQL *mysql)
{
int rc;
MYSQL_STMT *stmt;
unsigned int prefetch_rows= 1;
unsigned long prefetch_rows= 1;
unsigned long cursor_type= CURSOR_TYPE_READ_ONLY;
stmt= mysql_stmt_init(mysql);

View File

@@ -1189,7 +1189,7 @@ static int test_zerofill(MYSQL *mysql)
static int test_server_status(MYSQL *mysql)
{
int rc;
unsigned long server_status;
unsigned int server_status;
MYSQL_STMT *stmt= mysql_stmt_init(mysql);
rc= mysql_autocommit(mysql, 1);

View File

@@ -63,6 +63,9 @@ static int test_conc_27(MYSQL *mysql)
DWORD threads[THREAD_NUM];
#endif
diag("please run this test manually as root");
return SKIP;
rc= mysql_query(mysql, "DROP TABLE IF EXISTS t_conc27");
check_mysql_rc(rc, mysql);