Ignore duplicate shards in a subfunction

The ignoring of duplicate shards is now done inside a subfunction.
This commit is contained in:
Markus Mäkelä
2017-03-27 22:27:05 +03:00
parent 5ba9de6f42
commit 34b0b07cd1
2 changed files with 30 additions and 7 deletions

View File

@ -190,6 +190,7 @@ private:
void process_response(Backend* bref, GWBUF** ppPacket);
SERVER* resolve_query_target(GWBUF* pPacket, uint32_t type, uint8_t command,
enum route_target& route_target);
bool ignore_duplicate_database(const char* data);
/** Member variables */
bool m_closed; /**< True if session closed */