diff options
author | unknown <sanja@askmonty.org> | 2011-05-11 14:09:48 +0300 |
---|---|---|
committer | unknown <sanja@askmonty.org> | 2011-05-11 14:09:48 +0300 |
commit | 520927a7df486a1a21f87dadd9c5a920bf583917 (patch) | |
tree | 22d6d45d1f035091b578b5f74d64828f584d83de /mysql-test/r/upgrade.result | |
parent | e2ff2885319e480477e8f7d2824065ee4f4363a6 (diff) | |
download | mariadb-git-520927a7df486a1a21f87dadd9c5a920bf583917.tar.gz |
Bugfix: New table creation/renaming block added if old encoded table present.
mysql-test/r/create.result:
test of renaming
mysql-test/r/upgrade.result:
Now such behaviour prohibited to avoid problems.
mysql-test/t/create.test:
test of renaming
mysql-test/t/upgrade.test:
Now such behaviour prohibited to avoid problems.
sql/mysql_priv.h:
Function to test table name presence added.
sql/sql_rename.cc:
Rename fixed.
sql/sql_table.cc:
Function to test table name presence added.
Create fixed.
Diffstat (limited to 'mysql-test/r/upgrade.result')
-rw-r--r-- | mysql-test/r/upgrade.result | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mysql-test/r/upgrade.result b/mysql-test/r/upgrade.result index f2c8886c915..ec63cc0d98c 100644 --- a/mysql-test/r/upgrade.result +++ b/mysql-test/r/upgrade.result @@ -48,14 +48,10 @@ insert into `txu#p#p1` values (1); select * from `txu@0023p@0023p1`; ERROR 42S02: Table 'test.txu@0023p@0023p1' doesn't exist create table `txu@0023p@0023p1` (s1 int); -insert into `txu@0023p@0023p1` values (2); -select * from `txu@0023p@0023p1`; -s1 -2 +ERROR 42S01: Table '#mysql50#txu@0023p@0023p1' already exists select * from `txu#p#p1`; s1 1 -drop table `txu@0023p@0023p1`; drop table `txu#p#p1`; # # Bug#37631 Incorrect key file for table after upgrading from 5.0 to 5.1 |