diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-02-26 17:17:17 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-04-10 13:12:36 +0200 |
commit | 35678c9572785ef11a8e0e0dfe72a77a09cf2b3f (patch) | |
tree | d82ba86a9a982de93b618b4281e67b280a5a81e6 /sql/partition_info.cc | |
parent | 09e6280147bbe2f880c47e9ea545b5af226f0aa0 (diff) | |
download | mariadb-git-35678c9572785ef11a8e0e0dfe72a77a09cf2b3f.tar.gz |
dead code - related to vtmd
(will be added back when it'll be used)
Diffstat (limited to 'sql/partition_info.cc')
-rw-r--r-- | sql/partition_info.cc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sql/partition_info.cc b/sql/partition_info.cc index dacb8e32353..43ee92f6020 100644 --- a/sql/partition_info.cc +++ b/sql/partition_info.cc @@ -2647,30 +2647,6 @@ bool partition_info::has_same_partitioning(partition_info *new_part_info) } -bool partition_info::vers_trx_id_to_ts(THD* thd, Field* in_trx_id, Field_timestamp& out_ts) -{ - DBUG_ASSERT(table); - handlerton *hton= plugin_hton(table->s->db_plugin); - DBUG_ASSERT(hton); - ulonglong trx_id= in_trx_id->val_int(); - TR_table trt(thd); - bool found= trt.query(trx_id); - if (!found) - { - push_warning_printf(thd, - Sql_condition::WARN_LEVEL_WARN, - WARN_VERS_TRX_MISSING, - ER_THD(thd, WARN_VERS_TRX_MISSING), - trx_id); - return true; - } - MYSQL_TIME ts; - trt[TR_table::FLD_COMMIT_TS]->get_date(&ts, 0); - out_ts.store_time_dec(&ts, 6); - return false; -} - - void partition_info::print_debug(const char *str, uint *value) { DBUG_ENTER("print_debug"); |