1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +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:
Vladislav Vaintroub
2017-09-30 21:45:56 +00:00
parent 9d1a7aeede
commit 931450c3f8
6 changed files with 11 additions and 15 deletions

View File

@@ -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);