- 14 Dec, 2017 7 commits
-
-
Aleksey Midenkov authored
-
Aleksey Midenkov authored
-
Aleksey Midenkov authored
-
Eugene Kosov authored
Merge branch '10.3' into trunk
-
Eugene Kosov authored
-
Eugene Kosov authored
-
Aleksey Midenkov authored
-
- 13 Dec, 2017 6 commits
-
-
Aleksey Midenkov authored
-
Aleksey Midenkov authored
-
Eugene Kosov authored
MDEV-14632 Assertion `!((new_col->prtype ^ col->prtype) & ~256U)' failed in row_log_table_apply_convert_mrec SQL: add exclusive lock to ADD/DROP SYSTEM VERSIONING clauses This is needed because Online DDL is not working yet for such queries.
-
Aleksey Midenkov authored
-
Aleksey Midenkov authored
-
Sergey Vojtovich authored
Instead of updating global counter, calculate Threads_running on the fly. All threads having command != COM_SLEEP are included. Behaviour changes: Previously SHOW STATUS and SHOW GLOBAL STATUS returned the same values representing global status. Now SHOW STATUS always returns 1 indicating that current session has 1 thread running. Previously only threads that were executing dispatch_command() or running events were accounted by Threads_running. Now it is rough equivalent of SELECT COUNT(*) FROM INFORMATION_SCHEMA.PROCESSLIST WHERE state!='Sleep'
-
- 12 Dec, 2017 17 commits
-
-
Eugene Kosov authored
SQL: remove unneeded assertion SQL: disallow set sys_trx fields in INSERT ... SELECT Fixes by @midenok.
-
Eugene Kosov authored
Cleaned up by @midenok.
-
Jacob Mathew authored
-
Eugene Kosov authored
-
Aleksey Midenkov authored
-
Aleksey Midenkov authored
-
Aleksey Midenkov authored
-
Monty authored
The problem was that multi_range_read_info_const() called multi_range_key_create_key() which changed m_part_spec.start_part, while there was an activ table scan ongoing. Fixed by copying and restoring m_part_spec around multi_range_key_create_calls()
-
Eugene Kosov authored
SQL: disallow ADD SYSTEM VERSIONING for system-versioned tables
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Sergei Petrunia authored
Part #2: Take into accont the fact that three binary collations that we handle are technically NOPAD collations
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Varun Gupta authored
-
- 11 Dec, 2017 10 commits
-
-
Sergei Petrunia authored
Disallow use of NOPAD collations in indexed columns.
-
Eugene Kosov authored
-
Vladislav Vaintroub authored
first, and we do not not care whether client has received all data. This is a TCP optimization to avoid TIME_WAIT in TCP connection teardown. This patch would abort connection on timeout, which usually happens when client reads a large result set, at slower pace then the server can write. The patch also cleans up socket timeout handling, so that Windows is consistent with another platforms (using nonblocking socket IO + waiting in poll/select on single socket, rather than setsockopt). This makes identifying timeouts easier. Also removed the superficial shutdown() before closesocket() in a few places where it was used, because it was never needed , and reportedly breaks SO_LINGER on Windows.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Aleksey Midenkov authored
Merge branch '10.3' into trunk
-
Marko Mäkelä authored
When the transaction isolation level is SERIALIZABLE, or when a locking read is performed in the REPEATABLE READ isolation level, InnoDB must lock delete-marked records in order to prevent another transaction from inserting something. However, at READ UNCOMMITTED or READ COMMITTED isolation level or when the parameter innodb_locks_unsafe_for_binlog is set, the repeatability of the reads does not matter, and there is no need to lock any records. row_search_mvcc(): Skip locks on delete-marked committed records upfront, instead of invoking row_unlock_for_mysql() afterwards. The unlocking never worked for secondary index records.
-
Marko Mäkelä authored
dict_stats_rename_table(): After DB_LOCK_WAIT_TIMEOUT or DB_DUPLICATE_KEY, reset the trx->error_state before retrying. Also, properly treat DB_DEADLOCK as a hard error.
-
Marko Mäkelä authored
-
Sergei Petrunia authored
Part #2: Adjust other parts of testsuite to take into account that RocksDB files are in "#rocksdb" now.
-