Skip to content
  • Marc Alff's avatar
    9073f913
    Bug#13819132 BROKEN SYNTAX ACCEPTED FOR START TRANSACTION · 9073f913
    Marc Alff authored
    Before this fix, the parser accepted the following syntax
    for START TRANSACTION :
    
    START TRANSACTION ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ;
    
    The root cause was the bison grammar for rule start_transaction_opt_list,
    which produced a list of valid options or (empty string),
    separated by ",".
    
    The grammar has been fixed so that the grammar rule is:
    - either en empty string
    - or a list of valid options separated by ",".
    which is the proper syntax.
    
    Grammar rules have been renamed for code clarity.
    9073f913
    Bug#13819132 BROKEN SYNTAX ACCEPTED FOR START TRANSACTION
    Marc Alff authored
    Before this fix, the parser accepted the following syntax
    for START TRANSACTION :
    
    START TRANSACTION ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ;
    
    The root cause was the bison grammar for rule start_transaction_opt_list,
    which produced a list of valid options or (empty string),
    separated by ",".
    
    The grammar has been fixed so that the grammar rule is:
    - either en empty string
    - or a list of valid options separated by ",".
    which is the proper syntax.
    
    Grammar rules have been renamed for code clarity.
Loading