File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
#ifndef ITEM_INCLUDED
2
2
#define ITEM_INCLUDED
3
3
4
- /* Copyright (c) 2000, 2016 , Oracle and/or its affiliates. All rights reserved.
4
+ /* Copyright (c) 2000, 2017 , Oracle and/or its affiliates. All rights reserved.
5
5
6
6
This program is free software; you can redistribute it and/or modify
7
7
it under the terms of the GNU General Public License as published by
@@ -2017,6 +2017,12 @@ class Item_name_const : public Item
2017
2017
return value_item->result_type ();
2018
2018
}
2019
2019
2020
+ virtual bool cache_const_expr_analyzer (uchar **arg)
2021
+ {
2022
+ // Item_name_const always wraps a literal, so there is no need to cache it.
2023
+ return false ;
2024
+ }
2025
+
2020
2026
type_conversion_status save_in_field (Field *field, bool no_conversions)
2021
2027
{
2022
2028
return value_item->save_in_field (field, no_conversions);
You can’t perform that action at this time.
0 commit comments