summaryrefslogtreecommitdiff
path: root/sql/discover.h
Commit message (Collapse)AuthorAgeFilesLines
* Added support for more functions when using partitioned S3 tablesMonty2020-04-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MDEV-22088 S3 partitioning support All ALTER PARTITION commands should now work on S3 tables except REBUILD PARTITION TRUNCATE PARTITION REORGANIZE PARTITION In addition, PARTIONED S3 TABLES can also be replicated. This is achived by storing the partition tables .frm and .par file on S3 for partitioned shared (S3) tables. The discovery methods are enchanced by allowing engines that supports discovery to also support of the partitioned tables .frm and .par file Things in more detail - The .frm and .par files of partitioned tables are stored in S3 and kept in sync. - Added hton callback create_partitioning_metadata to inform handler that metadata for a partitoned file has changed - Added back handler::discover_check_version() to be able to check if a table's or a part table's definition has changed. - Added handler::check_if_updates_are_ignored(). Needed for partitioning. - Renamed rebind() -> rebind_psi(), as it was before. - Changed CHF_xxx hadnler flags to an enum - Changed some checks from using table->file->ht to use table->file->partition_ht() to get discovery to work with partitioning. - If TABLE_SHARE::init_from_binary_frm_image() fails, ensure that we don't leave any .frm or .par files around. - Fixed that writefrm() doesn't leave unusable .frm files around - Appended extension to path for writefrm() to be able to reuse to function for creating .par files. - Added DBUG_PUSH("") to a a few functions that caused a lot of not critical tracing.
* Merge 10.2 into 10.3Marko Mäkelä2019-05-141-1/+1
|\
| * Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-111-1/+1
| |\
| | * Update FSF AddressVicențiu Ciorbaru2019-05-111-1/+1
| | | | | | | | | | | | * Update wrong zip-code
* | | Enusure that my_global.h is included firstMichael Widenius2017-08-241-2/+0
|/ / | | | | | | | | | | | | | | | | | | - Added sql/mariadb.h file that should be included first by files in sql directory, if sql_plugin.h is not used (sql_plugin.h adds SHOW variables that must be done before my_global.h is included) - Removed a lot of include my_global.h from include files - Removed include's of some files that my_global.h automatically includes - Removed duplicated include's of my_sys.h - Replaced include my_config.h with my_global.h
* | 10.0-monty mergeSergei Golubchik2013-07-211-0/+8
|\ \ | |/ | | | | | | | | | | | | includes: * remove some remnants of "Bug#14521864: MYSQL 5.1 TO 5.5 BUGS PARTITIONING" * introduce LOCK_share, now LOCK_ha_data is strictly for engines * rea_create_table() always creates .par file (even in "frm-only" mode) * fix a 5.6 bug, temp file leak on dummy ALTER TABLE
* | post-review comments and other minor editsSergei Golubchik2013-04-091-1/+1
| |
* | CREATE TABLE and frm-less discovering engines.Sergei Golubchik2013-04-091-4/+4
| | | | | | | | | | Now CREATE TABLE does not write the frm file on disk, if the engine can discover it
* | split mysql_create_frm() in create_frm_image() and writefrm()Sergei Golubchik2013-04-091-1/+2
| |
* | handlerton::discover_table_names() can not discover onlySergei Golubchik2013-04-091-1/+1
| | | | | | | | "unknown" tables. Duplicates are possible - deal with them.
* | file-based table discovery for discovering storage enginesSergei Golubchik2013-04-091-0/+8
|/ | | | | | also: * move few tests from archive/archive.test to archive/discover.test * fix (unintentionally) bug#34104, updated result files
* Updated/added copyright headersKent Boortz2011-06-301-1/+1
|
* WL#5030: Split and remove mysql_priv.hMats Kindahl2010-03-311-0/+24
This patch: - Moves all definitions from the mysql_priv.h file into header files for the component where the variable is defined - Creates header files if the component lacks one - Eliminates all include directives from mysql_priv.h - Eliminates all circular include cycles - Rename time.cc to sql_time.cc - Rename mysql_priv.h to sql_priv.h