• Maheedhar PV's avatar
    Bug#28388217 - SERVER CAN FAIL WHILE REPLICATING CONDITIONAL COMMENTS · 4d1de554
    Maheedhar PV authored
    Cause:
    In case of version based condtional comments, if the condition evaluates
    to false, it is converted to a regular comment for replication by
    replacing "!"  by " ".
    
    Nested comment in a conditional comment is replicated as is. Nested
    comments are supported only in case of conditional comments and when a
    the comment on slave is no more a conditional comment, the statement
    execution fails on the slave.
    
    Fix:
    Convert the nested comment, start from "/*" to "(*" and comment end from
    "*/" to "*)" for replication.
    
    Change-Id: I1a8e385a267b2370529eade094f0258fa96886c0
    4d1de554
sql_lex.cc 122 KB