• unknown's avatar
    Fix for BUG#5711 "replication SQL thread does not abort on SQL syntax error": · 0e6975f3
    unknown authored
    in net_printf(), we fill net->last_* variables for the slave SQL thread to know the error.
    
    
    sql/net_pkg.cc:
      in net_printf(), store the error in net->last_*, so that slave SQL thread can be aware there was an error reported by net_printf()
      (which is what yacc uses for "you have an error in your syntax").
    0e6975f3
net_pkg.cc 10 KB