<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/odbc/c_src, branch OTP-17.2</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Include ctype.h in odbcserver.c for tolower()</title>
<updated>2014-01-10T10:47:33+00:00</updated>
<author>
<name>Anthony Ramine</name>
<email>n.oxyde@gmail.com</email>
</author>
<published>2013-11-15T10:17:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=90cb1857c26431ad8f5266f880b3654dc2dd869e'/>
<id>90cb1857c26431ad8f5266f880b3654dc2dd869e</id>
<content type='text'>
odbcserver.c:2772:12: warning: implicit declaration of function 'tolower' is invalid in C99
      [-Wimplicit-function-declaration]
                str[i] = tolower(str[i]);
                         ^
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
odbcserver.c:2772:12: warning: implicit declaration of function 'tolower' is invalid in C99
      [-Wimplicit-function-declaration]
                str[i] = tolower(str[i]);
                         ^
</pre>
</div>
</content>
</entry>
<entry>
<title>Added a few input checks which prevent odbcserver crash if it's executed</title>
<updated>2013-06-27T05:42:57+00:00</updated>
<author>
<name>Sergei Golovan</name>
<email>sgolovan@gmail.com</email>
</author>
<published>2013-06-27T05:42:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b8e5024b2d48c5375fa3dd30121724fab9676e99'/>
<id>b8e5024b2d48c5375fa3dd30121724fab9676e99</id>
<content type='text'>
and supplied incorrect data to stdin. A crash example:

echo -en "\x0\x0\x0\x1\x0" | ./odbcserver
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and supplied incorrect data to stdin. A crash example:

echo -en "\x0\x0\x0\x1\x0" | ./odbcserver
</pre>
</div>
</content>
</entry>
<entry>
<title>odbcserver 64bit bug for SQL_C_SLONG type</title>
<updated>2013-03-27T15:47:51+00:00</updated>
<author>
<name>Satoshi Kinoshita</name>
<email>kino@cloudian.com</email>
</author>
<published>2012-11-01T05:56:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=0555a3a947c3b63028daf1c4314c4d6bd4066732'/>
<id>0555a3a947c3b63028daf1c4314c4d6bd4066732</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright years</title>
<updated>2013-01-25T16:58:15+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2013-01-25T16:58:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3fb4def74a64a63fbb2b28aef6c5920d7db3ad6e'/>
<id>3fb4def74a64a63fbb2b28aef6c5920d7db3ad6e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'kp/odbc-oracle-autocommit-fix/OTP-10735'</title>
<updated>2013-01-24T15:08:03+00:00</updated>
<author>
<name>Fredrik Gustafsson</name>
<email>fredrik@erlang.org</email>
</author>
<published>2013-01-24T15:08:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=96aae6d5dd034108b4a01e4403f6a765486651af'/>
<id>96aae6d5dd034108b4a01e4403f6a765486651af</id>
<content type='text'>
* kp/odbc-oracle-autocommit-fix/OTP-10735:
  Fix aotocommit for Oracle ODBC driver in Linux.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* kp/odbc-oracle-autocommit-fix/OTP-10735:
  Fix aotocommit for Oracle ODBC driver in Linux.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement ./otp_build configure --enable-silent-rules</title>
<updated>2013-01-15T20:42:34+00:00</updated>
<author>
<name>Anthony Ramine</name>
<email>n.oxyde@gmail.com</email>
</author>
<published>2012-11-28T10:45:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=fed9a8415fc77ed42bf9a94ea421eff4f62c5eb4'/>
<id>fed9a8415fc77ed42bf9a94ea421eff4f62c5eb4</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix aotocommit for Oracle ODBC driver in Linux.</title>
<updated>2013-01-11T05:31:31+00:00</updated>
<author>
<name>Danil Onishchenko</name>
<email>alevandal@gmail.com</email>
</author>
<published>2013-01-11T05:31:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=97bfdc2a8922cad77ae88a199729cc7541008d10'/>
<id>97bfdc2a8922cad77ae88a199729cc7541008d10</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Add extended_errors option to ODBC</title>
<updated>2012-12-04T09:49:39+00:00</updated>
<author>
<name>Bernard Duggan</name>
<email>bernie@m5.net</email>
</author>
<published>2012-07-25T07:36:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=66c6cede2b5039ca05ad57d3da3b76a5b8e9da47'/>
<id>66c6cede2b5039ca05ad57d3da3b76a5b8e9da47</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Under Unix enable TCP_NODELAY to disable Nagel's socket algorithm</title>
<updated>2012-10-08T12:29:00+00:00</updated>
<author>
<name>Andy Richards</name>
<email>andy.richards.iit@googlemail.com</email>
</author>
<published>2012-10-08T10:16:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=292fd914db1cebcd4ed6589b26df3f1e3faf623b'/>
<id>292fd914db1cebcd4ed6589b26df3f1e3faf623b</id>
<content type='text'>
Under Unix enable TCP_NODELAY to disable Nagel's socket algorithm
(Removes ~40ms delay on Redhat ES 6).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Under Unix enable TCP_NODELAY to disable Nagel's socket algorithm
(Removes ~40ms delay on Redhat ES 6).
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright years</title>
<updated>2012-08-31T12:48:46+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2012-08-31T12:48:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=2d03ab7ffde828d3b56f8b7738fd0c00d0f5b630'/>
<id>2d03ab7ffde828d3b56f8b7738fd0c00d0f5b630</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
