X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=db-odbc%2Fodbc-dbi.lisp;h=3a14e72b14bc5189bd9077c94bbcba35ca18adda;hb=ddae27a4c55b8a055afc167bd7d65c766cc6c78e;hp=7b20556f0946de50d9b0e43ad940a0be2b796cd7;hpb=a6576bcf62dd1e710085ec74089d0730d599001b;p=clsql.git diff --git a/db-odbc/odbc-dbi.lisp b/db-odbc/odbc-dbi.lisp index 7b20556..3a14e72 100644 --- a/db-odbc/odbc-dbi.lisp +++ b/db-odbc/odbc-dbi.lisp @@ -176,7 +176,8 @@ the query against." )) ((zerop count) (close-query query) (when eof-errorp - (error 'clsql-odbc-error :odbc-message "Ran out of data in fetch-row")) + (error 'sql-database-data-error + :message "ODBC: Ran out of data in fetch-row")) eof-value) (t (car row))))) @@ -357,7 +358,7 @@ the query against." )) "get-free-query finds or makes a nonactive query object, and then sets it to active. This makes the functions db-execute-command and db-query thread safe." (with-slots (queries hdbc) database - (or (clsql-base:without-interrupts + (or (clsql-sys:without-interrupts (let ((inactive-query (find-if (lambda (query) (not (query-active-p query))) queries)))