From 5110b048d1209d8ef877545d457d391e11fb5a13 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 18 Nov 2004 12:16:06 +0300 Subject: remove unused parts of code fix for 'show create schema_table' fix for usage schema tables in subselect 'wrong schema table charset' fix mysql-test/r/information_schema.result: 'wrong schema table charset' fix mysql-test/t/information_schema.test: 'wrong schema table charset' fix sql/mysql_priv.h: fix for 'show create schema_table' sql/sql_class.cc: 'wrong schema table charset' fix sql/sql_class.h: 'wrong schema table charset' fix sql/sql_parse.cc: fix for 'show create schema_table' sql/sql_select.cc: 'wrong schema table charset' fix sql/sql_show.cc: remove unused parts of code fix for 'show create schema_table' fix for usage schema tables in subselect sql/table.h: remove unused parts of coed tests/client_test.c: 'wrong schema table charset' fix --- tests/client_test.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/client_test.c b/tests/client_test.c index 034d846017a..7d264d682da 100644 --- a/tests/client_test.c +++ b/tests/client_test.c @@ -7261,22 +7261,22 @@ static void test_explain_bug() DIE_UNLESS(6 == mysql_num_fields(result)); verify_prepare_field(result, 0, "Field", "COLUMN_NAME", - MYSQL_TYPE_STRING, 0, 0, "", NAME_LEN, 0); + MYSQL_TYPE_STRING, 0, 0, "", 192, 0); verify_prepare_field(result, 1, "Type", "TYPE", - MYSQL_TYPE_STRING, 0, 0, "", 40, 0); + MYSQL_TYPE_STRING, 0, 0, "", 120, 0); verify_prepare_field(result, 2, "Null", "IS_NULLABLE", - MYSQL_TYPE_STRING, 0, 0, "", 3, 0); + MYSQL_TYPE_STRING, 0, 0, "", 9, 0); verify_prepare_field(result, 3, "Key", "KEY", - MYSQL_TYPE_STRING, 0, 0, "", 3, 0); + MYSQL_TYPE_STRING, 0, 0, "", 9, 0); verify_prepare_field(result, 4, "Default", "COLUMN_DEFAULT", - MYSQL_TYPE_STRING, 0, 0, "", NAME_LEN, 0); + MYSQL_TYPE_STRING, 0, 0, "", 192, 0); verify_prepare_field(result, 5, "Extra", "EXTRA", - MYSQL_TYPE_STRING, 0, 0, "", 20, 0); + MYSQL_TYPE_STRING, 0, 0, "", 60, 0); mysql_free_result(result); mysql_stmt_close(stmt); -- cgit v1.2.1