summaryrefslogtreecommitdiff
path: root/mysql-test/r/create.result
diff options
context:
space:
mode:
authorunknown <vva@eagle.mysql.r18.ru>2004-03-05 22:13:33 +0400
committerunknown <vva@eagle.mysql.r18.ru>2004-03-05 22:13:33 +0400
commit8550c7abebe81d102fb74bd82b1db2b098e22330 (patch)
treee3022f508e6b88ed24bf0ed9eb0eda2843a7a121 /mysql-test/r/create.result
parent15d8e9d06435f582125657f03e8ee294c04c0995 (diff)
downloadmariadb-git-8550c7abebe81d102fb74bd82b1db2b098e22330.tar.gz
fixed Bug #2985
"Table truncated when creating another table name with Spaces" added to check_db_name, check_table_name and check_column_name test for end space mysql-test/r/create.result: added test for Bug #2985 "Table truncated when creating another table name with Spaces" mysql-test/t/create.test: added test for Bug #2985 "Table truncated when creating another table name with Spaces" sql/sql_db.cc: cancel strip end spaces for database name sql/sql_parse.cc: cancel strip end spaces for database name sql/table.cc: added to check_db_name, check_table_name and check_column_name test for end space
Diffstat (limited to 'mysql-test/r/create.result')
-rw-r--r--mysql-test/r/create.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/create.result b/mysql-test/r/create.result
index 627913939fb..22743782484 100644
--- a/mysql-test/r/create.result
+++ b/mysql-test/r/create.result
@@ -216,3 +216,9 @@ a b
0 2
3 4
drop table t1;
+create table `t1 `(a int);
+Incorrect table name 't1 '
+create database `db1 `;
+Incorrect database name 'db1 '
+create table t1(`a ` int);
+Incorrect column name 'a '