- 18 Aug, 2016 1 commit
-
-
Sergey Vojtovich authored
Based on contributions by Daniel Black and Otto Kekäläinen.
-
- 08 Aug, 2016 2 commits
-
-
Nirbhay Choubey authored
.. logged under row binlog format In the early stages of ALTER TABLE execution, the implementation checks whether its a NOOP (alter_info->flags == 0), and if so, it returns after logging the command to binary log. The logging, however, was done unconditionally. Fixed by skipping the logging for temporary tables when under row based replication.
-
Nirbhay Choubey authored
.. share->last_version' failed in myisam/mi_open.c:67: test_if_reopen During the RENAME operation since the renamed temporary table is also opened and added to myisam_open_list/maria_open_list, resetting the last_version at the end of operation (HA_EXTRA_PREPARE_FOR_RENAME) will cause an assertion failure when a subsequent query tries to open an additional temporary table instance and thus attempts to reuse it from the open table list. This commit fixes the issue by skipping flush/close operations executed toward the end of ALTER for temporary tables. It also enables a shortcut for simple ALTERs (like rename, disable/enable keys) on temporary tables. As safety checks, added some assertions at code points that should not be hit for temporary tables.
-
- 05 Aug, 2016 4 commits
-
-
Daniel Black authored
Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
Anton Blanchard authored
This is never hit in practice, because the wrapper code catches it, but fix the zero length exit to restore all the non volatile registers. From: https://github.com/antonblanchard/crc32-vpmsum/commit/aaf0ac48a401abfaa0ad2d520be755e66c1e2e95Signed-off-by: Anton Blanchard <anton@samba.org>
-
Daniel Black authored
These are different from the existing crc32 functions which where really crc32c.
-
Daniel Black authored
-
- 04 Aug, 2016 1 commit
-
-
Sergey Vojtovich authored
Move crc32-vpmsum to extra. Compile static crc32-vpmsum instead of adding sources directly. Make use of crc32-vpmsum via my_checksum(). Based on contribution by Daniel Black.
-
- 03 Aug, 2016 2 commits
-
-
Oleksandr Byelkin authored
Table before collecting engine independent statistics now is reopened in read mode, InnoDB allow write operations in this case.
-
Nirbhay Choubey authored
The memory alloc-ed initially for wsrep_sst_auth to store the value specified in config was lost as the global variable was reset while in process of masking it and thus, could never be reclaimed on shutdown.
-
- 30 Jul, 2016 3 commits
-
-
Nirbhay Choubey authored
-
Nirbhay Choubey authored
-
Nirbhay Choubey authored
-
- 25 Jul, 2016 1 commit
-
-
Kristian Nielsen authored
Make the slave SQL thread always output to the error log the message "Slave SQL thread exiting, replication stopped in ..." whenever it previously outputted "Slave SQL thread initialized, starting replication ...". Before this patch, it was somewhat inconsistent in which cases the message would be output and in which not, depending on the exact time and cause of the condition that caused the SQL thread to stop.
-
- 21 Jul, 2016 1 commit
-
-
Sergey Vojtovich authored
buildbot) Updated test results according to MDEV-6720.
-
- 04 Jul, 2016 2 commits
-
-
Oleksandr Byelkin authored
Reduce number of network send() calls for batch update requests
-
Daniel Bartholomew authored
-
- 03 Jul, 2016 1 commit
-
-
Alexander Barkov authored
Adding Converter_double_to_longlong and reusing it in: 1. Field_longlong::store(double nr) 2. Field_double::val_int() 3. Item::val_int_from_real() 4. Item_dyncol_get::val_int() As a good side efferct, now overflow in conversion in the mentioned val_xxx() methods return exactly the same warning.
-
- 02 Jul, 2016 4 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
include the dropped object type
-
Elena Stepanova authored
-
Elena Stepanova authored
- 12d75e61 - new thread stack size - 99e48cb1 - warning text changed - 6c173324 - default values for BLOBs - c87e002b - don't return a negative zero
-
- 01 Jul, 2016 6 commits
-
-
Sergei Golubchik authored
this is useless now, flags are recalculated on load anyway. But storing flags on disk means we cannot easily change (add, remove, or renumber) them in the new MariaDB version.
-
Sergei Golubchik authored
because table->map is set much later. Use check_vcol_func_processor() to detect fields too.
-
Sergei Golubchik authored
-
Alexander Barkov authored
"thd" is available through the "table" argument, as table->in_use.
-
Sergei Golubchik authored
Restore the fix from the commit 99cd5a96 that was lost in a merge.
-
Nirbhay Choubey authored
-
- 30 Jun, 2016 12 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
it's not enough to look for NOT NULL IS, this also fails queries like SELECT NOT NULL <=> NULL; and adds no value anymore, as the grammar now requires parentheses
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
* remove a confusing method name - Field::set_default_expression() * remove handler::register_columns_for_write() * rename stuff * add asserts * remove unlikely unlikely * remove redundant if() conditions * fix mark_unsupported_function() to report the most important violation * don't scan vfield list for default values (vfields don't have defaults) * move handling for DROP CONSTRAINT IF EXIST where it belongs * don't protect engines from Alter_inplace_info::ALTER_ADD_CONSTRAINT * comments
-
Sergei Golubchik authored
-
Sergei Golubchik authored
make it return same errors on CREATE as CREATE ... ( ... DEFAULT const ... )
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
the error should be "subselect is not allowed here", same as for DEFAULT ((SELECT 1))
-