diff options
author | bar@bar.intranet.mysql.r18.ru <> | 2004-05-25 15:54:03 +0500 |
---|---|---|
committer | bar@bar.intranet.mysql.r18.ru <> | 2004-05-25 15:54:03 +0500 |
commit | 3f8996f88d0ab0ebd26b9b2c7735b9ff1a5b960f (patch) | |
tree | 5b89afdba70f8480882113658142e4dfd12afac7 /sql/sql_string.h | |
parent | 115e769be2c1e92b9f552fdd56ba9a9fc501a16e (diff) | |
download | mariadb-git-3f8996f88d0ab0ebd26b9b2c7735b9ff1a5b960f.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.h | 3 |
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, |