Ignore:
Timestamp:
02/04/2008 12:59:54 AM (18 years ago)
Author:
David Owen <dsowen@…>
branch-nick:
test
parents:
RevTreeChgset
12@64-bit,12[64-bit,12]
2.1.1@64-bit,2.1.1[64-bit,2.1.1]
revision id:
dsowen@fugue88.ws-20080204005954-s1vx8hf9i7l2iqqe
Message:

Merged most of revision 3 from vendor. Vendor made some backtracks from sql-pointer to :long for unknown reason, and added MySQL stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 64-bit/src/odbc/odbc-functions.lisp

    r6 r13  
    261261; col-nr = :bookmark retrieves a bookmark.
    262262(defun %bind-column (hstmt column-nr c-type data-ptr precision out-len-ptr)
    263   (declare ((integer 0) column-nr))
     263  (declare (type (integer 0) column-nr))
    264264  (with-error-handling
    265265      (:hstmt hstmt)
     
    272272                            sql-type precision scale data-ptr
    273273                            max-value out-len-ptr)
    274   (declare ((integer 0) parameter-nr))
     274  (declare (type (integer 0) parameter-nr))
    275275  (with-error-handling
    276276      (:hstmt hstmt)
     
    499499;; Column counting is 1-based
    500500(defun %describe-column (hstmt column-nr)
    501   (declare ((integer 1) column-nr))
     501  (declare (type (integer 1) column-nr))
    502502  (with-temporary-allocations
    503503      ((column-name-ptr (alloc-chars 256))
     
    593593; column-nr is zero-based
    594594(defun %sql-get-data (hstmt column-nr c-type data-ptr precision out-len-ptr)
    595   (declare ((integer 0) column-nr))
     595  (declare (type (integer 0) column-nr))
    596596  (with-error-handling
    597597      (:hstmt hstmt :print-info nil)
     
    600600
    601601(defun %sql-get-data-raw (hstmt position c-type data-ptr buffer-length ind-ptr)
    602   (declare ((integer 0) position))
     602  (declare (type (integer 0) position))
    603603  (SQLGetData hstmt (1+ position)
    604604              c-type data-ptr buffer-length ind-ptr))
Note: See TracChangeset for help on using the changeset viewer.