You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
chore(compilatiaon): proper use of plugin_ref
This commit is contained in:
committed by
Leonid Fedorov
parent
44d1698639
commit
5cb7a4ac4c
@ -1830,11 +1830,8 @@ static int columnstore_init_func(void* p)
|
|||||||
|
|
||||||
LEX_CSTRING name = {STRING_WITH_LEN("INNODB")};
|
LEX_CSTRING name = {STRING_WITH_LEN("INNODB")};
|
||||||
auto* plugin_innodb = ha_resolve_by_name(0, &name, 0);
|
auto* plugin_innodb = ha_resolve_by_name(0, &name, 0);
|
||||||
#if !defined(DBUG_OFF) || MYSQL_VERSION_ID >= 100900
|
if (!plugin_innodb || plugin_state(plugin_innodb) != PLUGIN_IS_READY)
|
||||||
if (!plugin_innodb || (*plugin_innodb)->state != PLUGIN_IS_READY)
|
|
||||||
#else
|
|
||||||
if (!plugin_innodb || plugin_innodb->state != PLUGIN_IS_READY)
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
DBUG_RETURN(HA_ERR_RETRY_INIT);
|
DBUG_RETURN(HA_ERR_RETRY_INIT);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user