summaryrefslogtreecommitdiff
path: root/sql/sql_string.h
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-06-04 08:23:57 +0300
committermonty@hundin.mysql.fi <>2002-06-04 08:23:57 +0300
commitee6bd848804192d9bb4258ccf84b61b774190673 (patch)
treeab63127fecca420ce57c76f7e3b5903ee4138d91 /sql/sql_string.h
parentf0b28da6f91cf87804015b5dde4820be040c2de7 (diff)
downloadmariadb-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.h9
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;