Hi, João Henrique Freitas writes: > Hello, > > I need to work with some bind functions in libdbi. And I will test all > and put on dbi_test.c.
This is greatly appreciated, as the test program so far does not cover the bind* functions. > while (dbi_result_next_row(result)) { > error = dbi_result_bind_uint(result, "id", &idnumber); > > dbi_result_bind_string(result, "name", &fullname); > printf("%i. %s\n", idnumber, fullname); > } I have to admit that I've never used the bind* functions myself. But I recall from the programmers manual that you have to set up bindings after a successful query, but before retrieving any rows. I don't know whether this explains the error you mention, but you may want to try to reverse the order of your code, just in case. I'll be happy to review any problems once you have integrated the tests into dbi_test.c. BTW as you seem to contribute more and more code to libdbi, would you like to sign up as a developer? This way you could check in your changes directly and make them available for other developers. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ libdbi-users mailing list libdbi-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libdbi-users