summaryrefslogtreecommitdiff
path: root/sql/item_create.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2014-09-03 01:56:21 +0400
committerAlexander Barkov <bar@mariadb.org>2014-09-03 01:56:21 +0400
commitfbaaf3688d5fac4b1b867155a9f09575367c0f98 (patch)
tree0e36d7dca37e6775e113c0547823dcd12ee502fe /sql/item_create.h
parent658a1e9420b062f767316ecf1dcb4b2837dfa27a (diff)
downloadmariadb-git-fbaaf3688d5fac4b1b867155a9f09575367c0f98.tar.gz
Moving Item::str_value from public to protected.
Diffstat (limited to 'sql/item_create.h')
-rw-r--r--sql/item_create.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/item_create.h b/sql/item_create.h
index 5f1a8c6006d..05fe48f656a 100644
--- a/sql/item_create.h
+++ b/sql/item_create.h
@@ -173,6 +173,15 @@ Item *create_temporal_literal(THD *thd,
CHARSET_INFO *cs,
enum_field_types type,
bool send_error);
+inline
+Item *create_temporal_literal(THD *thd, const String *str,
+ enum_field_types type,
+ bool send_error)
+{
+ return create_temporal_literal(thd,
+ str->ptr(), str->length(), str->charset(),
+ type, send_error);
+}
int item_create_init();
void item_create_cleanup();