summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Raise version number after cloning 5.1.36Jonathan Perkin2009-06-161-1/+1
|
* version changemysql-5.1.36clone-5.1.36-buildGeorgi Kodinov2009-06-161-1/+1
|\
| * fixed versionGeorgi Kodinov2009-06-161-1/+1
| |
* | Addendum to the fix for bug #44821: move partition dependent test Georgi Kodinov2009-06-164-99/+99
| | | | | | | | to a test file that guarantees the presence of partition code
* | AutomergeKristofer Pettersson2009-06-163-1/+99
|\ \
| * \ MergeMartin Hansson2009-06-1628-28/+28
| |\ \
| * \ \ MergeMartin Hansson2009-06-163-1/+99
| |\ \ \
| | * | | Bug#44821: select distinct on partitioned table returns wrong resultsMartin Hansson2009-06-103-1/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Range analysis did not request sorted output from the storage engine, which cause partitioned handlers to process one partition at a time while reading key prefixes in ascending order, causing values to be missed. Fixed by always requesting sorted order during range analysis. This fix is introduced in 6.0 by the fix for bug no 41136. mysql-test/r/group_min_max.result: Bug#44821: Test result. mysql-test/t/group_min_max.test: Bug#44821: Test case sql/opt_range.cc: Bug#44821: Fix.
* | | | | AutomergeKristofer Pettersson2009-06-1628-28/+28
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | automergeGeorgi Kodinov2009-06-162-9/+8
| |\ \ \ \ | | |/ / /
| * | | | automergeGeorgi Kodinov2009-06-160-0/+0
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | automergeGeorgi Kodinov2009-06-151-1/+0
| | |\ \ \
| * | \ \ \ automergeGeorgi Kodinov2009-06-152-4/+12
| |\ \ \ \ \
| * \ \ \ \ \ automergeGeorgi Kodinov2009-06-150-0/+0
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | |
| | * | | | | merged 5.0-main to 5.0-bugteamGeorgi Kodinov2009-06-1534-31/+64
| | |\ \ \ \ \
| * | \ \ \ \ \ merged 5.1-main -> 5.1-bugteamGeorgi Kodinov2009-06-1528-28/+28
| |\ \ \ \ \ \ \
| | * \ \ \ \ \ \ Merge 5.0-build up to 5.1-buildJoerg Bruehe2009-06-110-0/+0
| | |\ \ \ \ \ \ \ | | | | |/ / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the backmerge of 5.0.74sp1 into the main sources, but effectively a null-merge, because the changes in that version were backports of changes already present in later sources.
| | | * | | | | | Merge main 5.0 -> 5.0-buildJoerg Bruehe2009-06-111-2/+2
| | | |\ \ \ \ \ \
| | | | * \ \ \ \ \ Merge back mysql-5.0.74sp1-release, no changes in current filesunknown2009-06-110-0/+0
| | | | |\ \ \ \ \ \
| | | | | * | | | | | after-backport fixesmysql-5.0.74sp1clone-5.0.74sp1-buildDaniel Fischer2009-04-3019-2567/+153
| | | | | | | | | | |
| | | | | * | | | | | missing files for libeditDaniel Fischer2009-04-303-0/+652
| | | | | | | | | | |
| | | | | * | | | | | adjust version stringDaniel Fischer2009-04-301-1/+1
| | | | | | | | | | |
| | | | | * | | | | | backport #34773, commit 61127Daniel Fischer2009-04-308-24/+143
| | | | | | | | | | |
| | | | | * | | | | | backport #39591, commit 59390Daniel Fischer2009-04-303-8/+34
| | | | | | | | | | |
| | | | | * | | | | | backport #41437, commit 62803Daniel Fischer2009-04-303-0/+13
| | | | | | | | | | |
| | | | | * | | | | | backport #41456, commit 61847Daniel Fischer2009-04-303-0/+19
| | | | | | | | | | |
| | | | | * | | | | | backport #41470, commit 62661Daniel Fischer2009-04-303-6/+29
| | | | | | | | | | |
| | | | | * | | | | | backport #42014, commit 65523Daniel Fischer2009-04-303-6/+33
| | | | | | | | | | |
| | | | | * | | | | | missing files from 42419Daniel Fischer2009-04-303-0/+172
| | | | | | | | | | |
| | | | | * | | | | | backport 42366, copying certificates from 5.0Daniel Fischer2009-04-309-267/+346
| | | | | | | | | | |
| | | | | * | | | | | backport #42419, commits 66925, 66999Daniel Fischer2009-04-303-12/+125
| | | | | | | | | | |
| | | | | * | | | | | backport #43748, applying commits 70359 and 70377Daniel Fischer2009-04-303-1/+27
| | | | | | | | | | |
| | | | | * | | | | | Backported libedit changes.Daniel Fischer2009-04-3039-1381/+1639
| | | | | | | | | | |
| | | | * | | | | | | Raise version number after cloning 5.0.83unknown2009-05-291-2/+2
| | | | | | | | | | |
| | * | | | | | | | | Merge main 5.1 -> 5.1-buildJoerg Bruehe2009-06-118-19/+137
| | |\ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ Merge up 5.0-build into 5.1-build:Joerg Bruehe2009-05-2928-28/+28
| | |\ \ \ \ \ \ \ \ \ \ | | | | |/ / / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mostly just the merge changesets, but also a change of Perl scripts to use "/usr/bin/perl" fixed.
| | | * | | | | | | | | Merge main 5.0 into 5.0-buildJoerg Bruehe2009-05-2855-59/+946
| | | |\ \ \ \ \ \ \ \ \ | | | | | |/ / / / / / / | | | | |/| | | | | | |
| | | * | | | | | | | | Merge main 5.0 -> 5.0-buildJoerg Bruehe2009-05-274-4/+7
| | | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the integration of the "community" source extensions into build calls for Windows and for RPMs.
| | | * \ \ \ \ \ \ \ \ \ Merge main 5.0 -> 5.0-buildJoerg Bruehe2009-05-156-14/+24
| | | |\ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ merge bug#42888Daniel Fischer2009-05-125-1/+34
| | | |\ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | | Use /usr/bin/perl as standard Perl install path (bug#44643)Kent Boortz2009-05-0928-28/+28
| | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | Merge main 5.1 into 5.1-buildJoerg Bruehe2009-05-29198-847/+3740
| | |\ \ \ \ \ \ \ \ \ \ \ \ \
* | | \ \ \ \ \ \ \ \ \ \ \ \ \ AutomergeKristofer Pettersson2009-06-164-214/+472
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Bug#43758 Query cache can lock up threads in 'freeing items' stateKristofer Pettersson2009-06-164-214/+472
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Early patch submitted for discussion. It is possible for more than one thread to enter the condition in query_cache_insert(), but the condition predicate is to signal one thread each time the cache status changes between the following states: {NO_FLUSH_IN_PROGRESS,FLUSH_IN_PROGRESS, TABLE_FLUSH_IN_PROGRESS} Consider three threads THD1, THD2, THD3 THD2: select ... => Got a writer in ::store_query THD3: select ... => Got a writer in ::store_query THD1: flush tables => qc status= FLUSH_IN_PROGRESS; new writers are blocked. THD2: select ... => Still got a writer and enters cond in query_cache_insert THD3: select ... => Still got a writer and enters cond in query_cache_insert THD1: flush tables => finished and signal status change. THD2: select ... => Wakes up and completes the insert. THD3: select ... => Happily waiting for better times. Why hurry? This patch is a refactoring of this lock system. It introduces four new methods: Query_cache::try_lock() Query_cache::lock() Query_cache::lock_and_suspend() Query_cache::unlock() This change also deprecates wait_while_table_flush_is_in_progress(). All threads are queued and put on a conditional wait. On each unlock the queue is signalled. This resolve the issues with left over threads. To assure that no threads are spending unnecessary time waiting a signal broadcast is issued every time a lock is taken before a full cache flush. mysql-test/r/query_cache_debug.result: * Added test case for bug43758 mysql-test/t/query_cache_debug.test: * Added test case for bug43758 sql/sql_cache.cc: * Replaced calls to wait_while_table_flush_is_in_progress() with calls to try_lock(), lock_and_suspend() and unlock(). * Renamed enumeration Cache_status to Cache_lock_status. * Renamed enumeration items to UNLOCKED, LOCKED_NO_WAIT and LOCKED. If the LOCKED_NO_WAIT lock type is used to lock the query cache, other threads using try_lock() will fail to acquire the lock. This is useful if the query cache is temporary disabled due to a full table flush. sql/sql_cache.h: * Replaced calls to wait_while_table_flush_is_in_progress() with calls to try_lock(), lock_and_suspend() and unlock(). * Renamed enumeration Cache_status to Cache_lock_status. * Renamed enumeration items to UNLOCKED, LOCKED_NO_WAIT and LOCKED. If the LOCKED_NO_WAIT lock type is used to lock the query cache, other threads using try_lock() will fail to acquire the lock. This is useful if the query cache is temporary disabled due to a full table flush.
* | | | | | | | | | | | | | | | Post-merge fix: modify regular expression to better handle 24 hourDavi Arnaut2009-06-152-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | times (ie: 2:16:20). mysql-test/r/log_tables_debug.result: Update test case result. mysql-test/t/log_tables_debug.test: Skip spaces and handle case when a leading zero is not printed.
* | | | | | | | | | | | | | | | Disable session debugging after its not necessary anymore.Davi Arnaut2009-06-151-6/+5
| |_|_|_|_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test/t/log_tables_debug.test: Remove spurious spaces and disable session debugging.
* | | | | | | | | | | | | | | Bug #45387 Information about statement id for prepared Staale Smedseng2009-06-152-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | statements missed from general log A FLUSH LOGS is added to ensure that the log info hits the file before attempting to process. mysql-test/t/log_tables_debug.test: A FLUSH LOGS is added, and in the event that a match is not found, <FILE> is reset and the contents of the log file is dumped for debugging purposes.
* | | | | | | | | | | | | | | nullmergeBernt M. Johnsen2009-06-150-0/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / / |/| | | | | | | | | | | | / / | | |_|_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | |
| * | | | | | | | | | | | | Bug#32357 Prepared for push on 5.0-bugteam branchBernt M. Johnsen2009-06-151-1/+0
| | |_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | |
* | | | | | | | | | | | | automergeGeorgi Kodinov2009-06-153-0/+65
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / /