- 30 Sep, 2017 8 commits
-
-
Jacob Mathew authored
Contains Spiral patches: - Spiral Patch 006: 006_mariadb-10.2.0.direct_update_rows.diff MDEV-7704 - Spiral Patch 008: 008_mariadb-10.2.0.partition_direct_update.diff MDEV-7706 - Spiral Patch 010: 010_mariadb-10.2.0.direct_update_rows2.diff MDEV-7708 - Spiral Patch 011: 011_mariadb-10.2.0.aggregate.diff MDEV-7709 - Spiral Patch 027: 027_mariadb-10.2.0.force_bulk_update.diff MDEV-7724 - Spiral Patch 061: 061_mariadb-10.2.0.mariadb-10.1.8.diff MDEV-12870 - Add support for direct update and direct delete requests. A direct update/delete request handles all qualified rows in a single operation, rather than one row at a time. - This patch has the following differences compared to the original patch: - Most of the parameters of the new functions are unnecessary. The unnecessary parameters have been removed. - Changed bit positions for new handler flags upon consideration of handler flags not needed by other Spiral patches.
-
Jacob Mathew authored
Contains Spiral patches: - Spiral Patch 039: 039_mariadb-10.2.0.child_partition_pruning.diff MDEV-7735 - Spiral Patch 047: 047_mariadb-10.2.0.child_partition_pruning2.diff MDEV-7743
-
Jacob Mathew authored
- Fix index scan cleanup in the partition engine.
-
Jacob Mathew authored
052_mariadb-10.2.0.add_partition_skip_pk_sort_for_non_clustered_index.diff MDEV-7748 - Option to skip primary key sorting if engine doesn't have clustered index. - This commit has the following difference compared to the original patch: - Added test case.
-
Jacob Mathew authored
Contains Spiral patches: - Spiral Patch 022: 022_mariadb-10.2.0.auto_increment.diff MDEV-7720 - Spiral Patch 030: 030_mariadb-10.2.0.partition_auto_inc_init.diff MDEV-7726 These patches have the following differences compared to the original patches: - Added the new #defines for the feature in ha_spider.h instead of in handler.h because these #defines are needed by Spider and are not needed by the server. - Added a test case. - Added test result changes resulting from a bug that was fixed by these patches.
-
Jacob Mathew authored
Contains Spiral patches: - Spiral Patch 021: 021_mariadb-10.2.0.merge_table.diff MDEV-7719 - Changes for identifying MyISAM Merge child tables that can be merged. - This patch has the following differences compared to the original patch: - Changed bit positions for handlerton flags to eliminate conflicts with flags merged from MySQL. - Spiral Patch 048: 048_mariadb-10.2.0.vp_partition.diff MDEV-7744 - Check and set the partition bitmap. - Spiral Patch 054: 054_mariadb-10.2.0.for_vp_pruning.diff MDEV-7750 - Support for vertical partition pruning. - Spiral Patch 055: 055_mariadb-10.2.0.for_vp_same_columns.diff MDEV-13000 - Support for MERGE tables in the vertical partition engine. - Spiral Patch 056: 056_mariadb-10.2.0.partition_top_table_fields.diff MDEV-12970 - Push down to each partition the table and fields of a vertical partition that are mapped to local table fields. - Spiral Patch 060: 060_mariadb-10.2.0.partition_reset_top_table_fields.diff MDEV-12971 - Completion of functionality to push down to each partition the table and fields of a vertical partition that are mapped to local table fields.
-
Jacob Mathew authored
Contains Spiral patches: - Spiral Patch 007: 007_mariadb-10.2.0.partition_fulltext.diff MDEV-7705 - Spiral Patch 038: 038_mariadb-10.2.0.partition_fulltext2.diff MDEV-7734 - This commit has the following differences compared to the original patches: - Added necessary full text search cleanup at the storage engine layer that was omitted in the original patch. - Added test case.
-
Jacob Mathew authored
- Support for bulk access in the partition engine. - This patch has the following differences compared to the original patch: - Changed bit position for the HA_CAN_BULK_ACCESS partition handler flag. - Omitted the parts of the patch that pertain to direct update and direct delete, which are a different feature. The omitted changes will be committed as part of the direct update/delete feature.
-
- 05 Jul, 2017 2 commits
-
-
Monty authored
Other things: - Cleanup of allocated bitmaps done in open(), which simplifies init_partition_bitmaps() - Add needed defines in ha_spider.cc to enable new spider code - Fixed some DBUG_PRINT() to be consistent with normal code - Removed end space Contains spider patches: 014,015,023,033,035,037,040,042,044,045,049,050,051,053,059
-
Monty authored
Allow partition engines to access table->s->connect_string for engines that uses HTON_CAN_READ_CONNECT_STRING_IN_PARTITION Don't reset table->s->connect_string in ha_partition::open
-
- 18 Jan, 2017 13 commits
-
-
Monty authored
- Support HA_EXTRA_ADD_CHILDREN_LIST,HA_EXTRA_ATTACH_CHILDREN, HA_EXTRA_IS_ATTACHED_CHILDREN and HA_EXTRA_DETACH_CHILDREN in partition handler for handlers that has HA_CAN_MULTISTEPL_MERGE flag - Added HA_CAN_MULTISTEPL_MERGE to MERGE handler. - Added handler::get_child_handlers() - Change m_num_lock to contain total number of locks. This was needed as we now adjust number of locks when extra(HA_EXTRA_ATTACH_CHILDREN) is called.
-
Monty authored
Now all tests spider tests are passing for me
-
Monty authored
- Enable HA_EXTRA_WRITE_CAN_REPLACE and HA_EXTRA_WRITE_CANNOT_REPLACE for partition engine.
-
Monty authored
- Added cond_push() and cond_pop() to ha_partition.cc
-
Monty authored
013_mariadb-10.0.15.vp_handler.diff 034_mariadb-10.0.15.vp_handler2.diff 005_mariadb-10.0.15.hs.diff 041_mariadb-10.0.15.vp_handler2.diff + Fixes from Kentoku + Added handler/suite.pm and handler/suite.opt to be able to run test cases in spider/handler
-
Sergei Petrunia authored
Remove the testcase. It turns out, the crash still happens, just not on all platforms.
-
Oleksandr Byelkin authored
-
Marko Mäkelä authored
innodb_file_format=Barracuda is the default in MariaDB 10.2. Do not set it, because the option will be removed in MariaDB 10.3. Also, do not set innodb_file_per_table=1 because it is the default. Note that MDEV-11828 should fix the test innodb.innodb-64k already in 10.1.
-
Marko Mäkelä authored
When MySQL 5.7.9 (and MariaDB Server 10.2) introduced innodb_default_row_format and made ROW_FORMAT=DYNAMIC the default, it became possible to create any ROW_FORMAT tables in the InnoDB system tablespace, except ROW_FORMAT=COMPRESSED. In MySQL 5.7, it is possible to create ROW_FORMAT=DYNAMIC tables when TABLESPACE=innodb_system is explicitly specified. Because MariaDB Server 10.2 does not support the MySQL 5.7 TABLESPACE=innodb_system attribute for tables, we should allow ROW_FORMAT=DYNAMIC when innodb_file_per_table=0. Also, remove the test innodb_zip.innodb-create-options, which was an outdated copy of innodb_zip.create_options.
-
Marko Mäkelä authored
MySQL 5.7 allows temporary tables to be created in ROW_FORMAT=COMPRESSED. The usefulness of this is questionable. WL#7899 in MySQL 8.0.0 prevents the creation of such compressed tables, so that all InnoDB temporary tables will be located inside the predefined InnoDB temporary tablespace. Pick up and adjust some tests from MySQL 5.7 and 8.0. dict_tf_to_fsp_flags(): Remove the parameter is_temp. fsp_flags_init(): Remove the parameter is_temporary. row_mysql_drop_temp_tables(): Remove. There cannot be any temporary tables in InnoDB. (This never removed #sql* tables in the datadir which were created by DDL.) dict_table_t::dir_path_of_temp_table: Remove. create_table_info_t::m_temp_path: Remove. create_table_info_t::create_options_are_invalid(): Do not allow ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE for temporary tables. create_table_info_t::innobase_table_flags(): Do not unnecessarily prevent CREATE TEMPORARY TABLE with SPATIAL INDEX. (MySQL 5.7 does allow this.) fil_space_belongs_in_lru(): The only FIL_TYPE_TEMPORARY tablespace is never subjected to closing least-recently-used files.
-
Marko Mäkelä authored
MySQL 5.7 introduced partial support for user-created shared tablespaces (for example, import and export are not supported). MariaDB Server does not support tablespaces at this point of time. Let us remove most InnoDB code and data structures that is related to shared tablespaces.
-
Marko Mäkelä authored
The MariaDB 10.1 page_compression is incompatible with the Oracle implementation that was introduced in MySQL 5.7 later. Remove the Oracle implementation. Also remove the remaining traces of MYSQL_ENCRYPTION. This will also remove traces of PUNCH_HOLE until it is implemented better. The only effective call to os_file_punch_hole() was in fil_node_create_low() to test if the operation is supported for the file. In other words, it looks like page_compression is not working in MariaDB 10.2, because no code equivalent to the 10.1 os_file_trim() is enabled.
-
Marko Mäkelä authored
MariaDB will likely never support MySQL-style encryption for InnoDB, because we cannot link with the Oracle encryption plugin. This is preparation for merging MDEV-11623.
-
- 17 Jan, 2017 4 commits
-
-
Sergei Petrunia authored
Added testcase
-
Marko Mäkelä authored
-
Marko Mäkelä authored
The INFORMATION_SCHEMA view INNODB_TEMP_TABLE_INFO was added to MySQL 5.7 as part of the work to implement temporary tables without any redo logging. The only use case of this view was SELECT COUNT(*) in some tests, to see how many temporary tables exist in InnoDB. The columns do not report much useful information. For example, the table name would not be the user-specified table name, but a generated #sql name. Also, the session that created the table is not identified.
-
Marko Mäkelä authored
-
- 12 Jan, 2017 3 commits
-
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
Test crash recovery from an encrypted redo log with innodb_encrypt_log=0. Previously, we did a clean shutdown, so only the log checkpoint information would have been read from the redo log. With this change, we will be reading and applying encrypted redo log records. include/start_mysqld.inc: Observe $restart_parameters. encryption.innodb-log-encrypt: Remove some unnecessary statements, and instead of restarting the server and concurrently accessing the files while the server is running, kill the server, check the files, and finally start up the server. innodb.log_data_file_size: Use start_mysqld.inc with $restart_parameters.
-
- 11 Jan, 2017 10 commits
-
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
The symbol HAVE_VALGRIND_MEMCHECK_H was never defined. Instead, the symbol HAVE_VALGRIND should have been used.
-
Monty authored
- Changed error handlers interface so that they can change error level in the handler - Give warnings and errors when calculating virtual columns - On insert/update error is fatal in strict mode. - SELECT and DELETE will only give a warning if a virtual field generates an error - Added VCOL_UPDATE_FOR_DELETE and VCOL_UPDATE_INDEX_FOR_REPLACE to be able to easily detect in update_virtual_fields() if we should use an error handler to mask errors or not.
-
Monty authored
Problem was that one internal record buffer in MYISAM was not big enough to handle virtual fields. Fixed by extending buffer. Fixed test case to 79 characters
-
Monty authored
Issue was that the m_prebuilt array was reused without resetting a counter, which caused a memory overrun. Adjusted test case to 79 characters
-
Monty authored
-
Monty authored
MDEV-11598 Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' failed Found and fixed 2 problems: - Filesort addon fields didn't mark virtual columns properly - multi-range-read calculated vcol bitmap but was not using it. This caused wrong vcol field to be calculated on read, which caused the assert.
-
Monty authored
- rpl_gtid_stop_start: Random failure - sysvars_innodb,32bit: Fixes for 32 bit
-