X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=db-odbc%2Fodbc-api.lisp;h=f14a9d36b230cfdc3db5394dfaeac36642700525;hp=92e7607c221d313fbd77986e7ba69c06ce5826be;hb=54c765cb4ed3f4de96ced6c5c65bbe2241612954;hpb=f14449d702d77accfee76e2b8e0e7b692b89872e diff --git a/db-odbc/odbc-api.lisp b/db-odbc/odbc-api.lisp index 92e7607..f14a9d3 100644 --- a/db-odbc/odbc-api.lisp +++ b/db-odbc/odbc-api.lisp @@ -913,9 +913,7 @@ as possible second argument) to the desired representation of date/time/timestam finally (incf offset (1- i))) while (and (= res $SQL_SUCCESS_WITH_INFO) - #+ingore(eq (sql-state +null-handle-ptr+ +null-handle-ptr+ hstmt) - $sql-data-truncated) - (equal (sql-state +null-handle-ptr+ +null-handle-ptr+ hstmt) "01004")) + (> out-len +max-precision+)) do (setf res (%sql-get-data hstmt column-nr c-type data-ptr +max-precision+ out-len-ptr) out-len (deref-pointer out-len-ptr #.$ODBC-LONG-TYPE)))