Lists: | pgsql-hackerspgsql-odbc |
---|
From: | Jan Wieck <JanWieck(at)Yahoo(dot)com> |
---|---|
To: | PostgreSQL HACKERS <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Bug in ODBC driver |
Date: | 2001-04-30 13:05:36 |
Message-ID: | 200104301305.IAA01829@jupiter.jw.home |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers pgsql-odbc |
Guys,
while analyzing some stuff I came across something that looks
like a bug in the ODBC driver to me. I'm by far not the ODBC
user I should be to fix it, so could someone else please take
another look?
The symptom is when the driver is in AUTOCOMMIT=OFF, closing
the last used curser issues an END, thereby committing the
transaction. It happens in odbc/qresult.c line 320 and the
code looks pretty much like ignoring the autocommit flag.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: | Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> |
---|---|
To: | Jan Wieck <JanWieck(at)Yahoo(dot)com> |
Cc: | PostgreSQL HACKERS <pgsql-hackers(at)postgreSQL(dot)org>, "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] Bug in ODBC driver |
Date: | 2001-04-30 23:56:49 |
Message-ID: | 3AEDFBC1.AE324E0B@tpf.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers pgsql-odbc |
Jan Wieck wrote:
>
> Guys,
>
> while analyzing some stuff I came across something that looks
> like a bug in the ODBC driver to me. I'm by far not the ODBC
> user I should be to fix it, so could someone else please take
> another look?
>
> The symptom is when the driver is in AUTOCOMMIT=OFF, closing
> the last used curser issues an END, thereby committing the
> transaction. It happens in odbc/qresult.c line 320 and the
> code looks pretty much like ignoring the autocommit flag.
>
You seem to be right.
I would fix it.
regards,
Hiroshi Inoue