projects
/
clsql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0a29c2f
)
From darcs: * Teach expressions how to deal with identity columns
author
nathan@acceleration.net
<nathan@acceleration.net>
Fri, 22 Feb 2008 20:59:39 +0000
(15:59 -0500)
committer
Nathan Bird
<nathan@acceleration.net>
Mon, 2 Feb 2009 20:08:59 +0000
(15:08 -0500)
sql/expressions.lisp
patch
|
blob
|
history
diff --git
a/sql/expressions.lisp
b/sql/expressions.lisp
index 6aaededd7c6b32aa1c58337c9257fc6e400d29a8..63885153259d9fad208f1a9bc3636372936e340e 100644
(file)
--- a/
sql/expressions.lisp
+++ b/
sql/expressions.lisp
@@
-967,7
+967,9
@@
uninclusive, and the args from that keyword to the end."
(cons (symbol-name-default-case "UNSIGNED") "UNSIGNED")
(cons (symbol-name-default-case "ZEROFILL") "ZEROFILL")
(cons (symbol-name-default-case "AUTO-INCREMENT") "AUTO_INCREMENT")
(cons (symbol-name-default-case "UNSIGNED") "UNSIGNED")
(cons (symbol-name-default-case "ZEROFILL") "ZEROFILL")
(cons (symbol-name-default-case "AUTO-INCREMENT") "AUTO_INCREMENT")
- (cons (symbol-name-default-case "UNIQUE") "UNIQUE")))
+ (cons (symbol-name-default-case "UNIQUE") "UNIQUE")
+ (cons (symbol-name-default-case "IDENTITY") "IDENTITY (1,1)") ;Added Identity for MS-SQLServer support
+ ))
(defmethod database-constraint-statement (constraint-list database)
(declare (ignore database))
(defmethod database-constraint-statement (constraint-list database)
(declare (ignore database))