r8995: add quote to default parameter for WITH-TRANSACTIONS
[clsql.git] / base / transaction.lisp
index da03282c811ce3e644b1adbd7aed8689fdd81aa3..fa4f7523fd72af0c4cea3c72a2ae33ef99703fa4 100644 (file)
@@ -63,7 +63,7 @@
               :format-arguments (list database))))
 
 
-(defmacro with-transaction ((&key (database *default-database*)) &rest body)
+(defmacro with-transaction ((&key (database '*default-database*)) &rest body)
   "Executes BODY within a transaction for DATABASE (which defaults to
 *DEFAULT-DATABASE*). The transaction is committed if the body finishes
 successfully (without aborting or throwing), otherwise the database is