I founded a bug on ParseText method of TZSQLScriptParser class:
I founded a error where the lenght of delimiter of statement is less then the last token of the statement.
Example:
Code: Select all
SET GLOBAL log_bin_trust_function_creators = 1//
Quick solutions:
Solution 1:
Separate the delimiter of the last token.
Code: Select all
SET GLOBAL log_bin_trust_function_creators = 1 //
Concating the last token ("1") with equals symbol ("="), making that the last token equals or greater then lenght of the delimiter ("//").
Code: Select all
SET GLOBAL log_bin_trust_function_creators =1 //
Use a delimiter with size 1:
Code: Select all
SET GLOBAL log_bin_trust_function_creators = 1&
Thanks.