summaryrefslogtreecommitdiff
path: root/storage/innobase/eval
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-07-24 21:43:19 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-07-24 21:59:26 +0300
commit0c7c61019d89aae46632016f83562b72406dc49b (patch)
tree64941633969de1a01daa4b05351067ad299ccafa /storage/innobase/eval
parentc663a9414b3fda92faeb5f7fefc866c55cf06dbd (diff)
downloadmariadb-git-0c7c61019d89aae46632016f83562b72406dc49b.tar.gz
Remove the wrappers ut_time(), ut_difftime(), ib_time_t
Diffstat (limited to 'storage/innobase/eval')
-rw-r--r--storage/innobase/eval/eval0eval.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/innobase/eval/eval0eval.cc b/storage/innobase/eval/eval0eval.cc
index ccb995f9d4f..d62febd466d 100644
--- a/storage/innobase/eval/eval0eval.cc
+++ b/storage/innobase/eval/eval0eval.cc
@@ -1,6 +1,7 @@
/*****************************************************************************
Copyright (c) 1997, 2011, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2019, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -858,7 +859,7 @@ eval_predefined(
dfield_get_data(que_node_get_val(arg1)));
} else if (func == PARS_SYSDATE_TOKEN) {
- int_val = (lint) ut_time();
+ int_val = (lint) time(NULL);
} else {
eval_predefined_2(func_node);