Fix 'mysql_ldap_mapping' not being load to runtime at startup

pull/4016/head
Javier Jaramago Fernández 4 years ago
parent 90f51d50ca
commit c03ddb94d6

@ -10348,6 +10348,9 @@ void ProxySQL_Admin::__insert_or_replace_maintable_select_disktable() {
#if defined(TEST_AURORA) || defined(TEST_GALERA)
admindb->execute("DELETE FROM mysql_servers WHERE gtid_port > 0"); // temporary disable add GTID checks
#endif
if (GloMyLdapAuth) {
admindb->execute("INSERT OR REPLACE INTO main.mysql_ldap_mapping SELECT * FROM disk.mysql_ldap_mapping");
}
}
/* commented in 2.3 , unused

Loading…
Cancel
Save