summaryrefslogtreecommitdiff
path: root/bdb/rep
diff options
context:
space:
mode:
authorunknown <ram@mysql.r18.ru>2002-12-19 12:38:32 +0400
committerunknown <ram@mysql.r18.ru>2002-12-19 12:38:32 +0400
commitde539bf30adc10a93759729531622dd10ac42155 (patch)
tree98eee4f316172c3c9c047e0cdfcf87f3457f927d /bdb/rep
parent2cae041aa8724c443208693053c488caa5499421 (diff)
downloadmariadb-git-de539bf30adc10a93759729531622dd10ac42155.tar.gz
patches from sleepycat.com have been applied (SCRUM)
ha_berkeley::rename_table() has been added (SCRUM) bdb/db/db_open.c: patches from sleepycat.com have been applied bdb/log/log_put.c: patches from sleepycat.com have been applied bdb/mp/mp_fopen.c: patches from sleepycat.com have been applied bdb/rep/rep_record.c: patches from sleepycat.com have been applied bdb/txn/txn.c: patches from sleepycat.com have been applied sql/ha_berkeley.cc: ha_berkeley::rename_table() has been added sql/ha_berkeley.h: ha_berkeley::rename_table() has been added
Diffstat (limited to 'bdb/rep')
-rw-r--r--bdb/rep/rep_record.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bdb/rep/rep_record.c b/bdb/rep/rep_record.c
index e725008786c..d3619f509b4 100644
--- a/bdb/rep/rep_record.c
+++ b/bdb/rep/rep_record.c
@@ -1198,6 +1198,9 @@ gap_check: lp->wait_recs = 0;
* replica get flushed now and again.
*/
ret = dbenv->log_flush(dbenv, &ckp_lsn);
+ /* Update the last_ckp in the txn region. */
+ if (ret == 0)
+ __txn_updateckp(dbenv, &rp->lsn);
break;
case DB___txn_regop:
if (!F_ISSET(dbenv, DB_ENV_REP_LOGSONLY))