summaryrefslogtreecommitdiff
path: root/sql/partition_info.h
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2017-10-28 13:51:49 +0300
committerAleksey Midenkov <midenok@gmail.com>2017-11-13 19:11:03 +0300
commit0d3b8ed048cf9aa3743f34007d66413f58d972b3 (patch)
treef76bcb13a4a9bf8c39fb88ec742731497113dbc5 /sql/partition_info.h
parenta899e52d088ee7afdb8f95509849ef28f2bc39d9 (diff)
downloadmariadb-git-0d3b8ed048cf9aa3743f34007d66413f58d972b3.tar.gz
fix win32 warnings
Diffstat (limited to 'sql/partition_info.h')
-rw-r--r--sql/partition_info.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/partition_info.h b/sql/partition_info.h
index a8b1b386240..6b79fa82fb8 100644
--- a/sql/partition_info.h
+++ b/sql/partition_info.h
@@ -515,7 +515,7 @@ public:
if (table->versioned_by_engine())
{
// transaction is not yet pushed to VTQ, so we use now-time
- my_time_t end_ts= my_time(0);
+ my_time_t end_ts= my_time_t(0);
uchar buf[8];
Field_timestampf fld(buf, NULL, 0, Field::NONE, &table->vers_end_field()->field_name, NULL, 6);