[Bps-public-commit] r17224 - Prophet/branches/sqlite/lib/Prophet/Replica

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sun Dec 14 23:16:18 EST 2008


Author: sunnavy
Date: Sun Dec 14 23:16:18 2008
New Revision: 17224

Modified:
   Prophet/branches/sqlite/lib/Prophet/Replica/sqlite.pm

Log:
we need to feed source_uuid for changeset object

Modified: Prophet/branches/sqlite/lib/Prophet/Replica/sqlite.pm
==============================================================================
--- Prophet/branches/sqlite/lib/Prophet/Replica/sqlite.pm	(original)
+++ Prophet/branches/sqlite/lib/Prophet/Replica/sqlite.pm	Sun Dec 14 23:16:18 2008
@@ -434,7 +434,7 @@
     my $self = shift;
     my $data = shift;
     require Prophet::ChangeSet;
-    my $changeset = Prophet::ChangeSet->new(%$data);
+    my $changeset = Prophet::ChangeSet->new(%$data, source_uuid => $self->uuid );
 
     
     my $sth = $self->dbh->prepare("SELECT id, record, change_type from changes WHERE changeset = ?");



More information about the Bps-public-commit mailing list