summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorbrian@zim.(none) <>2006-12-01 17:26:52 -0800
committerbrian@zim.(none) <>2006-12-01 17:26:52 -0800
commit31d67280f71b3ce47465c1844e09465e602522a4 (patch)
tree639841f522e1b6f8d34fa0aced9b6436eacaefe0 /tests
parent082de8dfcee10c66ae0a23a88e501b5120f6625a (diff)
downloadmariadb-git-31d67280f71b3ce47465c1844e09465e602522a4.tar.gz
This finishes the work (someone) started to remove FIELD_ types and use the Enum MYSQL types. The second part to this is to actually deprecate the FIELD defines in mysql_com.h
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;