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
Adding xpand to test suite
This commit is contained in:
@@ -96,6 +96,12 @@ static int execute_direct_example(MYSQL *mysql)
|
||||
bind[1].buffer= (char *)strval;
|
||||
bind[1].buffer_length= (unsigned long)strlen(strval);
|
||||
|
||||
// https://jira.mariadb.org/browse/XPT-266
|
||||
if (IS_XPAND()) {
|
||||
rc= mysql_query(mysql, "SET NAMES UTF8");
|
||||
check_mysql_rc(rc, mysql);
|
||||
}
|
||||
|
||||
/* set number of parameters */
|
||||
rc= mysql_stmt_attr_set(stmt, STMT_ATTR_PREBIND_PARAMS, ¶m_count);
|
||||
check_stmt_rc(rc, stmt);
|
||||
|
Reference in New Issue
Block a user