summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-03-11 16:41:56 +0100
committerSergei Golubchik <serg@mariadb.org>2018-03-14 12:40:00 +0100
commit75ac5789b4f6b0b3c95829130c7865247d0e7edc (patch)
tree078ffcb643c07e2810fc8c983f3af6fb45711e79 /sql/item.h
parentbf1ca14ff3f3faa9f7a018097b25aa0f66d068cd (diff)
downloadmariadb-git-75ac5789b4f6b0b3c95829130c7865247d0e7edc.tar.gz
cleanup: typos, comments, whitespace
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/item.h b/sql/item.h
index 325514d19aa..40350ba1a2c 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -1365,7 +1365,7 @@ public:
/*
Get time with automatic DATE/DATETIME to TIME conversion.
- Performce a reserve operation to get_date_with_conversion().
+ Performes a reverse operation to get_date_with_conversion().
Suppose:
- we have a set of items (typically with the native MYSQL_TYPE_TIME type)
whose item->get_date() return TIME1 value, and
@@ -3842,7 +3842,7 @@ class Item_date_literal_for_invalid_dates: public Item_date_literal
Item_date_literal_for_invalid_dates::get_date()
(unlike the regular Item_date_literal::get_date())
- does not check the result for NO_ZERO_IN_DATE and NO_ZER_DATE,
+ does not check the result for NO_ZERO_IN_DATE and NO_ZERO_DATE,
always returns success (false), and does not produce error/warning messages.
We need these _for_invalid_dates classes to be able to rewrite:
@@ -5588,7 +5588,7 @@ public:
virtual void store(Item *item);
virtual bool cache_value()= 0;
bool basic_const_item() const
- { return MY_TEST(example && example->basic_const_item()); }
+ { return example && example->basic_const_item(); }
virtual void clear() { null_value= TRUE; value_cached= FALSE; }
bool is_null() { return !has_value(); }
virtual bool is_expensive()