Skip to content

Commit f7f5c71

Browse files
committed
Correct a function comment
The comment became stale in commit 9f57e59 which removed the parameter "flags".
1 parent be75832 commit f7f5c71

File tree

4 files changed

+8
-16
lines changed

4 files changed

+8
-16
lines changed

storage/innobase/include/trx0rec.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,8 @@ trx_undo_report_row_operation(
226226
marking, the record in the clustered
227227
index, otherwise NULL */
228228
const ulint*offsets,/*!< in: rec_get_offsets(rec) */
229-
roll_ptr_t*roll_ptr)/*!< out: rollback pointer to the
230-
inserted undo log record,
231-
0 if BTR_NO_UNDO_LOG
232-
flag was specified */
229+
roll_ptr_t*roll_ptr)/*!< out: DB_ROLL_PTR to the
230+
undo log record */
233231
MY_ATTRIBUTE((nonnull(1,2,8), warn_unused_result));
234232
/******************************************************************//**
235233
Copies an undo record to heap. This function can be called if we know that

storage/innobase/trx/trx0rec.cc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,10 +1220,8 @@ trx_undo_report_row_operation(
12201220
marking, the record in the clustered
12211221
index, otherwise NULL */
12221222
const ulint* offsets,/*!< in: rec_get_offsets(rec) */
1223-
roll_ptr_t* roll_ptr)/*!< out: rollback pointer to the
1224-
inserted undo log record,
1225-
0 if BTR_NO_UNDO_LOG
1226-
flag was specified */
1223+
roll_ptr_t* roll_ptr)/*!< out: DB_ROLL_PTR to the
1224+
undo log record */
12271225
{
12281226
trx_t* trx;
12291227
trx_undo_t* undo;

storage/xtradb/include/trx0rec.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,8 @@ trx_undo_report_row_operation(
226226
marking, the record in the clustered
227227
index, otherwise NULL */
228228
const ulint*offsets,/*!< in: rec_get_offsets(rec) */
229-
roll_ptr_t*roll_ptr)/*!< out: rollback pointer to the
230-
inserted undo log record,
231-
0 if BTR_NO_UNDO_LOG
232-
flag was specified */
229+
roll_ptr_t*roll_ptr)/*!< out: DB_ROLL_PTR to the
230+
undo log record */
233231
MY_ATTRIBUTE((nonnull(1,2,8), warn_unused_result));
234232
/******************************************************************//**
235233
Copies an undo record to heap. This function can be called if we know that

storage/xtradb/trx/trx0rec.cc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,10 +1221,8 @@ trx_undo_report_row_operation(
12211221
marking, the record in the clustered
12221222
index, otherwise NULL */
12231223
const ulint* offsets,/*!< in: rec_get_offsets(rec) */
1224-
roll_ptr_t* roll_ptr)/*!< out: rollback pointer to the
1225-
inserted undo log record,
1226-
0 if BTR_NO_UNDO_LOG
1227-
flag was specified */
1224+
roll_ptr_t* roll_ptr)/*!< out: DB_ROLL_PTR to the
1225+
undo log record */
12281226
{
12291227
trx_t* trx;
12301228
trx_undo_t* undo;

0 commit comments

Comments
 (0)