• guilhem@gbichot2's avatar
    fix for BUG#1331: "Unexistent user variable is not replicated". · 2f11e5d1
    guilhem@gbichot2 authored
    When an update query is to be written to the binlog, and it reads unset
    user variables (example: INSERT INTO t VALUEs(@A) where @A does not exist),
    we create the variable like if it had been set with SET before, and we loop
    (i.e. we redo the steps of logging, now that the variable exists).
    2f11e5d1
rpl_user_variables.result 2.91 KB