diff options
author | Sergey Vojtovich <svoj@sun.com> | 2010-03-03 14:49:03 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@sun.com> | 2010-03-03 14:49:03 +0400 |
commit | 1a9c3717f13e290690d54b5065ebaa6ff53b9756 (patch) | |
tree | 609707a35cf570ea3211ac4d61542b99c149670d /mysql-test/std_data | |
parent | 29b733873670a2938497b5c6bdb4ec3d1d4eb4f0 (diff) | |
download | mariadb-git-1a9c3717f13e290690d54b5065ebaa6ff53b9756.tar.gz |
BUG#48265 - MRG_MYISAM problem (works in 5.0.85, does't
work in 5.1.40)
MERGE engine fails to open child table from a different
database if child table/database name contains characters
that are subject for table name to filename encoding
(WL1324).
Another problem is that MERGE engine didn't properly open
child table from the same database if child table name
contains characters like '/', '#'.
The problem was that table name to file name encoding was
applied inconsistently:
* On CREATE: encode table name + database name if child
table is in different database; do not encode table
name if child table is in the same database;
* No decoding on open.
With this fix child table/database names are always
encoded on CREATE and decoded on open. Compatibility
with older tables preserved.
Along with this patch comes fix for SHOW CREATE TABLE,
which used to show child table/database path instead
of child table/database names.
Diffstat (limited to 'mysql-test/std_data')
-rw-r--r-- | mysql-test/std_data/bug48265.frm | bin | 0 -> 8554 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/mysql-test/std_data/bug48265.frm b/mysql-test/std_data/bug48265.frm Binary files differnew file mode 100644 index 00000000000..0a731964996 --- /dev/null +++ b/mysql-test/std_data/bug48265.frm |