Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
MariaDB 5.1 Changelog Series
Download | Release Notes | Changelog |Overview of 5.1
Release date: 30 Jan 2013
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 #3180 Fri 2013-01-25 14:29:46 +0100
- Server crashes on normal shutdown in closefrm after executing a query from MyISAM table
don't write a key value into the record buffer - a key length can be larger then the record length.
Fri 2013-01-25 12:26:35 +0100
- Valgrind complains on simple selects containing expression DAY(FROM_UNIXTIME(-1))
check item->null_value before using the result of item->val_int()
[merge] Mon 2013-01-21 13:48:34 -0800
Merge.
Mon 2013-01-21 11:47:45 -0800
Fixed bug (bug #56927). This bug could result in returning 0 for the expressions of the form <aggregate_function>(distinct field) when the system variable max_heap_table_size was set to a small enough number. It happened because the method Unique::walk() did not support the case when more than one pass was needed to merge the trees of distinct values saved in an external file.
Mon 2013-01-21 10:52:39 +0100
SELECT on information_schema using a subquery locks up the information_schema table due to incorrect mutexes handling
Early evaluation of subqueries in the WHERE conditions on I_S.*_STATUS tables, otherwise the subquery on this same table will try to acquire LOCK_status twice.
[merge] Wed 2013-01-09 23:51:51 +0100
mysql-5.1.67 merge
Tue 2012-12-04 17:08:02 +0100
proactive s/strmov/strnmov/ in sql_acl.cc and related test cases
Fri 2012-12-21 15:17:26 +0100
Support VS2012. Exclude compiler-defined symbols from being exported by mysqld.exe
Thu 2012-12-06 00:37:06 +0100
: myisamchk bogus error for files larger than 4GB.
The failure is caused by failing stat() call . C Runtime function stat() uses old struct with 32bit st_size member, and since Visual Studio 2010 , it returns an error on st_size overflow (i.e on files larger than 4GB)
Fix replaces stat() by my_stat(), the later is backed by 64bit-able stat64().
| |Changelog |
Release date: 6 Apr 2012
For the highlights of this release, see the .
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.
[merge] Thu 2012-04-05 10:49:38 +0200
| | Changelog |
Release date: 10 May 2010
Fix for a buffer overflow that might potentially allow an authenticated user to run arbitrary code inside the server.
Fix for : "Security hole with bypassing grants using special path in db/table names."
See the for a list of the changes between and .
Backported a fix in grant_lowercase.test from mariadb 5.5.
Revision #3144 Wed 2012-04-04 15:41:50 +0200
MDEV-212 sporadic main.connect failures in 5.3
don't cast implicitly an int to a char, when a boolean value is desired.
Revision #3143 [merge] Wed 2012-04-04 13:38:19 +0300
Merge in deleted fixes
Revision #3142.1.2 Wed 2012-04-04 13:20:06 +0300
Fixed test cases that changed as part of fixing bugs with record count and partitioning
Wed 2012-04-04 00:14:07 +0300
Fixed "Server crashes in my_strnncollsp_simple on LEFT JOIN with CSV table, TEXT field"
The main problem was a bug in CSV where it provided wrong statistics (it claimed the table was empty when it wasn't)
I also fixed wrong freeing of blob's in the CSV handler. (Any call to handler::read_first_row() on a CSV table with blobs would fail)
| | Changelog |
Release date: 15 Nov 2009
Generally: MariaDB-5.1.39 Beta is based on MySQL-5.1.39, but has these additional changes and bug fixes.
Includes MySQL 5.1.39 (check for details of changes since MySQL 5.1.38)
Includes XtraDB 1.0.3-8 (check for details of changes since XtraDB 1.0.3-6)
RPMs for Centos 5 now available.
Includes as replacement for old Federated storage engine.
Test suite speedups.
Binary tarballs now build on Ubuntu Hardy, so now depends on glibc 2.7 rather than 2.9 and so should work on more systems.
Some (still not all) compiler warnings eliminated.
Bug #443014 Too many 'skipped' messages in mysql-test-run
Download | Release Notes | Changelog |Overview of 5.1
Release date: 01 Feb 2010
See the MariaDB 5.1.42 Release Notes for the highlights of this release.
MariaDB-5.1.42 is based on MySQL-5.1.42, and in addition to the changes listed in previous changelogs it includes the following changes and bug fixes:
Includes MySQL 5.1.42
Includes 1.0.6-9
Includes PBXT 1.0.09f RC3
Includes
Added page fault counters for SHOW PROFILE on Windows.
Fixed bug where one connection didn't see newly committed data from another connection.
Fix multiple test suite failures in Buildbot due to races in the test cases or missing server features not properly checked.
Make test case deterministic by replacing sleep with include/wait_condition.inc
Move test from main.trigger to main.trigger_notembedded, as it now depends on INFORMATION_SCHEMA.PROCESSLIST (rather than sleeps) to synchronise.
Fixed bug where mysqlbinlog hold up multiple connections to MySQL when using mysqlbinlog -R file1 file2 ...
Merged patch from Percona to get proper fix for compilation issue of srv0srv.c on Solaris
Fixed compile errors on windows.
Fixed that we use same flags when testing for assembler as by makefiles.
Fixed bug in locking by triggers found by test case when compiling without query cache.
Fixed xtradb/handler/ha_innodb.cc to call explain_filename()
Removed not needed test file (that caused embedded server to fail).
Fix for XtraDB 9: missing DBUG_RETURN.
Fix crashes by taking kernel mutex when calling srv_table_reserve_slot() during thread startup.
Apply to XtraDB MySQL/build-in innodb patches for and .
Fix freed-twice error in XtraDB (from InnoDB plugin 1.0.6).
Fixed race condition when innobase_shutdown_for_mysql() was called before parser was initialized (as it's initialized on first usage).
Fixes for some randomly occuring test failures in Buildbot.
Fix for : Result of reverse_lookup("localhost") is system dependent. Therefore we disable the result of it.
[SECURITY] yaSSL cert info buffer overflow fix. Fixes .
Fix Windows test failures in binlog tests in certain time zones. Thanks to Alex Budovski for helping with this.
Fixed some compiler warnings and errors in test suite and compiler warnings from OpenSolaris build.
Add support in bintar build script for OpenSolaris.
When compiling with debug, don't clear buffer in 'net_clear()' - This allows
us to easier find bugs in the protocol and also get repeatable test failures
in test cases where someone forgot to do --reap
Changed version number from RC to stable
Fixed bug in Yassle to get correct error messages in case of errors
Provide better error messages in case of SSL connect failure
Updated out-of-date SSL certificates to fix failing mysql-test-system (certificates now active for 10 years)
Fixed bug in query_cache that could cause asserts and hangs in DEBUG builds.
Fixed bug where one connection did not see changes done by another connection.
Fix for : mysqlslap.exe crashes if called without any parameters
Fix Windows build of embedded server (forgotten dependency).
Download | Release Notes | Changelog |Overview of 5.1
Release date: 24 Mar 2010
See the MariaDB 5.1.44 Release Notes for the highlights of this release.
MariaDB 5.1.44 is based on MySQL 5.1.44 and includes all changes made since MySQL 5.1.42, including MySQL 5.1.43. In addition to the changes listed in previous changelogs it includes the following changes and bug fixes:
fixed a reported performance problem with MariaDB internal temporary tables
don't crash on failing to load a plugin with newer MYSQL_PLUGIN_INTERFACE_VERSION
don't copy st_mysql_plugin structure unnecessary (sizeof hasn't changed)
Fix myisam checksum patch to check for HA_OPTION_CHECKSUM after it was set, not before
Fix for MyISAM table created in MariaDB not readable by MySQL
Fix for: DELETE IGNORE and FK constraint. Now DELETE IGNORE skips over rows with a foreign key constraints (as it was supposed to do)
Fix some compiler warnings seen in Buildbot. Add some extra error output and code cleanup in an attempt to fix/debug a rare random testsuite problem in check_warnings, where the exit code from mysqltest is somehow corrupted inside mysql-test-run.pl.
Fixes for two test failures in Buildbot.
Adjust timing in test case, to avoid test failures caused by high load on machines and consequent race conditions in the test case.
Add another variant of Valgrind suppressions for memory leak in system libraries when unloading dynamic object files.
Added count of my_sync calls (to SHOW STATUS)
tmp_table_size can now be set to 0 (to disable in memory internal temp tables)
Improved speed for internal Maria temp tables:
Don't use packed keys, except with long text fields.
Don't copy key all accessed pages during key search.
Some new benchmark tests to sql-bench (for group by)
do not take LOCK_plugin for built-in plugins
Fixed : Running RQG outer_join test leads to crash. Save no-records constant tables in JOIN::const_table_map before we invoke eliminate_tables(). Failure to do so caused crash when the same table was marked as constant two times
fix for a possible DoS in the my_net_skip_rest()
Fixed : make test ORDER BY date_ord ASC. (Problem was missing time_zone setting)
Fixed : Running RQG optimizer_no_subquery crashes MariaDB. When analying multiple equalities, take into account that they may not have a single table field that belongs to one of the tables that we're trying to eliminate (and they are not useful for table elimination in that case)
Increased loop counts of sql-bench tests to get run times around 5 minutes on current machines. Tested on a Xeon machine and a new dual core laptop.
Fix for : Test maria.maria3 fails when --without-maria-tmp-tables
is set
Fix for : useability bug of thread pool configuration. Nowmysqld --help --verbose shows the value for thread-handling Fixed also thatmysqld --one-thread works as expected.
Added option --temporary-tables to test speed of temporary tables
When one does a drop table, the indexes are not flushed to disk before drop anymore (with MyISAM/Maria).
myisam-recover options changed from OFF to 'DEFAULT' to get less chance of
data loss when using MyISAM. (The disadvantage is that changed MyISAM tables
will be checked at access time; Use --myisam-recover=OFF for old behavior)
Don't call extra (HA_EXTRA_FORCE_REOPEN) in ALTER TABLE if table is locked as this will mark table as crashed!
Added assert to detect if we accidentally would use MyISAM versioning in MySQL
Added --connect-command="sql-string" to sql-bench test suite. This allows one
to send an extra command to the mysql server to setup the environment before
starting tests.
now we force at least libevent-1.4
hide nm warnings in configure
Support building with system libevent
Download | Release Notes | Changelog |Overview of 5.1
Release date: 13 Jan 2010
See the MariaDB 5.1.41 Release Notes for the highlights of this release.
MariaDB-5.1.41 RC is based on MySQL-5.1.41, and in addition to the changes listed in the 5.1.39 and 5.1.38 changelogs it includes these additional changes and bug fixes:
Includes MySQL 5.1.41
Includes 1.0.4-8
Includes 1.0.09f RC3
Includes
Fixed typos of --engine help text.
Added page fault counters for SHOW PROFILE on Windows.
Fixed bug where one connection didn't see newly committed data from another connection.
Safety change to ensure read/black trees (used with heap tables) works on 64
bit setups where ulong <> size_t
Don't retry test cases by default
Fixed bug where we could (under unlikely error conditions) access not initialized variable
Added error handling for my_seek() & my_tell() failures
Fixed --with-fast-mutexes and without safe mutexes (debug
build) maria do not builds
Added 'mariadb_SERVER' as extra config group for MariaDB embedded server
Apply the strict aliasing patch from
Remove compiler warnings (Including some warnings from -Wstrict-aliasing)
Don't use static link by default (in compile-pentium) as some new systems don't have all static libraries available
Change type for functions in plugin.h:str_mysql_ftparser_param() to const unsigned char and string lengths to size_t.
One effect of the above change is that one needs to include mysql_global.h or define size_t before including plugin.h
This fixes a case where mysql_client_test failed with newer gcc that enables strict-aliasing by default
Added protection around usage of thd->mysys_var (May be changed to 0 by scheduler)
Fix for SHOW BINLOG EVENTS: Wrong offset or I/O error
Removed some not needed casts
Change plugin.h to be 'binary compatible' with old versions
Added mysql_ft_size_t typedef to plugin.h to make it trivial to change string lengths to size_t on next ABI change
Protect stack->keywords with THR_LOCK_dbug
This solves a core dump in MariaDB when one sets the GLOBAL.DEBUG variable in mysql-test-run when other threads are checking the keyword list
Fixed Replication from 4.0 to 5.1 broken
Changed -1 row number in some warnings to 0 (-1 doesn't make sense as a row number and when doing insert / load data, first row is 1, so 0 is free to use)
Fixed rpl_timezone fails on PB-2 with mismatch error
Fixed coredump in sql_plugin.cc:intern_plugin_lock() on mysqld start with PBXT
Ensure that mysql_get_server_version() also works if there is a non numerical prefix before the version number
Applied patch from Alexander Barkov to fix some problems with Croatian character set and LIKE queries
Fix for PBXT running inside embedded server (). Also some
small fixes to make the PBXT testsuite work in --embedded.
Add DB_TYPE_AUTOASSIGN as a better name for DB_TYPE_UNKNOWN, which is what plugins should generally use.
Fixed bug in my_uuid() that caused failures on hpux and ia64
Fixed bug in tc.log recovery code that caused crash_commit_before to sometimes crash.
OpenSolaris 5.11-x86 now compiles (tested with 32 bit)
Add BUILD/compile-bintar, which builds MariaDB with correct options for a binary tarball release.
Various test suite fixes and improvements.
| |Changelog |
Release date: 2 Apr 2012
For the highlights of this release, see the .
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.
Fri 2012-03-30 13:42:52 +0300
Revision #3141 Thu 2012-03-29 18:06:08 +0200
fix the test case for windows: replace_result \\ /
Revision #3140 Thu 2012-03-29 16:36:06 +0200
make the code compile again
Revision #3139 Wed 2012-03-28 13:22:21 +0300
Fixed Bug #944422 "mysql_upgrade destroys Maria tables?"
The issue was that check/optimize/anaylze did not zerofill the table before they started to work on it.
Added one more element to not often used function handler::auto_repair() to allow handler to decide when to auto repair.
Revision #3138 Wed 2012-03-21 18:22:02 +0100
Bug #933959 Assertion `0' failed in net_end_statement(THD*) on concurrent SELECT FROM I_S.INNODB_SYS_INDEXES and ALTER TABLE
Workaround: report a generic error if an I_S plugin failed silently.
Revision #3137 Thu 2012-03-15 15:06:06 +0100
Fix access to uninitialized variable in innodb error message in case WriteFile() fails.
Revision #3136 Wed 2012-03-14 21:16:24 +0100
restore my_safe_printf_stderr for "crash-safe sigsegv handler"
use vsnprintf()
use write() on windows, not WriteFile or fwrite()
localtime_r is still a problem
Revision #3135 Mon 2012-03-12 11:31:40 +0100
Bug #952714: Fix formatting of the crash messages in signal/exception handler
Revision #3134 Fri 2012-02-24 17:01:47 +0200
Fix for Bug #909635: MariaDB crashes on a select with long varchar and blob fields Problem was a crash in internal temporary (Maria) files when row length exceeded 65535
Revision #3133 Tue 2012-02-21 14:17:33 +0200
Fixed suppression expression.
Revision #3132 [merge] Tue 2012-02-21 01:51:55 +0200
Automatic merge
Revision #3130.1.1 Tue 2012-02-21 01:44:50 +0200
More general handling of memory loss in dlclose (backported from 5.2)
Fixed supression in mysql-test-run so it also works on windows.
Revision #3131 Mon 2012-02-20 18:07:38 +0100
Fix compilation on Windows, and various Windows related mistakes introduced by "safe exception patch".
Remove misleading comments suggesting about signal() Windows, the routine here is part of a exception handler, and sig parameter is an exception code.
Revision #3130 Mon 2012-02-20 17:56:47 +0200
Fixed compiler warnings
Revision #3129 [merge] Mon 2012-02-20 16:23:18 +0200
Merge with MYSQL 5.1.61
Fixed README with link to source
Merged InnoDB change to XtraDB
Revision #3128 [merge] Sat 2012-02-11 16:42:46 +0100
merge
Revision #3117.1.3 Sat 2012-02-11 03:25:49 +0100
fixes Bug #930145
A recent change in the server protocol code broke SSL connection for some client libraries.
Protocol documentation () says that initial packet sent by client if client wants SSL, consists of client capability flags only (4 bytes or 2 bytes edependent on protocol versionl). Some clients happen to send more in the initial SSL packet (C client, Python connector), while others (Java, .NET) follow the docs and send only client capability flags.
A change that broke Java client was a newly introduced check that frst client packet has 32 or more bytes. This is generally wrong, if client capability flags contains CLIENT_SSL.
Also, fixed the code such that read max client packet size and charset in the first packet prior to SSL handshake. With SSL, clients do not have to send this info, they can only send client flags.
This is now fixed such that max packet size and charset are not read prior to SSL handshake, in case of SSL they are read from the "complete" client authentication packet after SSL initialization.
Revision #3127 Wed 2012-01-25 11:34:43 +0100
mtr runs only "big" tests, if --big-test is repeated twice
Revision #3126 Wed 2012-01-04 20:10:15 +0100
report innodb_file_per_table, innodb_flush_log_at_trx_commit, innodb_flush_method
Revision #3125 Thu 2011-12-29 21:55:17 -0800
Fixed Bug #848652. The cause of this bug was the same as for Bug #902356 fixed for 5.3.
Revision #3124 Wed 2011-12-21 13:23:15 +0200
Fixes Bug #907049 "Server started with skip-aria crashes on an attempt to connect to it"
Revision #3123 Mon 2011-12-12 16:28:16 +0100
new "./configure --disable-distribution" option
Revision #3122 Mon 2011-12-12 13:37:18 +0100
Fix GCC build failure in PBXT in some cases/platforms.
Revision #3121 Sun 2011-12-11 22:58:01 +0200
Fixed valgrind problem: reference on deleted memory of temporary table name.
Removed previous patch of this problem.
Download | Release Notes | Changelog |Overview of 5.1
Release date: 09 Aug 2010
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 #2895 Ensure that xtradb & InnoDB plugin compiles if valgrind is installed but not valgrind debug libraries
Revision #2894 This patch fixes Memory corruption with (M) aria storage engine and virtual columns in Fixed compiler warnings Disabled some tests that doesn't work on windows (uses shell tools or strange characters)
Fix build failure on windows
Fix for Crash in _ma_unpin_all_pages / _ma_search on DELETE with Aria search engine Fixed compiler warnings
Fixed wrong AC_INIT
Fixed timing issue in test suite
[merge] Merge of 5.1-release
Fix for : RQG: ma_blockrec.c:6187: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed on Maria engine recovery
More DBUG_PRINT (to simplify future debugging)
Aria: Added STATE_IN_REPAIR, which is set on start of repair. This allows us to see if 'crashed' flag was set intentionally.
force the generation of mysqlmanager.map file
restore the unintentinally broken ABI
Fixed wrong error message from federatedx (which could lead to assert in DBUG code)
mysql client: Ignore --comments at start of command line. This allows one to more easily run mysqltest tests trough the command line.
Fixed bug: RQG: pagecache_read: Assertion `pageno < ((1ULL) << 40)' on OPTIMIZE TABLE of a Maria table
Add 64 bit packages to the pack script. 32 bit is still the default
Fix
bug - Wrong usage of mutex LOCK_sync and LOCK_active in XA redone locking in TC_LOG_MMAP::log_xid
Remove the file libmysqld.exp from the installer
Hardcode the build path for the installer temporarily
Fix cpack run
Install MariaDB as a service with the installer
Install MTR and SQL-bench with CPack and NSIS
Install the files for the embedded server
Install the storage engine plugins
Fix a loop and install more script files. Renames the perlscripts component to scripts, since it now also has sql scripts.
Fix installing the localized error messages with cpack
Implement an NSIS based installer
Fixed trival bug introduced in last patch (buffer was not extended)
Fixes for Opensolaris (to get buildbot green)
Fixed memory leaks in
Fixed printf of NULL which caused crashes on OpenSolaris when using --debug
Fixed realloc() problem that caused out of memory when running mysqldump.test on OpenSolaris
Fixed compiler warnings
Don't flush pinned pages in checkpoint (fix for my last push)
[merge] merged
mysqltest: use setenv, not putenv, to make gcov happy. (backport from MySQL)
Remove a warning on Windows. There is no CMakeLists.txt in the unittest examples dir
Fixed some bugs in the Maria storage engine
mtr: when applying @opt_extra_mysqld_opt for --help,
filter out --binlog-format - it makes mysqld to fail without --log-bin,
and we don't need either anyway for --help to work.
ugly-ugly. $with_plugin_innobase was hard-coded in configure.in in
fixed for mysql-test-run to
fully support --mysqld=--plugin-load=xxxx
uniformly support all loadable plugins, no need to hard-code every new plugin in mtr
autodetect MTR_VS_CONFIG on windows
allow federated and innodb_plugin to be built
fix questionable UNIV_EXPECT's in the xtradb that confused old gcc.
[merge] Automerge release into main.
| | Changelog |
Release date: 01 Jun 2010
For the highlights of this release, see the .
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.
: Fix for Server crash for multi-engine transaction with binlog disabled
: Fixed compiler warnings and sporadic failures in test cases
Aria: Some trivial speedup optimization
Aria: Better warning if table was marked crashed by unfinnished repair
Changed default recovery mode from OFF to NORMAL to get automatic repair of not properly closed tables.
Fixed a rase condition when two threads calls external_lock and thr_lock() in different order. When this happend the transaction that called external lock first and thr_lock() last did not see the rows from the other transaction, even if it had to wait in thr_lock() for other to complete.
Fixed that one can run maria_chk on an automatcally recovered tables without warnings about too small transaction id
Don't give warning that crashed table could not be repaired if repair was disabled (and thus not run)
Fixed a error result from flush_key_cache() which caused a DBUG_ASSERT() when one was using concurrent reads on non transactional tables that was updated.
Revision #2835: Fixed random failure in test system, Removed and suppressed compiler warnings
Revision #2836: Removed compiler warning, Disable pbxt for test cases not using pbxt (speeds up test suite)
Revision #2837: Fixed compiler warnings, Fixed random failure in test system
Revision #2838: Added missing space from last push, Fixed compiler warnings
Revision #2839: Added missing space before :, which caused failures in buildbot
Revision #2840: Fixed wrong regexps
Revision #2841: Removed compiler warnings, Removed random failures from test suite
Revision #2842: Fixed suppression of compiler/test warnings, Fixed some timing issues in test suite
Revision #2843: Fixed syntax error and some timing issues in test suite
Revision #2844: Fixed race condition in safe_process.cc which may have caused some mysqltests to be reported as failed even if they succeded.
Revision #2845: Fixed a problem of merge from mysql-5.1 baseline.
Revision #2846: Fix Windows compile
Revision #2847: Remove unnecessary redefinition of TAILQ_EMPTY
Revision #2848: Fix a bunch of Windows warnings
Revision #2849: Fix buffer overflow in COM_FIELD_LIST.
Revision #2849.1.1: Merge MySQL 5.1.46 into MariaDB. Still two test failures to be solved: main.myisam and main.subselect.
Revision #2849.1.2: Better fix for Windows warning on redefined TAILQ_EMPTY; The previous attempt broke build on Debian4.
Revision #2849.1.3: Merged MySQL 5.1.46 GPLed documentation into MariaDB.
Revision #2849.1.4: Merge XtraDB 9.1 into MariaDB.
Revision #2849.1.5: Merge XtraDB 10 into MariaDB.
Revision #2849.1.6: After-merge fixes for MySQL 5.1.46 merge into MariaDB: result file update and compiler warning removals.
Revision #2849.1.7: Merge 5.1.44a security release + fix a couple compiler warnings.
Revision #2849.1.8: 5.1.46 after-merge fixes: must FLUSH TABLES before copying .frm.
Revision #2849.1.9: Fixed MySQL Bug #53334. The fix actually reverts the change introduced by the patch for MySQL Bug #51494. The fact is that the patch for MySQL Bug #52177 fixes MySQL Bug #51194 as well.
Revision #2849.1.10: Suppress a safemutex warning pending fix of MBug#578117.
Revision #2849.1.11: Automerge MariaDB 5.1.44 b release.
Revision #2849.1.12: Merge PBXT 1.0.11 into MariaDB.
Revision #2849.1.13: Result file update for main.subselect (the MySQL 5.1.46 version has buggy output in the .result, see BUG#47904 comments).
Revision #2849.1.14: Merge to get PBXT's xstat program
Revision #2849.1.15: Fixes after last merge of MySQL 5.1: INSERT with RAND() doesn't require row based logging again. Some bugs fixed in opt_range() where we table->key_read was wrongly used
Revision #2849.1.16: Fixed build failures and compiler warning
Revision #2849.1.17: Fix a race condition in the PBXT test for MAX_JOIN_SIZE in select_safe.test. The statistics after a sequence of inserts/deletes are updated synchronously in PBXT, causing unpredictable test results. Fix by running the test on a fresh copy of the table with no deletes performed, to get stable results.
Revision #2849.1.18: Automerge latest MariaDB 5.1 trunk into 5.1.46 release.
Revision #2849.1.19: Changed the fixes for the following bugs:
MySQL Bug #39022: completed
MySQL Bug #39653: reverted as invalid
MySQL Bug #45640: ameliorated, simplified, optimized
: completed
: improved
/: reverted, applied a real fix.
Revision #2849.1.20: Automerge latest fixes from trunk into 5.1.46 release branch.
Revision #2849.1.21: Merge with MySQL 5.1.47. Fixed some bugs introduced in MySQL 5.1.47. Disabled some tests until we have merged with latest Xtradb.
Revision #2849.1.22: Resolve bzr conflicts
Revision #2849.1.23: Added macros to inform valgrind that memory is uninitialized.
Revision #2849.1.24: Fixed compiler warnings. Fixed failing test innodb.innodb-autoinc.test. Enabled innodb test suite.
Revision #2850: Fix missing bounds check in string conversion. Bump version number for security fix release.
Revision #2851: Change commit mails to go to commits 'at' mariadb (dot) org
Revision #2852: bugfix from mysql-5.1, apparently lost in a merge
Revision #2853: Removed extra } that caused script to fail with syntax error
Revision #2854: Automerge MariaDB 5.1.44 b into trunk.
Revision #2855: Build perl scripts in the correct directory
Revision #2856: Add a -nobuild argument to the script. Useful for building the win32 zip file release with Express Edition which doesn't have the devenv command
Revision #2857: fix includes in libevent to support vpath builds
Revision #2858: Fix a couple of problems in the pack script, and disable a check feature that doesn't work right now
Revision #2859: Fix short version number
Revision #2860: Automerge MariaDB 5.1.47 release into main (revisions 2849.1.1 - 2849.1.24).
Download | Release Notes | Changelog |Overview of 5.1
Release date: 6 Dec 2010
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.
Fixes to not trigger end-consistency testing of pagecache.
Moved end_pagecache() to after maria_close()
Flush page cache before closing files (in maria_pack)
Fixed test suite failure for PBXT
The assert removed because it do not take into account case when previous and this buffers used for first time but previous buffer was not sent to disk yet (i.e. previous buffer was never sent to disk yet).
Aria unit tests fixed to have correct pagecache shutdown.
The Aria multithread test unlocked.
Removed assert as gcc on gentoo couldn't compile it without a warning :(
(Not critical, we will just catch the error later)
Fixed (wrong) compiler warning
Fixed compiler warning
Added missing inc_counter_for_resize_op(pagecache).
(caused maria.maria-preload.test to fail)
Fixed compiler warnings.
Fixed timing test failures.
Fixed a failure in the Aria engines page cache and log handler (found with maria.maria-big test)
Fix problems seen in Buildbot:
Make sure creation of t1 is replicated before trying to create trigger on it on slave
Use safe #ifdef for declaration as for definition to avoid warning about unused static function.
[merge]
Automatic merge with 5.1
[merge]
Automatic merge with 5.1-release
Fixed failures in buildbot
: "SET INSERT_ID" event must be ignored if corresponding event is ignored
An INSERT query log event is preceeded by an INSERT_ID intvar event if the
INSERT allocates a new auto_increment value. But if we ignore the INSERT
due to --replicate-ignore-table or similar, then the INSERT_ID event is
still executed, and the set value of INSERT_ID lingers around in the
slave sql thread THD object indefinitely until the next INSERT that
happens to need allocation of a new auto_increment value.
Fixed some compiler warnings
Fixed compiler and gmake warnings
Removed SCCS rule from Makefile.am
Made dummy rule in sql_yacc.yy to get rid of compiler warning about not used label.
Fixed compiler warnings and a compilation failure on windows
Patch from Sergey Petrunya:
Fix post-merge failure in 5.1-merge
Let QUICK_RANGE_INTERSECT_SELECT not make assumption that HA_EXTRA_KEYREAD scans do not touch parts of table->record[0] that refer to fields that are not covered by the used index.
[merge]
Automatic merge with 5.1
Fix of .
Fixed failing test cases
Merge of innodb_plugin for MySQL 5.1.53 with xtradb
Fixed compiler warnings in xtradb
Added back resetting of null bitmap but now in row_search_for_mysql()
A proper fix for .
Introduced a new flag in the class Item. The flag is set to 1 only for items that are used in GROUP BY lists of queries with ROLLUP.
[merge]
Automatic merge with base
[merge]
Merge with MySQL 5.1.53
Fix test failure when the mysql-test/ directory is not writable.
[merge]
Merge XtraDB from Percona-Server 5.1.52-11.6 into
revid:oleg.tsarev@percona.com-20101118145125-wjhjrb5jwhi0g7sj
[merge]
Automerge with 5.1
[merge]
Merge with MySQL 5.1.52
Download | Release Notes | Changelog |Overview of 5.1
Release date: 29 Oct 2009
MariaDB-5.1.38-beta is based on MySQL-5.1.38, but has these additional changes and bug fixes:
mysql-test-run now has options --stop-file and --stop-keep-alive (also
accessible with environment variables MTR_STOP_FILE and MTR_STOP_KEEP_ALIVE).
With these, it is possible to pause a running test temporarily and let it
continue later. See .
Improvements to Gcov support in testing.
New column , similar to the old TIME column, but with microsecond resolution. Also fixes old TIME column to not be influenced by @TIMESTAMP. Patch by Percona.
Optimizer improvement: Table elimination (). See .
Enhancements to slow log. Includes details of execution plan and microsecond-precision resolution. Based on microslow patch by Percona. See .
PBXT storage engine. PBXT is developed by .
version 6 as a replacement for the MySQL built-in InnoDB. XtraDB is based on the Oracle/Innobase InnoDB plugin version 1.0.3, with enhancements. XtraDB is developed by Percona.
Performance improvements for common cases of character set conversion. See for a list of the character sets and collations included with MariaDB.
, allowing to map a high number of simultaneous connections onto a lower number of operating system treads, to reduce overhead with using large number of threads.
New handler call prepare_index_scan() and other small improvements to the internal storage engine handler API.
./configure now outputs a summary section at the end of the output. (By C.J. Adams-Collier).
NDB storage engine disabled in MariaDB builds. (NDB is not supported in MariaDB).
Added --abort-source-on-error to the .
.
Debugging code to check for taking mutexes in the wrong order, which enables to catch potential deadlocks in the server code.
storage engine. The Maria storage engine is an enhanment over the MyISAM storage engine which provides journaling and crash recovery.
Added new startup option and test commands to .
mysqlslap: setting --engine does not get replicated ().
mysqlslap: specifying --engine and --create does not work with--engine=<storage_engine>:<option>
().
rpl_do_grant fails on PB-2 with a failing connect ().
This page is licensed: CC BY-SA / Gnu FDL
This could cause a core dump when deleting big blobs.
Added test to end_pagecache() to verify that page cache was correctly used.
inc_counter_for_resize_op and dec_counter_for_resize_op are called same number of times.
All page cache blocks was properly deallocated (empty)
Use three digits after the decimal point for better resolution and comparability of results.
Revision #2891.18.2 [merge]
Automatic merge with 5.1-release
Normally this does not cause problems as such following INSERT would normally come with its own INSERT_ID event. In this bug, the user had a trigger on the slave which was missing on the master, and this trigger had an INSERT which could be affected. In any case, it seems better to not leave a stray INSERT_ID hanging around in the sql thread THD indefinitely.
Note that events can also be skipped from apply_event_and_update_pos(); however it is not possible in that code to skip the INSERT without also skipping the INSERT_ID event.
Don't use maintainer mode with valgrind (as we don't want to initialize all variables)
This assumption is not true for XtraDB (e.g. grep row/row0sel.c for "init null bytes with default values as they might be").
Registration of pointer change if we assign it to other pointer which should be identical after statement execution (PS/SP).
Open issues:
A better fix for #57688; Igor is working on this
Test failure in index_merge_innodb.test ; Igor promised to look at this
Some Innodb tests fails (need to merge with latest xtradb) ; Kristian promised to look at this.
Failing tests: innodb_plugin.innodb_bug56143 innodb_plugin.innodb_bug56632 innodb_plugin.innodb_bug56680 innodb_plugin.innodb_bug57255
Werror is disabled; Should be enabled after merge with xtradb.
Updated with changes from lp:percona-server/release-5.1.52-11 as of November 24, 2010
Merged: revid:oleg.tsarev@percona.com-20101118145125-wjhjrb5jwhi0g7sj
Fix test failure with OpenSSL due to different error message than in YaSSL.
Windows: mysql-test-run --log-error fixed to not add --console. See .
The myisam_crash_before_flush_keys test fails on Windows (MySQL Bug #47455).
rpl.rpl_get_master_version_and_clock fails on hpux11.31 (MySQL Bug #46931)
safe_process: FATAL ERROR, Unknown option: --nocore (MySQL Bug #46212).
crashes on startup on windows (Bug #417751)
Eliminate compiler warnings.
Fix parsing of enum-valued options for plugins (Bug #423035)
Solaris build fixes.
query_cache_debug.test fails (MySQL Bug #45632).
enum-style command-line options are not honoured (maria.maria-recover fails) (MySQL Bug #41010)
sometimes terminated mysqld early, causing loss of memory leak error reports from Valgrind and GCov test coverage output (MySQL Bug #43418).
Several Valgrind reported bugs in the source code fixed.
Save SAFE_MUTEX configure #define in config.h, to facilitate correct build options for plugins.
test maria.maria fails if server built without '--with-partition'
(Bug #330611).
Download | Release Notes | Changelog |Overview of 5.1
Release date: 29 Nov 2012
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 #3172 Thu 2012-11-22 18:27:02 +0100
Feedback plugin now recognizes Windows 8 / Windows Server 2012.
Tue 2012-11-20 13:28:53 +0100
: assertions in TC_LOG_MMAP.
Mon 2012-11-19 11:18:40 +0100
potential crash in the feedback plugin
Sat 2012-11-17 19:04:13 +0100
too early pthread_mutex_unlock in TC_LOG_MMAP::log_xid
Mon 2012-11-12 19:56:51 +0100
followup fixes for MySQL Bug #13889741: HANDLE_FATAL_SIGNAL IN DB_ENTER | HANDLE_FATAL_SIGNAL IN STRNLEN
Sat 2012-11-10 20:36:18 +0100
- 1 bytes stack overwrite in normalize_dirname().
Fri 2012-11-09 20:15:23 +0100
add a test case for MySQL Bug #13889741: HANDLE_FATAL_SIGNAL IN DB_ENTER | HANDLE_FATAL_SIGNAL IN STRNLEN
Wed 2012-11-07 17:48:02 +0200
Updated test results after the mysql 5.1 merge.
[merge] Tue 2012-11-06 11:52:55 +0200
Merge MySQL 5.1.66 -> MariaDB 5.1.65
Tue 2012-09-11 12:47:32 +0200
Spec file change to work around cast ulonglong -> int.
[merge] Thu 2012-11-01 16:20:09 +0100
Merge XtraDB from Percona-Server 5.1.66-rel14.1 into .
Thu 2012-11-01 15:16:42 +0100
Updated with changes from Percona Server 5.1.66-rel14.1 tarball.
Wed 2012-10-31 23:49:51 +0200
Fixed , - Valgrind error ha_maria::check_if_incompatible_data on
Wed 2012-10-31 23:22:32 +0200
Fixed , - Aria unit tests fail at ma_test2
Thu 2012-09-27 12:25:45 +0200
Fix incorrect assembler in Taocrypt which causes crashes on i386 with certain GCC versions/options
Wed 2012-09-26 11:59:49 +0200
always force the language in mysql_install_db
Wed 2012-09-26 15:30:08 +0200
Fix some failures in 5.1 Buildbot:
Mon 2012-09-24 11:33:41 +0200
mysql_install_db doesn't work with blanks in either basedir or datadir path
Fri 2012-08-24 19:11:54 +0200
Fix compiler warning
Fri 2012-08-24 15:32:44 +0200
Fix compiler warnings
[merge] Fri 2012-08-24 10:34:55 +0200
Merge with latest 5.1.
Fri 2012-08-24 10:06:16 +0200
: Incorrect quoting ( )
Wed 2012-08-22 16:10:31 +0200
merge with XtraDB as of Percona-Server-5.1.63-rel13.4
[merge] Wed 2012-08-22 11:40:39 +0200
merge with MySQL 5.1.65
[merge] Thu 2012-07-12 10:00:14 +0200
Merge unpushed changes from 5.1.64-release
Fri 2012-06-01 17:53:59 +0200
- mysqltest attempts to parse Perl code inside a block with false condition, gets confused and throws wrong errors
Fri 2012-05-18 12:42:06 +0200
post-merge fixes
[merge] Thu 2012-05-17 12:12:33 +0200
merge with mysql-5.1.63
[merge] Tue 2012-04-10 14:21:57 +0300
merge mysql-5.1->mysql-5.1-security
Mon 2012-03-12 08:56:56 +0100
Bug#13031606 VALUES() IN A SELECT STATEMENT CRASHES SERVER
Sun 2012-03-11 16:05:42 +0400
Fixed test case for bug #13105873 "valgrind warning:possible crash in foreign key handling on subsequent create table if not exists".
[merge] Thu 2012-03-08 17:20:03 +0200
empty weave merge mysql-5.0-security->mysql-5.1-security
[merge] Thu 2012-03-08 17:15:43 +0200
empty auto merge of mysql-5.0->mysql-5.0-security
[merge] Thu 2012-03-08 17:16:53 +0200
merge mysql-5.1->mysql-5.1-security
Thu 2012-03-08 14:56:22 +0200
Bug#13807811 BTR_PCUR_RESTORE_POSITION() CAN SKIP A RECORD
Tue 2012-03-06 15:13:56 +0400
BUG#12537203 - CRASH WHEN SUBSELECTING GLOBAL VARIABLES IN GEOMETRY FUNCTION ARGUMENTS
Mon 2012-03-05 22:15:23 +0400
BUG#12537203 - CRASH WHEN SUBSELECTING GLOBAL VARIABLES IN GEOMETRY FUNCTION ARGUMENTS
Mon 2012-03-05 21:58:07 +0400
Fix for BUG#12414917 - ISCLOSED() CRASHES ON 64-BIT BUILDS
Thu 2012-03-01 15:44:23 +0530
The innodb plugin module cannot use DEBUG_SYNC_C facility on Windows. Taking care of it.
Thu 2012-03-01 11:05:51 +0530
Bug#13635833: MULTIPLE CRASHES IN FOREIGN KEY CODE WITH CONCURRENT DDL/DML
[merge] Wed 2012-02-22 16:18:12 +0100
auto-merge
[merge] Sun 2012-02-19 08:57:11 +0000
BUG#13431369 - MAIN.VARIABLES-NOTEMBEDDED CRASHES THE SERVER SPORADICALLY ON WINDOWS
Wed 2012-02-22 11:17:50 +0100
Bug#13519724 63793: CRASH IN DTCOLLATION::SET(DTCOLLATION &SET)
[merge] Tue 2012-02-21 11:06:08 +0200
merge 5.0-security->5.1-security
Mon 2012-02-20 06:19:12 +0100
Raise version number after cloning 5.0.96
Mon 2012-02-20 17:03:24 +0100
Raise version number after cloning 5.1.62
Sat 2012-05-12 11:53:14 +0400
BUG#997747: Assertion `join->best_read < ((double)1.79..5e+308L)' failed in greedy_search with LEFT JOINs and unique keys - Backport the fix for BUG#806524 from
Tue 2012-04-24 17:29:03 +0200
Problem installing mariadb 5 on solaris 10
Fri 2012-04-06 13:31:33 +0500
Memory engine table full at much less than max_heap_table_size with btree index. RB-tree index in the MEMORY table fails if it grews over 4G. That happened because the old_allocated variable in hp_rb_write_key() had the uint type. Changed with the 'size_t' type to be same as the 'rb_tree.allocated'.
Revision #2502.1195.39 Wed 2012-09-05 17:40:13 +0200
Bug#13734987 MEMORY LEAK WITH I_S/SHOW AND VIEWS WITH SUBQUERY
Revision #2502.1195.38 Mon 2012-09-03 11:33:05 +0530
Revision #2502.1195.37 Fri 2012-08-31 15:42:00 +0530
Bug #13453036 ERROR CODE 1118: ROW SIZE TOO LARGE - EVEN THOUGH IT IS NOT.
Revision #2502.1195.36 Fri 2012-08-31 09:51:27 +0300
Revision #2502.1195.35 Thu 2012-08-30 21:53:41 +0300
Bug#14554000 CRASH IN PAGE_REC_GET_NTH_CONST(NTH=0) DURING COMPRESSED PAGE SPLIT
Revision #2502.1195.34 Thu 2012-08-30 21:49:24 +0300
Bug#14547952: DEBUG BUILD FAILS ASSERTION IN RECORDS_IN_RANGE()
Revision #2502.1195.33 Tue 2012-08-28 14:51:01 +0200
Bug#14547952: DEBUG BUILD FAILS ASSERTION IN RECORDS_IN_RANGE()
Revision #2502.1195.32 Tue 2012-08-21 10:47:17 +0300
Fix regression from Bug#12845774 OPTIMISTIC INSERT/UPDATE USES WRONG HEURISTICS FOR COMPRESSED PAGE SIZE
Revision #2502.1195.31 Mon 2012-08-20 12:39:36 +0200
Bug#13025132 - PARTITIONS USE TOO MUCH MEMORY
Revision #2502.1195.30 [merge] Mon 2012-08-20 11:18:17 +0200
merge
Revision #2502.1197.2 Fri 2012-08-17 14:25:32 +0200
Bug#13025132 - PARTITIONS USE TOO MUCH MEMORY
Wed 2012-08-15 14:31:26 +0200
Bug#13025132 - PARTITIONS USE TOO MUCH MEMORY
Revision #2502.1195.29 Fri 2012-08-17 13:14:04 +0400
Backporting Bug 14100466 from 5.6.
Revision #2502.1195.28 Thu 2012-08-16 17:45:39 +0300
Bug#12595091 POSSIBLY INVALID ASSERTION IN BTR_CUR_PESSIMISTIC_UPDATE()
Revision #2502.1195.27 Thu 2012-08-16 17:37:52 +0300
Bug#12845774 OPTIMISTIC INSERT/UPDATE USES WRONG HEURISTICS FOR COMPRESSED PAGE SIZE
Revision #2502.1195.26 Thu 2012-08-16 17:31:23 +0300
Bug#13523839 ASSERTION FAILURES ON COMPRESSED INNODB TABLES
Revision #2502.1195.25 Tue 2012-08-14 14:11:01 +0530
Bug#13596613:SHOW SLAVE STATUS GIVES WRONG OUTPUT WITH MASTER-MASTER AND USING SET USE
Revision #2502.1195.24 Sat 2012-08-11 15:43:04 +0530
Bug #13115401: -SSL-KEY VALUE IS NOT VALIDATED AND IT ALLOWS INSECURE CONNECTIONS IF SPE
Revision #2502.1195.23 Thu 2012-08-09 15:34:52 +0400
Bug #14409015 MEMORY LEAK WHEN REFERENCING OUTER FIELD IN HAVING When resolving outer fields, Item_field::fix_outer_fields() creates new Item_refs for each execution of a prepared statement, so these must be allocated in the runtime memroot. The memroot switching before resolving JOIN::having causes these to be allocated in the statement root, leaking memory for each PS execution.
Revision #2502.1195.22 [merge] Thu 2012-08-09 10:48:25 +0300
Merge from mysql-5.1 to working copy.
Revision #2502.1196.1 [merge] Thu 2012-08-09 08:50:43 +0200
Merge from mysql-5.1.65-release
Revision #2502.1195.21 Thu 2012-08-09 09:55:29 +0300
Bug#14399148 INNODB TABLES UNDER LOAD PRODUCE DUPLICATE COPIES OF ROWS IN QUERIES
Revision #2502.1195.20 Wed 2012-08-08 22:15:46 +0530
BUG#11757312: MYSQLBINLOG DOES NOT ACCEPT INPUT FROM STDIN WHEN STDIN IS A PIPE
Revision #2502.1195.19 Tue 2012-08-07 18:58:19 +0530
Bug#13928675 MYSQL CLIENT COPYRIGHT NOTICE MUST SHOW 2012 INSTEAD OF 2011
Revision #2502.1195.18 Tue 2012-08-07 16:23:53 +0530
Bug#14068244: INCOMPATIBILITY BETWEEN LIBMYSQLCLIENT/LIBMYSQLCLIENT_R AND LIBCRYPTO
Revision #2502.1195.17 Sun 2012-08-05 16:29:28 +0530
Bug #14099846: EXPORT_SET CRASHES DUE TO OVERALLOCATION OF MEMORY
Revision #2502.1195.16 Tue 2012-07-31 20:41:46 +0200
INSTALL-BINARY placeholder: change invalid URLs (request from Kristofer)
Revision #2502.1195.15 Fri 2012-07-27 09:13:10 +0200
Bug#14111180 HANDLE_FATAL_SIGNAL IN PTR_COMPARE_1 / QUEUE_INSERT
Revision #2502.1195.14 Fri 2012-07-27 12:05:37 +0530
Bug #12876932 - INCORRECT SELECT RESULT ON FEDERATED TABLE
Revision #2502.1195.13 Thu 2012-07-26 23:44:43 +0530
BUG#13868860 - LIMIT '5' IS EXECUTED WITHOUT ERROR WHEN '5' IS PLACE HOLDER AND USE SERVER-SIDE
Revision #2502.1195.12 Thu 2012-07-26 23:23:04 +0530
Bug #12876932 - INCORRECT SELECT RESULT ON FEDERATED TABLE
Revision #2502.1195.11 Thu 2012-07-26 21:47:03 +0530
Bug#13741677 MYSQL_SECURE_INSTALLATION DOES NOT WORK + SAVES ROOT PASSWORD TO DISK!
Revision #2502.1195.10 Thu 2012-07-26 15:05:24 +0200
Backport of Bug#14171740 65562: STRING::SHRINK SHOULD BE A NO-OP WHEN ALLOCED=0
Revision #2502.1195.9 Thu 2012-07-26 15:09:22 +0530
Bug #12876932 - INCORRECT SELECT RESULT ON FEDERATED TABLE
Revision #2502.1195.8 Wed 2012-07-25 13:51:39 +0530
Bug #13113026 INFORMATION_SCHEMA.INNODB_BUFFER_PAGE_LRUFROM 5.6 BACKPORT
Revision #2502.1195.7 Tue 2012-07-24 09:27:00 +0400
Fixing wrong copyright. Index.xml was modified in 2005, while the copyright notice still mentioned 2003.
Revision #2502.1195.6 Thu 2012-07-19 15:55:41 +0200
Reverting broken configure/make stuff
Revision #2502.1195.5 Thu 2012-07-19 12:57:36 +0200
Bug #14035452 - MODULARIZE MYSQL_CLIENT_TEST Added new minimal client using same framework Added internal test using it Small changes to top level make/configure/cmake to have it built
Revision #2502.1195.4 Thu 2012-07-19 13:52:34 +0530
Bug #12615411 - server side help doesn't work as first statement
Revision #2502.1195.3 Wed 2012-07-18 14:36:08 +0530
Bug#11762052: 54599: BUG IN QUERY PLANNER ON QUERIES WITH "ORDER BY" AND "LIMIT BY" CLAUSE
Revision #2502.1195.2 Thu 2012-07-12 16:42:07 +0530
Bug #11765218 58157: INNODB LOCKS AN UNMATCHED ROW EVEN THOUGH USING RBR AND RC
Revision #2502.1195.1 Wed 2012-07-11 15:18:34 +0200
Raise version number after cloning 5.1.65
Revision #2502.1194.4 Tue 2012-06-26 16:30:15 +0200
Solve a linkage problem with "libmysqld" on several Solaris platforms: a multiple definition of 'THD::clear_error()' in (at least) libmysqld.a(lib_sql.o) and libmysqld.a(libfederated_a-ha_federated.o).
Revision #2502.1194.3 Thu 2012-06-21 16:26:50 +0200
Fixing wrong comment syntax (discovered by Kent)
Revision #2502.1194.2 Wed 2012-06-20 13:10:13 +0200
Version for this release build is 5.1.64
Revision #2502.1194.1 [merge] Wed 2012-06-20 13:06:32 +0200
Merge
Revision #2502.1137.218 Tue 2012-07-10 18:55:07 +0530
Revision #2502.1137.217 [merge] Tue 2012-07-10 13:51:50 +0300
merge from 5.1 repo.
Revision #2502.1193.6 Tue 2012-07-10 11:57:24 +0200
mysql_client_fw.c was not included in make dist
Revision #2502.1137.216 [merge] Tue 2012-07-10 13:00:03 +0300
merge from 5.1 repo.
Revision #2502.1193.5 Tue 2012-07-10 14:23:17 +0530
BUG#11762670:MY_B_WRITE RETURN VALUE IGNORED
Revision #2502.1137.215 [merge] Tue 2012-07-10 12:48:23 +0300
merge from 5.1 repo.
Revision #2502.1193.4 Tue 2012-07-10 10:04:57 +0200
mysql_client_test did not build within limbysqld/examples
Mon 2012-07-09 16:36:50 +0200
Fixed compile error in mysql_client_test using gcc
Mon 2012-07-09 15:10:07 +0200
Refactor mysql_client_test.c into a framework part and a test part
Thu 2012-07-05 13:41:16 +0300
Bug #13889741: HANDLE_FATAL_SIGNAL IN DB_ENTER | HANDLE_FATAL_SIGNAL IN STRNLEN
Revision #2502.1137.214 Thu 2012-07-05 14:37:48 +0300
Bug#14275000
Revision #2502.1137.213 Tue 2012-07-03 18:00:21 +0530
BUG#11762667:MYSQLBINLOG IGNORES ERRORS WHILE WRITING OUTPUT
Revision #2502.1137.212 Fri 2012-06-29 18:24:43 +0400
minor update to make MSVS happy
Revision #2502.1137.211 Thu 2012-06-28 18:38:55 +0300
Bug #13708485: malformed resultset packet crashes client
Revision #2502.1137.210 Fri 2012-06-29 13:25:57 +0200
Bug#14238406 NEW COMPILATION WARNINGS WITH GCC 4.7 (-WERROR=NARROWING)
Revision #2502.1137.209 Fri 2012-06-29 12:55:45 +0400
Backport of the deprecation warning from WL#6219: "Deprecate and remove YEAR(2) type"
Revision #2502.1137.208 [merge] Thu 2012-06-28 14:34:49 +0200
Merge.
Revision #2502.1192.1 Mon 2012-06-18 09:20:12 +0200
Bug#13003736 CRASH IN ITEM_REF::WALK WITH SUBQUERIES
Revision #2502.1137.207 Tue 2012-06-19 12:56:40 +0530
Bug#11753779: MAX_CONNECT_ERRORS WORKS ONLY WHEN 1ST INC_HOST_ERRORS() IS CALLED.
Revision #2502.1137.206 Fri 2012-06-15 13:31:27 +0200
Raise version number after cloning 5.1.64
Revision #2502.1137.205 Thu 2012-06-14 17:07:49 +0530
BUG #13946716: FEDERATED_PLUGIN TEST CASE FAIL ON 64BIT ARCHITECTURES
Revision #2502.1137.204 Wed 2012-06-13 16:03:58 +0530
Bug#11753779: MAX_CONNECT_ERRORS WORKS ONLY WHEN 1ST INC_HOST_ERRORS() IS CALLED.
Revision #2502.1137.203 [merge] Tue 2012-06-12 12:59:13 +0530
BUG#12400221 - 60926: BINARY LOG EVENTS LARGER THAN MAX_ALLOWED_PACKET
Revision #2502.1191.1 Mon 2012-05-21 12:57:39 +0530
BUG#12400221 - 60926: BINARY LOG EVENTS LARGER THAN MAX_ALLOWED_PACKET
Revision #2502.1137.202 Tue 2012-06-05 15:53:39 +0200
Bug#14051002 VALGRIND: CONDITIONAL JUMP OR MOVE IN RR_CMP / MY_QSORT
Revision #2502.1137.201 Fri 2012-06-01 14:12:57 +0530
Bug #13933132: [ERROR] GOT ERROR -1 WHEN READING TABLE APPEARED WHEN KILLING
Revision #2502.1137.200 Thu 2012-05-31 22:28:18 +0530
Revision #2502.1137.199 Thu 2012-05-31 14:32:29 +0530
Revision #2502.1137.198 Wed 2012-05-30 14:00:29 +0530
Revision #2502.1137.197 Wed 2012-05-30 13:54:15 +0530
Fixing the build failure on Windows debug build.
Revision #2502.1137.196 Tue 2012-05-29 12:11:30 +0530
Bug#11762667: MYSQLBINLOG IGNORES ERRORS WHILE WRITING OUTPUT
Revision #2502.1137.195 Thu 2012-05-24 12:37:03 -0400
Bug #14100254 65389: MVCC IS BROKEN WITH IMPLICIT LOCK
Revision #2502.1137.194 Mon 2012-05-21 17:25:40 +0530
Bug #12752572 61579: REPLICATION FAILURE WHILE INNODB_AUTOINC_LOCK_MODE=1 AND USING TRIGGER
Revision #2502.1137.193 Fri 2012-05-18 14:44:40 +0530
BUG#14005409 - 64624
Revision #2502.1137.192 Thu 2012-05-17 18:07:59 +0530
Bug#12636001 : deadlock from thd_security_context
Revision #2502.1137.191 Thu 2012-05-17 11:41:46 +0100
Revision #2502.1137.190 Thu 2012-05-17 10:15:54 +0530
Revision #2502.1137.189 Wed 2012-05-16 16:36:49 +0530
Bug #13943231: ALTER TABLE AFTER DISCARD MAY CRASH THE SERVER
Revision #2502.1137.188 Wed 2012-05-16 16:14:27 +0530
Bug #13955256: KEYCACHE CRASHES, CORRUPTIONS/HANGS WITH, FULLTEXT INDEX AND CONCURRENT DML.
Revision #2502.1137.187 Wed 2012-05-16 11:17:48 +0530
Bug #12752572 61579: REPLICATION FAILURE WHILE INNODB_AUTOINC_LOCK_MODE=1 AND USING TRIGGER
Revision #2502.1137.186 Tue 2012-05-15 22:06:48 +0100
BUG#11754117 - 45670: INTVAR_EVENTS FOR FILTERED-OUT QUERY_LOG_EVENTS ARE EXECUTED
Revision #2502.1137.185 Tue 2012-05-15 15:04:39 +0300
Bug#14025221 FOREIGN KEY REFERENCES FREED MEMORY AFTER DROP INDEX
Revision #2502.1137.184 Tue 2012-05-15 13:12:22 +0300
Bug #11761822: yassl rejects valid certificate which openssl accepts
Revision #2502.1137.183 Tue 2012-05-15 09:14:44 +0200
Added some extra optional path to test suites
Revision #2502.1137.182 Thu 2012-05-10 10:18:31 +0530
Bug #14007649 65111: INNODB SOMETIMES FAILS TO UPDATE ROWS INSERTED BY A CONCURRENT TRANSACTIO
Revision #2502.1137.181 [merge] Tue 2012-05-08 07:19:14 +0200
Merge from mysql-5.1.63-release
Revision #2502.1137.180 Mon 2012-05-07 16:46:44 +0530
Bug #11754178 45740: MYSQLDUMP DOESN'T DUMP GENERAL_LOG AND SLOW_QUERY CAUSES RESTORE PROBLEM Problem Statement: ------------------ mysqldump is not having the dump stmts for general_log and slow_log tables. That is because of the fix for Bug#26121. Hence, after dropping the mysql database, and applying the dump by enabling the logging, "'general_log' table not found" errors are logged into the server log file.
Revision #2502.1137.179 Fri 2012-04-27 19:38:13 +0900
Bug#11758510 (#50723): INNODB CHECK TABLE FATAL SEMAPHORE WAIT TIMEOUT POSSIBLY TOO SHORT FOR BI Fixed not to check timeout during the check table.
Revision #2502.1137.178 Thu 2012-04-26 08:17:14 -0700
InnoDB: Adjust error message when a dropped tablespace is accessed.
Revision #2502.1137.177 [merge] Mon 2012-04-23 12:05:05 +0300
merge from 5.1 repo
Revision #2502.1190.1 Fri 2012-04-20 22:25:59 +0100
BUG#13979418: SHOW BINLOG EVENTS MAY CRASH THE SERVER
Revision #2502.1137.176 Mon 2012-04-23 11:51:19 +0300
BUG#11754117
Revision #2502.1137.175 Fri 2012-04-20 19:41:20 +0300
BUG#11754117 incorrect logging of INSERT into auto-increment BUG#11761686 insert_id event is not filtered.
Revision #2502.1137.174 Thu 2012-04-19 14:57:34 +0530
BUG#12427262 : 60961: SHOW TABLES VERY SLOW WHEN NOT IN SYSTEM DISK CACHE
Revision #2502.1137.173 Wed 2012-04-18 14:13:13 +0200
new header file must be listed in Makefile.am
Revision #2502.1137.172 Wed 2012-04-18 13:14:05 +0200
Backport 5.5=>5.1 Patch for Bug#13805127: Stored program cache produces wrong result in same THD.
Revision #2502.1137.171 Wed 2012-04-18 10:08:01 +0100
WL#6236: Allow SHOW MASTER LOGS and SHOW BINARY LOGS with REPLICATION CLIENT
Revision #2502.1137.170 Wed 2012-04-18 11:25:01 +0530
Bug#12713907:STRANGE OPTIMIZE & WRONG RESULT UNDER ORDER BY COUNT(*) LIMIT.
Revision #2502.1137.169 Tue 2012-04-17 13:25:41 +0300
Raise version number after cloning 5.1.63
Revision #2502.1137.168 Mon 2012-04-09 16:42:41 +0530
Bug #11766072 59107: MYSQLSLAP CRASHES IF STARTED WITH NO ARGUMENTS ON WINDOWS
Revision #2502.1137.167 Fri 2012-04-06 17:03:13 +0530
BUG#13738989 : 62136 : FAILED TO FETCH SELECT RESULT USING EMBEDDED MYSQLD
Revision #2502.1137.166 Wed 2012-03-28 12:05:31 +0530
Bug#11763507 - 56224: FUNCTION NAME IS CASE-SENSITIVE
Revision #2502.1137.165 [merge] Wed 2012-03-28 13:35:44 +1100
Merge from mysql-5.0
Revision #1810.3997.22 Wed 2012-03-28 13:08:25 +1100
Bug# 13847885 - PURGING STALLS WHEN PURGE_SYS->N_PAGES_HANDLED OVERFLOWS
Revision #2502.1137.164 Tue 2012-03-27 14:39:27 +0200
Backport of fix for Bug#12763207 - ASSERT IN SUBSELECT::SINGLE_VALUE_TRANSFORMER
Revision #2502.1137.163 Tue 2012-03-27 12:42:11 +0530
Bug#11763507 - 56224: FUNCTION NAME IS CASE-SENSITIVE
Revision #2502.1184.17 Fri 2012-04-06 12:04:07 +0300
Bug #13934049: 64884: LOGINS WITH INCORRECT PASSWORD ARE ALLOWED
Revision #2502.1184.16 Wed 2012-04-04 13:29:45 +0400
Bug#11766300 59387: FAILING ASSERTION: CURSOR->POS_STATE == 1997660512 (BTR_PCUR_IS_POSITIONE Bug#13639204 64111: CRASH ON SELECT SUBQUERY WITH NON UNIQUE INDEX The crash happened due to wrong calculation of key length during creation of reference for sort order index. The problem is that keyuse->used_tables can have OUTER_REF_TABLE_BIT enabled but used_tables parameter(create_ref_for_key() func) does not have it. So key parts which have OUTER_REF_TABLE_BIT are ommited and it could lead to incorrect key length calculation(zero key length).
Revision #2502.1184.15 [merge] Wed 2012-03-21 14:58:27 +0200
empty weave merge mysql-5.0-security->mysql-5.1-security
Revision #1810.4003.3 [merge] Wed 2012-03-21 14:35:25 +0200
weave merge mysql-5.0->mysql-5.0-security
Revision #2502.1184.14 [merge] Wed 2012-03-21 14:53:09 +0200
merge mysql-5.1->mysql-5.1-security
Revision #2502.1137.162 [merge] Wed 2012-03-21 11:18:21 +0100
Upmerge an empty merge changeset (backmerge of 5.0.96 into main 5.0), solve a conflict in ".bzr-mysql/default.conf".
Revision #1810.3997.21 [merge] Tue 2012-03-20 17:30:49 +0100
Merge from mysql-5.0.96-release
Revision #2502.1137.161 [merge] Tue 2012-03-20 17:35:41 +0100
Merge from mysql-5.1.62-release
Revision #2502.1137.160 Fri 2012-03-16 12:06:29 +0530
Bug #11766634 59783: INNODB DATA GROWS UNEXPECTEDLY WHEN INSERTING, TRUNCATING, INSERTING THE
Revision #2502.1137.159 Thu 2012-03-15 13:30:17 -0400
Bug#13825266 RACE IN LOCK_VALIDATE() WHEN ACCESSING PAGES DIRECTLY FROM BUFFER POOL
Revision #2502.1137.158 Thu 2012-03-15 12:38:40 -0400
Bug#13851171 STRING OVERFLOW IN INNODB CODE FOUND BY STATIC ANALYSIS
Revision #2502.1137.157 Thu 2012-03-15 11:53:30 -0400
Bug#13537504 VALGRIND: COND. JUMP/MOVE DEPENDS ON UNINITIALISED VALUES IN OS_THREAD_EQ
Revision #2502.1137.156 Mon 2012-03-12 23:23:40 +0000
BUG#12400313
Revision #2502.1137.155 [merge] Mon 2012-03-12 23:16:44 +0000
Automerge merge with latest mysql-5.1.
Revision #2502.1189.2 Mon 2012-03-12 23:15:01 +0000
BUG#12400313
Revision #2502.1137.154 [merge] Mon 2012-03-12 21:58:00 +0000
BUG#12400313
Revision #2502.1189.1 Mon 2012-03-12 12:28:27 +0000
BUG#12400313 RELAY_LOG_SPACE_LIMIT IS NOT WORKING IN MANY CASES BUG#64503: mysql frequently ignores --relay-log-space-limit
Revision #2502.1137.153 Fri 2012-03-09 11:07:16 +0530
Bug #11766634 59783: InnoDB data grows unexpectedly when inserting, truncating, inserting the same set of rows. When a table is re-created with the same set of rows, the data file size must not grow.
Revision #2502.1137.152 Thu 2012-03-08 17:10:10 +0200
Fix a compiler warning about possibly uninitiaizlied variable.
Revision #2502.1137.150 Tue 2012-03-06 13:30:30 +0100
Bug#11761576 54082: HANDLE_SEGFAULT MAKES USE OF UNSAFE FUNCTIONS
Revision #2502.1137.149 [merge] Wed 2012-02-29 20:51:38 +0100
merge into mysql-5.1
Revision #2502.1188.1 Mon 2012-02-20 22:59:11 +0100
Bug#11761296: 53775: QUERY ON PARTITIONED TABLE RETURNS CACHED RESULT FROM PREVIOUS TRANSACTION
Revision #2502.1137.148 [merge] Wed 2012-02-29 14:52:08 +0530
Bug#12601974 - STORED PROCEDURE SQL_MODE=NO_BACKSLASH_ESCAPES IGNORED AND BREAKS REPLICATION
Revision #2502.1187.1 Wed 2012-02-29 12:23:15 +0530
Bug#12601974 - STORED PROCEDURE SQL_MODE=NO_BACKSLASH_ESCAPES IGNORED AND BREAKS REPLICATION
Revision #2502.1137.147 Tue 2012-02-28 21:41:55 +0200
Fix a mistake in the Bug#12861864 fix.
Revision #2502.1137.146 Tue 2012-02-28 14:00:00 +0200
Bug#12861864 RACE CONDITION IN BTR_GET_SIZE() AND DROP INDEX/TABLE/DATABASE also filed as Bug#13146269, Bug#13713178
Revision #2502.1137.145 Mon 2012-02-27 23:19:14 +0200
Remove a bogus BLOB debug assertion that was added in Bug#13721257 fix.
Revision #2502.1137.144 Fri 2012-02-24 11:53:36 +0530
Bug#13012483:EXPLAIN EXTENDED, PREPARED STATEMENT, CRASH IN CHECK_SIMPLE_EQUALITY
Revision #2502.1137.143 Tue 2012-02-21 17:57:07 +0200
Fix Bug#13639142 64128: INNODB ERROR IN SERVER LOG OF INNODB_BUG34300
Revision #2502.1137.142 [merge] Tue 2012-02-21 14:14:52 +0200
merged and updated the version in mysql-5.1
Revision #1810.3997.20 Tue 2012-02-21 14:13:31 +0200
bumped up the version of the main tree to match the security tree
Revision #2502.1137.141 Sun 2012-02-19 03:18:49 +0000
BUG 13454045 - 63524: BUG #35396 "ABNORMAL/IMPOSSIBLE/LARGE QUERY_TIME AND LOCK_TIME" HAPPENS A
Revision #2502.1185.1 Fri 2012-02-17 19:02:17 +0000
BUG#13431369 - MAIN.VARIABLES-NOTEMBEDDED CRASHES THE SERVER SPORADICALLY ON WINDOWS
Download | Release Notes | Changelog |Overview of 5.1
Release date: 19 Nov 2010
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.
Fix of the debugging print.
: Shared libmysqld.so library.
Switch makefiles to use libtool to build libmysqld.so, as well as all its dependencies.
The previous MYSQL_PLUGIN_DEPENDS_ON_MYSQL_INTERNALS() declaration is removed, as it does not work well with a libtool build. Instead, plugins that need it can specify an alternate object in MYSQL_PLUGIN_STATIC() that will be used for embedded library. The plugin must then take care itself of compiling the special object for embedded, rebuilding the source files previously listed in MYSQL_PLUGIN_DEPENDS_ON_MYSQL_INTERNALS() with @plugin_embedded_defs@ in CFLAGS/CXXFLAGS. The extra target @XXX_embedded_static_target@ is available for the special object, this will be empty when
: Slow XtraDB shutdown: Fix more sleeps delaying shutdown.
This patch removes most remaining delays due to uninteruptible sleep()
during shutdown, as found using PMP. This makes standard test run very
close in speed to with --loose-innodb-fast-shutdown=2, and greatly speeds
up running the test suite.
Fix flags for non-debug builds
Fixed mess in the types.
Fixed bug discovered by testcase for (original bug seams to be fixed):
Fixed bug in pagecache_delete_internal() when deleting block that was flushed by another thread (fixed bug when block->next_used was unexpectedly null) Fixed some using uninitialized memory warnings found by valgrind.
Added option BACKUP_ALL to mysqld --myisam-recover to also get a backup of
the index file before it's repaired.
Removed wrong call to translog_buffer_unlock() that caused 'unlocking not locked mutex' failure in Aria log handler.
[merge] Automatic merge
When scanning pages, stop when you are at 'data_file_length'.
This fixes a bug that gave ER_FILE_TOO_SHORT error when scanning Aria tables.
: slow XtraDB shutdown due to 10 second sleep in purge thread
Implement os_event_wait_time() for POSIX systems.
In the purge thread, use os_event_wait_time() when sleeping rather than sleep, and signal the event when server shuts down, so we do not need to wait for upto 10 seconds until the purge thread wakes up.
Fixed compile error when not using gcc (crashes at least on windows)
[merge]
Automatic merge
Fixed compiler & valgrind warnings from my previous push.
#endif fixed.
Fix for: : Assert in _ma_update_at_original_place()
Added locking of lock mutex when updating status in external_unlock() for Aria and MyISAM tables.
Fixed that 'source' command doesn't cause mysql command line tool to exit on error.
mysqltest: Fix reversed error check, causing truncated output when testcase fails.
Also fix missing zero termination in DBUG_PRINT, causing garbage output
in --debug output.
Fix test failure (timeout) in --valgrind tests in Buildbot.
The main.ps_ddl test does SELECT * FROM mysql.general_log; that can be really
expensive with --valgrind if previous test cases put lots of data in the
general log since last server restart. Fix by truncating the log at test start.
workaround for
Show the number of warm keycache blocks in SHOW STATUS
Make the skip-on-windows check as the first one, as the master-slave include fails on windows.
better fix for MySQL bugs
prefer a clustered key for an index scan, as secondary index is always slower
... which was fixed to cause
fixes build mysqld.exe with federatedx not federated
updated test results
fixed a bad merge
[merge]
Merge XtraDB from Percona-server-5.1.51-12 into MariaDB.
[merge]
Merge XtraDB from Percona-server-5.1.51-12 into MariaDB.
[merge]
MySQL 5.1.51 merge
Reverted the MySQL fix for that was rejected once for mariadb-5.1.48 and mistakingly pulled in back for maria-5.1.50.
Fixes for bugs found by running test case for "Page: 1 Found wrong page type 0' on CHECK TABLE EXTENDED"
Fixed overflow when using long --debug=xxxxxx line.
Fixed that "mysqld --disable-debug --debug
Use less memory on stack in sql_parse.cc and in repair/check for MyISAM & Aria
Fixes some bug in Aria recovery:
_ma_apply_redo_index: Assertion `page_offset != 0 && page_offset + length <= page_length' failed
Fixes one bug and one log assert when inserting rows:
[merge]
Automatic merge
Fix for "Assertion `bitmap_is_set_all(&table->s->all_set)' failed in handler::ha_reset"
Don't use deprecated --skip-locking option in example config files.
[merge]
merge
clarified mtr treatment of the --plugin-load
Merge with 1.0.11-7 Pre-GA - 2010-09-09
Updated results for failing test cases (In all cases the estimated number of rows was different)
[merge]
Merge
Fixed .
[merge]
Merge
Changed the test case for to make it independent on the setting of optimizer switch for table elimination.
[merge]
Merge
Fixed : The implementation of the virtual method not_null_tables for the class Item_outer_ref must always return 0.
[merge]
Merge
Fixed (): Made sure that rr_quick is used to read the next record whenever a quick select is used to retrieve the table records.
fixes for windows
bug in plugin.m4 that prevented group list in the MYSQL_PLUGIN declaration from working.
[merge]
Automatic merge
mysqltest now gives error messages with error code for my_delete, my_rename, my_copy etc.
Fix preserving mysqld error log across server restarts, broken by recent mtr changes.
[merge]
Merge: fix valgrind failure in Unique class
Fix valgrind failure with Unique class
don't build dynamic plugins when configured with --disable-shared.
libtool does not like it and fails the build.
[merge]
merged
to simpliy and unify the code
Adjusted the results of pbxt.join_nested after the fix for
[merge]
Merge
Fixed Aria recovery bug: When reopening table during recovery, don't set file length from file sizes as file is not flushed.
[merge]
Merge
Fixed :
[merge]
Merge
[merge]
Pulled in the latest changes in 5.1.
Fix for "marked as crashed", "zerofilling" and "wrong data in bitmap" when recovering Aria tables
This was an interaction of several bugs:
Tables marked as opened was not properly unmarked on recovery if there was not changes since checkpoint
Fixed "wrong data in bitmap" after recovery.
Extend remove_function_from_trace.pl to work with many threads (patch from Sergei)
Updated failure text for maria_install_db
Don't give warning about block_insert if table is crashed.
[merge]
Automatic merge with 5.1-release (5.1.50)
Write message to stderr if recovery is not likely to succeed because we don't log records for batch inserts.
Don't do UNDO or REDO on a crashed table.
More DBUG_PRINT
--without-embedded-serverAll in-tree plugins are changed to build their static targets with libtool. Additional plugins that want to work with libmysqld.so will need to be similarly modified to build with libtool (or otherwise provide an -fPIC object). Dynamically loaded plugins are not affected.
The old libraries like libmysys.a, libmyisam.a and similar libraries, which
were installed by make install though this is of little use, are still built
and installed to not break package scripts etc. that expect them. These
libraries are kept static to avoid introducing new .so dependencies.
The patch also fixes a handfull of duplicate symbol linker errors, where we included some object twice during linking; these for one reason or another did not produce errors before but caused problems on some platforms with this patch (eg. Mac OS X linker is more strict for shared objects).
This patch only does what is necessary to build libmysqld.so. There are some more cleanups that are possible now that we are using libtool more fully, which could done in subsequent patches (though we may not bother as we are switching from autotools to CMake anyway):
In libmysql_r/, we should be able to just link libmysys.la etc, instead of symlinking and re-compiling sources into the directory.
In libmysql/, we can similarly avoid symlinking and recompiling sources if we instead build a libmysys_nothread.la library with appropriate CFLAGS and link that.
In sql/, we can build a separate target libmysql_int.la with appropriate CFLAGS for embedded and use that in libmysqld/ instead of symlinking sources.
libmysys.a, libmyisam.a and similar libraries could be installed as .so also to save on code size; or alternatively could be not installed at all.
Also fix bug that warnings that were pushed after we call set_ok_status() were not included in the waning count sent to the client in the result packet.
Also in mysqltest, in recursive die() invocation at least print the message before aborting.
Fixed a bug in Aria when two threads was inserting into the same table and row page and one thread did an abort becasue of duplicate key.
DEBUG_EXECUTE() and DEBUG_EVALUATE_IF() should not execute things based on
wildcards. (Allows one to run --debug with mysql-test-run scripts that uses
@debug)
Fixed several core dump, deadlock and crashed table bugs in handling of LOCK TABLE with MERGE tables:
Added priority of locks to avoid crashes with MERGE tables.
Added thr_lock_merge() to allow one to merge two results of thr_lock().
Fixed 'not found row' bug in REPLACE with Aria tables.
Mark MyISAM tables that are part of MERGE with HA_OPEN_MERGE_TABLE and set the locks to have priority THR_LOCK_MERGE_PRIV.
By sorting MERGE tables last in thr_multi_unlock() it's safer to release and relock them many times (can happen when TRIGGERS are created)
Avoid printing (null) in debug file (to easier find out wrong NULL pointer usage with %s).
MySQL Bug #35850 queries take 50% longer
... and was reverted
and
MySQL Bug #39653 prefer a secondary index for an index scan, as clustered key is always slower
... which was fixed to cause
MySQL Bug #55656 mysqldump takes six days instead of half an hour
... and was amended with a special case workaround
Updated with changes from lp:percona-server/release-5.1.51-12 as of October 19, 2010
Ensure that MariaDB doesn't start if the Aria engine didn't start and we are using Aria for temporary tables.
More DBUG_ASSERT() and more info in debug log.
_ma_log_split: Assertion `org_length <= info->s->max_index_block_size' failed
write_block_record: Assertion '(data_length < MAX_TAIL_SIZE(block_size)' failed
Mark in recovery log where _ma_log_add() calls was done (for better debugging).
The reason for this was that some bitmap test functions changed the bitmap, which caused problems when the same bitmap was used by multiple threads.
fix for MySQL Bug #44797 - plugins w/o command-line options have no disabling option in --help
The condition over the outer tables now are extracted from the on condition of any outer join. This condition is saved in a special field of the JOIN_TAB structure for the first inner table of the outer join. The condition is checked before the first inner table is accessed. If it turns out to be false the table is not accessed at all and a null complemented row is generated immediately.
Fixed crashing bug when doing ALTER TABLE RENAME with transactional tables.
build dynamic plugins with the -shared libtool option to avoid double compilation
New feature in Aria recovery: Create database directory if missing.
The problem could be demonstrated with an outer join of two single-row tables where the values of the join attributes were null. Any query with such a join could return a wrong result set if the where condition of the query was not empty. For queries with empty where conditions the result sets were correct.
This was the consequence of two bugs in the code:
Item_equal objects for on conditions of outer joins were not built if the processed query had no where condition
the check for null values in the code that evaluated constant Item_equal objects was incorrect.
Fixed both above problems.
Added a test case for the bug and adjusted results for some other test cases.
Fixed MySQL Bug #49322: When not-exists optimization was applied to a table that happened to be an inner table of two outer joins, one embedded into another, then setting the match flag for the embedding outer join on could be skipped. This caused generation of extra null complemented rows. Made sure that the match flags are set correctly in all cases when not-exists optimization is used.
zerofill of tables put wrong data in bitmap if directory for page was full
Tables was thought as 'moved' during recovery if they had a create_lsn bigger than the lsn in the control file.
Download |Release Notes |Changelog |Overview of 5.1
Release date: 5 Dec 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 #3120 Sat 2011-12-03 20:29:15 +0200
Added suppressions
Fixed feedback_plugin_send to not generate a random number of lines.
[merge] Thu 2011-12-01 19:20:57 +0100
merge
[
merge] Thu 2011-12-01 19:18:45 +0100
Thu 2011-12-01 20:11:41 +0200
Fixed that --with-libedit --without-readline works
Fixed buildbot failures (compiler warnings, failing tests)
Wed 2011-11-30 20:57:09 +0200
Fixed compiler warning and errors
Wed 2011-11-30 18:44:51 +0200
Fixed compiler warnings and other bugs found by buildbot.
Wed 2011-11-30 11:37:28 +0100
test both federated and federatedX in the federated suite.
Wed 2011-11-30 13:53:25 +0100
Cherrypick into XtraDB: Bug#13002783 PARTIALLY UNINITIALIZED CASCADE UPDATE VECTOR
We merged the test case for this into , but the fix was not yet part of XtraDB.
Wed 2011-11-30 00:34:05 +0200
Fixed compiler warnings
Tue 2011-11-29 15:32:25 +0200
Fixed that maria-recover works as expected.
"" is now used if no option is set
Tue 2011-11-29 01:10:17 +0100
Fix Windows build, and a conversion truncation warning.
Thu 2011-11-24 19:23:20 +0200
Fixed that one can use --maria-recover=backup,force
(Before we only allowed one option)
Thu 2011-11-24 16:04:19 +0200
Fixes for build failuers found by buildbot
[merge] Wed 2011-11-23 19:32:14 +0200
Merge with MySQL 5.1.60
Wed 2011-11-23 10:25:27 +0200
Fixes of testcases after merge with MySQL 5.1.59
[merge] Mon 2011-11-21 19:19:37 +0200
Merge of XtraDB for 5.1.59
[merge] Mon 2011-11-21 14:21:13 +0100
Merge XtraDB from Percona-Server-5.1.59-13 into .
[merge] Mon 2011-11-21 19:17:56 +0200
Automatic merge
[merge] Mon 2011-11-21 19:13:14 +0200
Initial merge with MySQL 5.1 (XtraDB still needs to be merged)
Sun 2011-11-13 13:28:35 +0100
don't make feedback_plugin_send.test as 'big'
don't assume that the http reply packet will arrive in all in one piece
Sat 2011-11-12 18:40:51 +0100
increase feedback plugin version
Sat 2011-11-12 16:41:00 +0100
feedback plugin:
fix for mem_total on windows
report the time of the data snapshot
Tue 2011-11-08 23:07:19 +0100
typos fixed
(thanks viva64.com)
Thu 2011-10-27 15:22:52 +0300
Fix gcc 4.6 warnings about assigned but not used variables.
Fixed my_gethwaddr.c to allow compilation on Mac OS X.
Wed 2011-10-19 20:51:01 +0200
Fix endless loop in my_gethwaddr()
Thu 2011-10-13 11:20:33 +0200
silence the "uninitialized" warning
Tue 2011-10-11 20:13:57 +0200
remove unconditional SAFEMALLOC/SAFEMUTEX from debug flags
Mon 2011-10-10 17:59:26 +0200
add a missing definition
Thu 2011-10-06 23:40:19 +0200
sort results in tests to make them stable
Thu 2011-10-06 23:39:44 +0200
disable feedback plugin by default. Now on windows too.
[merge] Thu 2011-10-06 21:42:43 +0200
merge the feedback tree
Thu 2011-10-06 20:55:38 +0200
Implement uname() on Windows.
Wed 2011-10-05 16:37:05 +0300
Fix for issue found in buildbot where mysqld.*.err files was missing
Added suppression message for valgrind failure found on OpenSuSE 11.1
Mon 2011-08-15 20:38:21 +0300
Fixed "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.
Fri 2011-08-12 15:40:56 +0300
Fixed 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.
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.
Sun 2011-07-24 01:27:48 -0700
Ensure that the last --datadir option is used from the my.cnf files.
Sun 2011-07-24 01:25:28 -0700
Fixes Sysbench breaks on multiple table test with + Aria
The bug happens when one uses MAX_ROWS=
Thu 2011-07-21 18:32:44 +0300
test fix.
Thu 2011-07-21 15:14:16 +0300
Fixed PBXT test.
merge
Revision #3117.1.1 Thu 2011-12-01 19:15:09 +0100
Fix main.merge testcase on Windows
Revision #0.6.47 mp: Mon 2011-11-21 13:20:15 +0100
Updated with changes from Percona Server 5.1.56-13, from
lp:percona-server/5.1, tag Percona-Server-5.1.59-13.0.
Merged: revid:ignacio.nin@percona.com-20111016133841-fzpr5s89n13ft1s1
Fixed up copyright messages.
Also, fix code to get physical memory size.
Revision #3091.1.7 [merge] Thu 2011-10-06 18:48:16 +0200
merge with feedback-plugin
and disable feedback plugin by default, if it's compiled in.
Revision #0.13.4 mp: Thu 2011-10-06 18:24:00 +0200
add #define WITH_FEEDBACK_PLUGIN
Revision #3091.1.6 Wed 2011-10-05 20:16:42 +0200
fix fulltext_plugin.test on windows
Revision #3091.1.5 Tue 2011-10-04 16:51:39 +0200
tests for feedback plugin,
bugfix: garbage in PLUGIN_VAR_STR variables when INSTALL'ing a plugin
Revision #3091.1.4 [merge] Tue 2011-10-04 16:03:10 +0200
merge feedback plugin
Revision #0.13.3 mp: Tue 2011-10-04 15:48:39 +0200
fix for static plugins in mariadb.
send "startup" message 5 minutes after startup, not immediately
mp: Mon 2011-10-03 08:43:01 +0200
don't use https url by default, if ssl is not available
mp: Sat 2011-10-01 21:23:01 +0200
initial checkin
Revision #3091.1.3 Tue 2011-10-04 15:41:52 +0200
support for plugins on windows
Revision #3091.1.2 Tue 2011-10-04 15:07:55 +0200
my_gethwaddr() on Solaris and Windows
Revision #3091.1.1 Tue 2011-10-04 15:01:26 +0200
remove redundant declarations
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 #3084 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 #3083 Thu 2011-07-21 11:45:19 +0300
The function description added.
Revision #3082 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 ( -> != 0).
Revision #3081 Tue 2011-07-12 08:58:33 +0200
bugfix: create internal temporary tables in mysql_tmpdir, not in datadir
Revision #3080 Sun 2011-07-10 13:38:15 +0200
Post-fix for Bug #808233 : replace uint with "unsigned int" in mysql.h.pp, too
Revision #3079 [merge] Sun 2011-07-10 12:33:08 +0200
merge
merge] Sun 2011-07-10 12:31:09 +0200
merge
Sun 2011-07-10 12:27:42 +0200
: 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 #3078 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 #3077 Fri 2011-06-24 10:56:29 +0300
Fixed typo. (Old code worked as both tested parts where 'bool', but not nice code..)
Revision #3076 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 #3075 Fri 2011-06-24 10:08:09 +0300
Fix for Bug #798597 Incorrect "Duplicate entry" error with views and GROUP BY
Revision #3074 Tue 2011-06-21 17:40:51 +0200
Bug #790513 MariaDB crashes on startup
initialize plugins earlier, to support, for example, non-MyISAM mysql.plugin table.
Revision #3073 Wed 2011-06-15 20:30:10 +0200
./mtr --suite funcs_1 --ps-protocol
Revision #3072 Wed 2011-06-15 19:44:00 +0200
fix "./configure --with-debug" builds
(without CFLAGS=-DSAFEMALLOC).
Revision #3071 Thu 2011-05-26 14:38:17 +0300
Disable call to setpriority() in pbxt. This caused mysqld to run with nice priority -19, which was far from optimal.
Revision #3070 Wed 2011-05-18 15:15:36 +0200
Fix mysqltest printing of include stack.
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.
Revision #3069 [merge] Thu 2011-05-12 15:39:54 +0200
merge
Revision #3067.1.2 Thu 2011-05-12 15:34:02 +0200
Windows build : Make win\config.js optional in 5.1
Simplifies handling 5.1 in buildbot.
Thu 2011-05-12 15:31:11 +0200
Fix check_table_file_presence:
On Windows, do not attempt access() for special device names like CON, PRN etc. access() would return 0, this does not mean that fiile with this name exists.
Revision #3068 Thu 2011-05-12 14:56:08 +0300
db_name can change case, so we need copy of it for case insensitive FS.
Revision #3067 Wed 2011-05-11 14:09:48 +0300
Bugfix: New table creation/renaming block added if old encoded table present.
Revision #3066 Mon 2011-05-09 15:06:16 +0200
Fix buildbot failure in rpl_stop_slave.test.
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.
Revision #3065 Fri 2011-05-06 14:01:51 +0300
Reverted unittest/unit.pl back to Test::Harness as some of our build machines didn't support the new recommended TAP::Harness module
Revision #3064 Thu 2011-05-05 23:28:42 +0300
Speed up pbxt.range test a bit
Revision #3063 Thu 2011-05-05 14:51:01 +0300
Improved 'make test-unit' time slightly
Revision #3062 [merge] Wed 2011-05-04 21:56:29 +0300
Automatic merge
Revision #3060.1.1 Wed 2011-05-04 21:51:44 +0300
Fixed build errors on centos5-amd64-minimal, where we compile with very few character sets
Fixed compiler warnings
Revision #3061 Wed 2011-05-04 21:28:02 +0300
Fixed build errors on centos5-amd64-minimal, where we compile with very few character sets
Fixed compiler warnings
Revision #3060 [merge] Wed 2011-05-04 16:12:39 +0200
merge
Revision #3058.1.2 Wed 2011-05-04 16:03:52 +0200
Cherrypick fix for maria recovery bug Bug #686006 from 5.2 into 5.1
Wed 2011-05-04 15:45:39 +0200
Avoid mtr warning on Windows during startup
The reason for mtr warning is that collect_mysqld_features() starts
mysqld with --datadir=/tmp and this directory does not exist on Windows.
Fix : instead of passing --datadir=$opt_vardir/tmp
in collect_mysqld_features()
Revision #3059 [merge] Wed 2011-05-04 11:59:16 +0300
Automatic merge
Revision #3057.1.1 Wed 2011-05-04 11:28:02 +0300
Fixed compiler warning
Revision #3058 [merge] Tue 2011-05-03 19:36:06 +0200
merge
merge] Tue 2011-05-03 19:32:17 +0200
merge
Tue 2011-05-03 19:30:21 +0200
Fix warning (unused local variable)
Revision #3057 [merge] Tue 2011-05-03 18:27:14 +0300
Automatic merge
Revision #3054.1.1 Tue 2011-05-03 18:17:13 +0300
Fixed after-merge failures found by buildbot
Revision #3056 Tue 2011-05-03 12:50:09 +0200
Fix Xtradb compile error on Win64 - conversion between pointers of different size
Revision #3055 Mon 2011-05-02 23:03:26 +0200
Fix compile errors:
from xtradb merge
portability error in bitmap-t.c ( variable size array in non-portable)
Revision #3054 [merge] Mon 2011-05-02 21:42:52 +0300
Automatic merge
Revision #3052.1.3 [merge] Mon 2011-05-02 21:41:02 +0300
Merge with xtradb fixes
[merge] Mon 2011-05-02 20:58:45 +0300
Merge with MySQL 5.1.57/58
Moved some BSD string functions from Unireg
Thu 2011-04-28 23:58:00 +0300
Added calls to cleanup_mutexes() for embedded library.
Revision #3053 [merge] Fri 2011-04-29 16:16:42 +0200
Merge XtraDB from Percona Server 5.1.56-12.7 into MariaDB-5.1.
Revision #0.6.46 Fri 2011-04-29 14:49:04 +0200
Updated with changes from Percona Server 5.1.56-12.7, from
lp:percona-dev/percona-server/release-5.1.56-12.7 percona-server-5.1.56-12.7
as of April 29, 2011.
Merged: revid:ignacio.nin@percona.com-20110427224434-e5a4kpyfwvj641q3
Revision #3052 Tue 2011-04-12 13:49:16 +0200
Bug #732124: PBXT result file updates that were forgotten when patch was pushed.
Revision #3051 [merge] Tue 2011-04-12 11:48:43 +0200
Merge fix of missing lock initialisation from Vlad:
"fixed the problem for the failing preload.test in pbxt suite"
Revision #3050.1.1 Thu 2011-04-07 18:28:52 +0200
fixed the preload.test pbxt bug
Revision #3050 Wed 2011-03-09 19:45:48 +0200
Bug fix for Bug #732124 union + limit returns wrong result
Revision #3049 Tue 2011-03-08 14:55:36 +0200
Don't check if LAST_IO_Error has changed as this is not a user variable and it may change depending on timing issues between master and slave
Revision #3048 Fri 2011-03-04 12:37:48 +0200
Removed wrong #ifdef that caused compile failure on Freebsd.
Revision #3047 Tue 2011-03-01 18:03:38 +0100
typo (in the yassl error message) fixed
Revision #3046 Tue 2011-03-01 16:21:27 +0200
Fixed for mac sed.
Revision #3045 Tue 2011-03-01 15:31:24 +0200
Revoked changes from MySQL 5.1.55 merge as Sergei's code is more general
Revision #3044 Tue 2011-03-01 15:19:25 +0200
Allow -Wuninitialized without -O only for gcc 4.4 and upper
Revision #3043 Mon 2011-02-28 23:24:19 +0200
Get rid of compiler warnings
Revision #3042 Mon 2011-02-28 19:47:19 +0200
Increase version number
Taged a couple of tests with --big-test
Download | Release Notes | Changelog |Overview of 5.1
Release date: 1 Mar 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.
Disable variables-big with debug binaries.
When compiled with SAFEMALLOC or with Windows Debug CRT, it allocates and initializes 5GB of memory. The effect is 20 minutes of paging and swapping on a 4GB VM.
Still allow the test to run with optimized binaries. Memory is not initialized in this case, malloc() of 5GB size will not bring the whole buffer into physical memory.
Build fixes:
Fix signed/unsigned warning (error -Werror) in readline
change regex_replace pattern to account for forward or backward slashes in partition_recover_myisam ( fixes Windows/embedded)
Fix mtr errors with Windows/embedded/plugins.
Plugins do not work on Windows/embedded, thus do not set plugin environment variables.
[merge]
Automatic merge with 5.1-merge to get in Merge with MySQL 5.1.55
Fixed compiler warnings
: Fix pbxt crashes on Windows 64 in debug build
The reason for the crash is misalignment on SSE instruciton in setjmp(). The root cause is PBXT debug malloc(), which unlike OS malloc does not guarantee 16 bytes alignment.
So the fix for now is disable PBXT debug malloc on Windows. It was obsolete anyway, as it does not provide additional benefits to C runtime debug routines (always used in debug compilation) or to pageheap, available at runtime.
Enhanced tap to write out a message at which stage it was killed if it got a signal.
Added 'SIGINT' to list of tracked signals.
Fixed bug in federatedx patch that caused partition tests to fail.
Fixed that connection string is returned for partitioned federated tables.
[merge]
Automatic merge with trunk
Fixed compiler warnings
Fix build : declaration in the middle of statement in C file.
Fixes for Aria storage engine:
Fixed bug ma_close.c:75: maria_close: Assertion `share->in_trans == 0' failed on UNLOCK TABLES
Fixed bug that caused table to be marked as not closed (crashed) during recovery testing.
Added missing header file strings_def.h to dist
Fixed typo for non-debug build
Fixed bug in Archive with insert delayed
Don't delete directory mysql-test/var if we use mysql-test-run --vardir=
Fixed error in Maria unittest
Fixes other issues found by test case for "Aria recovery: ma_blockrec.c:3930: _ma_update_at_original_place: Assertion `block->org_bitmap_value == .."
Ignore some linked files
[merge]
Merge with 5.1
Fixed a couple of compilation failures that was not detected before merge.
fixes for solaris 10
fix "./configure --with-debug" builds
(without CFLAGS=-DSAFEMALLOC).
Better fix for mysql_test.cc::do_remove_files_wildcard
Use _ma_set_fatal_error() in Aria also for HA_ERR_WRONG_IN_RECORD, to be able to get an assert as soon as a failure is detected.
Fixed stack overrun failure when calling maria_chk_data_link().
Fixed bugs found by buildbot:
Use -Wno-uninitialized if -DFORCE_INIT_OF_VARS is not used, to avoid warnings about not initialized variables.
Fixed compiler warnings
Aria issues:
Fix for "Aria recovery: ma_blockrec.c:3930: _ma_update_at_original_place: Assertion `block->org_bitmap_value == _ma_bitmap_get_page_bits(info, &info->s->bitmap, page)' failed"
Fixed bug that another thread used handler->s->id before it was recorded in the log.
This fixed an assert in recovert in mi_recovery.c "cmp_translog_addr(rec->lsn, checkpoint_start) < 0"
Fixed some mysql-test-run failures and compile warnings/errors
Added logging of all possible fatal table errors if --log-warnings set to > 1
Updated mysql-test-run to create on failure a var/log/files.log to allow us to analyze what was in the var directory on failure
This should help us analyze failures like innodb_mysql.test that failes strangely in a CREATE TABLE statement.
[merge]
Merge
Fixed / .
Call always ha_index_init(), not index_init(), to ensure that active_index is set correctly.
Fixes failures in merge.test
[merge]
Merge with 5.1
Fix for ha_index_prev(uchar*): Assertion `inited==INDEX' failed with HANDLER + InnoDB in maria-5.3
[merge]
Merge into maria-5.1
: Elimination of a table results in an invalid execution plan
Fixed bug in Maria page cache that caused assert if block->request != 0 in free_block()
Allow one to decrease page-buffer-size down to 1M (from 128M) for maria_read_log
Don't allow too low value of pagecache_buffer_size for mysqld
Allow smaller size for page-buffer-size
Fixed wrong test in maria_rsame() that caused ma_test_all to fail.
Safety fix for Aria:
Set lastinx= 0 when last_key.keyinfo is set.
Fixed that Aria works with HANDLER commands
Added test case for Aria
Tested HANDLER with HEAP (changes to HEAP code will be pushed in 5.3)
Don't do DBUG_ASSERT for checksum errors when using REPAIR
mysql_convert_table_format ignored --engine option.
Fix that zerofill() doesn't write out wrong data to client if run with auto repair.
Bug fixing in Aria:
Fixed some bugs in recovery of blobs
Don't ASSERT() on checksum errors when running check table
Fixed overwrite of directory information on the row page.
This could only happen with very small rows on very full pages with old deleted information in middle of page.
ALTER TABLE IGNORE didn't ignore duplicates for unique add index for InnoDB
Make copy from heap to MyISAM / Aria killable.
Fixes converting HEAP to Aria" status do not respond to KILL QUERY
Fixed recovery problem in Aria where bitmap had wrong information after recovery.
: Aria recovery corruption "Page 1: Row: 1 has an extent with wrong information in bitmap
Updated README for MTR test suite
Speed up mtr --parallel=<lots> by scheduling some slow tests earlier.
The patch also fixes a race in rpl_stop_slave.test.
On machines with lots of CPU and memory, something like mtr --parallel=10
Fixed ().
When the optimizer creates items out of other items it does not have to call the fix_fields method. Usually in these cases it calls quick_fix_field() that just marks the created item as fixed. If the created item is an Item_func object then calling quick_fix_field() works fine if the arguments of the created functional item are already fixed. Otherwise some unfixed nodes remain in the item tree and it triggers an assertion failure whenever the item is evaluated.
Increased version number to 5.1.54
Fixed bug in Aria that caused REPAIR to find old deleted rows.
Fixed typo that caused compile failure in thr_lock.c
Fix for maria.optimize corrupts stack around alloca() call
Better warning message if lock test fails
Made archive.test a bit more safe
: Fix sporadic test failures in innodb_mysql.test and partition_innodb_semi_consistent.test
Problem is that these tests run with --innodb-lock-wait-timeout=2 in .opt
(and this is necessary as built-in innodb does not allow to change this
dynamically). This cases another part of the test to occasionally time
out an UPDATE, which subsequently caused the test case to timeout due to
waiting for a condition (successful UPDATE) that never occurs.
Made sure that SELECT from the test case for bug BUG#56862/64041 uses the same execution plan that is in the output of the corresponding EXPLAIN.
/ : Stale data from INNODB_LOCKS table.
The logic for how to check when to update the table cache for INNODB_LOCKS with real data was flawed. This could result in both not updating the cache often enough (when the table is queried repeatedly with less than 100 milliseconds in-between) resulting in stale data; as well as updating too often (when multiple queries against the table start at around the same time).
This caused occasional test failures in innodb_information_schema.
Fix myisam_crash_before_flush_keys on Windows
Problem : mtr reports test failure because it sees [ERROR] mysqld got exception 0x80000003 ; in the .err file
The exception comes from DBUG_EXECUTE_IF (.. abort())
Fix - merge_debug test fails.
The reason for failure is that DBUG_EXECUTE_IF in mi_open() only worked for Unix-formatted file names, due to strstr(name, "/crashed")
The fix change strstr() above to strstr(name, "crashed"), to it can work with Windows file names as well.
[merge]
merge
: mysql_client_test fail with in debug compilaton on windows x64
Fixed test case to be repeatable (after discussion with Igor)
[merge]
Merge with 5.1-release
[merge]
automatic merge with 5.1-release
[merge]
Automatic merge with 5.1-release
[merge]
merge
address review comments
--datadir=--help ---verbose --skip-grant-tablesFixed compiler and build error:
Fixed main.mysqlcheck error on windows
Fixed 'can't drop database pbxt' failure when running pbxt.mysqlslap
maria/ma_test_all.sh can now be run with --tmpdir=/dev/shm for faster testing
Fixed mysql-test-run failures on window
Fixed compiler warnings from my last push (sorry about that)
Fixed that maria_chk --repair --extended works again
Fixed compiler warnings about using not unitialized data
Reduced memory requirements for mysqltest to 1/4.th This also gave a speedup for 5x for some tests.
Reduced memory usage from safe_mutex.
Fixed problem with failing tests that could not restart mysqld becasue the port was reserved
More DBUG information
Fixed bug where bitmap_set_prefix() wrote over buffer area.
Initialize n_pages_flushed in xtradb which was used uninitialized.
Fixed build failures
Removed references to deleted files
If we link staticly, check for static zlib
This should fix the problem with 'no -lz found' link error
Fixed build failure on window (Patch from Wlad)
Fixed build problem with federatedx when using -Werror
Fixed test failure that ended with "There is no group named 'mysqld.10' that can be used to resolve 'port' for test"
Revision #3034.1.4 [merge]
Merge with main
Merged InnoDB plugin from MySQL 5.1.54 -> MySQL 5.1.55 into xtradb
Revision #3034.1.2 [merge]
Merge with xtradb code changes
(4 tests are still failing, so this push is not yet stable)
Revision #3030.1.2 [merge]
Merge
[merge]
Merge XtraDB from Percona Server 5.1.54-12.5 into MariaDB.
Updated with changes from Percona Server 5.1.54-12.5, from lp:percona-server as of February 4, 2011/
Revision #3034.1.1 [merge]
Merge with MySQL 5.1.55
Fixed some issues with partitions and connection_string, which also fixed Bug #716890 "Pre- and post-recovery crash in Aria"
Fixed wrong assert in Aria
Now need to merge with latest xtradb before pushing
Applied patch for Bug #585688 "maridb crashes in federatedx code" from lp:atcurtis/maria/federatedx:
Fixed Partition engine to store CONNECTION string for partitions.
Removed HA_NO_PARTITION flag from FederatedX.
Added test 'federated_partition' to suite.
- maridb crashes in federatedx code
FederatedX handler instances, created on one thread and used on another thread (via table cache) when "show table status" is executed crashed because txn member was not initialized for current thread.
Added test 'federated_bug_585688' to suite.
Author for the patch is Antony Curtis
Use maria_delete_table_files() instead of maria_delete_table() to delete tempoary tables (faster and safer)
Added checks to ensure that bitmap and internal mutex are always taken in right order.
For transactional tables, only mark the table as changed before page for table is to be written to disk (and thus the log is flushed).
This speeds up things a bit and fixes a problem where open_count was incremented on disk but there was no log entry to fix it during recovery -> table was crashed.
Fixed a bug in repair() where table was not automaticly repaired.
Ensure that state->global_changed, share->changed and share->state.open_count are set and reset properly.
Added option --ignore-control-file to maria_chk to be able to run maria_chk even if the control file is locked.
Fixes Bug #670356 "Aria table "is marked as crashed and should be repaired"
Aria fixes:
Fixed a bug where we didn't signal a thread waiting for bitmap flush that it's now time to continue which caused a deadlock in Aria.
Fix for Bug #700623 "Aria recovery: ma_blockrec.c:3930: _ma_update_at_original_place: Assertion `block->org_bitmap_value == _ma_bitmap_get_page_bits(info, &info->s->bitmap, page)' failed"
Fixed a bug in pagecache where a block could change while it was in use.
In maria_chk set --update-state to on by default so that open_count is cleared if table was ok during check.
Flush DBUG log in case of DBUG_ASSERT()
Added strings_def.h into strings library to be able to have a DBUG_ASSERT() version without _db_flush() call (as strings.a should not depend on dbug.a)
Remove include of m_string.h in all string files (as it's included by string_def.h).
Fixed include order.
Changed "m_ctype.h" -> <m_ctype.h>
Added a name for each thr_lock to get better error messages (This is needed to find out why 'archive.test' sometimes fails)
If debug_assert_if_crashed_table is set, we now crash when we find Aria corrupted.
Write more information if we find something wrong with the bitmap.
Fixed that REPAIR also can fix wrong create_rename_lsn issues (a very unlikely event)
Define STATE_CRASHED_FLAGS as set of all CRASHED flags (to simplify code)
An assertion failure was triggered for a 6-way join query that uses two join buffers.
The failure happened because every call of the function flush_cached_records() saved and restored status of all tables before the table join_tab. It must do it only for those of them that follow the last table that uses a join buffer.
Fix for MySQL Bug #52357 added NESTED_JOIN::is_fully_covered() which would not take into account that MariaDB's table elimination could eliminate tables from join plan (and so, from join nest).
Fixed the check in the function to compare post-table-elimination numbers.
Moved all HANDLER test to suite/handler.
Ensure that pagecache is properly flushed, even in case of errors.
Handle checksum errors in BLOCK_RECORD format.
Added to maria_read_log option --tables-to-redo=list-of-tables to only recover some tables (good for debugging)
Improve this by marking the offending tests as taking "long", and trying to schedule those tests early. This reduces the time towards the end of the test suite run where some workers are waiting with nothing to do for the remaining workers each to finish their last test.
Also, the rpl_stop_slave test had a race which could cause it to take a 300 seconds debug_sync timeout; this is fixed.
Testing on a 4-core 8GB machine, this patch speeds up the test suite with
around 30% for --parallel=10 (debug build), allowing to run the entire
suite in 5 minutes.
Fixed by re-trying the update in case of timeout.
Tested by inserting a sleep() in the connection that the UPDATE is waiting for, and checking that the retry loops a couple of times until the other connection is done and COMMITs.
Fix by updating the "last updated" timestamp in the right place, when the cache is updated, not when it is read.
Fix: use DBUG_ABORT instead of abort() - it does not throw any exceptions.
Reason: inconsistent compilation, federatedx is compiled without SAFEMALLOC flag, while anything else is compiled with SAFEMALLOC.
As a consequence, my_hash_init used inside federatedx initialization does not provide correct caller info parameters (file, line) , so they are initialized with whatever is on stack. When info about allocated memory is output in COM_DEBUG command, the server crashes trying to output string starting at 0xcccccccccccccccc.
The fix is to remove SAFEMALLOC preprocessor flags from every CMakeLists.txt, except the top-level one.
Also, SAFEMALLOC is not defined by default now, instead there is WITH_DEBUG_FULL CMake option which adds -DSAFEMALLOC to C and C++ flags in debug compilation. This option is off by default, because
Debug C runtime already has heap debugging builtin with overwrite and leak detection
safemalloc considerably slows down the tests.\
Note also that
SAFEMALLOC is gone in MySQL5.5
On Windows, heap related overflows can also be found using free pageheap utility
(that is also part of application verifier). This is even more efficient if there are no other layers on top of Windows heap allocator, e.g it is most efficient with release version.
Adapt fix_vs_config_dir () for VS2010
MTR_VS_CONFIG is now determined by looking at parent directory of sql*\mysqld.exe, instead of looking at **\BuildLog.htm
Reason : VS2010 does not create BuildLog.htm, hence prior method did not work.
Make maria 5.1 compilable on Visual Studio 2010 and remove Windows warnings
Remove all mentioning of /MAP /MAPINFO link options (does not work in VS2010). Remove map files from packaging.
Fix warning about ETIMEDOUT being redefined.
Fix warning about FSP_EXTENT_SIZE in xtradb (32/64 bit right shift mismatch)
Silence warnings coming from generated code (flex/bison) in xtradb/innodb_plugin.
Be nice to people without cygwin (me) and add win/configure-mariadb.bat with options suitable for quick compilation, e.g no embedded
Merged: revid:oleg.tsarev@percona.com-20110113143630-b9ojivymbiwe3y2i
Download | Release Notes | Changelog |Overview of 5.1
Release date: 09 Sep 2010
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.
Give a more precise warning why something fails.
Fixed typo that caused warnings from mysql-test-run
[merge]
Automatic merge
Fixed recovery bug where bitmap pages would not be correctly updated after processing UNDO rows.
Added --skip-bdb as a compatibility option for old config files
Fixed compiler warnings
Fix compile failures and warnings on Windows from XtraDB "shm buffer pool" patch. (It is not legal C to do pointer arithmetics on void *).
Added missing include file (to get rid of compiler warning)
Fixed build failures
Cleaned up "mysql_upgrade --help" and "mysqlcheck --help"
Fixed failing test cases after update of xtradb
Nicer output for mysql_upgrade
Added --silent option to mysql_upgrade so that one can only get errors printed
Don't write unnecessary warning about log tables during upgrade
Result file update following XtraDB merge.
[merge]
Merge XtraDB from Percona Server 5.1.49-12 into MariaDB.
Enable tests that were previously disabled waiting for XtraDB merge.
Update test to use the shorter table names
Enable archive tables to work with mysql_upgrade / repair
Made long file names from previous patch shorter
Fix that one can run mysql_upgrade with long table names
Fall back to use ALTER TABLE for engines that doesn't support REPAIR when doing repair for upgrade.
Nicer output from mysql_upgrade and mysql_check
Fixed bugs (mostly on sparc) that caused crashes in mysql-test-run
Fixed test failure
Fixed test failures in buildbot
Don't write errors when failing to send ok packet
Fixed compiler failures when compiling non debug build
Revision #2891.3.4 [merge]
Automatic merge
Fixed bug that 'maria_read_log -a' didn't set max_trid when reparing tables.
Fixed bug in Aria when replacing short keys with long keys and a key tree both overflow and underflow at same time.
Fixed several bugs when generating recovery logs when using RGQ with replacing long keys with short keys and vice versa.
Lots of new DBUG_ASSERT()'s
Added more information to recovery log to make it easier to know from where log entry orginated.
Introduced MARIA_PAGE->org_size that tells what the size of the page was in last log entry. This allows us to find out if all key changes for index page was logged.
Small code cleanups:
Introduced _ma_log_key_changes() to log crc of key page changes
Added share->max_index_block_size as max size of data one can put in key block (block_size - KEYPAGE_CHECKSUM_SIZE)
This will later simplify adding a directory to index pages.
Write page number instead of page postition to DBUG log
make the check for windows to work in cygnin perl too
typo fixed
Revision #2896.1.1 [merge]
Merge XtraDB from Percona server 5.1.49-12 into MariaDB.
Updated with changes from lp:percona-server/release-5.1.49-12 as of September 3, 2010
Updated all arrays that used NAME_LEN to use SAFE_NAME_LEN to ensure that we don't break things accidently as names can now have a #mysql50
Fixed build & test failures in buildbot
Revision #2894 [merge]
Automatic merge
use the correct path separator on windows.
remove duplicates from the --plugin-load list.
$ENV{TERM} can be undefined (on Windows)
Fixed failing tests
Revision #2892 [merge]
Automerge
Revision #2891.1.28 [merge]
Merge with MySQL 5.1.50
Changed to still use bcmp() in certain cases becasue
Faster for short unaligneed strings than memcmp()
Bettern when using valgrind
Changed to use my_sprintf() instead of sprintf() to get higher portability for old systems
mtr changes:
expanding unknown env variable does not abort mtr
have_archive, blackhole, innodb - preload the corresponding engine
Fixed typo in last push (sorry about that)
Need to get autopush to work to avoid bad pushes like this....
Fixed failing test
Increased default buffers to speed up maria_chk
[merge]
Automatic merge
Fixed compiler warning
[merge]
Automatic merge
[merge]
Automatic merge with main 5.1
allow suite.pm to tell mtr to skip the suite
generalization of mtr to support suite.pm extensions:
no automatic --loose-skip-innodb added by mtr based on the test name.
instead loose-skip-innodb is now in the default_mysqld.cnf
missing DBUG_RETURNs
created *-all build scripts that build with ndb (as -max scripts don't)
Fixed compilation failure and added some new suppressions
Fixed wrong macro that caused compile failures when compiling without DBUG
Fixed valgrind errors and compiler warnings discovered by buildbot
More DBUG_ASSERT() to discover errors earlier
More checking of BLOCK structures in Aria.
Added verbose mode to recovery
More DBUG
Added convert-debug-for-diff
Trivial optimizations and cleanups
Fix for : FederatedX corrupt ORDER BY with TEXT
Patch taken from lp:capttofu/maria/bug_571200 (originally for MariaDB 5.3, but adapted for 5.1)
Added option --start-from-checkpoint to maria_read_log
Print out checked file names in maria_check -s (unless you use a second -s)
Some trivial optimizations
Disable events_time_zone.test as test is not predictable
Fixed compiler warnings from Windows compiler
Fixed RQG: Table corruption after Maria engine recovery - "Wrong data in bitmap"
maria_chk & maria_read_log now reads block size from control file.
Fixed typo that caused compile failure on Mac
Added straight_join to make results predicatable
Fixed wrong argument to translog_write_record() that caused core dump in maria.maria-gis-rtree-trans and some other tests
(Bug introduced by my last push)
Ignore ENOLCK errno from FreeBSD (known problem in old FreeBSD releases)
Added --sync-sys=0 option for mysqld to skip sync() calls for faster testing
Fixed (M) aria recovery failure: ma_key_recover.c:981: _ma_apply_redo_index: Assertion `check_page_length == page_length' failed
Changed code to use MariaDB version of select->skip_record()
Removed -%::SCCS/s.% from Makefile.am:s to remove automake warnings
all options from .opt files get equal treatment, all are searched for
special options, not only -{master,slave}.opt as before (which ignored
suite.opt and --mysqld=...)
--plugin-load gets special treatment too - all instances are merged into
one
federated test fixed to preload federated
Increase some very old limits.
This will give a smoother experience when using the Aria engine by those that are using default limits without still causing a notable problem for desktop users.
Fix of Bug #616253 Crash in _ma_bitmap_set_full_page_bits on Aria recovery
The bug was based on wrong undo data in recovery file and not enough checking of bad data.
Trivial fixes, more safe DBUG_ASSERT()'s and some more DBUG_
CTRL-C now aborts 'source' commands in mysql client
Fix that thread id's are removed in convert-debug-for-diff.sh
Fix for Bug #612894 Some aggregate functions (such as MIN MAX) work incorrectly in subqueries after getting NULL value
My::Suite class. It's support in mtr, and everywhere
support for suite.pm
when sorting tests, take combinations into account
support for SUITENAME_COMBINATIONS
no special treatment for innodb_plugin in mtr_cases.pm
two special pre-created config groups: ENV and OPT
allow option names to start from #
allow magic option to have an argument
remove dead code
fix @-substitution to works as expected
new processes take the value of $opt_verbose automatically, no need to pass it to a constructor
innodb_plugin suite uses suite.pm and combinations file to test as much as possible (innodb plugin, xtradb plugin, xtradb static - whatever available)
besides test-master.opt and test-slave.opt a test.opt file is also loaded, both for master and slave
.opt files for all included files are loaded too
progress report in the xterm titlebar
Fixed crashing bug in Aria when doing UPDATE of several records in same block when doing table scan.
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL