Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
This reverts commit fafb8ad2b81b9a46cf8259bedc1dca5023b06115.
This fix is not valid:
1. convert_string() is not only used for key strings but also for data.
2. Some databases use string_tdb_data() i.e. non-null-terminated strings
as keynames and others (like the one I was using), use
string_term_tdb_data(), i.e. zero-terminated key strings.
After discussion with Metze, the easiest (and proper way) to
handle this is to specify key names as "keyname\0" for databases
which use string_term_tdb_data().
Sorry for the noise...
Michael
(cherry picked from commit 17c012c4645f4e9542537c15f80d9b4e74304d11)
(This used to be commit 42c953c106b3da90e8c3452c4a246392502c200d)
|
|
This prevented all commands operating on keys (all non-traverse commands)
in tdbtool to fail with a "fetch failed" or "delete failed" message.
It seems that it fixes bug #2344 ...
Apparently this bug was introduced with 94e53472666ed in 2005.
Either nobody is using tdbtool or else tdb_find() has become
more strict about the key legth in the meantime. :-)
Michael
(This used to be commit 9be6b46f7715cdc7f77308d7613e8df73effe3c1)
|
|
(This used to be commit e18fab269c7370a6670c56eeab60fd90feecf0b2)
|
|
Jeremy.
(This used to be commit c14db81be5212dfa6fbcf8bfdcf725d7db3376ca)
|
|
Mainly this is the svn changes :
------------------------------------------------------------------------
r23238 | tridge | 2007-05-30 01:15:49 -0700 (Wed, 30 May 2007) | 6 lines
merged transaction lock changes from ctdb
this ensures that having the global lock also implies the transaction
lock
------------------------------------------------------------------------
r22832 | tridge | 2007-05-13 18:00:06 -0700 (Sun, 13 May 2007) | 3 lines
merged the latest tdb changes from ctdb to Samba4
Jeremy.
(This used to be commit ab11c0055761e97ba32a8c3ec4fa6f8763a262cd)
|
|
an alarm sig would not terminate and could lead
to runaway smbd processes.
Thanks to Dave Daugherty @ Centrify for pointing
this out to us.
Jeremy.
(This used to be commit ef8da1698371c95495add53df81a978df709c88d)
|
|
Michael
(This used to be commit 63c4c40cf7055ab7cf413a23e306cf209a1dd0a1)
|
|
(This used to be commit 864b3d260f3b099b1f24edf4ed0a7ed52b05f6cc)
|
|
Michael
(This used to be commit 3a2a032a44502eebdb61faf9cfdb3e54f5072514)
|
|
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
|
|
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
|
|
(This used to be commit a343521439f68c76c9939f04eea96c6e6d6b01e4)
|
|
fix compiler warning
metze
(This used to be commit e9200b4475bcae4fd5eaaf94905c8a9beccd635a)
|
|
and make the functions static.
also use libreplace headers in tdbbackup.c
metze
(This used to be commit 1ca12b1c9e7e8267fa13a40ebeb2bdcd199237de)
|
|
metze
(This used to be commit d757cdc092b07972c110208717f13fdc0656f55f)
|
|
metze
(This used to be commit c7def92a9c2e17c90061ef17bc14e36250574e85)
|