Bug#239273: Missing structure field 'res-ptr' in 'postgresql-result-set'

[email protected] Mon, 22 Mar 2004 01:05:54 +0100
Newsgroups gmane.lisp.uncommon-sql
Message-ID <20040322000554.GA15993__5945.8201322288$1079915109@www>
Package: cl-uncommonsql-postgresql
Version: 1.2.1-2
Severity: serious
Tags: patch


The structure  'postgresql-result-set' in file  file './dbms/postgresql/postgresql-sql.lisp'
lacks the definition of the structure field 'res-ptr' which will cause a runtime error
during evaluation of the (sql:do-query ....) form.
Quick fix:

*** ./dbms/postgresql/postgresql-sql.lisp	Fri Oct 17 15:44:09 2003
--- /usr/share/common-lisp/source/uncommonsql-postgresql/dbms/postgresql/postgresql-sql.lisp	Mon Mar 22 00:02:53 2004
***************
*** 179,184 ****
--- 179,185 ----
    #+cmu (res-ptr (sap-alien (int-sap 0) psql-result)
                   :type (alien psql-result))
    #+lispworks (res-ptr NIL)
+   #+sbcl      (res-ptr NIL)
    (num-tuples 0)
    (num-fields 0)
    (tuple-index 0))


 TIA


     Ralf Mattes