summaryrefslogtreecommitdiff
path: root/sql/sql_string.h
diff options
context:
space:
mode:
authorunknown <bar@bar.intranet.mysql.r18.ru>2004-05-25 15:54:03 +0500
committerunknown <bar@bar.intranet.mysql.r18.ru>2004-05-25 15:54:03 +0500
commit9983aed876568891e07fbdeed402c9c7f1320c03 (patch)
tree5b89afdba70f8480882113658142e4dfd12afac7 /sql/sql_string.h
parentf80e9e042ee33e1debdac1e46992470e495921c9 (diff)
downloadmariadb-git-9983aed876568891e07fbdeed402c9c7f1320c03.tar.gz
1. Some optimization when conversion is not needed.
2. One now must pass length argument into append(const char *str, uint length), length is not calculated internally anymore.
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r--sql/sql_string.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h
index c24511a9f74..d559218bcb9 100644
--- a/sql/sql_string.h
+++ b/sql/sql_string.h
@@ -190,7 +190,8 @@ public:
bool copy(const char*s,uint32 arg_length, CHARSET_INFO *csfrom,
CHARSET_INFO *csto);
bool append(const String &s);
- bool append(const char *s,uint32 arg_length=0);
+ bool append(const char *s);
+ bool append(const char *s,uint32 arg_length);
bool append(const char *s,uint32 arg_length, CHARSET_INFO *cs);
bool append(IO_CACHE* file, uint32 arg_length);
bool append_with_prefill(const char *s, uint32 arg_length,