1. 24 Jul, 2011 1 commit
    • Michael Widenius's avatar
      Fixes lp:805930 Sysbench breaks on multiple table test with MariaDB 5.2.7 + Aria · 35cc5ea0
      Michael Widenius authored
      The bug happens when one uses MAX_ROWS=# with Aria & row_format=page and one insert more than # rows.
      
      
      mysql-test/mysql-test-run.pl:
        Ignore table is full error messages
      mysql-test/suite/maria/r/max_length.result:
        Test case for 'Table is full'
      mysql-test/suite/maria/t/max_length.test:
        Test case for 'Table is full'
      storage/maria/ma_bitmap.c:
        Ensure that we don't allocate bits outside of max_data_file_size.
        Adjust max_data_file_size based on bitmap alignments.
        Backport fix to adjust wrong first_bitmap_with_space.
      storage/maria/ma_blockrec.c:
        Calculate value of max_data_file_length
      storage/maria/ma_blockrec.h:
        Updated prototype for _ma_bitmap_init()
      storage/maria/ma_check.c:
        Give warnings if file sizes are above max file sizes.
        Give more warnings in case of errors.
        Have maria_chk write if table is recreated.
      storage/maria/ma_create.c:
        Better calculation of max_data_file_length and thus data pointer length.
        Fixes some wrong pointer lengths when using MAX_ROWS=#
      storage/maria/ma_open.c:
        Removed duplicate assigment.
        Use block size from file instead of global variable.
      storage/maria/maria_chk.c:
        Remove -1 from printed file length
      storage/maria/maria_def.h:
        Update struct st_maria_file_bitmap
      35cc5ea0
  2. 21 Jul, 2011 5 commits
    • unknown's avatar
      test fix. · 8c653292
      unknown authored
      8c653292
    • unknown's avatar
      Fixed PBXT test. · 3b264cec
      unknown authored
      3b264cec
    • unknown's avatar
      Removed incorrect fix and its test suite (the test suit is duplicate). · a105b340
      unknown authored
      Fixed explains of previous patch.
      
      mysql-test/r/explain.result:
        Fixed explains of previous patch.
      mysql-test/r/join_outer.result:
        Fixed explains of previous patch.
      mysql-test/r/negation_elimination.result:
        Fixed explains of previous patch.
      mysql-test/r/view.result:
        Fixed explains of previous patch.
      mysql-test/suite/innodb/r/innodb_mysql.result:
        Removed duplicate test suite.
      mysql-test/suite/innodb/t/innodb_mysql.test:
        Removed duplicate test suite.
      mysql-test/suite/innodb_plugin/r/innodb_mysql.result:
        Removed duplicate test suite.
      mysql-test/suite/innodb_plugin/t/innodb_mysql.test:
        Removed duplicate test suite.
      sql/opt_range.h:
        Removed incorrect fix.
      sql/records.cc:
        Removed incorrect fix.
      a105b340
    • unknown's avatar
      The function description added. · c08186fa
      unknown authored
      c08186fa
    • unknown's avatar
      Fix of LP BUG#777809 · e4fd9e0c
      unknown authored
      There are 2 volatile condition constructions AND/OR constructions and fields(references) when first
      good supported to be top elements of conditions because it is normal practice
      (see copy_andor_structure for example) fields without any expression in the condition is really rare
      and mostly useless case however it could lead to problems when optimiser changes/moves them unaware
      of other variables referring to them. An easy solution of this problem is just to replace single field
      in a condition with equivalent expression well supported by the server (<field> -> <field> != 0).
      
      mysql-test/r/view.result:
        New test added.
      mysql-test/t/view.test:
        New test added.
      sql/sql_parse.cc:
        <field> -> <field> != 0
      sql/sql_yacc.yy:
        <field> -> <field> != 0
      e4fd9e0c
  3. 12 Jul, 2011 1 commit
  4. 10 Jul, 2011 4 commits
  5. 07 Jul, 2011 1 commit
  6. 24 Jun, 2011 3 commits
  7. 21 Jun, 2011 1 commit
  8. 15 Jun, 2011 2 commits
  9. 26 May, 2011 1 commit
    • Michael Widenius's avatar
      Disable call to setpriority() in pbxt. This caused mysqld to run with nice... · e21326a6
      Michael Widenius authored
      Disable call to setpriority() in pbxt. This caused mysqld to run with nice priority -19, which was far from optimal.
      
      mysql-test/suite/innodb/r/innodb_bug60049.result:
        Updated results
      mysql-test/suite/innodb/t/innodb_bug60049.test:
        Force global.innodb_fast_shutdown to 0 as test require it
      mysql-test/suite/innodb_plugin/t/innodb_bug60049.test:
        Force global.innodb_fast_shutdown to 0 as test require it
      storage/pbxt/src/pthread_xt.cc:
        Disable call to setpriority()
      e21326a6
  10. 18 May, 2011 1 commit
    • unknown's avatar
      Fix mysqltest printing of include stack. · 8a747fff
      unknown authored
      The printing of include stack in the error case in mysqltest omitted the
      bottom of the stack (the line number in original test case file), and instead
      printed the top of the stack twice. Fix to print each element on the stack
      once and only once.
      8a747fff
  11. 12 May, 2011 4 commits
  12. 11 May, 2011 1 commit
    • unknown's avatar
      Bugfix: New table creation/renaming block added if old encoded table present. · c94de8f0
      unknown authored
      mysql-test/r/create.result:
        test of renaming
      mysql-test/r/upgrade.result:
        Now such behaviour prohibited to avoid problems.
      mysql-test/t/create.test:
        test of renaming
      mysql-test/t/upgrade.test:
        Now such behaviour prohibited to avoid problems.
      sql/mysql_priv.h:
        Function to test table name presence added.
      sql/sql_rename.cc:
        Rename fixed.
      sql/sql_table.cc:
        Function to test table name presence added.
        Create fixed.
      c94de8f0
  13. 09 May, 2011 1 commit
    • unknown's avatar
      Fix buildbot failure in rpl_stop_slave.test. · 62da6c16
      unknown authored
      Problem was setting DEBUG_SYNC twice in a row too fast in the test case; this
      could cause the second setting to override the first before the code had time
      to react to the first, causing the signal to get lost.
      
      Fixed by waiting for the code to receive the first signal before overwriting
      it in the test case.
      62da6c16
  14. 06 May, 2011 1 commit
  15. 05 May, 2011 2 commits
    • Michael Widenius's avatar
      Speed up pbxt.range test a bit · 1e3c9eb1
      Michael Widenius authored
      1e3c9eb1
    • Michael Widenius's avatar
      Improved 'make test-unit' time slightly · def5a2b4
      Michael Widenius authored
      
      storage/maria/unittest/ma_test_loghandler-t.c:
        Don't sync during test
      storage/maria/unittest/ma_test_loghandler_multigroup-t.c:
        Don't sync during test
      storage/maria/unittest/ma_test_loghandler_multithread-t.c:
        Don't sync during test
      unittest/mysys/bitmap-t.c:
        Don't test all bit combinations (not needed)
      unittest/mysys/thr_template.c:
        Remove sleep as old bug should be fixed nowadays
      unittest/mysys/waiting_threads-t.c:
        Only run test with --big
      unittest/mytap/tap.c:
        Print total time at end of test.
      unittest/unit.pl:
        Use TAP::Harness instead of Test::Harness (recommended according to manual)
        Add times to tests.
      def5a2b4
  16. 04 May, 2011 8 commits
  17. 03 May, 2011 3 commits