Merge branch 'develop' into MAX-324

This commit is contained in:
Markus Makela
2015-02-06 23:27:59 +02:00
25 changed files with 59552 additions and 959 deletions

View File

@ -495,10 +495,19 @@ static skygw_query_type_t resolve_query_type(
{
type |= QUERY_TYPE_GSYSVAR_WRITE;
}
/*
* SHOW GLOBAL STATUS - Route to master
*/
else if (lex->sql_command == SQLCOM_SHOW_STATUS)
{
type = QUERY_TYPE_WRITE;
}
/**
* REVOKE ALL, ASSIGN_TO_KEYCACHE,
* PRELOAD_KEYS, FLUSH, RESET, CREATE|ALTER|DROP SERVER
*/
else
{
type |= QUERY_TYPE_GSYSVAR_WRITE;