Add support for multiple runtime error messages
Storing all the runtime errors makes it possible to return all of them them via the REST API. MaxAdmin will still only show the latest error but MaxCtrl will now show all errors if more than one error occurs.
This commit is contained in:
@ -14,7 +14,7 @@
|
||||
#define MXS_MODULE_NAME "masking"
|
||||
#include "maskingfilter.hh"
|
||||
|
||||
#include <maxscale/json_api.h>
|
||||
#include <maxscale/json_api.hh>
|
||||
#include <maxscale/modulecmd.hh>
|
||||
#include <maxscale/paths.h>
|
||||
#include <maxscale/utils.h>
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
#include <maxscale/mysql_utils.hh>
|
||||
#include <maxscale/pcre2.hh>
|
||||
#include <maxscale/utils.hh>
|
||||
#include <maxscale/json_api.h>
|
||||
#include <maxscale/json_api.hh>
|
||||
|
||||
using std::auto_ptr;
|
||||
using std::string;
|
||||
|
||||
@ -45,7 +45,7 @@
|
||||
#include <maxscale/service.hh>
|
||||
#include <maxscale/utils.h>
|
||||
#include <maxscale/modulecmd.hh>
|
||||
#include <maxscale/json_api.h>
|
||||
#include <maxscale/json_api.hh>
|
||||
|
||||
using std::string;
|
||||
|
||||
@ -100,7 +100,6 @@ void print_string_replace_newlines(const char* sql_string, size_t sql_str_len,
|
||||
const char* rep_newline, std::stringstream* output);
|
||||
|
||||
bool check_replace_file(const string& filename, FILE** ppFile);
|
||||
|
||||
}
|
||||
|
||||
QlaInstance::QlaInstance(const string& name, MXS_CONFIG_PARAMETER* params)
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
|
||||
#include <maxscale/ccdefs.hh>
|
||||
#include <maxscale/utils.h>
|
||||
#include <maxscale/json_api.h>
|
||||
#include <maxscale/json_api.hh>
|
||||
#include <maxscale/jansson.hh>
|
||||
|
||||
#include "throttlefilter.hh"
|
||||
|
||||
Reference in New Issue
Block a user