Lines 138-144
Link Here
|
138 |
{ |
138 |
{ |
139 |
DN ("_nss_mysql_set_options") |
139 |
DN ("_nss_mysql_set_options") |
140 |
const unsigned int def_timeout = DEF_TIMEOUT; |
140 |
const unsigned int def_timeout = DEF_TIMEOUT; |
141 |
const my_bool reconnect = 1; |
141 |
const _Bool reconnect = 1; |
142 |
DENTER |
142 |
DENTER |
Lines 148-154
Link Here
|
148 |
#if MYSQL_VERSION_ID >= 50013 |
148 |
#if MYSQL_VERSION_ID >= 50013 |
149 |
mysql_options(&ci.link, MYSQL_OPT_RECONNECT, (const char *) &reconnect); |
149 |
mysql_options(&ci.link, MYSQL_OPT_RECONNECT, (const char *) &reconnect); |
150 |
#else |
150 |
#else |
151 |
ci.link.reconnect = (my_bool) 1; |
151 |
ci.link.reconnect = (_Bool) 1; |
152 |
#endif |
152 |
#endif |
153 |
DEXIT |
153 |
DEXIT |