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
Fix some conversion warnings.
Exclude definitions from my_config.h that conflict with server's config.h (most of ma_config.h is not used by connector anyway) Avoid overriding server's SIGN_TARGET() macro, if used as subproject. Make WITH_UNIT_TESTS exclude unit tests, like it is for the server.
This commit is contained in:
@@ -1063,7 +1063,7 @@ static int test_auth256(MYSQL *my)
|
||||
MYSQL *mysql= mysql_init(NULL);
|
||||
int rc;
|
||||
MYSQL_RES *res;
|
||||
int num_rows= 0;
|
||||
my_ulonglong num_rows= 0;
|
||||
|
||||
rc= mysql_query(my, "SELECT * FROM information_schema.plugins where plugin_name='sha256_password'");
|
||||
check_mysql_rc(rc, mysql);
|
||||
|
@@ -2699,7 +2699,7 @@ static int test_bug5194(MYSQL *mysql)
|
||||
}
|
||||
*query_ptr= '\0';
|
||||
|
||||
rc= mysql_stmt_prepare(stmt, query, query_ptr - query);
|
||||
rc= mysql_stmt_prepare(stmt, query, (ulong)(query_ptr - query));
|
||||
|
||||
if (rc && nrows * COLUMN_COUNT > uint16_max) /* expected error */
|
||||
break;
|
||||
|
Reference in New Issue
Block a user