diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-04-09 15:31:29 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-04-09 15:31:29 +0200 |
commit | 03dfb2c1210f75e234b5571a40a9aa92cb1afa45 (patch) | |
tree | b6e97baed151432f30c12b30c28563aa1875327b /sql/discover.h | |
parent | 2a9662b401405ee8f8f0849f7f90faac1081e26e (diff) | |
download | mariadb-git-03dfb2c1210f75e234b5571a40a9aa92cb1afa45.tar.gz |
file-based table discovery for discovering storage engines
also:
* move few tests from archive/archive.test to archive/discover.test
* fix (unintentionally) bug#34104, updated result files
Diffstat (limited to 'sql/discover.h')
-rw-r--r-- | sql/discover.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/discover.h b/sql/discover.h index a663e44128d..d7f94240fa6 100644 --- a/sql/discover.h +++ b/sql/discover.h @@ -21,4 +21,12 @@ int readfrm(const char *name, uchar **data, size_t *length); int writefrm(const char* name, const uchar* data, size_t len); +int extension_based_table_discovery(MY_DIR *dirp, const char *ext, + handlerton::discovered_list *tl); + +#ifdef MYSQL_SERVER +int ext_table_discovery_simple(MY_DIR *dirp, const char *ext_meta, + handlerton::discovered_list *result); +#endif + #endif /* DISCOVER_INCLUDED */ |