Ignore:
Timestamp:
02/19/2008 08:12:24 PM (18 years ago)
Author:
raverkamp
revision id:
svn-v3-trunk1:1c22b0a8-4d0b-0410-a296-af6a2e6f35e3:plain-odbc%2Ftrunk:11
Message:

fixed lob parameter handling, fixed tests so they run with sbcl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • unicode/src/odbc/odbc-main.lisp

    r5 r5.1.1  
    467467;; this functions works only, since we store at value-ptr the position
    468468;; of the parameter
    469 ;; dso--
    470469(defun sql-param-data-position (hstmt)
    471470  (with-temporary-allocations
     
    474473                   (%sql-param-data hstmt ptr))))
    475474      (values res (if (= res $SQL_NEED_DATA)
    476                       (cffi:mem-ref (cffi:mem-ref ptr :pointer) :int32))))))
    477                                         ; TODO: The :int32 above
    478                                         ; should probably be changed!
     475                      (cffi:mem-ref (cffi:mem-ref ptr :pointer) :long))))))
     476
     477
    479478
    480479(defmethod exec-prepared-query ((query prepared-statement) &rest parameters)
Note: See TracChangeset for help on using the changeset viewer.