Don't convert invalid rows if not adding link info.

This commit is contained in:
lcdr 2015-08-29 13:51:08 +02:00
parent 0d133acbad
commit 3a1c0a73e0

View File

@ -120,8 +120,6 @@ class convert:
if row_pointer == -1:
if self.add_link_info:
yield (None,) * (number_of_columns-1) + (True,) # invalid row
else:
yield (None,) * number_of_columns
rowid += 1
else:
linked_rows, rowid = self._read_row(rowid, pointer=row_pointer)