Macro | Package: dbi.mysql | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## with-locked-tables

Arguments: ( &optional db) &rest body

The forms in the body are evaluated and when control leaves the body through any means all tables are unlocked. This is just a call to `(sql "unlock tables")` in the cleanup form of an unwind-protect. See sql.

db should be a `mysql` object returned by connect. The value of `*mysql*` is a suitable value (and the default).

See mysql.htm for information on the Allegro MySQL facility.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version