Browse Source
* frm extra2 segment.
* frm extra2 segment.
* persistent table versions in the extra2 * ha_archive::frm_compare using TABLE_SHARE::tabledef_version * distinguish between "important" and "optional" extra2 frm values * write engine-defined attributes (aka "table options") to extra2, not to extra, but still read from the old location, if they're found there.pull/57/head
16 changed files with 233 additions and 101 deletions
-
2include/my_base.h
-
9mysql-test/suite/archive/archive.result
-
2mysql-test/suite/archive/archive.test
-
38mysql-test/suite/archive/discover.result
-
15mysql-test/suite/archive/discover.test
-
4mysql-test/suite/archive/partition_archive.result
-
2mysys/my_uuid.c
-
2sql/handler.h
-
75sql/table.cc
-
2sql/table.h
-
80sql/unireg.cc
-
16sql/unireg.h
-
18storage/archive/azio.c
-
3storage/archive/azlib.h
-
31storage/archive/ha_archive.cc
-
35storage/test_sql_discovery/mysql-test/archive/discover.rdiff
@ -0,0 +1,35 @@ |
|||
--- suite/archive/discover.result 2013-04-08 00:06:37.000000000 +0200 |
|||
+++ /usr/home/serg/Abk/mysql/10.0-serg/storage/test_sql_discovery/mysql-test/archive/discover.reject 2013-04-08 00:07:02.000000000 +0200 |
|||
@@ -42,6 +42,7 @@ |
|||
t1 BASE TABLE |
|||
t2 BASE TABLE |
|||
t1.ARZ |
|||
+t1.frm |
|||
t2.ARZ |
|||
t2.frm |
|||
# |
|||
@@ -60,6 +61,7 @@ |
|||
flush tables; |
|||
rename table t2 to t0; |
|||
t0.ARZ |
|||
+t0.frm |
|||
t1.ARZ |
|||
t1.frm |
|||
# |
|||
@@ -77,6 +79,7 @@ |
|||
flush tables; |
|||
drop table t1; |
|||
t0.ARZ |
|||
+t0.frm |
|||
# |
|||
# discover of table non-existance on drop |
|||
# |
|||
@@ -86,7 +89,7 @@ |
|||
drop table t0; |
|||
show status like 'Handler_discover'; |
|||
Variable_name Value |
|||
-Handler_discover 7 |
|||
+Handler_discover 8 |
|||
# |
|||
# Bug#45377: ARCHIVE tables aren't discoverable after OPTIMIZE |
|||
# |
Write
Preview
Loading…
Cancel
Save
Reference in new issue