]> git.pond.sub.org Git - empserver/commit
xundump: Don't require ID field to come first
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 8 Feb 2014 16:51:37 +0000 (17:51 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 1 Feb 2015 15:53:00 +0000 (16:53 +0100)
commit13e3ce4e59f7bc21a27cf780012d0b80ab445e6a
treefd17d91ac994bd460320fa2377059339f67f4c35
parent33d80e9f7f243ea887cebe5200cc719cf9c61da8
xundump: Don't require ID field to come first

The code needs it first so it can store field values into the object
right away.  Save the values instead, and store them when the row is
complete.

The improvement is hardly worth the trouble by itself, but it'll
simplify supporting keys consisting of multiple fields, like sector
xloc, yloc or realm cnum, realm, so we can omit rows in those tables,
too.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/common/xundump.c
tests/empdump/errors.err
tests/empdump/xundump-errors/colhdr-first [deleted file]
tests/empdump/xundump-errors/ftr-fewrows4
tests/empdump/xundump-errors/ftr-manyrows2 [new file with mode: 0644]