- 03 Nov, 2016 1 commit
-
-
Sergey Vojtovich authored
for InnoDB tables" Don't use thr_lock.c locks for InnoDB tables. Below is list of changes that were needed to implement this: - HANDLER OPEN acquireis MDL_SHARED_READ instead of MDL_SHARED - HANDLER READ calls external_lock() even if SE is not going to be locked by THR_LOCK - InnoDB lock wait timeouts are now honored which are much shorter by default than server lock wait timeouts (1 year vs 50 seconds) - with @@autocommit= 1 LOCK TABLES disables autocommit implicitely, though user still sees @@autocommt= 1 - the above starts implicit transaction - transactions started by LOCK TABLES are now rolled back on disconnect (previously everything was committed due to autocommit) - transactions started by LOCK TABLES are now rolled back by ROLLBACK (previously everything was committed due to autocommit) - it is now impossible to change BINLOG_FORMAT under LOCK TABLES (at least to statement) due to running transaction - LOCK TABLES WRITE is additionally handled by MDL - ...in contrast LOCK TABLES READ protection against DML is pure InnoDB - combining transactional and non-transactional tables under LOCK TABLES may cause rolled back changes in transactional table and "committed" changes in non-transactional table - user may disable innodb_table_locks, which will cause LOCK TABLES to be noop basically Removed tests for BUG#45143 and BUG#55930 which cover InnoDB + THR_LOCK. To operate properly these tests require code flow to go through THR_LOCK debug sync points, which is not the case after this patch. These tests are removed by WL#6671 as well. An alternative is to port them to different storage engine.
-
- 02 Nov, 2016 3 commits
-
-
Oleksandr Byelkin authored
(+ default values)
-
Darshan M N authored
Issue: ====== Currently the approach we take to find the chunk corresponding to a given pointer uses srv_buf_pool_chunk_unit based on the assumption that srv_buf_pool_chunk_unit is the total size of all pages in a buffer pool chunk. We first step back by srv_buf_pool_chunk_unit bytes and use std::map::upper_bound() to find the first chunk in the map whose key >= the resulting pointer. However, the real size of a chunk (and thus, the total size of its pages) may differ from the value configured with innodb_buffer_pool_chunk_size due to rounding up to the OS page size. So, in some cases the above logic gives us the wrong chunk. Fix: ==== We find out the chunk corresponding to the give pointer without using srv_buf_pool_chunk_unit. This is done by using std::map::upper_bound() to find the next chunk in the map which appears right after the pointer and decrementing the iterator, which would give us the chunk the pointer belongs to. Contribution by Alexey Kopytov. RB: 13347 Reviewed-by: Debarun Banerjee <debarun.banerjee@oracle.com>
-
Sergey Vojtovich authored
Let \H issue host name when connected to localhost via TCP/IP.
-
- 01 Nov, 2016 1 commit
-
-
Otto Kekäläinen authored
MDEV-6284 - Partially merge downstream Debian/Ubuntu packaging into upstream MariaDB
-
- 31 Oct, 2016 2 commits
-
-
Sergey Vojtovich authored
Clean-up nolock.h: it doesn't serve any purpose anymore. Appropriate code moved to x86-gcc.h and my_atomic.h. If gcc sync bultins were detected, we want to make use of them independently of __GNUC__ definition. E.g. XLC simulates those, but doesn't define __GNUC__. HS/Spider: According to AIX manual alloca() returns char*, which cannot be casted to any type with static_cast. Use explicit cast instead. MDL: Removed namemangling pragma, which didn't let MariaDB build with XLC. WSREP: _int64 seem to be conflicting name with XLC, replaced with _integer64. CONNECT: RTLD_NOLOAD is GNU extention. Removed rather meaningless check if library is loaded. Multiple dlopen()'s of the same library are permitted, and it never gets closed anyway. Except for error, which was a bug: it may close library, which can still be referenced by other subsystems. InnoDB: __ppc_get_timebase() is GNU extention. Only use it when __GLIBC__ is defined. Based on contribution by flynn1973.
-
Kristian Nielsen authored
-
- 29 Oct, 2016 2 commits
-
-
Otto Kekäläinen authored
The control file contents must be correct from the start and cannot be modified at build time by CMake. Also all static Debian package analyzers will fail to see all manipulations by CMake later on. It is best to do all manipulations like these in autobake-deb.sh.
-
Otto Kekäläinen authored
On systems with unix socket authentication root could run these without any special maintenance accounts.
-
- 28 Oct, 2016 2 commits
-
-
Otto Kekäläinen authored
-
Otto Kekäläinen authored
This will increase the speed of the build by a minute or two.
-
- 27 Oct, 2016 19 commits
-
-
Otto Kekäläinen authored
The build must stay under the Travis-CI 50 minute limit. Currently they often exceed, and the huge test suite is the single most long step in moving/packaging files, so remove it on Travis-CI automatically.
-
Otto Kekäläinen authored
-
Otto Kekäläinen authored
Also sort control file slightly to be easier to compare to downstream control file and include gdb for automatic backtraces if the test suite fails. Delete duplicate man page installation. Make mariadb-test breaks/replaces mariadb-server-5.5 as /usr/lib/mysql/plugin/adt_null.so changed package.
-
Otto Kekäläinen authored
Buildbot tries to create database 'test' so we need to have these Debian-only exceptions enabled and patch our own source at build time.
-
Otto Kekäläinen authored
-
Otto Kekäläinen authored
This version of Debian packaging does not yet install systemd scripts, so revert that part to the CMakeLists.txt based hack.
-
Otto Kekäläinen authored
-
Otto Kekäläinen authored
-
Otto Kekäläinen authored
-
Otto Kekäläinen authored
For Debian the rules file is the main makefile and assuming that a upstream makefile will mangle the Debian packaging files creates false alerts from static analysis tools and other problems.
-
Otto Kekäläinen authored
Also each package has it's own maintainer scripts to install and uninstall them.
-
Otto Kekäläinen authored
-
Otto Kekäläinen authored
-
Otto Kekäläinen authored
There is no need for a separate mariadb-test metapackage and a versioned mariadb-test-* package. Simply make it versionless and make it depend on the client and server packages that stem from same source version.
-
Otto Kekäläinen authored
These changes update the contents and behaviour of current packages to match the current packaging in Debian official repos. Keep mtr test scope small. Updating maintainer scripts also required regenerating the translations. Rules based on modern dh_* buildtools. Update control file with new Debian conventions: - Provide virtual-mysql-* virtual packages - Recommends perl modules instead of Depends
-
Otto Kekäläinen authored
-
Otto Kekäläinen authored
Compat level needs to match the debhelper version in Debian. Debian wheezy has 9, so there is no need to stay on ancient level 5.
-
Otto Kekäläinen authored
-
Alexander Barkov authored
made in 227510e0. We now use lex->last_field->interval_list directly instead.
-
- 25 Oct, 2016 2 commits
-
-
Jan Lindström authored
-
Alexey Botchkov authored
Item_bool fixed to behave smarter with NOT operation.
-
- 24 Oct, 2016 3 commits
-
-
Jan Lindström authored
MDEV-11039 - Add new scheduling algorithm for reducing tail latencies (for 10.2)
-
Jan Lindström authored
-
-
- 23 Oct, 2016 5 commits
-
-
Elena Stepanova authored
-
Elena Stepanova authored
-
sensssz authored
-
sensssz authored
-
sensssz authored
-