Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcd4fd67

Browse files
committed
Attached is a 1 line bug fix for dbmirror that was submitted.
It fixes a bug where some transactions could be dropped when writingmirrored SQL statements to files.-- Steven Singer
1 parent25ee160 commitcd4fd67

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎contrib/dbmirror/DBMirror.pl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#
3434
#
3535
##############################################################################
36-
# $PostgreSQL: pgsql/contrib/dbmirror/DBMirror.pl,v 1.9 2004/04/22 03:48:38 momjian Exp $
36+
# $PostgreSQL: pgsql/contrib/dbmirror/DBMirror.pl,v 1.10 2004/07/02 00:58:09 joe Exp $
3737
#
3838
##############################################################################
3939

@@ -249,6 +249,8 @@ ()
249249
if($::slaveInfo->{'status'}eq'FileOpen')
250250
{
251251
close ($::slaveInfo->{'TransactionFile'});
252+
$::slaveInfo->{"status"} ='FileClosed';
253+
252254
}
253255
elsif($::slaveInfo->{'status'}eq'DBOpen')
254256
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp