[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SchemeQL problem



> Could you please cvs update your copy of SchemeQL? I've just added the
> setting of this attribute.

Now I get:

> (require (lib "schemeql.ss" "schemeql"))
> (connect-to-database "db" "uid" "pwd")
set-connect-attr: expects type <sql-hdbc> as 1st argument, given:
#<sql-henv>; o
ther arguments were: sql-attr-odbc-version sql-ov-odbc3

I think the 'set-connect-attr' should be 'set-env-attr' and operate on the
henv.

If I change it to 'set-env-attr' then I can successfully connect to the
database. But if I execute something I get an error:

> (connect-to-database "db" "uid" "pwd")
#<struct:connection>
> (schemeql-execute (query 'all '("FOO")))
SELECT *
   FROM FOO
Invalid column attribute: sql-column-unsigned

Chris.