summaryrefslogtreecommitdiff
path: root/lib/tdb/test/run.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-16 19:43:15 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-16 13:51:51 +0200
commitc92a5670e3d60decbc13bd8680de37184bc12815 (patch)
tree5d0987b2c12caba6235cd55c35f87cde0c784ad8 /lib/tdb/test/run.c
parenta8e88332a394f4a4c3e43b496738008fba39d39f (diff)
downloadsamba-c92a5670e3d60decbc13bd8680de37184bc12815.tar.gz
samba-c92a5670e3d60decbc13bd8680de37184bc12815.tar.bz2
samba-c92a5670e3d60decbc13bd8680de37184bc12815.zip
pytdb: Check if the database is closed before we touch it
If .close() has already been called, we have to play dead - the self->ctx is just not valid any more, as we have been shut down to allow some other part of Samba to open the tdb. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Jul 16 13:51:52 CEST 2012 on sn-devel-104
Diffstat (limited to 'lib/tdb/test/run.c')
0 files changed, 0 insertions, 0 deletions