Update of /cvsroot/scsh/scsh-0.6/scsh/odbc
In directory sc8-pr-cvs1:/tmp/cvs-serv29097
Modified Files:
README generate-constants.scm odbc-constants.scm odbc.c odbc.h
odbc.scm odbc.tex
Added Files:
odbc-interfaces.scm odbc-packages.scm
Log Message:
- rewrote exception handling system, pass ODBC status codes to Scheme
directly. This leads to multiple return values in some cases.
- new condition types
- raise conditions only in case of fatal errors
- rewrote odbc_sql_data_sources() and odbc_sql_drivers()
- removed hardcoded ODBC_RETVAL_BUFFER_INITIAL_SIZE, the return value
buffer size can now be read/set from Scheme.
- removed odbc_sql_bind_parameter_exec_out(), which is a poor
implementation of a SQLBindParameter() binding. TODO: make a
better one.
- use the p.c. SQL_SUCCEEDED()
- rewrote odbc_sql_get_data(): Resize return buffer value if necessary
- new modules: low-odbc (functions), low-odbc-constants (constants)
- major code cleanup
|