diff options
author | Alexander Barkov <bar@mariadb.org> | 2014-09-03 01:56:21 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2014-09-03 01:56:21 +0400 |
commit | fbaaf3688d5fac4b1b867155a9f09575367c0f98 (patch) | |
tree | 0e36d7dca37e6775e113c0547823dcd12ee502fe /sql/item_create.h | |
parent | 658a1e9420b062f767316ecf1dcb4b2837dfa27a (diff) | |
download | mariadb-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.h | 9 |
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(); |