Ken Ramsay writes:
 >           time = dbi_result_get_uint(result,
 > "UNIX_TIMESTAMP(HIST_Timestamp)");

Without actually trying the code: one rough guess is that MySQL does
not return the timestamp as an uint value but as something longer. Did
you try using dbi_result_get_field_type() and
dbi_result_get_field_attrib() to find out which type is returned?


Markus Hoenicka
(Spam-protected email: replace the quadrupeds with "mhoenicka")

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
libdbi-users mailing list

Reply via email to