#9536: convert the contrib and sample-plugins to use context managers for database access.
Authored by: cboos 2010-10-05
Parent: [r10186]
Child: [r10188]