diff options
author | monty@hundin.mysql.fi <> | 2002-06-04 08:23:57 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-06-04 08:23:57 +0300 |
commit | ee6bd848804192d9bb4258ccf84b61b774190673 (patch) | |
tree | ab63127fecca420ce57c76f7e3b5903ee4138d91 /sql/sql_string.h | |
parent | f0b28da6f91cf87804015b5dde4820be040c2de7 (diff) | |
download | mariadb-git-ee6bd848804192d9bb4258ccf84b61b774190673.tar.gz |
Changes for new binary .frm format
Fixes after last merge from 4.0.
(Code not yet complete, need anoter merge from 4.0)
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r-- | sql/sql_string.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h index 5e5c9001590..e94981d22c3 100644 --- a/sql/sql_string.h +++ b/sql/sql_string.h @@ -213,16 +213,17 @@ public: uint32 numchars(); int charpos(int i,uint32 offset=0); -// added by Holyfoot for "geometry" needs int reserve(uint32 space_needed) { return realloc(str_length + space_needed); } int reserve(uint32 space_needed, uint32 grow_by); -// these append operations do NOT check alloced memory -// q_*** methods writes values of parameters itself -// qs_*** methods writes string representation of value + /* + The following append operations do NOT check alloced memory + q_*** methods writes values of parameters itself + qs_*** methods writes string representation of value + */ void q_append(const char &c) { Ptr[str_length++] = c; |