summaryrefslogtreecommitdiff
path: root/sql/vers_utils.h
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-17554 history partitioning cleanupsAleksey Midenkov2019-12-031-8/+0
| | | | | | | * Fixed missed warning on condition boundary * REORGANIZE cases * vers_utils.h removed * test cases cleanup
* Simple cleanups (no logic changes)Monty2018-12-091-39/+0
|
* dead code - related to vtmdSergei Golubchik2018-04-101-34/+0
| | | | (will be added back when it'll be used)
* Changed database, tablename and alias to be LEX_CSTRINGMonty2018-01-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This was done in, among other things: - thd->db and thd->db_length - TABLE_LIST tablename, db, alias and schema_name - Audit plugin database name - lex->db - All db and table names in Alter_table_ctx - st_select_lex db Other things: - Changed a lot of functions to take const LEX_CSTRING* as argument for db, table_name and alias. See init_one_table() as an example. - Changed some function arguments from LEX_CSTRING to const LEX_CSTRING - Changed some lists from LEX_STRING to LEX_CSTRING - threads_mysql.result changed because process list_db wasn't always correctly updated - New append_identifier() function that takes LEX_CSTRING* as arguments - Added new element tmp_buff to Alter_table_ctx to separate temp name handling from temporary space - Ensure we store the length after my_casedn_str() of table/db names - Removed not used version of rename_table_in_stat_tables() - Changed Natural_join_column::table_name and db_name() to never return NULL (used for print) - thd->get_db() now returns db as a printable string (thd->db.str or "")
* MDEV-14685 Assertion `!fully || (bool) hist_part' failed in ↵Aleksey Midenkov2017-12-201-0/+13
| | | | Vers_part_info::initialized
* SQL: start_end_t members as LEX_CSTRINGAleksey Midenkov2017-06-231-98/+1
|
* SQL, IB: (0.10) VTMD tracking [closes #124]Aleksey Midenkov2017-06-191-0/+165
IB: Fixes in logic when to do versioned or usual row updates. Now it is able to do unversioned updates for versioned tables just by disabling `TABLE_SHARE::versioned` flag. SQL: DDL tracking for: * RENAME TABLE, ALTER TABLE .. RENAME TO; * DROP TABLE; * data-modifying operations (f.ex. ALTER TABLE .. ADD/DROP COLUMN).