summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-12-03 00:10:12 +0100
committerunknown <serg@serg.mylan>2004-12-03 00:10:12 +0100
commitbdc4fa6eab47caeb0a332300164e03a24f5e51b1 (patch)
tree6c7ee9cf703c675485b5e0d9497a3e08f68f0b4e /innobase
parent2d3e0ac72b99a30ebc13470423489bcab4a4d193 (diff)
downloadmariadb-git-bdc4fa6eab47caeb0a332300164e03a24f5e51b1.tar.gz
syntax error fixed
Diffstat (limited to 'innobase')
-rw-r--r--innobase/include/rem0rec.ic3
1 files changed, 2 insertions, 1 deletions
diff --git a/innobase/include/rem0rec.ic b/innobase/include/rem0rec.ic
index a8acb4e304a..8443b5fa07d 100644
--- a/innobase/include/rem0rec.ic
+++ b/innobase/include/rem0rec.ic
@@ -713,8 +713,9 @@ rec_offs_validate(
}
}
if (index) {
+ ulint max_n_fields;
ut_ad((ulint) index == offsets[2]);
- ulint max_n_fields = ut_max(
+ max_n_fields = ut_max(
dict_index_get_n_fields(index),
dict_index_get_n_unique_in_tree(index) + 1);
if (comp && rec) {