• Michael Widenius's avatar
    This patch fixes LP#613408 Memory corruption with (M)aria storage engine and... · 2e46eb77
    Michael Widenius authored
    This patch fixes LP#613408  Memory corruption with (M)aria storage engine and virtual columns in MariaDB 5.2
    Fixed compiler warnings
    Disabled some tests that doesn't work on windows (uses shell tools or strange characters)
    
    
    
    client/mysqlshow.c:
      Fixed compiler warnings
    client/mysqlslap.c:
      Fixed compiler warnings
    mysql-test/mysql-test-run.pl:
      Use an error file instead of /dev/null
      (Fixes problem on Windows and the output may be usefull)
    mysql-test/suite/maria/r/maria.result:
      Test case for bug LP#613408 (not complete)
    mysql-test/suite/maria/t/maria.test:
      Test case for bug LP#613408 (not complete)
    mysql-test/suite/percona/percona_log_slow_slave_statements-and-use_global_long_query_time.test:
      This test doesn't work one windows (needs shell tools)
    mysql-test/suite/percona/percona_log_slow_slave_statements.test:
      This test doesn't work one windows (needs shell tools)
    mysql-test/suite/percona/percona_slow_query_log-control_global_slow.test:
      This test doesn't work one windows (needs shell tools)
    mysql-test/suite/percona/percona_slow_query_log-log_slow_filter.test:
      This test doesn't work one windows (needs shell tools)
    mysql-test/suite/percona/percona_slow_query_log-log_slow_verbosity.test:
      This test doesn't work one windows (needs shell tools)
    mysql-test/suite/percona/percona_slow_query_log-long_query_time.test:
      This test doesn't work one windows (needs shell tools)
    mysql-test/suite/percona/percona_slow_query_log-microseconds_in_slow_query_log.test:
      This test doesn't work one windows (needs shell tools)
    mysql-test/suite/percona/percona_slow_query_log-min_examined_row_limit.test:
      This test doesn't work one windows (needs shell tools)
    mysql-test/suite/percona/percona_slow_query_log-use_global_long_query_time.test:
      This test doesn't work one windows (needs shell tools)
    mysql-test/t/ctype_filesystem.test:
      This test doesn't work one windows (problem with character sets)
    mysql-test/t/events_time_zone.test:
      Use longer times to get predictable tests
    mysql-test/t/show_check-master.opt:
      set long query time to get more predictable tests
    storage/maria/ma_check.c:
      Restore info->s->lock_key_trees after repair.
      Disable logging to temp tables for all repair cases (safety fix)
    storage/maria/ma_state.c:
      Ensurethat info->state_start doesn't point to freed memory. (Could happen after running an internal repair to fast create indexes)
    storage/maria/trnman.c:
      Added longer comment
    2e46eb77
ma_check.c 225 KB