Hi I am using the accessor funcions to fetch the values. I think two member of struct FIELDINFO need to be more big.
struct FIELDINFO { char name[32]; unsigned short type; unsigned int attrib; union { long long int int_val; unsigned long long int uint_val; double double_val; char string_val[48]; } expect_val; long long expect_as_longlong; char expect_as_string[48]; }; Thanks. > > > 2009/11/12 Markus Hoenicka <markus.hoeni...@mhoenicka.de>: >> Markus Hoenicka writes: >> > I'll have to rewrite the accessor functions, and add new ones to make >> > the expected values available to calling functions. Then we'd have to >> >> I've finished adding the accessor functions. Now we should have all >> the infrastructure available to rewrite the tests. These should use >> values taken from the structures via the accessor functions instead of >> hardcoded values. >> >> Once that is done, I'd like to rearrange the code in test_dbi.c to >> separate driver-specific code from non-specific code. This way we >> could draw a line claiming "no driver-specific changes required below >> this line" to make adding new drivers more pleasant. >> >> regards, >> Markus >> >> -- >> Markus Hoenicka >> http://www.mhoenicka.de >> AQ score 38 >> > > > > -- > ----------------------------------------------------------- > João Henrique Freitas - joaohf_at_gmail.com > Campinas-SP-Brasil > BSD051283 > LPI 1 > http://www.joaohfreitas.eti.br > -- ----------------------------------------------------------- João Henrique Freitas - joaohf_at_gmail.com Campinas-SP-Brasil BSD051283 LPI 1 http://www.joaohfreitas.eti.br ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ libdbi-devel mailing list libdbi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libdbi-devel