diff options
author | unknown <marko@hundin.mysql.fi> | 2004-08-02 13:02:34 +0300 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2004-08-02 13:02:34 +0300 |
commit | b525356ad73d74488fa17da0e7147e2ee8ba7188 (patch) | |
tree | 3dbf14cf36ff5798b797415283f308116de7b303 /innobase/include | |
parent | aa755c86960097d6e3a7c585cadde8d5713157a1 (diff) | |
download | mariadb-git-b525356ad73d74488fa17da0e7147e2ee8ba7188.tar.gz |
dyn0dyn.h:
dyn_array_open(): mention the size limit
mtr0log.ic, mtr0log.h:
mlog_open(): mention the size limit
innobase/include/mtr0log.h:
mlog_open(): mention the size limit
innobase/include/mtr0log.ic:
mlog_open(): mention the size limit
innobase/include/dyn0dyn.h:
dyn_array_open(): mention the size limit
Diffstat (limited to 'innobase/include')
-rw-r--r-- | innobase/include/dyn0dyn.h | 3 | ||||
-rw-r--r-- | innobase/include/mtr0log.h | 3 | ||||
-rw-r--r-- | innobase/include/mtr0log.ic | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/innobase/include/dyn0dyn.h b/innobase/include/dyn0dyn.h index 501fde05e90..abee62300e3 100644 --- a/innobase/include/dyn0dyn.h +++ b/innobase/include/dyn0dyn.h @@ -47,7 +47,8 @@ dyn_array_open( /*===========*/ /* out: pointer to the buffer */ dyn_array_t* arr, /* in: dynamic array */ - ulint size); /* in: size in bytes of the buffer */ + ulint size); /* in: size in bytes of the buffer; MUST be + smaller than DYN_ARRAY_DATA_SIZE! */ /************************************************************************* Closes the buffer returned by dyn_array_open. */ UNIV_INLINE diff --git a/innobase/include/mtr0log.h b/innobase/include/mtr0log.h index 785985dea16..be671e119e3 100644 --- a/innobase/include/mtr0log.h +++ b/innobase/include/mtr0log.h @@ -98,7 +98,8 @@ mlog_open( /*======*/ /* out: buffer, NULL if log mode MTR_LOG_NONE */ mtr_t* mtr, /* in: mtr */ - ulint size); /* in: buffer size in bytes */ + ulint size); /* in: buffer size in bytes; MUST be + smaller than DYN_ARRAY_DATA_SIZE! */ /************************************************************ Closes a buffer opened to mlog. */ UNIV_INLINE diff --git a/innobase/include/mtr0log.ic b/innobase/include/mtr0log.ic index b0392e214f1..e544a38330f 100644 --- a/innobase/include/mtr0log.ic +++ b/innobase/include/mtr0log.ic @@ -18,7 +18,8 @@ mlog_open( /*======*/ /* out: buffer, NULL if log mode MTR_LOG_NONE */ mtr_t* mtr, /* in: mtr */ - ulint size) /* in: buffer size in bytes */ + ulint size) /* in: buffer size in bytes; MUST be + smaller than DYN_ARRAY_DATA_SIZE! */ { dyn_array_t* mlog; |