aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc/src/odbc.erl
AgeCommit message (Collapse)Author
2015-07-02introduce odbc port_timeoutStefan Strigler
This introduces a new application environment variable 'port_timeout' that lets you set a custom timeout for ODBC when connecting to the port drivers upon initialization within odbc:connect/2. Default is still 5000 msec.
2015-06-18Change license text to APLv2Bruce Yinhe
2013-02-22Update copyright yearsBjörn-Egil Dahlberg
2013-01-11Fix odbc:param_query/3 and odbc:param_query/4.Danil Onishchenko
Issue: Calling odbc:param_query/3 and odbc:param_query/4 with unparameterized query string and empty parameters list causes error in pattern matching in function param_values/1. This patch fixes this problem and allow to do things such as odbc:param_query(ConRef, "select * from some_table", []).
2012-12-04Add extended_errors option to ODBCBernard Duggan
This patch adds the extended_errors option to odbc:connect/2. When enabled, this option alters the return code of ODBC operations that produce errors to include the ODBC error code as well as the native error code, in addition to the ODBC reason field which is returned by default. The extended error information can be used to produce more sophisticated error handling than is possible with the standard ODBC Reason alone.
2012-08-31Update copyright yearsBjörn-Egil Dahlberg
2012-08-24Merge branch 'mz/odbc-support-param_query' into maintFredrik Gustafsson
2012-06-05Update to work with whitespace in exec pathLukas Larsson
OTP-10106 OTP-10107
2011-12-21Add support for NULL value in odbc:param_queryМаксим Зражевский
Support atom 'null' in odbc:param_query as database NULL value Fix "ODBC: received unexpected info:{tcp_closed, ...}" when connection is terminating. Fix possible access violation with 64bit ODBC.
2011-11-17An ODBC process should exit normally if its client exits with 'shutdown'Magnus Henoch
There is nothing strange about the client shutting down, so the ODBC process should exit normally to avoid generating a crash report for a non-problem. Update appup.src for new version
2011-06-22Add support for SQL_WLONGVARCHARHanfei Shen
2011-06-13Update to handle ipv6-solaris behaviourIngela Anderton Andin
2010-10-28Ipv6 can now be supported on Windows as well as on UNIX.Ingela Anderton Andin
Loopback address constants are used when connecting the c-side to the erlang-side over local socket API avoiding getaddrinfo problems, and the {ip, loopback} option is added as a listen option on the erlang-side. Also cleaned up the TIME_STAMP contribution.
2010-04-01OTP-8511 Timestamps in ODBCIngela Anderton Andin
Now supports SQL_TYPE_TIMESTAMP on the format {{YY, MM, DD}, {HH, MM, SS}}. Thanks to Juhani Ränkimies.
2010-03-09OTP-7452 Support for SQL_WCHAR, SQL_WVARCHAR and strings as binariesIngela Anderton Andin
ODBC now handles the types SQL_WCHAR and SQL_WVARCHAR. ODBC also has a new connection option to return all strings as binaries and also expect strings to be binaries in the param_query function. This provides some but not a full unicode support.
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP