summaryrefslogtreecommitdiff
path: root/sql/item_vers.cc
Commit message (Collapse)AuthorAgeFilesLines
* Merge 10.3 into 10.4Marko Mäkelä2019-04-021-3/+0
|\
| * MDEV-15412 For any non-existing transaction ID, AS OF provides the current ↵Aleksey Midenkov2019-03-291-3/+0
| | | | | | | | | | | | | | | | table contents without a warning Fail with error on non-existing TRX_ID. Closes #832
* | MDEV-16991 Rounding vs truncation for TIME, DATETIME, TIMESTAMPbb-10.4-mdev16991Alexander Barkov2018-11-261-1/+3
| |
* | MDEV-17317 Add THD* parameter into Item::get_date() and stricter data type ↵Alexander Barkov2018-09-281-4/+3
|/ | | | control to "fuzzydate"
* MDEV-15979 DELETE HISTORY from a table with transaction-precise versioning ↵Aleksey Midenkov2018-05-171-1/+1
| | | | | | | causes Assertion `table_list->vers_conditions.type == SYSTEM_TIME_BEFORE' failure * Fix versioning.truncate,trx_id to create transaction-based tables * Fix SYSTEM_TIME_BEFORE condition for VERS_TRX_ID
* MDEV-15893 Rename VTQ to TRTEugene Kosov2018-05-121-16/+16
|
* 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 "")
* System Versioning 1.0pre2Aleksey Midenkov2017-11-231-0/+3
| | | | Merge branch '10.3' into trunk
* IB, SQL: removed VTQ, added TRT on SQL layer [closes #305]Aleksey Midenkov2017-11-151-112/+31
|
* System Versioning pre1.0Aleksey Midenkov2017-11-131-1/+2
| | | | Merge branch '10.3' into trunk
* System Versioning pre0.12Aleksey Midenkov2017-11-071-3/+3
| | | | Merge remote-tracking branch 'origin/archive/2017-10-17' into 10.3
* SQL: MAX microseconds for current system rows [fixes #245]Eugene Kosov2017-08-181-0/+1
|
* SQL: compare TRX_ID fields against timestamps [closes #231]Aleksey Midenkov2017-08-031-5/+14
|
* SQL: VTQ testing iface moved to plugin [closes #224]Aleksey Midenkov2017-07-071-47/+16
|
* Style: API renamesAleksey Midenkov2017-06-221-1/+1
| | | | | part_recs_slow() -> part_records(); HTON_SUPPORTS_SYS_VERSIONING -> HTON_NATIVE_SYS_VERSIONING.
* Misc: warnings fixAleksey Midenkov2017-05-051-1/+1
| | | | related to b0419561a3475ff3464316c7104455685819acca
* SQL: moved VTQ items to separate fileAleksey Midenkov2017-05-051-0/+280