- 07 Apr, 2017 7 commits
-
-
Marko Mäkelä authored
Also, merge some test changes from MySQL 5.7.10, for deprecating innodb_support_xa.
-
Sergei Golubchik authored
because on Windows it cannot properly append to the file, doesn't use CreateFile(..., FILE_APPEND_DATA, ...) this fixes main.shutdown failures on Windows
-
Sergei Golubchik authored
-
Sergei Golubchik authored
Annotate_rows_log_event again. When a new annotate event comes, the server applies it first (which backs up thd->query_string), then frees the old annotate event, if any. Normally there isn't. But with sub-statements (e.g. triggers) new annotate event comes before the first one is freed, so the second event backs up thd->query_string that was set by the first annotate event. Then the first event is freed, together with its query string. And then the second event restores thd->query_string to this freed memory. Fix: free old annotate event before applying the new one.
-
Sergei Golubchik authored
Annotate_rows_log_event should always restore thd->query_string if it was backed up. Even if the backed up value is NULL.
-
Sergei Golubchik authored
automatic shortening of a too-long non-unique key should be not a warning, but a note. It's a normal optimization, doesn't affect correctness, and should never be converted to an error, no matter how strict sql_mode is.
-
Vladislav Vaintroub authored
to fix build on Win64
-
- 06 Apr, 2017 17 commits
-
-
Vladislav Vaintroub authored
in MYSQL_ADD_PLUGIN, do not add TARGET_LINK_LIBRARIES twice for the LINK_LIBRARIES parameter It is usually harmless to add libraries twice. However, aws_key_management uses -Wl,-whole-archive to workaround linker issues on Linux If libraries are added twice with whole-archive, linking will fail complaining about duplicate symbols
-
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 6 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
-