• unknown's avatar
    Fixes for bugs found by maria.test and event*tests: · db452212
    unknown authored
    Fixed bug when doing rnd_read followed by update.
    Don't duplicate error messages in log
    Initialize transaction object properly. Fixed failure in event*tests when running with maria
    
    
    mysql-test/mysql-test-run.pl:
      Removed warning when running with --external
    mysql-test/r/maria.result:
      Added back disabled test
      Verified that the result changes are correct
    mysql-test/t/maria.test:
      Added back disabled test
    sql/handler.cc:
      More debugging.
      Simple style change
    sql/sql_class.cc:
      Initialize transaction object properly. Fixed failure in event*tests when running with maria
    storage/maria/ha_maria.cc:
      More dbug info
    storage/maria/ma_blockrec.c:
      Removed not needed line
    storage/maria/ma_rrnd.c:
      Removed not used code
      Ensure that cur_row.lastpos is always set when reading record with rnd. (Fixes failure in maria.test)
    storage/maria/maria_def.h:
      Don't call maria_print_error() except with EXTRA_DEBUG
      (Removes duplicate error messages when somethings goes wrong)
    db452212
maria_def.h 40.6 KB