summaryrefslogtreecommitdiff
path: root/storage/xtradb/include/univ.i
Commit message (Collapse)AuthorAgeFilesLines
* Remove XtraDBMarko Mäkelä2017-06-211-706/+0
| | | | | | | | | | | | | | The XtraDB storage engine was already replaced by InnoDB and disabled in MariaDB Server 10.2. Let us remove it altogether to avoid dragging dead code around. Replace some references to XtraDB with references to InnoDB. rpl_get_position_info(): Remove. Remove the mysql-test-run --suite=percona, because it only contains tests specific to XtraDB, many of which were disabled already in earlier MariaDB versions.
* Merge 10.0 into 10.1Marko Mäkelä2017-05-201-10/+4
|\ | | | | | | | | | | Significantly reduce the amount of InnoDB, XtraDB and Mariabackup code changes by defining pfs_os_file_t as something that is transparently compatible with os_file_t.
| * Update xtradb and innodb version to 5.6.36Vicențiu Ciorbaru2017-05-181-1/+1
| |
| * Merge branch 'merge-xtradb-5.6' into 10.0Vicențiu Ciorbaru2017-05-171-9/+3
| |\
| | * 5.6.36-82.0Vicențiu Ciorbaru2017-05-161-9/+3
| | |
* | | MDEV-9566 Prepare xtradb for xtrabackupVladislav Vaintroub2017-04-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes are comparable to Percona's modifications in innodb in the Percona Xtrabackup repository. - If functions are used in backup as well as in innodb, make them non-static. - Define IS_XTRABACKUP() macro for special handling of innodb running inside backup. - Extend some functions for backup. fil_space_for_table_exists_in_mem() gets additional parameter 'remove_from_data_dict_if_does_not_exist', for partial backups fil_load_single_table_tablespaces() gets an optional parameter predicate which tells whether to load tablespace based on database or table name, also for partial backups. srv_undo_tablespaces_init() gets an optional parameter 'backup_mode' - Allow single redo log file (for backup "prepare") - Do not read doublewrite buffer pages in backup, they are outdated - Add function fil_remove_invalid_table_from_data_dict(), to remove non-existing tables from data dictionary in case of partial backups. - On Windows, fix file share modes when opening tablespaces, to allow mariabackup to read tablespaces while server is online. - Avoid access to THDVARs in backup, because innodb plugin is not loaded, and THDVAR would crash in this case.
* | | Merge 10.0 into 10.1Marko Mäkelä2017-04-211-20/+8
|\ \ \ | |/ /
| * | MDEV-12488 Remove type mismatch in InnoDB printf-like callsMarko Mäkelä2017-04-211-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a reduced version of an originally much larger patch. We will keep the definition of the ulint, lint data types unchanged, and we will not be replacing fprintf() calls with ib_logf(). On Windows, use the standard format strings instead of nonstandard extensions. This patch fixes some errors in format strings. Most notably, an IMPORT TABLESPACE error message in InnoDB was displaying the number of columns instead of the mismatching flags.
| * | MDEV-12534 Use atomic operations whenever availableMarko Mäkelä2017-04-201-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow 64-bit atomic operations on 32-bit systems, only relying on HAVE_ATOMIC_BUILTINS_64, disregarding the width of the register file. Define UNIV_WORD_SIZE correctly on all systems, including Windows. In MariaDB 10.0 and 10.1, it was incorrectly defined as 4 on 64-bit Windows. Define HAVE_ATOMIC_BUILTINS_64 on Windows (64-bit atomics are available on both 32-bit and 64-bit Windows platforms; the operations were unnecessarily disabled even on 64-bit Windows). MONITOR_OS_PENDING_READS, MONITOR_OS_PENDING_WRITES: Enable by default. os_file_n_pending_preads, os_file_n_pending_pwrites, os_n_pending_reads, os_n_pending_writes: Remove. Use the monitor counters instead. os_file_count_mutex: Remove. On a system that does not support 64-bit atomics, monitor_mutex will be used instead.
* | | Merge 10.0 into 10.1Marko Mäkelä2017-03-091-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | Also, implement MDEV-11027 a little differently from 5.5 and 10.0: recv_apply_hashed_log_recs(): Change the return type back to void (DB_SUCCESS was always returned). Report progress also via systemd using sd_notifyf().
| * | Update xtradb version to match the merged oneVicențiu Ciorbaru2017-03-051-1/+1
| | |
| * | Merge branch 'merge-xtradb-5.6' into 10.0Vicențiu Ciorbaru2017-03-051-1/+1
| |\ \ | | |/
| | * 5.6.35-80.0Vicențiu Ciorbaru2017-03-041-1/+1
| | |
* | | Remove an excessive copyright message.Marko Mäkelä2017-01-111-1/+0
| | |
* | | Merge 10.0 into 10.1Marko Mäkelä2017-01-111-1/+2
|\ \ \ | |/ /
| * | InnoDB: Enable UNIV_DEBUG_VALGRIND for cmake -DWITH_VALGRINDMarko Mäkelä2017-01-111-1/+2
| | | | | | | | | | | | | | | The symbol HAVE_VALGRIND_MEMCHECK_H was never defined. Instead, the symbol HAVE_VALGRIND should have been used.
* | | Merge branch '10.0' into 10.1Sergei Golubchik2016-12-111-2/+2
|\ \ \ | |/ /
| * | Merge branch 'merge/merge-xtradb-5.6' into 10.0Sergei Golubchik2016-12-041-2/+2
| |\ \ | | |/
| | * 5.6.34-79.1Sergei Golubchik2016-12-021-1/+1
| | |
* | | Merge branch '10.0-galera' into 10.1Sergei Golubchik2016-11-021-1/+1
|\ \ \ | |/ /
| * | Merge branch 'merge/merge-xtradb-5.6' into 10.0Sergei Golubchik2016-10-251-1/+1
| |\ \ | | |/ | | | | | | commented out the "compressed columns" feature
| | * 5.6.33-79.0Sergei Golubchik2016-10-251-1/+1
| | |
* | | Revert "Prepare XtraDB to be used with xtrabackup."Vladislav Vaintroub2016-10-231-1/+1
| | | | | | | | | | | | This reverts commit de5646f1a9aaf45f1b43d98623b40c95fb98ebce.
* | | Prepare XtraDB to be used with xtrabackup.Vladislav Vaintroub2016-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The changes are deliberately kept minimal - some functions are made global instead of static (they will be used in xtrabackup later on) - functions got additional parameter, deliberately unused for now : fil_load_single_tablespaces srv_undo_tablespaces_init - Global variables added, also unused for now : srv_archive_recovery srv_archive_recovery_limit_lsn srv_apply_log_only srv_backup_mode srv_close_files - To make xtrabackup link with sql.lib on Windows, added some missing source files to sql.lib - Fixed os_thread_ret_t to be DWORD on Windows
* | | Merge branch '10.0' into 10.1Sergei Golubchik2016-09-281-2/+2
|\ \ \ | |/ /
| * | Merge branch 'merge/merge-xtradb-5.6' into 10.0Sergei Golubchik2016-09-271-2/+2
| |\ \ | | |/
| | * 5.6.32-78.1Sergei Golubchik2016-09-271-1/+1
| | |
* | | Merge branch '10.0' into 10.1Sergei Golubchik2016-08-251-6/+7
|\ \ \ | |/ /
| * | Merge branch 'merge/merge-xtradb-5.6' into 10.0Sergei Golubchik2016-08-101-6/+7
| |\ \ | | |/ | | | | | | 5.6.31-77.0
| | * 5.6.31-77.0Sergei Golubchik2016-08-101-5/+5
| | |
* | | Merge branch '10.0' into 10.1Sergei Golubchik2016-06-281-2/+2
|\ \ \ | |/ /
| * | Merge branch 'merge-xtradb-5.6' into 0.0Sergei Golubchik2016-06-211-2/+2
| |\ \ | | |/
| | * 5.6.30-76.3Sergei Golubchik2016-06-211-1/+1
| | |
* | | Merge branch '10.0' into 10.1Sergei Golubchik2016-05-041-2/+2
|\ \ \ | |/ /
| * | Merge branch 'merge-xtradb-5.6' into 10.0Sergei Golubchik2016-04-261-2/+2
| |\ \ | | |/ | | | | | | 5.6.29-76.2
| | * 5.6.29-76.2Sergei Golubchik2016-04-261-1/+1
| | |
* | | Merge branch '10.0' into 10.1Sergei Golubchik2016-02-231-2/+2
|\ \ \ | |/ /
| * | Merge branch 'merge-xtradb-5.6' into 10.0Sergei Golubchik2016-02-161-2/+2
| |\ \ | | |/
| | * 5.6.28-76.1Sergei Golubchik2016-02-161-1/+1
| | |
* | | Merge branch '10.0' into 10.1Sergei Golubchik2015-12-211-1/+1
|\ \ \ | |/ /
| * | Merge branch 'merge/merge-xtradb-5.6' into 10.0Sergei Golubchik2015-12-131-1/+1
| |\ \ | | |/
| | * 5.6.27-76.0Sergei Golubchik2015-12-131-1/+1
| | |
* | | MDEV-9040: 10.1.8 fails after upgrade from 10.0.21Jan Lindström2015-11-051-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Analysis: Lengths which are not UNIV_SQL_NULL, but bigger than the following number indicate that a field contains a reference to an externally stored part of the field in the tablespace. The length field then contains the sum of the following flag and the locally stored len. This was incorrectly set to define UNIV_EXTERN_STORAGE_FIELD (UNIV_SQL_NULL - UNIV_PAGE_SIZE_MAX) When it should be define UNIV_EXTERN_STORAGE_FIELD (UNIV_SQL_NULL - UNIV_PAGE_SIZE_DEF) Additionally, we need to disable support for > 16K page size for row compressed tables because a compressed page directory entry reserves 14 bits for the start offset and 2 bits for flags. This limits the uncompressed page size to 16k. To support larger pages page directory entry needs to be larger.
* | | Merge branch '10.0' into 10.1Sergei Golubchik2015-10-121-2/+3
|\ \ \ | |/ /
| * | fixes for buildbot:Sergei Golubchik2015-10-101-0/+1
| | | | | | | | | | | | | | | * update *.result files * fix XtraDB for Windows (again)
| * | Merge branch 'merge-xtradb-5.6' into 10.0Sergei Golubchik2015-10-091-2/+2
| |\ \ | | |/
| | * 5.6.26-74.0Sergei Golubchik2015-10-091-1/+1
| | |
* | | Merge branch '10.0' into 10.1Sergei Golubchik2015-09-031-2/+2
|\ \ \ | |/ / | | | | | | | | | referenced_by_foreign_key2(), needed for InnoDB to compile, was taken from 10.0-galera
| * | Merge branch 'merge-xtradb-5.6' into 10.0Sergei Golubchik2015-08-031-2/+2
| |\ \ | | |/ | | | | | | XtraDB 5.6.25-73.1
| | * 5.6.25-73.1Sergei Golubchik2015-08-011-1/+1
| | |