Fix to bug #597, http://bugs.skysql.com/show_bug.cgi?id=597
Changed the order of include directives in query_classifier.cc
This commit is contained in:
@ -30,12 +30,6 @@
|
|||||||
# undef MYSQL_CLIENT
|
# undef MYSQL_CLIENT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <query_classifier.h>
|
|
||||||
#include "../utils/skygw_types.h"
|
|
||||||
#include "../utils/skygw_debug.h"
|
|
||||||
#include <log_manager.h>
|
|
||||||
#include <mysql_client_server_protocol.h>
|
|
||||||
|
|
||||||
#include <mysql.h>
|
#include <mysql.h>
|
||||||
#include <my_sys.h>
|
#include <my_sys.h>
|
||||||
#include <my_global.h>
|
#include <my_global.h>
|
||||||
@ -55,6 +49,12 @@
|
|||||||
#include <strfunc.h>
|
#include <strfunc.h>
|
||||||
#include <item_func.h>
|
#include <item_func.h>
|
||||||
|
|
||||||
|
#include "../utils/skygw_types.h"
|
||||||
|
#include "../utils/skygw_debug.h"
|
||||||
|
#include <log_manager.h>
|
||||||
|
#include <query_classifier.h>
|
||||||
|
#include <mysql_client_server_protocol.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -1073,7 +1073,6 @@ static bool get_dcb(
|
|||||||
{
|
{
|
||||||
backend_ref_t* backend_ref;
|
backend_ref_t* backend_ref;
|
||||||
backend_ref_t* master_bref;
|
backend_ref_t* master_bref;
|
||||||
int smallest_nconn = -1;
|
|
||||||
int i;
|
int i;
|
||||||
bool succp = false;
|
bool succp = false;
|
||||||
BACKEND* master_host;
|
BACKEND* master_host;
|
||||||
|
Reference in New Issue
Block a user