[erlang-bugs] odbc:sql_query on 64 bit linux
Tobias Kraentzer
tobias.kraentzer@REDACTED
Fri May 9 10:53:05 CEST 2008
Thanks a lot,
I will give it a try next week an report the result.
Regards,
Tobias Kräntzer
Am Freitag, den 09.05.2008, 10:20 +0200 schrieb Ingela Anderton Andin:
> Hi Tobias!
>
> There is no one working on this particular problem at the moment.
> E.i. it is not on top of the priority list. There has however
> been some improvements regarding 64-bit support.
> If those would solve your problem I do not know, but even if
> they do not it would be better if you start working from the latest
> version of the code. There will be a new OTP-release in the begining of
> June.
> But for now I will send you the latest version of odbcserver.c and
> odbcserver.h
> Good luck.
>
> Regards Ingela, Erlang/OTP Ericsson
>
> Tobias Kräntzer wrote:
> > Hi,
> >
> > while developing an application with erlang that should connect to
> > PostgreSQL over odbc I encountered a bug on the 64 bit Linux
> > implementation.
> >
> > The Problem: The result from a query with odbc:sql_query/2 and
> > odbc:param_query/3 are not given back on a 64 bit Linux. Using
> > odbc:select_query/2 works. On 32 bit Linux, everything is ok.
> >
> >
> >>>> {ok, C} = odbc:connect(...).
> >>>>
> > {ok,<0.39.0>}
> >
> >>>> odbc:sql_query(C, "select * from test").
> >>>>
> > [{selected,[],[]},{},{}]
> >
> > With isql or similar I get my two rows.
> >
> > Searching for a solution I found a post from Laura M. Castro [1]
> > describing the same problem, but now answer.
> >
> > Is there anybody working on a solution or patch?
> > If not, I will give it a try.
> >
> > Regards,
> > Tobias Kräntzer
> >
> > [1] <http://forum.trapexit.org/viewtopic.php?t=14214>
> >
> > --
> > Linux 2.6.22-14-xen #1 SMP x86_64 GNU/Linux (Debian Etch)
> > Erlang (ASYNC_THREADS) (BEAM) emulator version 5.5.5
> > odbc 2.0.7
> > postgresql 8.2
> >
> >
>
--
Dipl.-Ing. (FH) Tobias Kräntzer, Fraunhofer-Institut für Software- und Systemtechnik ISST
Location-based Services, Wissenschaftlicher Mitarbeiter
Mollstrasse 1, 10178 Berlin, Germany
Telefon: +49-30-24306-348
<mailto:tobias.kraentzer@REDACTED>
<http://www.isst.fraunhofer.de>
More information about the erlang-bugs
mailing list