Fix an incorrect error return in a seldom used DB routine.
Also, attempt reconnect once if DB access fails: > /* > * Try once to reconnect. In theory, the caller (client) > * will retry the tmcc call and we will reconnect and > * everything will be fine. The problem is that the > * client may get a different tmcd process each time, > * and every one of those will fail once before > * reconnecting. Hence, the client could wind up failing > * even if it retried. > */
Showing with 18 additions and 3 deletions