File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ MySQL_Variables::MySQL_Variables() {
52
52
ignore_vars.push_back (" read_rnd_buffer_size" );
53
53
// NOTE: This variable has been temporarily ignored. Check issues #3442 and #3441.
54
54
ignore_vars.push_back (" session_track_schema" );
55
+ // NOTE: This variable has been temporarily ignored. Check issues #4839
56
+ ignore_vars.push_back (" session_track_system_variables" );
55
57
variables_regexp = " " ;
56
58
for (auto i = 0 ; i < SQL_NAME_LAST_HIGH_WM; i++) {
57
59
// we initialized all the internal_variable_name if set to NULL
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ void SetParser::generateRE_parse1v2() {
158
158
// - variable name , with double @ (session variable) or single @ (user defiend variable)
159
159
// - strings that includes words, spaces and commas
160
160
// - single quote string
161
- string sw0 = " (?:\\ w+|\" [\\ w, ]+\" |\' [\\ w, ]+\' |@(?:|@)\\ w+|\'\' )" ;
161
+ string sw0 = " (?:\\ w+|\" [\\ w, ]+\" |\' [\\ w, ]+\' |@(?:|@|@session \\ .|@global \\ . )\\ w+|\'\' )" ;
162
162
string mw0 = " (?:" + sw0 + " (?: *, *" + sw0 + " )*)" ; // multiple words, separated by comma and random spaces
163
163
string fww = " (?:(?:REPLACE|IFNULL|CONCAT)\\ ( *" + mw0 + " \\ ))" ; // functions REPLACE|IFNULL|CONCAT having argument multiple words
164
164
string rfww2 = " (?:(?:REPLACE|IFNULL|CONCAT)\\ ( *" + fww + " *, *" + mw0 + " \\ ))" ; // functions REPLACE|IFNULL|CONCAT calling the same functions
You can’t perform that action at this time.
0 commit comments