aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc
AgeCommit message (Collapse)Author
2013-07-12Fix configure detection of ethread native atomics on powerpcRickard Green
2013-07-09Refuse to build SMP runtime by default without native atomicsRickard Green
Build with fallback can be enabled by passing the `configure` command line argument `--disable-smp-require-native-atomics`
2013-06-17Prepare releaseOTP_R16B01Erlang/OTP
2013-06-12Update copyright yearsBjörn-Egil Dahlberg
2013-04-30Fix checking for odbc in standard locations when "with-odbc" flag present.Alexey.Saltanov
2013-04-08Remove unused Postscript filesHans Bolinder
2013-03-27explain postgres pecularity for param query out parametersRaimo Niskanen
2013-03-27postgresql test case for 64bit bug for param_querySatoshi Kinoshita
2013-03-27rollback disabling scrollable_cursors for oracleSatoshi Kinoshita
2013-03-27drop procedure after testingSatoshi Kinoshita
2013-03-27set scrollable_cursors to off for oracle driverSatoshi Kinoshita
2013-03-27drop procedure after testingSatoshi Kinoshita
2013-03-27test case for stored procedure with (32bit) integer out params on 64bit platformSatoshi Kinoshita
2013-03-27odbcserver 64bit bug for SQL_C_SLONG typeSatoshi Kinoshita
2013-02-25Prepare releaseOTP_R16BErlang/OTP
2013-02-22Update copyright yearsBjörn-Egil Dahlberg
2013-02-18Merge branch 'ia/odbc/port_info'Ingela Anderton Andin
* ia/odbc/port_info: odbc: Use erlang:port_info to make sure test cases chooses the correct port
2013-02-14odbc: Use erlang:port_info to make sure test cases chooses the correct portIngela Anderton Andin
2013-02-08Bumped version numberFredrik Gustafsson
2013-02-08Merge branch 'kp/odbc-empty-params/OTP-10798'Fredrik Gustafsson
* kp/odbc-empty-params/OTP-10798: Add testcases for odbc:param_query Fix odbc:param_query/3 and odbc:param_query/4.
2013-01-29Prepare releaseOTP_R16A_RELEASE_CANDIDATEErlang/OTP
2013-01-25Update copyright yearsBjörn-Egil Dahlberg
2013-01-25Add testcases for odbc:param_queryDanil Onishchenko
Add testcases for odbc:param_query/3 and odbc:param_query4 with unparameterized query string and empty parameters list.
2013-01-24Merge branch 'kp/odbc-oracle-autocommit-fix/OTP-10735'Fredrik Gustafsson
* kp/odbc-oracle-autocommit-fix/OTP-10735: Fix aotocommit for Oracle ODBC driver in Linux.
2013-01-18Merge branch 'nox/enable-silent-rules/OTP-10726'Björn-Egil Dahlberg
* nox/enable-silent-rules/OTP-10726: Implement ./otp_build configure --enable-silent-rules
2013-01-15Implement ./otp_build configure --enable-silent-rulesAnthony Ramine
With silent rules, the output of make is less verbose and compilation warnings are easier to spot. Silent rules are disabled by default and can be disabled or enabled at will by make V=0 and make V=1.
2013-01-15Fix LM_TRY_ENABLE_CFLAG to use correct environmentBjörn-Egil Dahlberg
LM_TRY_ENABLE_CFLAG takes which environment variable should be updated but only CFLAGS was updated. Though CFLAGS is the normally the intended variable, others may be used. For instance CXXFLAGS.
2013-01-11If GCC is used, treat -Wreturn-type as errorTuncer Ayaz
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", []).
2013-01-11Fix aotocommit for Oracle ODBC driver in Linux.Danil Onishchenko
Issue: Oracle ODBC driver for Linux ignores setup autocommit mode during driver initialization before a connection to database has been established. Whereas odbc module in erlang sets autocommit mode before a connection has been established and autocommit mode is true by default it is impossible to turn out autocommit mode for oracle connections. Sulution: This patch sets autocommit mode after a connection to database has been established. The patch changes only C source file odbcserver.c and don't change any erlang source files of odbc module. The patches for older versions of erlang/otp are here https://github.com/RubberCthulhu/erlang-odbc-oracle-fix
2013-01-09Prepare OTP files for Unicode as default encodingHans Bolinder
2013-01-09Fix some FOP warningsHans Bolinder
Examples overflowing the width of PDF pages have been fixed. The remaining warnings are due to table cells, and require more work.
2012-12-04update vsnHenrik Nord
2012-12-04Added test case for new odbc option 'extended_errors'Franko Franicevich
Test case is in odbc 'connect' suite; and just tries force an error with the extended errors flag both on and off; validating the return types. OTP-10603
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-11-23Merge branch 'maint'Björn-Egil Dahlberg
2012-11-23Update copyright yearsBjörn-Egil Dahlberg
2012-11-21Merge branch 'maint'Björn-Egil Dahlberg
2012-11-14Teach erl_interface configure more pthread supportPer Hedeland
- Teach lib/erl_interface/configure.in to look for pthreads support in libc (where it can be found on QNX) - A minor tweak such that this configure *fails* if you pass --enable-threads and no pthreads support can be found.
2012-10-08Under Unix enable TCP_NODELAY to disable Nagel's socket algorithmAndy Richards
Under Unix enable TCP_NODELAY to disable Nagel's socket algorithm (Removes ~40ms delay on Redhat ES 6).
2012-09-03Prepare releaseOTP_R15B02Erlang/OTP
2012-08-31Update copyright yearsBjörn-Egil Dahlberg
2012-08-24Merge branch 'msp/double_middle_endian/OTP-10209' into maintLukas Larsson
* msp/double_middle_endian/OTP-10209: Configure now assumed normal doubles Revise the autoconf tests for double middle endianness. Add test for floating-point output to float_SUITE. Unbreak floating point on middle-endian machines.
2012-08-24Merge branch 'mz/odbc-support-param_query/OTP-10206' into maintFredrik Gustafsson
2012-08-24Bumped version nrFredrik Gustafsson
2012-08-24Merge branch 'mz/odbc-support-param_query' into maintFredrik Gustafsson
2012-08-22odbc: remove "-" in hostname from generated unique table nameIngela Anderton Andin
2012-07-20Revise the autoconf tests for double middle endianness.Mike Sperber
The previous iteration didn't work for big-endian systems. Now use code very close to what Erts does internally. Also, only warn when the double endianness is unknown - i.e. when we're cross-compiling.
2012-06-05Update to work with whitespace in exec pathLukas Larsson
OTP-10106 OTP-10107
2012-03-23Unbreak floating point on middle-endian machines.Mike Sperber
On some ARMs (and maybe other platforms), doubles are stored with the the two 32-bit words reversed with respect to more common architectures. The symptom is this: > io_lib:write(1.0). "0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005299808824" Detect that and account for it when decoding floats.