This is a read-only copy of the MariaDB Knowledgebase generated on 2024-12-18. For the latest, interactive version please visit https://mariadb.com/kb/.

MariaDB 5.2.8 Changelog

Download | Release Notes | Changelog | Overview of 5.2

Release date: 18 Aug 2011

For the highlights of this release, see the release notes.

The revision number links will take you to the revision's page on Launchpad. On Launchpad you can view more details of the revision and view diffs of the code modified in that revision.

  • Revision #3019 Tue 2011-08-16 19:01:31 +0300
    • Fixed wrong testcase
  • Revision #3018 Tue 2011-08-16 13:28:20 +0300
    • Fixed build failure in embedded library regarding that decrease_user_connections() was not declared
  • Revision #3017 Tue 2011-08-16 13:06:07 +0300
    • If mysqld --log-warnings=3 or higher, then print all check and repair warnings for MyISAM tables to the log.
    • This is useful when trying to find out why an automatic myisam repair failes.
  • Revision #3016 Tue 2011-08-16 12:32:06 +0300
    • Fixed bug that MAX_USER_CONNECTIONS was not working properly in all situations (which could cause aborted connects) thd->user_connect is now handled in thd->clenup() which will ensure that it works in all context (including slaves).
    • I added also some DBUG_ASSERT() to ensure that things are working correctly.
  • Revision #3015 Mon 2011-08-15 23:53:55 +0300
    • Fixed recovery crash Bug #814806 "Unclean shutdown corrupted Aria table blocking startup"
  • Revision #3014 [merge] Mon 2011-08-15 20:42:29 +0300
    • Merge in bug fix from 5.1
      • Revision #2643.127.34 Mon 2011-08-15 20:38:21 +0300
        • Fixed Bug #826377 "Aria DB Format: Reading specific table from dump causes Wrong bytesec"
        • The bug was that when using bulk insert combined with lock table, we intitalized the io cache with the wrong file position.
        • This fixed a bug where MariaDB could not read in a table dump done with mysqldump.
  • Revision #3013 Mon 2011-08-15 20:40:13 +0300
    • Increase server version
  • Revision #3012 Mon 2011-08-15 16:39:53 +0300
    • Fixes bugs found by testcase for Bug #815022 and Bug #726374 "ma_blockrec.c:3000: write_block_record: Assertion `cur_block[1].page_count == 0' failed with a multi-index Aria workload"
    • The issues was:
      • For some tables with a lot of not packed fields, we didn't allocate enough memory in head page which caused DBUG_ASSERT's
      • Removed wrong DBUG_ASSERT()
      • Fixed a problem with underflow() where it generates a key page where all keys didn't fit.
      • Max key length is now limited by block_size/3 (was block_size /2). This is required for underflow() to work with packed keys.
  • Revision #3011 [merge] Fri 2011-08-12 15:51:05 +0300
    • Autmatic merge with 5.1
      • Revision #2643.127.33 Fri 2011-08-12 15:40:56 +0300
        • Fixed Bug #814231 Aria post-recovery error "Bitmap at page 0 has pages reserved outside of data file length"
        • The bug was a wrong check in aria_chk; The table was fine.
  • Revision #3010 Wed 2011-08-10 22:44:39 +0300
    • Fixed Bug #814054 'Assertion `block->hash_link == hash_link && hash_link->block == block' in ma_pagecache.c:2275 with Aria'
      • Replaced old DBUG_ASSERT with a new correct one + a comment.
  • Revision #3009 Wed 2011-08-10 13:08:19 +0300
    • Fixes MySQL bug#48972: mysqldump --insert-ignore leaves set unique_checks=0.
    • This fixes a bug that when you use mysqldump --no-create-info to generate a dump that you want to merge with an existing table, you can get an innodb table with duplicated unique keys.
    • Patch orignally by Eric Bergen.
  • Revision #3008 Mon 2011-08-08 14:53:52 +0300
    • Optimize mutex usage.
  • Revision #3007 Mon 2011-08-01 10:56:24 +0200
    • After-merge fix of result file (MARIA <-> Aria)
  • Revision #3006 [merge] Sun 2011-07-31 22:46:19 +0200
    • Automerge 5.1->5.2
      • Revision #2643.127.32 Sun 2011-07-31 22:25:37 +0200
        • Speed up mysql-test-run.pl.
        • Problem was the parsing of test suite files for various tags and options. This was done inefficiently, and include files were re-parsed for every place they were included. This caused a delay of 20 seconds or so before the first test started to run.
        • By parsing more efficiently and re-using first parse for subsequent inclusion of the same file, time spent parsing is reduced to less than 1 second, and start appears instantaneous.
        • (With this patch, full ./mtr runs in 3 minutes on my laptop (release build.)
  • Revision #3005 [merge] Mon 2011-07-25 21:52:15 -0700
  • Revision #3004 [merge] Thu 2011-07-21 15:21:22 +0300
  • Revision #3003 [merge] Thu 2011-07-21 13:15:09 +0300
    • Merge 5.1->5.2
      • Revision #2643.127.27 Thu 2011-07-21 12:29:00 +0300
        • Removed incorrect fix and its test suite (the test suit is duplicate).
        • Fixed explains of previous patch.
      • Revision #2643.127.26 Thu 2011-07-21 11:45:19 +0300
        • The function description added.
      • Revision #2643.127.25 Thu 2011-07-21 11:20:55 +0300
        • Fix of Bug #777809
        • 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).
  • Revision #3002 [merge] Tue 2011-07-12 22:42:00 +0200
    • 5.1 merge
      • Revision #2643.127.24 Tue 2011-07-12 08:58:33 +0200
        • bugfix: create internal temporary tables in mysql_tmpdir, not in datadir
      • Revision #2643.127.23 Sun 2011-07-10 13:38:15 +0200
        • Post-fix for Bug #808233 : replace uint with "unsigned int" in mysql.h.pp, too
      • Revision #2643.127.22 [merge] Sun 2011-07-10 12:33:08 +0200
        • merge
          • Revision #2643.130.4 [merge] Sun 2011-07-10 12:31:09 +0200
            • merge
          • Revision #2643.130.3 Sun 2011-07-10 12:27:42 +0200
            • fixes Bug #808233: Undefined uint in typelib.h
            • Fix is to replace uint in public header with unsigned int. uint is not guaranteed to be defined by system headers.
      • Revision #2643.127.21 Thu 2011-07-07 22:37:38 +0200
        • protocol safety fix:
        • before strlen(db) we need to be sure that db lies within packet boundaries
  • Revision #3001 Fri 2011-07-08 00:13:24 +0200
    • protocol safety fix:
      • before strlen(db) we need to be sure that db lies within packet boundaries.
      • same for client_plugin.
  • Revision #3000 Sun 2011-07-10 13:39:37 +0200
    • merge
  • Revision #2999 [merge] Sun 2011-07-10 13:18:05 +0200
  • Revision #2998 Mon 2011-07-04 04:32:53 +0300
    • Aria fixes:
      • Fixed multi-user problem with one thread doing inserts and another doing scans that gave error 175
      • Fixed bug that caused assert in move_to_next_bitmap() & _ma_read_bitmap_page()
      • Much more DBUG_ASSERT(!maria_assert_if_crashed_table) to detect errors early
      • EXTERNAL_LOCKING -> MARIA_EXTERNAL_LOCKING (to use same define everywhere
  • Revision #2997 Thu 2011-06-30 00:37:12 +0300
    • Aria bug fixes and improvements:
      • Fixed performance bug in alter table with Aria; Aria didn't use disable keys + enable keys
      • Fixed wrong warning about 'Wrong CRC on datapage' from REPAIR TABLE with aria block tables.
      • Fixed bug in aria_chk that disabled performance counters.
      • Added --translog_buffer_size to maria_read_log.
  • Revision #2996 Fri 2011-06-24 16:43:25 +0400
    • Fix compile failure
  • Revision #2995 [merge] Fri 2011-06-24 13:05:57 +0300
    • Automatic merge
      • Revision #2993.1.3 [merge] Fri 2011-06-24 12:13:03 +0300
        • Merge with 5.1
          • Revision #2643.127.20 Fri 2011-06-24 10:56:29 +0300
            • Fixed typo. (Old code worked as both tested parts where 'bool', but not nice code..)
          • Revision #2643.127.19 Fri 2011-06-24 10:10:50 +0300
            • Fixes to aria
              • Fixed error when writing a blob to the last page on the bitmap.
              • Marked bitmap changed in once case that could cause two rows to use the same blob page.
          • Revision #2643.127.18 Fri 2011-06-24 10:08:09 +0300
            • Fix for Bug #798597 Incorrect "Duplicate entry" error with views and GROUP BY
          • Revision #2643.127.17 Tue 2011-06-21 17:40:51 +0200
            • fix for Bug #790513 MariaDB crashes on startup
            • initialize plugins earlier, to support, for example, non-MyISAM mysql.plugin table.
          • Revision #2643.127.16 Wed 2011-06-15 20:30:10 +0200
            • ./mtr --suite funcs_1 --ps-protocol
          • Revision #2643.127.15 Wed 2011-06-15 19:44:00 +0200
            • fix "./configure --with-debug" builds (without CFLAGS=-DSAFEMALLOC).
      • Revision #2993.1.2 Fri 2011-06-24 12:08:45 +0300
        • Fixed several errors in Aria discovered by test case for Bug #727869 ma_pagecache.c:2103: find_block: Assertion `block->rlocks == 0
          • Fixed assert in transaction log handler when aria_check was run on block-record table that was much bigger than expected.
          • Fixed warnings about wrong mutex order between bitmap and intern_lock
          • Fixed error in bitmap that could cause two rows to use same block for a block record.
          • Fixed wrong test that could cause error if last page for a bitmap was used by a blob.
          • Fixed several bugs in pagecache for the case where pagecase had very few blocks and there was a lot of threads competing to get the blocks (very unlikely case).
      • Revision #2993.1.1 Mon 2011-06-13 16:57:11 +0300
        • Change in PBXT to only use pth_set_priority() (not setpriority()) to set priority
  • Revision #2994 Fri 2011-06-17 12:53:41 +0200
    • Fix for Bug #798629 Define USE_MARIA_FOR_TMP_TABLES preprocessor constant by default if Aria engine is compiled in. Use CMake variable WITH_ARIA_TMP_TABLES to control the temp table engine setting.
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.