• unknown's avatar
    Proposed fix for bug #3412 (embedded server: prepared statement returns · 431d0e61
    unknown authored
    empty recordset where some records should be found)
    
    
    sql/ha_myisam.cc:
      Code simplified with vio_ok()
    sql/mysqld.cc:
      vio_ok used
    sql/slave.cc:
      vio_ok used
    sql/sql_class.cc:
      Here is the place of the error - we should not examine net.vio in
      embedded library
    sql/sql_class.h:
      method added to always return TRUE in embedded library, and to
      sheck thd.net.vio otherwise
    sql/sql_show.cc:
      code simplified with vio_ok()
    431d0e61
sql_show.cc 64.1 KB