You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
chore(build) : fix debug build with MYSQL_VERSION_ID >= 10090
This commit is contained in:
committed by
Leonid Fedorov
parent
aa7e0fb9b4
commit
bb833ac9f6
@ -1830,14 +1830,14 @@ static int columnstore_init_func(void* p)
|
||||
|
||||
LEX_CSTRING name = {STRING_WITH_LEN("INNODB")};
|
||||
auto* plugin_innodb = ha_resolve_by_name(0, &name, 0);
|
||||
#ifdef MYSQL_GE_1009
|
||||
if (!plugin_innodb || (*plugin_innodb)->state != PLUGIN_IS_READY)
|
||||
#if !defined(DBUG_OFF) || MYSQL_VERSION_ID >= 100900
|
||||
if (!plugin_innodb || (*plugin_innodb)->state != PLUGIN_IS_READY)
|
||||
#else
|
||||
if (!plugin_innodb || plugin_innodb->state != PLUGIN_IS_READY)
|
||||
if (!plugin_innodb || plugin_innodb->state != PLUGIN_IS_READY)
|
||||
#endif
|
||||
{
|
||||
DBUG_RETURN(HA_ERR_RETRY_INIT);
|
||||
}
|
||||
}
|
||||
|
||||
strncpy(cs_version, columnstore_version.c_str(), sizeof(cs_version) - 1);
|
||||
cs_version[sizeof(cs_version) - 1] = 0;
|
||||
|
Reference in New Issue
Block a user