diff options
author | unknown <heikki@hundin.mysql.fi> | 2005-03-21 22:10:42 +0200 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2005-03-21 22:10:42 +0200 |
commit | 7656b6da717418b1f87fa7bec1c81ccdb6892442 (patch) | |
tree | e9c4f4ff80947fec41834df84038181c71044b1e /innobase/include | |
parent | afe45b7328145a07090fcc2b62d4a72028578aa1 (diff) | |
download | mariadb-git-7656b6da717418b1f87fa7bec1c81ccdb6892442.tar.gz |
trx0trx.c, trx0trx.h:
If MySQL wrote to its binlog, but for some reason trx->update_undo and trx->insert_undo were NULL in InnoDB, then trx->commit_lsn was garbage, and InnoDB could assert in the log flush of trx_commit_complete_for_mysql() (Bug #9277)
innobase/include/trx0trx.h:
If MySQL wrote to its binlog, but for some reason trx->update_undo and trx->insert_undo were NULL in InnoDB, then trx->commit_lsn was garbage, and InnoDB could assert in the log flush of trx_commit_complete_for_mysql() (Bug #9277)
innobase/trx/trx0trx.c:
If MySQL wrote to its binlog, but for some reason trx->update_undo and trx->insert_undo were NULL in InnoDB, then trx->commit_lsn was garbage, and InnoDB could assert in the log flush of trx_commit_complete_for_mysql() (Bug #9277)
Diffstat (limited to 'innobase/include')
-rw-r--r-- | innobase/include/trx0trx.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/innobase/include/trx0trx.h b/innobase/include/trx0trx.h index 3be16e8f46d..4c93f25009f 100644 --- a/innobase/include/trx0trx.h +++ b/innobase/include/trx0trx.h @@ -346,6 +346,12 @@ struct trx_struct{ in MySQL's binlog write, we will flush the log to disk later in a separate call */ + ibool must_flush_log_later;/* this flag is set to TRUE in + trx_commit_off_kernel() if + flush_log_later was TRUE, and there + were modifications by the transaction; + in that case we must flush the log + in trx_commit_complete_for_mysql() */ dulint commit_lsn; /* lsn at the time of the commit */ ibool dict_operation; /* TRUE if the trx is used to create a table, create an index, or drop a |