summaryrefslogtreecommitdiff
path: root/sql/ha_archive.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/ha_archive.cc')
-rw-r--r--sql/ha_archive.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/ha_archive.cc b/sql/ha_archive.cc
index 488343c5402..b5c2f2a6555 100644
--- a/sql/ha_archive.cc
+++ b/sql/ha_archive.cc
@@ -135,7 +135,7 @@ static HASH archive_open_tables;
#define ARCHIVE_CHECK_HEADER 254 // The number we use to determine corruption
/* Static declarations for handerton */
-static handler *archive_create_handler(TABLE *table);
+static handler *archive_create_handler(TABLE_SHARE *table);
/* dummy handlerton - only to have something to return from archive_db_init */
@@ -172,7 +172,7 @@ handlerton archive_hton = {
HTON_NO_FLAGS
};
-static handler *archive_create_handler(TABLE *table)
+static handler *archive_create_handler(TABLE_SHARE *table)
{
return new ha_archive(table);
}
@@ -242,7 +242,7 @@ int archive_db_end(ha_panic_function type)
return 0;
}
-ha_archive::ha_archive(TABLE *table_arg)
+ha_archive::ha_archive(TABLE_SHARE *table_arg)
:handler(&archive_hton, table_arg), delayed_insert(0), bulk_insert(0)
{
/* Set our original buffer from pre-allocated memory */