!1995 修复enable_global_syscache为off时连接B兼容性数据库的core问题
Merge pull request !1995 from chenxiaobin/egs
This commit is contained in:
@ -7149,7 +7149,11 @@ void LoadSqlPlugin()
|
||||
if (!u_sess->attr.attr_sql.dolphin) {
|
||||
/* recheck and load dolphin within lock */
|
||||
pthread_mutex_lock(&g_instance.loadPluginLock[DB_CMPT_B]);
|
||||
|
||||
start_xact_command();
|
||||
u_sess->attr.attr_sql.dolphin = CheckIfExtensionExists("dolphin");
|
||||
finish_xact_command();
|
||||
|
||||
if (!u_sess->attr.attr_sql.dolphin) {
|
||||
LoadDolphinIfNeeded();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user