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

Added mingw support (Win32). Special thanks to Eric Trinh for his patch!

This commit is contained in:
holzboote@googlemail.com
2014-01-11 20:09:32 +01:00
parent e2afef3163
commit a6ee40ab8e
8 changed files with 33 additions and 14 deletions

View File

@@ -931,6 +931,16 @@ static int test_connect_attrs(MYSQL *my)
MYSQL_RES *result;
int rc, len;
rc= mysql_query(my, "SELECT * FROM performance_schema.session_connect_attrs LIMIT 1");
if (rc != 0)
{
diag("Server doesn't connection attributes");
return SKIP;
}
result= mysql_store_result(my);
mysql_free_result(result);
mysql= mysql_init(NULL);
mysql_options4(mysql, MYSQL_OPT_CONNECT_ATTR_ADD, "foo0", "bar0");