summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorunknown <gluh@gluh.mysql.r18.ru>2004-11-18 12:16:06 +0300
committerunknown <gluh@gluh.mysql.r18.ru>2004-11-18 12:16:06 +0300
commitcd2edd171396ba8041f4e0109e0f339b9b99ee0c (patch)
tree1253341b5955e700eeae69f4ff3a434f55f50751 /tests
parent2836164f0c846232ea5782fb14d45f783d785438 (diff)
downloadmariadb-git-cd2edd171396ba8041f4e0109e0f339b9b99ee0c.tar.gz
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
Diffstat (limited to 'tests')
-rw-r--r--tests/client_test.c12
1 files changed, 6 insertions, 6 deletions
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);