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
Fixed compiler warnings in bulk1.c and features-10_2.c
This commit is contained in:
@@ -86,7 +86,7 @@ static int execute_direct_example(MYSQL *mysql)
|
||||
bind[0].buffer= &intval;
|
||||
bind[1].buffer_type= MYSQL_TYPE_STRING;
|
||||
bind[1].buffer= (char *)strval;
|
||||
bind[1].buffer_length= strlen(strval);
|
||||
bind[1].buffer_length= (unsigned long)strlen(strval);
|
||||
|
||||
/* set number of parameters */
|
||||
rc= mysql_stmt_attr_set(stmt, STMT_ATTR_PREBIND_PARAMS, ¶m_count);
|
||||
|
Reference in New Issue
Block a user