ATTACH_DB: simplify the code slightly and change the semantics to only
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 24 Feb 2011 23:33:12 +0000 (10:33 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 24 Feb 2011 23:43:22 +0000 (10:43 +1100)
commitc906747d52c08588cdace0f92480b533f87ca95f
tree59f46b331e18d4ee1dd06c973c31e21619d30bc5
parentfffee2f8d7e78afdb375f457064d0e9ef77c8d30
ATTACH_DB: simplify the code slightly and change the semantics to only
refuse a db attach during recovery IF we can associate the request from a
genuine real client instead of deciding this on whether client_id is zero or

This will suppress/avoid messages like these :
DB Attach to database %s refused. Can not match clientid...
server/ctdb_ltdb_server.c