Age | Commit message (Collapse) | Author | Files | Lines |
|
Jeremy.
(cherry picked from commit 0bae1ef3de8fda5e1e2d641b14a408e627396912)
(This used to be commit db2acaf46fdc38078b6b28b68909e289f6c9e0ec)
|
|
to do so may result in lost data. Fix an ifdef check, I really think we meant to check HAVE_MMAP here.
(cherry picked from commit 74c8575b3f3b90ea21ae6aa7ccd95947838af956)
(This used to be commit 8fd54bb55f0c23bd025d1719abcbe75c6a2ea8ac)
|
|
With the ctdb checkin dde9f3f006 tdb optimized out write lock checks for
write-enabled transaction. Sadly, this also removed the possibility to ever
remove dead records left over from tdb_delete calls within a transaction.
Tridge, please check this! Did dde9f3f006 have any reason beyond performance
optimizations?
Thanks,
Volker
(cherry picked from commit 3f884c4ae36f3260e63626bdd4989d9258ae6497)
(This used to be commit 1d85e0647e287d269b3f6b534da88f497d6f76c3)
|
|
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
(This used to be commit 17c012c4645f4e9542537c15f80d9b4e74304d11)
|
|
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 fafb8ad2b81b9a46cf8259bedc1dca5023b06115)
|
|
(This used to be commit 22e7bcfbe4534c070ac2dd5f39773ea023dfa7f7)
|
|
(This used to be commit 3d798a1440603b7929955f2120f09ba1482885a1)
|
|
(This used to be commit 3563d62663c36ff267011f1f6f9b256be21c32fb)
|
|
(This used to be commit 8ee4f075046e0b181ec8a4ac1eaf3ea5621a56bf)
|
|
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
|
|
(This used to be commit 58665a8a8e4b10435aebbf2c95b6a8e50db232d6)
|
|
makefiles.
(This used to be commit b865249efaa58d0fc87fa25491fda3b970af81c3)
|
|
used for tdb_traverse() to tdb_traverse_read().
Jeremy.
(This used to be commit e05ec3047c4fe0cc2e09a812830fc835dc35abea)
|
|
Calling tdb_traverse inside a transaction led to the transaction lock being
held indefinitely. This was caused by the tdb_transaction_lock/unlock inside
tdb_traverse: The transaction code holds the global lock at offset
TRANSACTION_LOCK. The call to tdb_transaction_lock does nothing because the
transaction_lock is already being held. tdb_transaction_unlock inside tdb_wrap
resets tdb->have_transaction_lock but does not release the kernel-level fcntl
lock. transaction_commit later on does not release that fcntl lock either,
because tdb->have_transaction_lock was already reset by tdb_transaction().
This patch does fix that problem for me. An alternative would be to make
tdb->have_transaction_lock a counter that can cope with proper nesting, maybe
in other places as well.
Volker
(This used to be commit 89543005fe2e4934b3c560c937d49304a32a7fc2)
|
|
(This used to be commit eae17ae8ecdcb83fdb756189a9d5609a192371a4)
|
|
(This used to be commit 205699ed663a3c6d27695dee25bf26978615b475)
|
|
(This used to be commit d8fe782dc200907e0364c623e187c51f4d44edb2)
|
|
(This used to be commit 787a32fdef9d761d64839f489cca0b0684f9a9fd)
|
|
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
|
|
(This used to be commit 2243e24024f09ff9c9c7d0eb735c3b39c9d84424)
|
|
Never install generated prototype files. It's easier to break the
API when using them and they're not easily readable for 3rd party users.
Conflicts:
source/auth/config.mk
source/auth/credentials/config.mk
source/auth/gensec/config.mk
source/build/smb_build/config_mk.pm
source/build/smb_build/main.pl
source/build/smb_build/makefile.pm
source/dsdb/config.mk
source/lib/charset/config.mk
source/lib/tdr/config.mk
source/lib/util/config.mk
source/libcli/config.mk
source/libcli/ldap/config.mk
source/librpc/config.mk
source/param/config.mk
source/rpc_server/config.mk
source/torture/config.mk
(This used to be commit 6c659689ed4081f1d7a6253c538c7f01784197ba)
|
|
(This used to be commit 8cb07814bc6627fc8eba228eafd13336e3ca3758)
|
|
(This used to be commit af9e0421529104d2583c58f7723abe8612e78f53)
|
|
use shared library versions if they are provided by the system.
This puts talloc and tdb in a similar situation as popt:
the system version is used if provided but if it's not there or if it
is too old, we use our internal version statically.
(This used to be commit 86f88eb7b51377344eebf0b6fabad0f5459b3f45)
|
|
shared lib internally.
(This used to be commit 28539f48e6ad37a6436e6f2c6733ee1fcbc6567f)
|
|
(This used to be commit deb1dae2dabad3d74a1c6adf2c0b0d56917cca83)
|
|
(This used to be commit 981957165d09e82947f68475192f1ce1f0ddbdd3)
|
|
(This used to be commit 6c9a8bf9f03cef0fc1c5f7ec3f8786eccf79c851)
|
|
(This used to be commit ab19a8f62719eb0f347696a2e5f34f8847fd82cb)
|
|
(This used to be commit 8ef36fe54555cc0c5ac0d1f118d0a1a7b770c2fd)
|
|
(This used to be commit 7b93e43dad55454e9107a38e67764e08f51392d3)
|
|
(This used to be commit 94dfeb5e89a641e2af3d7426d9d25c87952198d2)
|
|
(This used to be commit 35c8ebdca2612b52cd3eb2aafd35041d17173722)
|
|
(This used to be commit b5d4ab2cf4a73883fff867f878788d94bd8e1649)
|
|
(This used to be commit 9f233c14540cd4b2d5f4c7fe01e2d89cb220abc8)
|
|
(This used to be commit b3e60a388d338ef90540007239e88563cb9ba27a)
|
|
(This used to be commit df4efb902ec5053ae9d7c6e4fd1e21255ca66914)
|
|
(This used to be commit eb3af24926977208a8099c848a510704d2ae3524)
|
|
(This used to be commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
|
|
(This used to be commit c8947fda23eb874a7694bdee1b4de605744c2769)
|
|
(This used to be commit 2fc26c09026a0f2f74e5c7c86002e662b559d265)
|
|
(This used to be commit 7077df3e2e3f171532f6a5ac87d45201736c9c11)
|
|
(This used to be commit c54c087a19e36e0522eb4546c9425ae446f0628b)
|
|
(This used to be commit ed0c3a0f74c305b3b8554b05c3f97cf79db8296a)
|
|
tdb Python bindings.
(This used to be commit 47d797f7885b1e7bcff724496ecb1990e8440eea)
|
|
(This used to be commit 8d77ea379fef5ad4b2718bc8e0620304588c9239)
|
|
(This used to be commit 62017f049bc0b0f311ba49d03084044faa5e6dcd)
|
|
Use tempfile.mkstemp() instead of os.tmpnam() in tests.
(This used to be commit 5c3c131d174ba0f162c210d3e6ca30f2ed2a3ec0)
|
|
(This used to be commit aa438a2febc6562aa6f71505936d0872a6dcd17d)
|
|
interface.
(This used to be commit fadab7c60bb6dc5746cb2ee16f9c86fa0e0cdf1a)
|