Moving Item::str_value from public to protected.

This commit is contained in:
Alexander Barkov 2014-09-03 01:56:21 +04:00
commit fbaaf3688d
12 changed files with 86 additions and 43 deletions

View file

@ -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();