summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-15692: install_spider.sql can fail with some collationsbb-10.3-MDEV-15692Jacob Mathew2018-04-051-1/+3
| | | | | | | | | | | | | | | | | The error occurs because of how the character set and collation are chosen for stored procedure parameters that have a character data type. If the character set and collation are not explicitly stated in the declaration, the server chooses the database character set and collation in effect at routine creation time. To fix the problem, I added explicit character set and collation attributes for the stored procedure parameters in the install_spider.sql script. Author: Jacob Mathew. Reviewer: Kentoku Shiba.
* MDEV-7914: spider/bg.ha, spider/bg.ha_part crash server sporadically in buildbotJacob Mathew2018-04-044-46/+105
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The crash occurs when a thread that is closing its connection attempts to access Spider transaction information when another thread has freed that memory while processing Spider plugin deinit. This occurs because Spider does not adjust the plugin's reference count when it sets a transaction information pointer for the plugin. The fix I implemented changes the way Spider sets the transaction information pointer to use thd_set_ha_data() so that Spider's plugin reference counter is adjusted as well. Author: Jacob Mathew. Reviewer: Kentoku Shiba. Merged From: bb-10.3-MDEV-7914
| * MDEV-7914: spider/bg.ha, spider/bg.ha_part crash server sporadically in buildbotbb-10.3-MDEV-7914Jacob Mathew2018-04-034-46/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The crash occurs when a thread that is closing its connection attempts to access Spider transaction information when another thread has freed that memory while processing Spider plugin deinit. This occurs because Spider does not adjust the plugin's reference count when it sets a transaction information pointer for the plugin. The fix I implemented changes the way Spider sets the transaction information pointer to use thd_set_ha_data() so that Spider's plugin reference counter is adjusted as well. Author: Jacob Mathew. Reviewer: Kentoku Shiba.
* | MDEV-15241: make SIGNAL maximum MESSAGE_TEXT length a larger valueVarun Gupta2018-04-045-17/+18
| | | | | | | | | | Increasing the length of MESSAGE_TEXT from 128 to MYSQL_ERRMSG_SIZE which is the max length of the error message
* | MDEV-15773 - Simplified away trx_sys_t::m_viewsSergey Vojtovich2018-04-045-120/+41
| | | | | | | | Use trx_sys_t::trx_list instead.
* | MDEV-15773 - Simplified away trx_free_for_(mysql|background)Sergey Vojtovich2018-04-0419-129/+96
| |
* | MDEV-15773 - trx_sys.mysql_trx_list -> trx_sys.trx_listSergey Vojtovich2018-04-0411-185/+77
| | | | | | | | | | | | Replaced "list of transactions created for MySQL" with "list of all transactions". This simplifies code and allows further removal of trx_sys.m_views.
* | MDEV-15773 - Simplified away trx_t::in_mysql_trx_listSergey Vojtovich2018-04-047-39/+20
| |
* | MDEV-15773 - trx_allocate_for_background() -> trx_create()Sergey Vojtovich2018-04-0414-75/+39
| | | | | | | | trx_free_resurrected(): Remove, unused function
* | Merge 10.2 into 10.3Marko Mäkelä2018-04-0410-43/+409
|\ \
| * | Remove an unused variableMarko Mäkelä2018-04-031-1/+1
| | |
| * | MDEV-15764 InnoDB may write uninitialized garbage to redo logMarko Mäkelä2018-04-031-8/+8
| | | | | | | | | | | | | | | | | | | | | log_write_up_to(): Erase the end of the current log block. Simplify the computation of pad_size. log_buffer_switch(): Evaluate a condition only once.
| * | MDEV-15737 assertion in mariabackup.exe!recv_calc_lsn_on_data_add()Thirunarayanan Balathandayuthapani2018-04-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | - recovered_lsn shouldn't be initialized during xtrabackup_copy_logfile(). If partial redo log read during the end of xtrabackup_copy_logfile() then recovered_lsn will be different from scanned_lsn. Re-initialization of recovered_lsn could lead to partial read again. It is a regression of MDEV-14545
| * | MDEV-15579 Crash in Item_field::used_tables() called byGalina Shalygina2018-04-033-0/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Item::derived_field_transformer_for_having The crash occurred due to an inappropriate handling of multiple equalities when pushing conditions into materialized views/derived tables. If equalities extracted from a multiple equality can be pushed into a materialized view/derived table they should be plainly conjuncted with other pushed predicates rather than form a separate AND sub-formula.
| * | MDEV-15636 mariabackup --lock-ddl-per-table hangs if ALTER table is runningVladislav Vaintroub2018-04-014-27/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | concurrently. There is a deadlock between C1 mariabackup's connection that holds MDL locks C2 Online ALTER TABLE that wants to have MDL exclusively and tries to upgrade its mdl lock. C3 another mariabackup's connection that does FLUSH TABLES (or FTWRL) C3 waits waits for C2, which waits for C1, which waits for C3, thus the deadlock. MDL locks cannot be released until FLUSH succeeds, because otherwise it would allow ALTER to sneak in, causing backup to abort and breaking lock-ddl-per-table's promise. The fix here workarounds the deadlock, by killing connections in "Waiting for metadata lock" status (i.e ALTER). This killing continues until FTWRL succeeds. Killing connections is skipped in case --no-locks parameter was passed to backup, because there won't be a FLUSH. For the reference,in Percona's xtrabackup --lock-ddl-per-connection silently implies --no-lock ie FLUSH is always skipped there. A rather large part of fix is introducing DBUG capability to start a query the new connection at the right moment of backup compensating somewhat for mariabackup' lack of send_query or DBUG_SYNC.
| * | CMake : Move INNODB_DISALLOW_WRITES from top-level CMakeLists.txt to innodbVladislav Vaintroub2018-04-012-7/+7
| | |
* | | MDEV-15767 innodb.101_compatibility failsMarko Mäkelä2018-04-042-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test innodb.101_compatibility occasionally fails, because the flags for the tables tdd and tp are not always converted back. Thus, the second attempt of corrupting the flags will update garbage to garbage, and cause test failure. This started failing related to one or two MDEV-12266 commits affecting the function fsp_flags_try_adjust(). fsp_flags_try_adjust(): If the file has not been opened (space->size==0), try determining its size by reading the file. Only if the file is not readable, give up. Also, avoid dummy writes in the Perl script, and add some instrumentation.
* | | Cleanup in the system variable parsing codeAlexander Barkov2018-04-032-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Adding "return true" into LEX::set_system_variable() and LEX::set_default_system_variable() after my_error(). This makes the parser exit on error immediately. Previously, the error was caught only in mysql_parser(), a few lines after the parse_sql() call. - Fixing "--error 1272" to "--error ER_VARIABLE_IS_NOT_STRUCT" in tests
* | | MDEV-15739 sql_mode=ORACLE: Make LPAD and RPAD return NULL instead of empty ↵halfspawn2018-04-034-8/+246
| | | | | | | | | | | | string
* | | MDEV-10991: Server crashes in spider_udf_direct_sql_create_conn - tests in ↵Jacob Mathew2018-04-021-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | spider/oracle* suites crash the server The fix for this bug was automatically merged from 10.1. However, part of that fix is unnecessary in 10.3. This commit rolls back the part of the fix that is unnecessary in 10.3. Author: Jacob Mathew. Reviewer: Kentoku Shiba.
* | | MDEV-15743 Avoid a PFS warning by shortening key name for proxy protocol rwlockVladislav Vaintroub2018-04-021-1/+1
| | |
* | | Cleanup: removing duplicate code, adding "const", etcAlexander Barkov2018-04-022-96/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adding class Field_int as a common parent for Field_{longlong|long|short|medium|tiny} - Moving store_decimal(), val_decimal(), get_date(), store_time_dec(), get_date(), val_bool() from Field_num to Field_int - Adding Field_int::val_str_from_long() and reusing it in Field_tiny::val_str(), Field_short::val_str(), Field_medium::val_str() and Field_long::val_str(). This removes a good amount of duplicate code - Adding "const" qualifier to "virtual bool Field::optimize_range()".
* | | MDEV-14929 - AddressSanitizer: memcpy-param-overlap in Field_longstr::compressSergey Vojtovich2018-04-023-5/+35
| | | | | | | | | | | | | | | Handle overlaping "from" and Field_blob_compressed::value for compressed blobs similarily to regular blobs.
* | | Fixed valgrind warning in DBUG_PRINT as thd->stmt_lex is not initalizedMonty2018-04-021-0/+1
| | |
* | | Fix for MDEV-14831Monty2018-04-026-29/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MDEV-14831 CREATE OR REPLACE SEQUENCE under LOCK TABLE corrupts the sequence, causes ER_KEY_NOT_FOUND The problem was that sequence_insert didn't properly handle the case where there where there was a LOCK TABLE while creating the sequence. Fixed by opening the sequence table, for inserting the first record, in a new environment without any other open tables. Found also a bug in Locked_tables_list::reopen_tables() where the lock structure for the new tables was allocated in THD::mem_root, which causes crashes. This could cause problems with other create tables done under LOCK TABLES.
* | | MDEV-15694 Windows : use GetSystemTimePreciseAsFileTime if available for ↵Vladislav Vaintroub2018-04-013-10/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | high resolution time Use high accuracy timer on Windows 8.1+ for system versioning,it needs accurate high resoution start query time. Continue to use the inaccurate (but much faster timer function) GetSystemTimeAsFileTime() where accuracy does not matter, e.g in set_timespec_time_nsec(),or my_time()
* | | Revert "MDEV-12266: Remove lookups when dropping indexes"Marko Mäkelä2018-03-304-75/+90
| | | | | | | | | | | | | | | | | | | | | This reverts commit d2660362920a82588508028f263dad9c16f08865. The patch would cause a crash when DROP TABLE is executed and the .ibd file is missing. It is not easy to fix this; there is some delicate logic in fil_space_get_page_size().
* | | Merge 10.2 into 10.3Marko Mäkelä2018-03-308-11/+13
|\ \ \ | |/ /
| * | MDEV-15325 fixup: Disable test for --embeddedMarko Mäkelä2018-03-291-0/+2
| | |
| * | MDEV-13785: move defination HAVE_LARGE_PAGES -> HAVE_LINUX_LARGE_PAGESDaniel Black2018-03-297-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HAVE_LARGE_PAGES was always Linux but now there is HAVE_SOLARIS_LARGE_PAGES in the code base. Innodb was using HAVE_LINUX_LARGE_PAGES so keep this consistent everywhere. Test plan: $ grep Hugepagesize: /proc/meminfo Hugepagesize: 2048 kB $ sudo sysctl vm.nr_hugepages=1024 vm.nr_hugepages = 1024 $ sudo sysctl kernel.shmmax=$(( 2 * 1024 *1024 * 1024 )) kernel.shmmax = 2147483648 No errors in ouput: $ sql/mysqld --skip-networking --datadir=/tmp/datadir --log-bin=/tmp/datadir/mysqlbin --socket /tmp/s.sock --lc-messages-dir=${PWD}/sql/share --verbose --large-pages=1 2018-03-23 12:51:18 139697428129984 [Note] sql/mysqld (mysqld 10.2.14-MariaDB-log) starting as process 25406 ... 2018-03-23 12:51:18 139697428129984 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-03-23 12:51:18 139697428129984 [Note] InnoDB: Uses event mutexes 2018-03-23 12:51:18 139697428129984 [Note] InnoDB: Compressed tables use zlib 1.2.11 2018-03-23 12:51:18 139697428129984 [Note] InnoDB: Using Linux native AIO 2018-03-23 12:51:18 139697428129984 [Note] InnoDB: Number of pools: 1 2018-03-23 12:51:18 139697428129984 [Note] InnoDB: Using SSE2 crc32 instructions 2018-03-23 12:51:18 139697428129984 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2018-03-23 12:51:18 139697428129984 [Note] InnoDB: Completed initialization of buffer pool 2018-03-23 12:51:18 139696883590912 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2018-03-23 12:51:18 139697428129984 [Note] InnoDB: Highest supported file format is Barracuda. 2018-03-23 12:51:18 139697428129984 [Note] InnoDB: 128 out of 128 rollback segments are active. 2018-03-23 12:51:18 139697428129984 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2018-03-23 12:51:18 139697428129984 [Note] InnoDB: Creating shared tablespace for temporary tables 2018-03-23 12:51:18 139697428129984 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2018-03-23 12:51:18 139697428129984 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2018-03-23 12:51:18 139697428129984 [Note] InnoDB: 5.7.21 started; log sequence number 1620099 2018-03-23 12:51:18 139696713733888 [Note] InnoDB: Loading buffer pool(s) from /tmp/datadir/ib_buffer_pool 2018-03-23 12:51:18 139696713733888 [Note] InnoDB: Buffer pool(s) load completed at 180323 12:51:18 2018-03-23 12:51:18 139697428129984 [Note] Plugin 'FEEDBACK' is disabled. 2018-03-23 12:51:18 139697428129984 [Note] Reading of all Master_info entries succeded 2018-03-23 12:51:18 139697428129984 [Note] Added new Master_info '' to hash table 2018-03-23 12:51:18 139697428129984 [Note] sql/mysqld: ready for connections. Version: '10.2.14-MariaDB-log' socket: '/tmp/s.sock' port: 0 Source distribution $ grep -i huge /proc/25406/smaps | grep -v ' 0 kB' Private_Hugetlb: 8192 kB Private_Hugetlb: 2048 kB $ grep huge /proc/25406/numa_maps 7f0d74400000 default file=/SYSV00000000\040(deleted) huge 7f0dbd200000 default file=/SYSV00000000\040(deleted) huge dirty=4 N0=4 kernelpagesize_kB=2048 7f0dc5600000 default file=/SYSV00000000\040(deleted) huge 7f0dd1200000 default file=/SYSV00000000\040(deleted) huge dirty=1 N0=1 kernelpagesize_kB=2048 $ grep Huge /proc/meminfo AnonHugePages: 0 kB ShmemHugePages: 0 kB HugePages_Total: 940 HugePages_Free: 935 HugePages_Rsvd: 177 HugePages_Surp: 0 Hugepagesize: 2048 kB Ran again with --memlock (note needs ulimit -l > size) $ grep Huge /proc/meminfo AnonHugePages: 0 kB ShmemHugePages: 0 kB HugePages_Total: 940 HugePages_Free: 758 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB $ grep huge /proc/26020/numa_maps 7fe870400000 default file=/SYSV00000000\040(deleted) huge dirty=62 N0=62 kernelpagesize_kB=2048 7fe8b3a00000 default file=/SYSV00000000\040(deleted) huge dirty=66 N0=66 kernelpagesize_kB=2048 7fe8bd600000 default file=/SYSV00000000\040(deleted) huge dirty=53 N0=53 kernelpagesize_kB=2048 7fe8c8400000 default file=/SYSV00000000\040(deleted) huge dirty=1 N0=1 kernelpagesize_kB=2048 $ grep -i huge /proc/26020/smaps | grep -v ' 0 kB' Private_Hugetlb: 126976 kB Private_Hugetlb: 135168 kB Private_Hugetlb: 108544 kB Private_Hugetlb: 2048 kB
* | | MDEV-12266: Remove lookups when dropping indexesMarko Mäkelä2018-03-304-90/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | btr_free_root_check(), btr_free_if_exists(): Replace page_id, page_size with fil_space_t* and the root page number. btr_free_but_not_root(): Take fil_space_t* as a parameter, or NULL if the operation is not going to be redo-logged. btr_free(): Pass space=NULL to btr_free_but_not_root().
* | | Cleanup: moving timestamp_to_TIME() as a method to THDAlexander Barkov2018-03-303-21/+23
| | |
* | | cleanup: remove get_datetime_value()Sergei Golubchik2018-03-303-69/+8
| | | | | | | | | | | | | | | | | | | | | | | | this is a 10.3 version of 27d94b7e032 It disables caching of the first argument of IN, if it's of a temporal type. Because other types are not cached in this context.
* | | bugfix: Item_cache_temporal::convert_to_basic_const_item assumed DATETIMESergei Golubchik2018-03-303-8/+27
| | | | | | | | | | | | this is a 10.3 version of 1c6f6dc8924
* | | bugfix: Item_cache_temporal::get_date() didn't set null_valueSergei Golubchik2018-03-301-1/+1
| | | | | | | | | | | | this is a 10.3 version of 885edc4fa50
* | | cleanup: Item_func_caseSergei Golubchik2018-03-303-175/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reorder items in args[] array. Instead of when1,then1,when2,then2,...[,case][,else] sort them as [case,]when1,when2,...,then1,then2,...[,else] in this case all items used for comparison take a continuous part of the array and can be aggregated directly. and all items that can be returned take a continuous part of the array and can be aggregated directly. Old code had to copy them to a temporary array before aggreation, and then copy back (thd->change_item_tree) everything that was changed. this is a 10.3 version of bf1ca14ff3f
* | | compilation w/o partitioningSergei Golubchik2018-03-304-31/+36
| | |
* | | Fix bogus error: Failed to find tablespaceMarko Mäkelä2018-03-301-59/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fil_space_for_table_exists_in_mem(): Fix a regression that was introduced in commit 05863142ad0db0cb49f675b2a527a953d187a565 when removing fil_system.name_hash. The condition !valid || space == fnamespace was incorrectly replaced with !valid, instead of true. fil_report_missing_tablespace(): Merge to the only caller.
* | | MDEV-14592: Custom Aggregates Usage Status VariableVarun Gupta2018-03-309-0/+180
| | | | | | | | | | | | Introduced new status variable for custom aggregate functions.
* | | Fix a WITH_WSREP=OFF warningMarko Mäkelä2018-03-291-2/+5
| | |
* | | MDEV-12266: Change dict_table_t::space to fil_space_t*Marko Mäkelä2018-03-2980-2226/+1289
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | InnoDB always keeps all tablespaces in the fil_system cache. The fil_system.LRU is only for closing file handles; the fil_space_t and fil_node_t for all data files will remain in main memory. Between startup to shutdown, they can only be created and removed by DDL statements. Therefore, we can let dict_table_t::space point directly to the fil_space_t. dict_table_t::space_id: A numeric tablespace ID for the corner cases where we do not have a tablespace. The most prominent examples are ALTER TABLE...DISCARD TABLESPACE or a missing or corrupted file. There are a few functional differences; most notably: (1) DROP TABLE will delete matching .ibd and .cfg files, even if they were not attached to the data dictionary. (2) Some error messages will report file names instead of numeric IDs. There still are many functions that use numeric tablespace IDs instead of fil_space_t*, and many functions could be converted to fil_space_t member functions. Also, Tablespace and Datafile should be merged with fil_space_t and fil_node_t. page_id_t and buf_page_get_gen() could use fil_space_t& instead of a numeric ID, and after moving to a single buffer pool (MDEV-15058), buf_pool_t::page_hash could be moved to fil_space_t::page_hash. FilSpace: Remove. Only few calls to fil_space_acquire() will remain, and gradually they should be removed. mtr_t::set_named_space_id(ulint): Renamed from set_named_space(), to prevent accidental calls to this slower function. Very few callers remain. fseg_create(), fsp_reserve_free_extents(): Take fil_space_t* as a parameter instead of a space_id. fil_space_t::rename(): Wrapper for fil_rename_tablespace_check(), fil_name_write_rename(), fil_rename_tablespace(). Mariabackup passes the parameter log=false; InnoDB passes log=true. dict_mem_table_create(): Take fil_space_t* instead of space_id as parameter. dict_process_sys_tables_rec_and_mtr_commit(): Replace the parameter 'status' with 'bool cached'. dict_get_and_save_data_dir_path(): Avoid copying the fil_node_t::name. fil_ibd_open(): Return the tablespace. fil_space_t::set_imported(): Replaces fil_space_set_imported(). truncate_t: Change many member function parameters to fil_space_t*, and remove page_size parameters. row_truncate_prepare(): Merge to its only caller. row_drop_table_from_cache(): Assert that the table is persistent. dict_create_sys_indexes_tuple(): Write SYS_INDEXES.SPACE=FIL_NULL if the tablespace has been discarded. row_import_update_discarded_flag(): Remove a constant parameter.
* | | MDEV-12266: Skip a lookup when checking free spaceMarko Mäkelä2018-03-293-142/+65
| | | | | | | | | | | | | | | fsp_get_available_space_in_free_extents(): Declare the function static in the only caller, and take const fil_space_t& as a parameter.
* | | MDEV-12266: fsp_flags_try_adjust(): Remove lookupMarko Mäkelä2018-03-293-20/+15
| | |
* | | MDEV-12266: Remove fil_system_t::named_spacesMarko Mäkelä2018-03-293-108/+37
| | | | | | | | | | | | | | | | | | | | | | | | fil_space_get_by_name(): Remove. (Implement differently in mariabackup.) fil_ibd_open(): Check if the tablespace by the same ID already exists. If it is the same name, return success, else failure.
* | | MDEV-12266: Make trx_rseg_t::space a pointerMarko Mäkelä2018-03-2910-87/+76
| | | | | | | | | | | | | | | | | | | | | trx_rsegf_get(), trx_undo_get_first_rec(): Change the parameter to fil_space_t* so that fewer callers need to be adjusted. trx_undo_free_page(): Remove the redundant parameter 'space'.
* | | MDEV-12266: Remove trx_undo_t::spaceMarko Mäkelä2018-03-295-17/+15
| | |
* | | MDEV-12266: Clean up btr_search_drop_page_hash_when_freed()Marko Mäkelä2018-03-295-30/+13
| | | | | | | | | | | | | | | Remove the parameter page_size, and pass a dummy page size to buf_page_get_gen() along with BUF_PEEK_IF_IN_POOL.
* | | MDEV-12266: Cleanup DISCARD TABLESPACEMarko Mäkelä2018-03-294-102/+30
| | | | | | | | | | | | | | | fil_discard_tablespace(): Merge to row_discard_tablespace() which was the only caller.
* | | MDEV-12266: Cleanup TRUNCATEMarko Mäkelä2018-03-294-340/+288
| | | | | | | | | | | | | | | | | | | | | | | | fil_recreate_table(), fil_recreate_tablespace(), fil_reinit_space_header_for_table(): Move the functions to the only calling module and declare static. fil_recreate_table(): Remove the constant parameter space_id=0,flags.
* | | MDEV-12266: Clean up recv_recover_page()Marko Mäkelä2018-03-291-20/+15
| | |