]> gitweb.factorcode.org Git - factor.git/commit
odbc: better cleanup of resources, rename - to _ in C constants
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 31 May 2023 01:57:39 +0000 (20:57 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 31 May 2023 02:00:29 +0000 (21:00 -0500)
commitfc434c42bb2a5c9d657aafe3fa785c4faddbf279
tree0d00df16e07f5e28b2f226c69e4de1a131f3f83e
parent1855d7a2658e34eb0bd8f01e173ca0d2bbd2c35d
odbc: better cleanup of resources, rename - to _ in C constants

- change order of odbc-query
- add odbc-queries (snowflake wants you to set the warehouse before
running your query but only lets you do one query per statement,
which means you can't use odbc-query because it wastes your one query)
- handle NULL results
- pass in a length ref to SQLGetData or else Snowflake odbc driver fails
extra/odbc/odbc-docs.factor
extra/odbc/odbc.factor