X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=sql%2Fbase-classes.lisp;h=87833fc3bf4ccae1145cb867a358a9a904684a03;hp=7ebbc5c534ac821b41406f391edb838c5e06ab91;hb=333e8280f2f3438ffd379349bc9746c34cccc159;hpb=e5a6fadf80e923a4fa08fbb8af16652d7970983e diff --git a/sql/base-classes.lisp b/sql/base-classes.lisp index 7ebbc5c..87833fc 100644 --- a/sql/base-classes.lisp +++ b/sql/base-classes.lisp @@ -29,6 +29,7 @@ (database-type :initarg :database-type :initform :unknown :reader database-type) (state :initform :closed :reader database-state) + (autocommit :initform t :accessor database-autocommit) (command-recording-stream :accessor command-recording-stream :initform nil) (result-recording-stream :accessor result-recording-stream :initform nil) (record-caches :accessor record-caches :initform nil) @@ -51,4 +52,5 @@ are a list of ACTION specified for table and any cached value of list-attributes "") (database-state object)))) - +(setf (documentation 'database-name 'function) + "Returns the name of a database.")