- 06 Apr, 2017 16 commits
-
-
Vladislav Vaintroub authored
use CMAKE_CXX_STANDARD to set C++11 flags with CMake 3.1+ (apples flags are somehow different from standard clang) port htonbe16/32/64 macros for rocksdb use reinterpret_cast<size_t> to cast macOS's pthread_t (pointer type) to size_t , for rocksdb
-
Igor Babaev authored
When a CTE referring to another CTE from the same with clause was used twice then the server could not find the second CTE and reported a bogus error message. This happened because for any unit that was created as a clone of a CTE specification the pointer to the WITH clause that owned this CTE was not set.
-
Daniel Black authored
-
Daniel Black authored
-
Daniel Black authored
-
Daniel Black authored
-
Daniel Black authored
-
Daniel Black authored
Mroonga generated far too many warnings (and hence output) for Travis's sensibilities on output log file size. So we just remove the storage engine. Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
Daniel Black authored
Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
Daniel Black authored
-
Daniel Black authored
Additionally use clang as a compiler, versions 3.8, 3.9 and 4.0 Additionally use gcc/g++-7 Add additional packages used by build now that they are whitelisted. - libsnappy-dev - innodb compression - liblzma-dev - innodb compression - libzmq-dev - used my Mgoonga - libdistro-info-perl - used by autobake-debian Change to a container build as they tend to have more ram Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
they might not be able to load after this.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
ha_innobase::defragment_table(): Skip corrupted indexes and FULLTEXT INDEX. In InnoDB, FULLTEXT INDEX is implemented with auxiliary tables. We will not defragment them on OPTIMIZE TABLE.
-
Marko Mäkelä authored
-
- 05 Apr, 2017 10 commits
-
-
Oleksandr Byelkin authored
An attempt to mark reference as dependent lead to transfering this property to original view field and through it to other references of this field which can't be dependent.
-
Daniel Bartholomew authored
-
Marko Mäkelä authored
buf_dblwr_create(): Remove a bogus check for the buffer pool size. Theoretically, there is no problem if the doublewrite buffer is larger than the buffer pool. It could only cause trouble on crash recovery, and on recovery the doublewrite buffer is read to a buffer that is allocated outside of the buffer pool. Moreover, this check was only performed when the database was initialized for the first time. On a normal startup, buf_dblwr_init() would not enforce any rule on the innodb_buffer_pool_size. Furthermore, in case of an error, commit the mini-transaction in order to avoid an assertion failure on shutdown. Yes, this will leave the doublewrite buffer in a corrupted stage, but the doublewrite buffer should only be initialized when the data files are being initialized from the scratch in the first place.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
Also, revert part of MDEV-7685 that added an InnoDB abort when ALTER TABLE…ALGORITHM=INPLACE is reporting that it ran out of file space.
-
Jan Lindström authored
Merge pull request https://github.com/MariaDB/server/pull/343 contributed by Eric Herman.
-
Marko Mäkelä authored
buf_load(): When the file cannot be opened for reading, issue a note, not an error message.
-
Jan Lindström authored
xtradb: fil_crypt_rotate_page, space_id should be compared to TRX_SYS_SPACE
-
Daniel Black authored
like 9a218f4f fil_crypt_rotate_page - space_id should be compared to TRX_SYS_SPACE not space Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
Jan Lindström authored
fil_crypt_rotate_page - space_id should be compared to TRX_SYS_SPACE not space
-
- 04 Apr, 2017 9 commits
-
-
Sergei Petrunia authored
-
Vladislav Vaintroub authored
debug build with older cmake. The constant is implicitely defined by VS when chosen C runtime is Debug (/MTd, MDd). CMake does not define it since https://public.kitware.com/Bug/view.php?id=15777 was fixed. We remove it from compile flags, to be able to build Debug with /MT runtime using older cmakes.
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Vladislav Vaintroub authored
Also do not use BUILD_BYPRODUCTS in ExternalPeoject for older cmake
-
Daniel Black authored
Fixes compile error that highlights problem: /source/storage/innobase/fil/fil0crypt.cc: In function 'void fil_crypt_rotate_page(const key_state_t*, rotate_thread_t*)': /source/storage/innobase/fil/fil0crypt.cc:1770:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (space == TRX_SYS_SPACE && offset == TRX_SYS_PAGE_NO) { Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
Marko Mäkelä authored
-
- 03 Apr, 2017 5 commits
-
-
Igor Babaev authored
The patch actually fixes the old defect of the optimizer that could not extract keys for range access from IN predicates with row arguments. This problem was resolved in the mysql-5.7 code. The patch supersedes what was done there: - it can build range access when not all components of the first row argument are refer to the columns of the table for which the range access is constructed. - it can use equality predicates to build range access to the table that is not referred to in this argument.
-
Marko Mäkelä authored
Also, some MDEV-11738/MDEV-11581 post-push fixes. In MariaDB 10.1, there is no fil_space_t::is_being_truncated field, and the predicates fil_space_t::stop_new_ops and fil_space_t::is_stopping() are interchangeable. I requested the fil_space_t::is_stopping() to be added in the review, but some added checks for fil_space_t::stop_new_ops were not replaced with calls to fil_space_t::is_stopping(). buf_page_decrypt_after_read(): In this low-level I/O operation, we must look up the tablespace if it exists, even though future I/O operations have been blocked on it due to a pending DDL operation, such as DROP TABLE or TRUNCATE TABLE or other table-rebuilding operations (ALTER, OPTIMIZE). Pass a parameter to fil_space_acquire_low() telling that we are performing a low-level I/O operation and the fil_space_t::is_stopping() status should be ignored.
-
Vladislav Vaintroub authored
To export symbols from the mysqld.exe, use lib.exe with /DEF, rather than pre-link step when building mysqld.exe. This helps to avoid relinking all plugins, if mysqld.exe was recompiled but the list of its exports has not changed. Also removed unnecessary DEPENDS in some ADD_CUSTOM_COMMAND (gen_lex_token, gen_lex_hash etc). They confuse VS generator which tends to recreate headers and do unnecessary recompilations.
-
Vladislav Vaintroub authored
We do not use it now, but there is still no reason to break compilation for other users.
-
Sergei Petrunia authored
-