projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r9408: 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
[clsql.git]
/
db-oracle
/
oracle-objects.lisp
diff --git
a/db-oracle/oracle-objects.lisp
b/db-oracle/oracle-objects.lisp
index d9ac4a877e0dd88ea9952b20521ec9aa5d8156e2..581f7f9e2f6382b35d381c75383b37c5d7ba0d41 100644
(file)
--- a/
db-oracle/oracle-objects.lisp
+++ b/
db-oracle/oracle-objects.lisp
@@
-22,8
+22,14
@@
(declare (ignore type args))
(concatenate 'string "VARCHAR2(" *oracle-default-varchar2-length* ")"))
(declare (ignore type args))
(concatenate 'string "VARCHAR2(" *oracle-default-varchar2-length* ")"))
+(defmethod database-get-type-specifier ((type (eql 'integer)) args (database oracle-database))
+ (if args
+ (format nil "NUMBER(~A,~A)"
+ (or (first args) 38) (or (second args) 0))
+ "INTEGER"))
+
(defmethod database-get-type-specifier
(defmethod database-get-type-specifier
- ((type (eql '
integer
)) args (database oracle-database))
+ ((type (eql '
bigint
)) args (database oracle-database))
(if args
(format nil "NUMBER(~A,~A)"
(or (first args) 38) (or (second args) 0))
(if args
(format nil "NUMBER(~A,~A)"
(or (first args) 38) (or (second args) 0))