[libdbi-users] Valgrind error with pgsql: Conditional jump or move depends on uninitialised value(s)

2014-11-02 Thread Alex Bligh
-dev 0.9.0-1 -- Alex Bligh #include stdio.h #include stdlib.h #include dbi/dbi.h #include string.h /* * test.c * * compile with: * gcc -Wall -o test test.c -ldbi * * Run with: * ./test USERNAME PASSWORD [DBNAME] * */ int main (int argc, char **argv) { dbi_conn conn = NULL

Re: [libdbi-users] Valgrind error with pgsql: Conditional jump or move depends on uninitialised value(s)

2014-11-04 Thread Alex Bligh
if any external dependencies. I reran with mysql and it doesn't appear. I presume it's the pgsql dbi driver. -- Alex Bligh -- ___ libdbi-users mailing list libdbi-users

Re: [libdbi-users] Valgrind error with pgsql: Conditional jump or move depends on uninitialised value(s)

2014-11-04 Thread Alex Bligh
On 4 Nov 2014, at 12:09, Markus Hoenicka markus.hoeni...@mhoenicka.de wrote: At 2014-11-04 11:41 Alex Bligh was heard to say: On 3 Nov 2014, at 22:54, Markus Hoenicka markus.hoeni...@mhoenicka.de wrote: I wouldn't bet from valgrind's output that it is libdbi variables which

Re: [libdbi-users] prepared statements

2015-06-11 Thread Alex Bligh
it doesn't support prepared statement currently. You might consider APR, i.e. http://apr.apache.org/docs/apr/2.0/group___a_p_r___util___d_b_d.html -- Alex Bligh -- ___ libdbi-users

Re: [libdbi-users] prepared statements

2015-06-11 Thread Alex Bligh
), and works on a wider range of platforms I believe (including Windows). libdbi is simpler than APR to get used to, and has a smaller memory footprint. You should also compare the choice of backends if you care about that. -- Alex Bligh