[Bps-public-commit] Prophet branch, master, updated. 2afbf36512f3348299889d6f63a126d19e7ecbbb
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Tue May 26 23:41:01 EDT 2009
The branch, master has been updated
via 2afbf36512f3348299889d6f63a126d19e7ecbbb (commit)
from 15511112871705999a86f095b3cdd1d4722f6585 (commit)
Summary of changes:
lib/Prophet/Replica/prophet.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 2afbf36512f3348299889d6f63a126d19e7ecbbb
Author: sunnavy <sunnavy at gmail.com>
Date: Wed May 27 11:40:48 2009 +0800
original_sequence_no can be 0
diff --git a/lib/Prophet/Replica/prophet.pm b/lib/Prophet/Replica/prophet.pm
index 8df13bf..95bea13 100644
--- a/lib/Prophet/Replica/prophet.pm
+++ b/lib/Prophet/Replica/prophet.pm
@@ -665,7 +665,7 @@ sub commit_edit {
my $self = shift;
my $sequence = $self->_increment_sequence_no;
$self->current_edit->original_sequence_no($sequence)
- unless ( $self->current_edit->original_sequence_no );
+ unless ( defined $self->current_edit->original_sequence_no );
$self->current_edit->original_source_uuid( $self->uuid )
unless ( $self->current_edit->original_source_uuid );
$self->current_edit->sequence_no($sequence);
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list