summaryrefslogtreecommitdiffstats
path: root/ctdb/lib/tdb/tools/tdbtool.c
Commit message (Collapse)AuthorAgeFilesLines
* lib/tdb: Sync tdb from samba git treeAmitay Isaacs2012-04-131-19/+25
| | | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 0f40ea2386892ae10b30beeded0e00edf4c019c3)
* tdb tools: Mostly cosmetic adaptionsMatthias Dieter Wallnöfer2009-12-161-6/+7
| | | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from samba commit 9776cb03450d21da5d454e683bdba29793ba3f67) Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be ctdb commit d1873bd81bfc9f486b88f3a38c65c7de8f5a0909)
* lib/tdb: make tdbtool use tdb_check() for "check" commandRusty Russell2009-12-161-14/+30
| | | | | | | | | | | Also, set logging function so we get more informative messages. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (cherry picked from samba commit 094493115971cf3d5a3138ff10ebe02335824723) Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be ctdb commit 6ac7ef8bf4d384f880c7f483ace70f8e08c15a8b)
* tdb:tdbtool: fix indentation.Michael Adam2009-12-161-178/+177
| | | | | | | | | Michael (cherry picked from samba commit e440a2e11e78a562f97971c0dfe0cf3f694996ff) Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be ctdb commit c1b8d32b4ef87b9d8f37b451f47fcee2ea753d21)
* Fix all warnings in source3 with gcc4.3. Jeremy. (cherry picked from samba ↵Stefan Metzmacher2009-12-161-1/+3
| | | | | | | | commit 07e0094365e8dc360a83eec2e7cf9b1d5d8d6d00) Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be ctdb commit e4d49c182e12c2d429d0414209cc2c8ccc19dc91)
* s3/s4: Fix "shadows a global declaration" warning (cherry picked from samba ↵Tim Prouty2009-12-161-1/+1
| | | | | | | | commit e48a5cd5d4fc2626b09af16a0ac68c638d081437) Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be ctdb commit 94f5728a77b8c772fb16c4744c24b45de8016e52)
* tdb: Fix some recently introduced warnings in tdbtool (cherry picked from ↵Tim Prouty2009-12-161-6/+6
| | | | | | | | samba commit c299833bf8e6506c793d6e8283743949aaac9ef4) Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be ctdb commit 5830a2427b84e1cce74390b58fe12c45b5a056a6)
* added some more speed tests to tdbtoolAndrew Tridgell2009-12-161-6/+59
| | | | | | | | | | | | This adds 3 simple speed tests to tdbtool, for transaction store, store and fetch. On my laptop this shows transactions costing about 10ms (cherry picked from samba commit e15027155d3d880abde83124e252b3dd10a9aae4) Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be ctdb commit 463279c972fa4538919bdd1dff48ca6b2fb8d49c)
* tdb:tdbtool: add transaction_start/_commit/_cancel commands.Michael Adam2009-12-161-0/+21
| | | | | | | | | | | So one can perform tdbtool operations protected by transactions. Michael (cherry picked from samba commit 91e1bab2e9a3f33151061554f2dcf05bcb728312) Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be ctdb commit 35a5b874b925380f7c227e47aebb590c9db4739e)
* tdb:tdbtool: add the "speed" command to the help text.Michael Adam2009-12-161-0/+1
| | | | | | | | | Michael (cherry picked from samba commit 817383d88d820e7be5b5dd3d2da350d4a03a94de) Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be ctdb commit dc287a7d7420cca0b104049e689a73202bc535f8)
* Added a simple tdb integrity check to tdbtool. The command "check" runs ↵Holger Hetterich2009-12-161-1/+28
| | | | | | | | traverse on the currently open tdb, and returns the number of entries if the integrity check is successful. (cherry picked from samba commit 42366bcbbdd42bb9d5821dfcc9dbe71a1eafa330) Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be ctdb commit 02b35ba77672727c96ad004be37c7f6f1d3fe474)
* merge from samba4Andrew Tridgell2008-01-181-1/+1
| | | | (This used to be ctdb commit 21245b894b32f232251fd7c0e2fbfd073fb10514)
* merge from Samba4Andrew Tridgell2008-01-051-2/+53
| | | | (This used to be ctdb commit 9aed7a1d065272c2e5b54872228a73f37664b526)
* update lib/tdb from samba4Andrew Tridgell2007-07-101-1/+1
| | | | (This used to be ctdb commit 96a39ccee38bcfd64d614fe4670766e59ef246b6)
* update lib/replace from samba4Andrew Tridgell2007-07-101-3/+2
| | | | (This used to be ctdb commit f0555484105668c01c21f56322992e752e831109)
* merge local copy of tdb from samba4 tdbAndrew Tridgell2007-04-161-269/+336
| | | | (This used to be ctdb commit d4619ce98ce44acaebeb6ae9c516a7917bf4e27f)
* added copies of libs so can be built standaloneAndrew Tridgell2007-01-251-0/+542
(This used to be ctdb commit 0bf6e6cb371bb946ea8cc1d8c7a23a41ea715832)