Commit 540e2f78 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix GCC warning/error.

parent 295f3e4c
...@@ -21184,13 +21184,14 @@ static void test_cache_metadata() ...@@ -21184,13 +21184,14 @@ static void test_cache_metadata()
{ {
char char_val[]= "blah"; char char_val[]= "blah";
int int_val = 1; int int_val = 1;
int rc;
MYSQL_BIND param= {0}; MYSQL_BIND param= {0};
my_bool is_null= FALSE; my_bool is_null= FALSE;
MYSQL_STMT* stmt= mysql_stmt_init(mysql); MYSQL_STMT* stmt= mysql_stmt_init(mysql);
check_stmt(stmt); check_stmt(stmt);
int rc= mysql_stmt_prepare(stmt, "SELECT ?", -1); rc= mysql_stmt_prepare(stmt, "SELECT ?", -1);
myquery(rc); myquery(rc);
param.buffer= char_val; param.buffer= char_val;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment