mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user