summaryrefslogtreecommitdiff
path: root/innobase/trx
diff options
context:
space:
mode:
authormarko@hundin.mysql.fi <>2005-03-10 15:16:16 +0200
committermarko@hundin.mysql.fi <>2005-03-10 15:16:16 +0200
commitc4ace2a471d53b1d6e3c75edd54354409f5a8757 (patch)
treeea08f06b68af52a8bab01638d9c412e1b2d239b5 /innobase/trx
parent6920a6d5466b0241286051bb327d32bf2fdfa4dc (diff)
downloadmariadb-git-c4ace2a471d53b1d6e3c75edd54354409f5a8757.tar.gz
InnoDB: Introduce the symbols REC_OFFS_NORMAL_SIZE and
REC_OFFS_SMALL_SIZE for the initial allocation sizes of arrays passed to rec_get_offsets().
Diffstat (limited to 'innobase/trx')
-rw-r--r--innobase/trx/trx0rec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/trx/trx0rec.c b/innobase/trx/trx0rec.c
index 7b62137ba09..fcb7582ce73 100644
--- a/innobase/trx/trx0rec.c
+++ b/innobase/trx/trx0rec.c
@@ -1016,7 +1016,7 @@ trx_undo_report_row_operation(
trx_rseg_t* rseg;
mtr_t mtr;
mem_heap_t* heap = NULL;
- ulint offsets_[100];
+ ulint offsets_[REC_OFFS_NORMAL_SIZE];
ulint* offsets = offsets_;
*offsets_ = (sizeof offsets_) / sizeof *offsets_;