• Michael Widenius's avatar
    Fixed lp:886479 "[PATCH] plugin boolean result" · c1b2b515
    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.
    c1b2b515
sql_plugin.cc 109 KB