You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-24 14:20:59 +03:00
MCOL-104 Remove InfiniDB Engine
Remove the InfiniDB engine which is a duplicate of the ColumnStore engine.
This commit is contained in:
@@ -149,39 +149,6 @@ static int columnstore_init_func(void* p)
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
|
||||
static int infinidb_init_func(void* p)
|
||||
{
|
||||
DBUG_ENTER("infinidb_init_func");
|
||||
|
||||
struct tm tm;
|
||||
time_t t;
|
||||
|
||||
time(&t);
|
||||
localtime_r(&t, &tm);
|
||||
fprintf(stderr, "%02d%02d%02d %2d:%02d:%02d ",
|
||||
tm.tm_year % 100, tm.tm_mon + 1, tm.tm_mday,
|
||||
tm.tm_hour, tm.tm_min, tm.tm_sec);
|
||||
|
||||
fprintf(stderr, "Columnstore: Started; Version: %s-%s\n", columnstore_version.c_str(), columnstore_release.c_str());
|
||||
|
||||
calpont_hton = (handlerton*)p;
|
||||
|
||||
calpont_hton->state = SHOW_OPTION_YES;
|
||||
calpont_hton->create = calpont_create_handler;
|
||||
calpont_hton->flags = HTON_CAN_RECREATE;
|
||||
// calpont_hton->discover_table= calpont_discover;
|
||||
// calpont_hton->discover_table_existence= calpont_discover_existence;
|
||||
calpont_hton->commit = calpont_commit;
|
||||
calpont_hton->rollback = calpont_rollback;
|
||||
calpont_hton->close_connection = calpont_close_connection;
|
||||
calpont_hton->create_group_by = create_calpont_group_by_handler;
|
||||
//calpont_hton->create_derived = create_columnstore_derived_handler;
|
||||
calpont_hton->create_select = create_columnstore_select_handler;
|
||||
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
|
||||
|
||||
static int columnstore_done_func(void* p)
|
||||
{
|
||||
DBUG_ENTER("calpont_done_func");
|
||||
@@ -193,13 +160,6 @@ static int columnstore_done_func(void* p)
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
|
||||
static int infinidb_done_func(void* p)
|
||||
{
|
||||
DBUG_ENTER("calpont_done_func");
|
||||
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
|
||||
static handler* calpont_create_handler(handlerton* hton,
|
||||
TABLE_SHARE* table,
|
||||
MEM_ROOT* mem_root)
|
||||
@@ -944,9 +904,6 @@ const COND* ha_calpont::cond_push(const COND* cond)
|
||||
struct st_mysql_storage_engine columnstore_storage_engine =
|
||||
{ MYSQL_HANDLERTON_INTERFACE_VERSION };
|
||||
|
||||
struct st_mysql_storage_engine infinidb_storage_engine =
|
||||
{ MYSQL_HANDLERTON_INTERFACE_VERSION };
|
||||
|
||||
#include "ha_mcs_pushdown.cpp"
|
||||
|
||||
mysql_declare_plugin(columnstore)
|
||||
@@ -964,21 +921,6 @@ mysql_declare_plugin(columnstore)
|
||||
mcs_system_variables, /* system variables */
|
||||
NULL, /* reserved */
|
||||
0 /* config flags */
|
||||
},
|
||||
{
|
||||
MYSQL_STORAGE_ENGINE_PLUGIN,
|
||||
&infinidb_storage_engine,
|
||||
"InfiniDB",
|
||||
"MariaDB",
|
||||
"Columnstore storage engine (deprecated: use columnstore)",
|
||||
PLUGIN_LICENSE_GPL,
|
||||
infinidb_init_func, /* Plugin Init */
|
||||
infinidb_done_func, /* Plugin Deinit */
|
||||
0x0100 /* 1.0 */,
|
||||
NULL, /* status variables */
|
||||
mcs_system_variables, /* system variables */
|
||||
NULL, /* reserved */
|
||||
0 /* config flags */
|
||||
}
|
||||
mysql_declare_plugin_end;
|
||||
maria_declare_plugin(columnstore)
|
||||
@@ -996,21 +938,6 @@ maria_declare_plugin(columnstore)
|
||||
mcs_system_variables, /* system variables */
|
||||
"1.0", /* string version */
|
||||
MariaDB_PLUGIN_MATURITY_STABLE /* maturity */
|
||||
},
|
||||
{
|
||||
MYSQL_STORAGE_ENGINE_PLUGIN,
|
||||
&infinidb_storage_engine,
|
||||
"InfiniDB",
|
||||
"MariaDB",
|
||||
"Columnstore storage engine (deprecated: use columnstore)",
|
||||
PLUGIN_LICENSE_GPL,
|
||||
infinidb_init_func,
|
||||
infinidb_done_func,
|
||||
0x0100, /* 1.0 */
|
||||
NULL, /* status variables */
|
||||
mcs_system_variables, /* system variables */
|
||||
"1.0", /* string version */
|
||||
MariaDB_PLUGIN_MATURITY_STABLE /* maturity */
|
||||
}
|
||||
maria_declare_plugin_end;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user