summaryrefslogtreecommitdiff
path: root/sql/sql_yacc.yy
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-12-07 14:47:58 +0100
committerSergei Golubchik <serg@mariadb.org>2017-12-13 21:44:30 +0100
commite77080c7d58a5d479a4ab6830047776640ce3a74 (patch)
tree5d0033c08ec2046cf65730c08c7b17ae473202c4 /sql/sql_yacc.yy
parent21d0a9fe3bb83100e6ea45b29557647bb83fe70b (diff)
downloadmariadb-git-e77080c7d58a5d479a4ab6830047776640ce3a74.tar.gz
if a table is partitioned by system_time, its partitions are not versioned
they store history and the history does not have history
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r--sql/sql_yacc.yy10
1 files changed, 3 insertions, 7 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index 6e34e1974a1..ed6ef979fd8 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -740,12 +740,8 @@ bool LEX::set_bincmp(CHARSET_INFO *cs, bool bin)
} while(0)
-inline void vers_select_conds_t::init(
- vers_range_type_t t,
- vers_range_unit_t u_start= UNIT_AUTO,
- Item * s= NULL,
- vers_range_unit_t u_end= UNIT_AUTO,
- Item * e= NULL)
+void vers_select_conds_t::init(vers_range_type_t t, vers_range_unit_t u_start,
+ Item *s, vers_range_unit_t u_end, Item *e)
{
type= t;
unit_start= u_start;
@@ -755,7 +751,7 @@ inline void vers_select_conds_t::init(
import_outer= from_inner= false;
}
-inline Item *vers_select_conds_t::fix_dec(Item *item)
+Item *vers_select_conds_t::fix_dec(Item *item)
{
if (item && item->decimals == 0 && item->type() == Item::FUNC_ITEM &&
((Item_func*)item)->functype() == Item_func::NOW_FUNC)