- 15 Dec, 2012 2 commits
-
-
Sergei Golubchik authored
MDEV-3837 Assertion `table->read_set == &table->def_read_set' failed on updating a performance_schema table This was failing not only for P_S, but for any engine that had HA_PRIMARY_KEY_REQUIRED_FOR_DELETE flag set (in the tree - only P_S and federated). Because of this flag, read_set and write_set were (possibly) changed on update. But later the code modified these bitmaps and restored them to the default state, losing HA_PRIMARY_KEY_REQUIRED_FOR_DELETE related changes. sql/handler.cc: small optimization. don't change the *write* set only because all columns has to be *read*
-
Sergei Golubchik authored
revno: 3383 revision-id: georgi.kodinov@oracle.com-20110818083108-qa3h3ufqu4zne80a committer: Georgi Kodinov <Georgi.Kodinov@Oracle.com> timestamp: Thu 2011-08-18 11:31:08 +0300 message: Bug #11766001: 59026: ALLOW MULTIPLE --PLUGIN-LOAD OPTIONS Implemented support for a new command line option : --plugin-load-add=<comma-separated-name-equals-value-list> This option takes the same type of arguments that --plugin-load does and complements --plugin-load (that continues to operate as before) by appending its argument to the list specified by --plugin-load. So --plugin-load can be considered a composite option consisting of resetting the plugin load list and then calling --plugin-load-add to process the argument. Note that the order in which you specify --plugin-load and --plugin-load-add is important : "--plugin-load=x --plugin-load-add=y" will be equivalent to "--plugin-load=x,y" whereas "--plugin-load-add=y --plugin-load=x" will be equivalent to "plugin-load=x". Incompatible change : the --help --verbose command will no longer print the --plugin-load variable's values (as it doesn't have one). Otherwise both --plugin-load and --plugin-load-add are mentioned in it.
-
- 12 Dec, 2012 1 commit
-
-
unknown authored
-
- 20 Nov, 2012 3 commits
-
-
unknown authored
-
unknown authored
-
unknown authored
Root cause was that number of entries in commit checkpoint buffer was bigger than total available entries in the mmap()'ed score file. This causes TC_LOG_MMAP to run out of entries before even the first checkpoint is started, which causes a hang. Fixed by making sure we have fewer entries within one commit checkpoint than total available scorefile entries. Another part of this bug was discovery of severel unrelated bugs in TC_LOG_MMAP dating back to 5.1. These were fixed in 5.1 and will be merged up (the problem this patch fixes exists only in 10.0).
-
- 15 Nov, 2012 1 commit
-
-
unknown authored
Currently JOIN_TAB::records_read is of type ha_rows. This is an integer type, which prevents proper selectivity and rows estimates.
-
- 11 Nov, 2012 1 commit
-
-
Vladislav Vaintroub authored
-
- 09 Nov, 2012 1 commit
-
-
Vladislav Vaintroub authored
- Fix bug in bootstrapper. - Also, delete innodb log files cafter bootstrapping , to workaround "different log size" Innodb error during the first service start by MSI. This is a temporary measure, in the future innodb will allow handling different file size more gracefully.
-
- 06 Nov, 2012 1 commit
-
-
Vladislav Vaintroub authored
The reason for the error is missing definition for SIGNAL_WITH_IO_CLOSE on this platform which now needs to always be defined, as in 5.6 On Solaris10 only, this preprocessor constant was not defined, thus code that shutdowns a socket in THD::awake was not executed, and polling thread was not interrupted. Fix is to always define SIGNAL_WITH_IO_CLOSE, just like MySQL5.6 does.
-
- 05 Nov, 2012 1 commit
-
-
Sergei Golubchik authored
-
- 04 Nov, 2012 4 commits
-
-
Vladislav Vaintroub authored
Improve cleanup in create_initial_db.cmake, fix the 'table already exists' error if build is run twice.
-
Vladislav Vaintroub authored
Fix mismerged code from 5.6 (named-pipe related). viopipe.c, which was introduced in 5.6 is now copied almost identically into 10.0 The unused vio::pipe_overlapped is removed.
-
Sergey Petrunya authored
-
Sergey Petrunya authored
MDEV-567: Wrong result from a query with correlated subquery if ICP is allowed: backport the fix developed for SHOW EXPLAIN: revision-id: psergey@askmonty.org-20120719115219-212cxmm6qvf0wlrb branch nick: 5.5-show-explain-r21 timestamp: Thu 2012-07-19 15:52:19 +0400 BUG#992942 & MDEV-325: Pre-liminary commit for testing and adjust it so that it handles DS-MRR scans correctly.
-
- 03 Nov, 2012 2 commits
-
-
Sergey Petrunya authored
# MDEV-3817: Wrong result with index_merge+index_merge_intersection, InnoDB table, join, AND and OR conditions Reconcile the fixes from: # # guilhem.bichot@oracle.com-20110805143029-ywrzuz15uzgontr0 # Fix for BUG#12698916 - "JOIN QUERY GIVES WRONG RESULT AT 2ND EXEC. OR # AFTER FLUSH TABLES [-INT VS NULL]" # # guilhem.bichot@oracle.com-20111209150650-tzx3ldzxe1yfwji6 # Fix for BUG#12912171 - ASSERTION FAILED: QUICK->HEAD->READ_SET == SAVE_READ_SET # and # and related fixes from: BUG#1006164, MDEV-376: Now, ROR-merged QUICK_RANGE_SELECT objects make no assumptions about the values of table->read_set and table->write_set. Each QUICK_ROR_SELECT has (and had before) its own column bitmap, but now, all QUICK_ROR_SELECT's functions that care: reset(), init_ror_merged_scan(), and get_next() will set table->read_set when invoked and restore it back to what it was before the call before they return. This allows to avoid the mess when somebody else modifies table->read_set for some reason.
-
Sergei Golubchik authored
-
- 02 Nov, 2012 2 commits
-
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
Use post_kill_notification in for one_thread_per_connection scheduler, the same as already used in threadpool, to reliably wake a thread stuck in read() or in different poll() variations.
-
- 31 Oct, 2012 3 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
unknown authored
- Ensure asm parameters are in registers, so we do not de-reference from bogus stack pointer. - Make return address undefined in DWARF unwind info in my_context_spawn, so DWARF-based unwinders will know this is the end of the call stack (same as the amd64 fix for the similar issue).
-
- 30 Oct, 2012 5 commits
-
-
Vladislav Vaintroub authored
Disable compiling unit tests if WITH_UNIT_TEST is FALSE. Also, fix CMake code to allow compilation WITHOUT_ARIA_STORAGE_ENGINE
-
Sergei Golubchik authored
and when safemalloc is enabled (use ucontext, otherwise backtrace function gets confused and crashes)
-
Vladislav Vaintroub authored
Changed implementation os_file_rename() on Windows such as it does not fail if destination file already exists. Now MoveFileEx() with MOVEFILE_REPLACE_EXISTING flag is used, instead of prior MoveFile(). This fixed implementation is better compatible with rename() on POSIX systems.
-
Sergei Golubchik authored
because it assumes the function prologue that gcc does not generate.
-
Sergei Golubchik authored
(and collateral changes) mysql-test/t/innodb_mysql_lock.test: change the variable from the test, not from the .opt file. one mysqld restart less. mysql-test/t/lowercase_table4.test: fix dos line endings sql/handler.cc: don't access the uninitialized variable
-
- 29 Oct, 2012 6 commits
-
-
Sergei Golubchik authored
-
Vladislav Vaintroub authored
Ensure semicolons are not lost when concatenating fill_help_tables to bootstrap.sql in Windows. 5.6 bootstrapper requires semicolons to separate bootstrapper commands.
-
Sergei Golubchik authored
always use intptr type when casting a pointer to an integer to avoid sign expansion. or, at least, cast identically in socket_summary_by_instance and socket_instances
-
Sergei Golubchik authored
-
Sergei Golubchik authored
The following piece of code in trnman.c: 345 trn->min_read_from= active_list_min.next->trid; ... 351 active_list_max.prev= trn->prev->next= trn; 352 trid_min_read_from= active_list_min.next->min_read_from; on 345 gcc stores active_list_min.next in %ebx (and trn->min_read_from=[%ebx]->trid) and on 352 it does trid_min_read_from= [%ebx]->min_read_from; BUT active_list_min.next was changed on the line 351. gcc doesn't notice it and continues to use the cached value.
-
Sergei Golubchik authored
-
- 28 Oct, 2012 1 commit
-
-
Sergei Golubchik authored
Bug#13510739 63775: SERVER CRASH ON HANDLER READ NEXT AFTER DELETE RECORD.
-
- 27 Oct, 2012 4 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
shared should provide libmysqlclient.so.18(libmysqlclient_16) too don't "use DBD::mysql" explicitly in mytop
-
Sergei Golubchik authored
-
- 26 Oct, 2012 1 commit
-
-
unknown authored
This patch undoes the removal of enum store_key_result by the previous patch for mdev-3812.
-
- 25 Oct, 2012 1 commit
-
-
Sergei Golubchik authored
(because of a width or a short buffer)
-