- 20 Nov, 2014 1 commit
-
-
Sergei Golubchik authored
-
- 19 Nov, 2014 2 commits
-
-
Sergei Golubchik authored
-
Kristian Nielsen authored
The bug was that full memory barrier was missing in the code that ensures that a waiter on an InnoDB mutex will not go to sleep unless it is guaranteed to be woken up again by another thread currently holding the mutex. This made possible a race where a thread could get stuck waiting for a mutex that is in fact no longer locked. If that thread was also holding other critical locks, this could stall the entire server. There is an error monitor thread than can break the stall, it runs about once per second. But if the error monitor thread itself got stuck or was not running, then the entire server could hang infinitely. This was introduced on i386/amd64 platforms in 5.5.40 and 10.0.13 by an incorrect patch that tried to fix the similar problem for PowerPC. This commit reverts the incorrect PowerPC patch, and instead implements a fix for PowerPC that does not change i386/amd64 behaviour, making PowerPC work similarly to i386/amd64.
-
- 18 Nov, 2014 27 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
in mysql_upgrade: do FLUSH PRIVILEGES at the end, not together with mysql_fix_privilege_tables mysql-test/t/mysql_upgrade-6984.opt: use a dummy second option to force server restart after the test
-
Sergei Golubchik authored
skip qsort if the sort key has zero length
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
* use the same HAVE_C/CXX_ variables for compiler flag tests as the rest of the server and tokudb - to use cached results * plugin's name should be "mroonga" not "ha_mroonga" * don't use set_property(TARGET plugin_name ...), it aborts cmake when a plugin id disabled, because the target doesn't exists in that case result: mroonga can now be disabled from cmake command line
-
Sergei Golubchik authored
try the first unique key as a surrogate PK *before* disabling extended keys because of missing PK
-
Sergei Golubchik authored
-
Sergei Golubchik authored
1. remove find_mysql_client (from a bad merge) 2. use $mysql_command
-
Sergei Golubchik authored
disable binlogging when loading help tables
-
Sergei Golubchik authored
update mysql_system_tables_fix.sql to match mysql_system_tables.sql
-
Sergei Golubchik authored
use the same restriction for character_set_client on the command line and from SQL. Also: remove strange hack from thd_init_client_charset() that contradicted the manual (collation_connection and character_set_result were not always set)
-
Sergei Golubchik authored
a different fix for view.test --ps-protocol crash (revert the old fix that has caused a regression)
-
Sergei Golubchik authored
ALTER TABLE: don't fill default values per row, do it once. And do it in two places - for copy_data_between_tables() and for online ALTER. Also, run function_defaults test both for MyISAM and for InnoDB.
-
Sergei Golubchik authored
when reading data into the record buffer, the tail of the VARCHAR (between real and max varchar length) is not written to. initialize the record buffer to avoid writing uninitialized memory to disk.
-
Sergei Golubchik authored
update big test results
-
Sergei Golubchik authored
change SSL methods to be SSLv23 (according to openssl manpage: "A TLS/SSL connection established with these methods may understand the SSLv2, SSLv3, TLSv1, TLSv1.1 and TLSv1.2 protocols") from TLSv1 methods, that go back to the initial SSL implementation in MySQL in 2001. OpenSSL default ciphers are different if TLSv1.2 is enabled, so tests need to take this into account.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
e.g. from "error:00000001:lib(0):func(0):reason(1)" to "error:140830B5:SSL routines:SSL3_CLIENT_HELLO:no ciphers available"
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
two bugs in mysql_config: 1. flags like -Werror=format were not stipped out 2. one-pass s/// command was used that could not remove all matching flags (e.g. s/ A */ /g cannot remove all A's in " 1 2 A A A A A 4 5 ")
-
Sergei Golubchik authored
MDEV-4513 Valgrind warnings (Conditional jump or move depends on uninitialised value) in inflate on UNCOMPRESS
-
Sergei Golubchik authored
MDEV-6789 segfault in Item_func_from_unixtime::get_date on updating table with virtual columns * prohibit VALUES in partitioning expression * prohibit user and system variables in virtual column expressions * fix Item_func_date_format to cache locale (for %M/%W to return the same as MONTHNAME/DAYNAME) * fix Item_func_from_unixtime to cache time_zone directly, not THD (and not to crash) * added tests for other incorrectly allowed (in vcols) functions to see that they don't crash
-
Sergei Golubchik authored
MDEV-3940 Server crash or assertion `item->type() == Item::STRING_ITEM' failure on LOAD DATA through a view with statement binary logging A "field" could be either an Item_field or (if loading into a view) an Item_direct_ref that references Item_field. Also: when iterating fields, use fields of the TABLE_LIST (table or view), not fields of a TABLE (actual underlying table - might have more columns).
-
Sergei Golubchik authored
-
- 15 Nov, 2014 1 commit
-
-
Alexey Botchkov authored
Fixed the case when a polygon contains a single-point ring.
-
- 14 Nov, 2014 2 commits
-
-
Rich Prohaska authored
-
Rich Prohaska authored
-
- 13 Nov, 2014 6 commits
-
-
Rich Prohaska authored
-
Rich Prohaska authored
-
Sergei Golubchik authored
correct the buffer boundary check
-
Sergei Golubchik authored
reset default fields not for every modified row, but only once, at the beginning, as the set of modified fields doesn't change. exception: INSERT ... ON DUPLICATE KEY UPDATE - the set of fields does change per row and in that case we reset default fields per row.
-
Sergey Petrunya authored
Backport to 5.3: - Don't call index_reader->interrupt_read() if the index reader has returned all rows that matched its keys.
-
Rich Prohaska authored
-
- 12 Nov, 2014 1 commit
-
-
Rich Prohaska authored
-