Code

utils dbi: Added sdb_dbi_client_check_conn().
authorSebastian Harl <sh@tokkee.org>
Wed, 20 Feb 2013 21:50:15 +0000 (22:50 +0100)
committerSebastian Harl <sh@tokkee.org>
Wed, 20 Feb 2013 21:50:15 +0000 (22:50 +0100)
commitb5e349aa592e8cf4b946e82283a98a14968de192
treef17847f1b74aa762a798b09d0947c916f53a5666
parent3c876991c879f5017288b08f354921f199958180
utils dbi: Added sdb_dbi_client_check_conn().

This functions checks the database connection and tries to reconnect if there
was a problem. The return code determines if the connection was usable
afterwards.
src/include/utils/dbi.h
src/utils/dbi.c