summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2005-11-21 21:15:48 +0200
committerunknown <bell@sanja.is.com.ua>2005-11-21 21:15:48 +0200
commitfaa0c00eba05bc549afa26d6b8c22767384d3cf1 (patch)
tree3a8cc6b267e12ab825770b0f18f3a66f0cb1877f /sql/item.cc
parent789340bc5fc3b996f79593442e116554d52f84f2 (diff)
parentfe63e095816a744950e3a3f6d978f074fd3fcd93 (diff)
downloadmariadb-git-faa0c00eba05bc549afa26d6b8c22767384d3cf1.tar.gz
Merge sanja.is.com.ua:/home/bell/mysql/bk/work-bug1-5.0
into sanja.is.com.ua:/home/bell/mysql/bk/work-merge-5.0 sql/ha_federated.cc: Auto merged sql/handler.cc: Auto merged sql/item.cc: Auto merged sql/item.h: Auto merged sql/item_func.cc: Auto merged sql/item_timefunc.cc: Auto merged sql/log.cc: Auto merged sql/mysqld.cc: Auto merged sql/sp_head.cc: Auto merged sql/spatial.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_prepare.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_show.cc: Auto merged sql/sql_table.cc: Auto merged sql/sql_view.cc: Auto merged
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/sql/item.cc b/sql/item.cc
index 1767f9d97c1..94dea1a7dd7 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -383,7 +383,7 @@ void Item::print_item_w_name(String *str)
if (name)
{
THD *thd= current_thd;
- str->append(" AS ", 4);
+ str->append(STRING_WITH_LEN(" AS "));
append_identifier(thd, str, name, (uint) strlen(name));
}
}
@@ -1031,7 +1031,7 @@ void Item_name_const::cleanup()
void Item_name_const::print(String *str)
{
- str->append("NAME_CONST(");
+ str->append(STRING_WITH_LEN("NAME_CONST("));
name_item->print(str);
str->append(',');
value_item->print(str);
@@ -4852,7 +4852,7 @@ void Item_ref::make_field(Send_field *field)
void Item_ref_null_helper::print(String *str)
{
- str->append("<ref_null_helper>(", 18);
+ str->append(STRING_WITH_LEN("<ref_null_helper>("));
if (ref)
(*ref)->print(str);
else
@@ -4978,7 +4978,7 @@ bool Item_direct_view_ref::eq(const Item *item, bool binary_cmp) const
void Item_null_helper::print(String *str)
{
- str->append("<null_helper>(", 14);
+ str->append(STRING_WITH_LEN("<null_helper>("));
store->print(str);
str->append(')');
}
@@ -5038,10 +5038,10 @@ void Item_default_value::print(String *str)
{
if (!arg)
{
- str->append("default", 7);
+ str->append(STRING_WITH_LEN("default"));
return;
}
- str->append("default(", 8);
+ str->append(STRING_WITH_LEN("default("));
arg->print(str);
str->append(')');
}
@@ -5135,7 +5135,7 @@ bool Item_insert_value::fix_fields(THD *thd, Item **items)
void Item_insert_value::print(String *str)
{
- str->append("values(", 7);
+ str->append(STRING_WITH_LEN("values("));
arg->print(str);
str->append(')');
}
@@ -5396,7 +5396,7 @@ Item_cache* Item_cache::get_cache(Item_result type)
void Item_cache::print(String *str)
{
- str->append("<cache>(", 8);
+ str->append(STRING_WITH_LEN("<cache>("));
if (example)
example->print(str);
else