projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 5.0.3: Full foreign string internationalization support
[clsql.git]
/
sql
/
db-interface.lisp
diff --git
a/sql/db-interface.lisp
b/sql/db-interface.lisp
index ada842d69d4efd2cffb0a9831fb2ef95e1691bea..8bcc42e964902f388ff840733b49239bb1d36ced 100644
(file)
--- a/
sql/db-interface.lisp
+++ b/
sql/db-interface.lisp
@@
-9,9
+9,7
@@
;;;; onShoreD to support UncommonSQL front-end
;;;; Date Started: Feb 2002
;;;;
;;;; onShoreD to support UncommonSQL front-end
;;;; Date Started: Feb 2002
;;;;
-;;;; $Id$
-;;;;
-;;;; This file, part of CLSQL, is Copyright (c) 2002-2004 by Kevin M. Rosenberg
+;;;; This file, part of CLSQL, is Copyright (c) 2002-2010 by Kevin M. Rosenberg
;;;; and Copyright (c) 1999-2001 by Pierre R. Mai, and onShoreD
;;;;
;;;; CLSQL users are granted the rights to distribute and use this software
;;;; and Copyright (c) 1999-2001 by Pierre R. Mai, and onShoreD
;;;;
;;;; CLSQL users are granted the rights to distribute and use this software
@@
-129,7
+127,7
@@
returns nil when result-set is finished."))
(defgeneric database-probe (connection-spec type)
(:method (spec type)
(declare (ignore spec))
(defgeneric database-probe (connection-spec type)
(:method (spec type)
(declare (ignore spec))
- (warn "database-proe not support for database-type ~A." type))
+ (warn "database-pro
b
e not support for database-type ~A." type))
(:documentation
"Probes for the existence of a database, returns T if database found or NIL
if not found. May signal an error if unable to communicate with database server."))
(:documentation
"Probes for the existence of a database, returns T if database found or NIL
if not found. May signal an error if unable to communicate with database server."))
@@
-141,17
+139,14
@@
if not found. May signal an error if unable to communicate with database server.
(:documentation
"Lists all databases found for TYPE. May signal an error if unable to communicate with database server."))
(:documentation
"Lists all databases found for TYPE. May signal an error if unable to communicate with database server."))
-(defgeneric database-destroy (connection-spec database)
- (:documentation "Destroys (drops) a database."))
-
(defgeneric database-truncate (database)
(:method ((database t))
(signal-no-database-error database))
(:documentation "Remove all data from database."))
(defgeneric database-truncate (database)
(:method ((database t))
(signal-no-database-error database))
(:documentation "Remove all data from database."))
-(defgeneric database-dest
or
y (connection-spec type)
+(defgeneric database-dest
ro
y (connection-spec type)
(:documentation
(:documentation
- "Destroys a database, returns T if successfull or signals an error
+ "Destroys
(drops)
a database, returns T if successfull or signals an error
if unable to destory."))
(defgeneric database-create-sequence (name database)
if unable to destory."))
(defgeneric database-create-sequence (name database)
@@
-377,6
+372,12
@@
of TYPE_NAME (keyword) PRECISION SCALE NULLABLE.")
t)
(:documentation "T [default] if database-type supports EXCEPT."))
t)
(:documentation "T [default] if database-type supports EXCEPT."))
+(defgeneric db-type-has-auto-increment? (db-type)
+ (:method (db-type)
+ (declare (ignore db-type)
+ nil))
+ (:documentation "NIL [default] if database-type supports auto-incrementing columns."))
+
;;; Large objects support (Marc Battyani)
(defgeneric database-create-large-object (database)
;;; Large objects support (Marc Battyani)
(defgeneric database-create-large-object (database)