r9416: 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
authorKevin M. Rosenberg <kevin@rosenberg.net>
Thu, 20 May 2004 12:31:47 +0000 (12:31 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Thu, 20 May 2004 12:31:47 +0000 (12:31 +0000)
        * Version 2.10.19
        * sql/conditions.lisp: Fix cerror

ChangeLog
db-oracle/oracle-api.lisp
db-oracle/oracle-sql.lisp
debian/changelog

index 5d045f511a02494a6cb089f809a334f6050f8f7d..4739cd5e8c200055b1bbce9c1ffd620aa8fffcab 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
+       * Version 2.10.19
+       * sql/conditions.lisp: Fix cerror
+       
 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
        * Version 2.10.18 released: New condition hierarchy to be compatible
        with CommonSQL -- not backward compatible with previous CLSQL.
index 4f222bf94677f35b7f711bcb39987cdba19238c7..1ac8ea81245161e45de37f54dd66eeac7f12ad5c 100644 (file)
   (let ((envhp (oci-get-handle :type :env)))
     (oci-env-init envhp 0 0 +null-void-pointer+)
     envhp))
-)
index 87aede6af98f24cc42108f3dd93cca1214496082..508bc9d4c3ef17dea38828c3ef1fdbf450a6c115 100644 (file)
@@ -323,7 +323,7 @@ the length of that format.")
 ;; STREAM which has no more data, and QC is not a STREAM, we signal
 ;; DBI-ERROR instead.
 
-(uffi:def-type short-pointer '(* :short))
+(uffi:def-type short-array '(:array :short))
 (uffi:def-type int-pointer '(* :int))
 (uffi:def-type double-pointer '(* :double))
 
@@ -380,17 +380,15 @@ the length of that format.")
                    (value
                     (let* ((arb (foreign-resource-buffer (cd-indicators cd)))
                            (indicator (uffi:deref-array arb '(:array :short) irow)))
-                      (declare (type short-pointer arb))
+                      (declare (type short-array arb))
                       (unless (= indicator -1)
                         (ecase (cd-oci-data-type cd)
                           (#.SQLT-STR  
                            (deref-oci-string b irow (cd-sizeof cd)))
                           (#.SQLT-FLT  
-                           (uffi:with-cast-pointer (bd b :double)
-                             (uffi:deref-array bd '(:array :double) irow)))
+                           (uffi:deref-array bd '(:array :double) irow))
                           (#.SQLT-INT  
-                           (uffi:with-cast-pointer (bi b :int)
-                             (uffi:deref-array bi '(:array :int) irow)))
+                           (uffi:deref-array bi '(:array :int) irow))
                           (#.SQLT-DATE 
                            (deref-oci-string b irow (cd-sizeof cd))))))))
               (when (and (eq :string (cd-result-type cd))
@@ -758,7 +756,8 @@ the length of that format.")
        (uffi:with-foreign-object (buf '(:array :unsigned-char #.+errbuf-len+))
          (oci-server-version (deref-vp svchp)
                              (deref-vp errhp)
-                             buf +errbuf-len+ +oci-htype-svcctx+)
+                             (uffi:char-array-to-pointer buf)
+                             +errbuf-len+ +oci-htype-svcctx+)
          (setf server-version (uffi:convert-from-foreign-string buf)))
        (setq db (make-instance 'oracle-database
                                :name (database-name-from-spec connection-spec
index 89fba73f24d0bdfffeef629b70e69001ecce94ec..55de6411b9b9df8474e0d6be3dcdac1ea0c5f1ae 100644 (file)
@@ -1,3 +1,9 @@
+cl-sql (2.10.19-1) unstable; urgency=low
+
+  * New upstream
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Thu, 20 May 2004 04:54:53 -0600
+
 cl-sql (2.10.18-1) unstable; urgency=low
 
   * New upstream