Temporary disable AWS Aurora module

pull/2044/head
René Cannaò 7 years ago
parent 570d0283f5
commit 01be4ced0c

@ -8170,7 +8170,11 @@ void ProxySQL_Admin::load_mysql_servers_to_runtime() {
if (resultset) delete resultset;
resultset=NULL;
#ifdef AURORA_TEST // temporary enabled only for testing purpose
query=(char *)"SELECT a.* FROM mysql_aws_aurora_hostgroups a LEFT JOIN mysql_aws_aurora_hostgroups b ON (a.writer_hostgroup=b.reader_hostgroup) WHERE b.reader_hostgroup IS NULL";
#else
query=(char *)"SELECT a.* FROM mysql_aws_aurora_hostgroups a WHERE 1=0";
#endif
proxy_debug(PROXY_DEBUG_ADMIN, 4, "%s\n", query);
admindb->execute_statement(query, &error , &cols , &affected_rows , &resultset_aws_aurora);
if (error) {
@ -8179,7 +8183,6 @@ void ProxySQL_Admin::load_mysql_servers_to_runtime() {
// Pass the resultset to MyHGM
MyHGM->set_incoming_aws_aurora_hostgroups(resultset_aws_aurora);
}
// commit all the changes
MyHGM->commit();

Loading…
Cancel
Save