mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-07 23:07:00 +02:00
Implement support for DBF deleted records.
Skip over deleted records rather than blindly importing them. Requires an update of the underlying DBF library. Fixes #985.
This commit is contained in:
parent
d8b0bd5145
commit
26cc9ca79f
@ -23,7 +23,9 @@
|
||||
(loop
|
||||
:with count := (db3:record-count db3)
|
||||
:repeat count
|
||||
:for row-array := (db3:load-record db3 stream)
|
||||
:for (row-array deleted) := (multiple-value-list
|
||||
(db3:load-record db3 stream))
|
||||
:unless deleted
|
||||
:do (funcall process-row-fn row-array)
|
||||
:finally (return count)))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user