{
pool_unset_query_in_progress();
+#ifdef REMOVED
/* End load balance mode */
if (in_load_balance)
end_load_balance();
replication_was_enabled = 0;
}
}
+#endif
internal_transaction_started = 0;
mismatch_ntuples = 0;
}
#endif
+#ifdef REMOVED
/* temporarily turn off replication mode */
if (REPLICATION)
replication_was_enabled = 1;
REPLICATION = 0;
MASTER_SLAVE = 0;
+#endif
#ifdef NOTUSED
backend->slots[0] = slots[selected_slot];
*/
void end_load_balance(void)
{
+#ifdef REMOVED
in_load_balance = 0;
LOAD_BALANCE_STATUS(selected_slot) = LOAD_UNSELECTED;
replication_was_enabled = 0;
master_slave_was_enabled = 0;
-
+#endif
pool_debug("end_load_balance: end load balance mode");
}
receive_extended_begin = 1;
}
+#ifdef REMOVED
if (load_balance_enabled(backend, node, string1))
start_load_balance(backend);
else if (REPLICATION &&
select_in_transaction = 1;
execute_select = 1;
}
+#endif
/*
else if (REPLICATION && start_internal_transaction(backend, (Node *)p_stmt->query))
{
commit = is_commit_query((Node *)p_stmt->query);
}
+#ifdef REMOVED
if (MASTER_SLAVE)
{
master_slave_was_enabled = 1;
REPLICATION = 1;
}
}
+#endif
if (REPLICATION || PARALLEL_MODE)
{
if (in_load_balance)
end_load_balance();
+#ifdef REMOVED
if (master_slave_dml)
{
MASTER_SLAVE = 1;
replication_was_enabled = 0;
}
}
+#endif
#ifdef NOT_USED
return ProcessFrontendResponse(frontend, backend);
/*
* Query context:
* Manages per query context
- * ³ÈÄ¥Ì䤤¹ç¤ï¤»¤Ç¤ÏÊ£¿ô¤Î¥¯¥¨¥ê¥³¥ó¥Æ¥¥¹¥È¤¬Æ±»þ¤ËÁö¤ë¤«¤âÃΤì¤Ê¤¤¡£
- * ÆâÉô¤ÇȯÀ¸¤¹¤ëÌ䤤¹ç¤ï¤»¤â¤¢¤ë¤·¡£
*/
typedef struct {
char *original_query; /* original query string */