summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/mysql_client_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index d67ecb4c5e0..9811b286de3 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -11001,7 +11001,7 @@ static void test_view()
strmov(str_data, "TEST");
bzero((char*) bind, sizeof(bind));
- bind[0].buffer_type= FIELD_TYPE_STRING;
+ bind[0].buffer_type= MYSQL_TYPE_STRING;
bind[0].buffer= (char *)&str_data;
bind[0].buffer_length= 50;
bind[0].length= &length;
@@ -11239,7 +11239,7 @@ static void test_view_insert()
check_execute(select_stmt, rc);
bzero((char*) bind, sizeof(bind));
- bind[0].buffer_type = FIELD_TYPE_LONG;
+ bind[0].buffer_type = MYSQL_TYPE_LONG;
bind[0].buffer = (char *)&my_val;
bind[0].length = &my_length;
bind[0].is_null = (char*)&my_null;