s3:dbwrap_ctdb: fix reading/storing of special key __db_sequence_number__
commit02a422096e8829d31d99570e9614caf1e133087c
authorMichael Adam <obnox@samba.org>
Mon, 18 Jan 2010 16:26:04 +0000 (18 17:26 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 1 Apr 2010 07:39:16 +0000 (1 09:39 +0200)
treeb5954e6dfbf0e00b157cf3b04b42fce3add58c35
parent777a4d7e7818155c13ed733a94472e8a6bc369b9
s3:dbwrap_ctdb: fix reading/storing of special key __db_sequence_number__

The key for reading and writing was inconsistent due to a
off by one data length.

Michael
(cherry picked from commit 1933214108d1a71bc6473a696ce35020a427d8f4)
(cherry picked from commit c17daced42b3ea78fa8e6f6afc8c2550cac53ca0)
source3/lib/dbwrap_ctdb.c