diff options
author | unknown <marko@hundin.mysql.fi> | 2004-10-01 14:17:05 +0300 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2004-10-01 14:17:05 +0300 |
commit | 9e6d10146cd9aef0132aa1ee27cb11dd4de5d094 (patch) | |
tree | 9677f13f29c93b0c65083bc23680739efeb821b9 /innobase/row/row0row.c | |
parent | bff40d61ae67455dd7ae70bd75923dac63fbae51 (diff) | |
parent | a418a35ceba85354328b5f75bb4e908f88b6759f (diff) | |
download | mariadb-git-9e6d10146cd9aef0132aa1ee27cb11dd4de5d094.tar.gz |
Merge marko@build.mysql.com:/home/bk/mysql-4.1
into hundin.mysql.fi:/home/marko/j/mysql-4.1
innobase/btr/btr0btr.c:
Auto merged
innobase/lock/lock0lock.c:
Auto merged
innobase/row/row0ins.c:
Auto merged
innobase/row/row0row.c:
Auto merged
innobase/row/row0sel.c:
Auto merged
innobase/row/row0upd.c:
Auto merged
sql/ha_innodb.cc:
Auto merged
sql/ha_innodb.h:
Auto merged
sql/mysql_priv.h:
Auto merged
Diffstat (limited to 'innobase/row/row0row.c')
-rw-r--r-- | innobase/row/row0row.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/innobase/row/row0row.c b/innobase/row/row0row.c index ed6462b7377..a02fbe67f73 100644 --- a/innobase/row/row0row.c +++ b/innobase/row/row0row.c @@ -395,12 +395,13 @@ row_build_row_ref_in_tuple( dtuple_t* ref, /* in/out: row reference built; see the NOTE below! */ dict_index_t* index, /* in: index */ - rec_t* rec) /* in: record in the index; + rec_t* rec, /* in: record in the index; NOTE: the data fields in ref will point directly into this record, therefore, the buffer page of this record must be at least s-latched and the latch held as long as the row reference is used! */ + trx_t* trx) /* in: transaction */ { dict_index_t* clust_index; dfield_t* dfield; @@ -415,9 +416,9 @@ row_build_row_ref_in_tuple( if (!index->table) { fputs("InnoDB: table ", stderr); notfound: - ut_print_name(stderr, index->table_name); + ut_print_name(stderr, trx, index->table_name); fputs(" for index ", stderr); - ut_print_name(stderr, index->name); + ut_print_name(stderr, trx, index->name); fputs(" not found\n", stderr); ut_error; } |