File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 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() {
5252 ignore_vars.push_back (" read_rnd_buffer_size" );
5353 // NOTE: This variable has been temporarily ignored. Check issues #3442 and #3441.
5454 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" );
5557 variables_regexp = " " ;
5658 for (auto i = 0 ; i < SQL_NAME_LAST_HIGH_WM; i++) {
5759 // we initialized all the internal_variable_name if set to NULL
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ void SetParser::generateRE_parse1v2() {
162162 // - variable name , with double @ (session variable) or single @ (user defiend variable)
163163 // - strings that includes words, spaces and commas
164164 // - single quote string
165- string sw0 = " (?:\\ w+|\" [\\ w, ]+\" |\' [\\ w, ]+\' |@(?:|@)\\ w+|\'\' )" ;
165+ string sw0 = " (?:\\ w+|\" [\\ w, ]+\" |\' [\\ w, ]+\' |@(?:|@|@session \\ .|@global \\ . )\\ w+|\'\' )" ;
166166 string mw0 = " (?:" + sw0 + " (?: *, *" + sw0 + " )*)" ; // multiple words, separated by comma and random spaces
167167 string fww = " (?:(?:REPLACE|IFNULL|CONCAT)\\ ( *" + mw0 + " \\ ))" ; // functions REPLACE|IFNULL|CONCAT having argument multiple words
168168 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