You've already forked mariadb-connector-c
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:
@@ -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");
|
||||
|
Reference in New Issue
Block a user