summaryrefslogtreecommitdiff
path: root/storage/archive
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-04-09 16:07:17 +0200
committerSergei Golubchik <sergii@pisem.net>2013-04-09 16:07:17 +0200
commit4853c7192ded76ede690746cde9eaabbc448479b (patch)
tree04c76fb9f4e4fd3998c6cc26427f3011f10a4cdd /storage/archive
parent474f45b3dc684b14c3b5ab86303c8aa890d2dce5 (diff)
downloadmariadb-git-4853c7192ded76ede690746cde9eaabbc448479b.tar.gz
discovery using sql CREATE TABLE statement
Diffstat (limited to 'storage/archive')
-rw-r--r--storage/archive/ha_archive.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/storage/archive/ha_archive.cc b/storage/archive/ha_archive.cc
index 616af00bcc8..515ebf8cf3d 100644
--- a/storage/archive/ha_archive.cc
+++ b/storage/archive/ha_archive.cc
@@ -302,9 +302,8 @@ int archive_discover(handlerton *hton, THD* thd, TABLE_SHARE *share)
azclose(&frm_stream);
- if (!share->init_from_binary_frm_image(thd, 1, frm_ptr, frm_stream.frm_length))
- my_errno= 0;
-
+ my_errno= share->init_from_binary_frm_image(thd, 1,
+ frm_ptr, frm_stream.frm_length);
ret:
my_free(frm_ptr);
DBUG_RETURN(my_errno);