• Michael Widenius's avatar
    Fixed lp:886479 "[PATCH] plugin boolean result" · 398f754b
    Michael Widenius authored
    Thanks to Maarten Vanraes for the patch
    
    
    sql/sql_plugin.cc:
      Fix plugin boolean variables to receive the value "1", not "-1", when they are set to 1.
      Aside from being bizarre, the existing behavior is unportable: machines where char is unsigned print "255" instead.
    398f754b
sql_plugin.cc 109 KB