summaryrefslogtreecommitdiff
path: root/storage/innobase/row
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-09-22 09:00:23 +0200
committerunknown <msvensson@neptunus.(none)>2006-09-22 09:00:23 +0200
commit88ec5cc764c5916dfd47587ed17ead6788b3fbe3 (patch)
tree463356fbc42a90a705514df446dccbd71eb93b54 /storage/innobase/row
parent282362675e2a02a6aeb1f984a64d80c1096d9918 (diff)
downloadmariadb-git-88ec5cc764c5916dfd47587ed17ead6788b3fbe3.tar.gz
Fix windows and aix compile problem
- Variables must be declared first in each block storage/innobase/row/row0row.c: Variables must be declared first in each block
Diffstat (limited to 'storage/innobase/row')
-rw-r--r--storage/innobase/row/row0row.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/innobase/row/row0row.c b/storage/innobase/row/row0row.c
index 5a7216324a8..efa129d6211 100644
--- a/storage/innobase/row/row0row.c
+++ b/storage/innobase/row/row0row.c
@@ -131,8 +131,9 @@ row_build_index_entry(
}
for (i = 0; i < entry_len; i++) {
+ const dict_col_t* col;
ind_field = dict_index_get_nth_field(index, i);
- const dict_col_t* col = ind_field->col;
+ col = ind_field->col;
dfield = dtuple_get_nth_field(entry, i);