Commit 22ae0abb authored by unknown's avatar unknown

Merge mysql.com:/home/mydev/mysql-5.0

into mysql.com:/home/mydev/mysql-5.0-wl2126

parents 48e1cea3 92022992
...@@ -12065,6 +12065,7 @@ static void test_truncation() ...@@ -12065,6 +12065,7 @@ static void test_truncation()
MYSQL_STMT *stmt; MYSQL_STMT *stmt;
const char *stmt_text; const char *stmt_text;
int rc; int rc;
uint bind_count;
MYSQL_BIND *bind_array, *bind; MYSQL_BIND *bind_array, *bind;
myheader("test_truncation"); myheader("test_truncation");
...@@ -12112,7 +12113,7 @@ static void test_truncation() ...@@ -12112,7 +12113,7 @@ static void test_truncation()
check_execute(stmt, rc); check_execute(stmt, rc);
rc= mysql_stmt_execute(stmt); rc= mysql_stmt_execute(stmt);
check_execute(stmt, rc); check_execute(stmt, rc);
uint bind_count= (uint) mysql_stmt_field_count(stmt); bind_count= (uint) mysql_stmt_field_count(stmt);
/*************** Fill in the bind structure and bind it **************/ /*************** Fill in the bind structure and bind it **************/
bind_array= malloc(sizeof(MYSQL_BIND) * bind_count); bind_array= malloc(sizeof(MYSQL_BIND) * bind_count);
......
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