Skip early, in case we have a row in log2 but not in logtext2.

        Patch by fu. 

diffs (13 lines):

diff -r 75d1841dd16f -r 485f2b7ff657 bin/worker/sphinx-copier
--- a/bin/worker/sphinx-copier  Mon Nov 01 22:34:58 2010 +0800
+++ b/bin/worker/sphinx-copier  Tue Nov 02 18:49:58 2010 +0800
@@ -112,6 +112,9 @@ sub work {
         );
         die $dbfrom->errstr if $dbfrom->err;
 
+        # just make sure, in case we don't have a corresponding logtext2 row
+        next unless $row;
+
         # we need extra security bits for some metadata.  we have to do this 
this way because
         # it makes it easier to later do searches on various combinations of 
things at the same
         # time...  also, even though these are bits, we're not going to ever 
use them as actual bits.
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to