Changeset 2084
- Timestamp:
- 03/22/11 15:13:27 (2 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/modules/gmysqlbackend/smysql.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/modules/gmysqlbackend/smysql.cc
r1976 r2084 25 25 database.c_str(), port, 26 26 msocket.empty() ? 0 : msocket.c_str(), 27 0)) {27 CLIENT_MULTI_RESULTS)) { 28 28 29 29 throw sPerrorException("Unable to connect to database"); … … 96 96 } 97 97 mysql_free_result(d_rres); 98 99 while (mysql_next_result(&d_db) == 0) { 100 if ((d_rres = mysql_use_result(&d_db))) { 101 mysql_free_result(d_rres); 102 } 103 } 104 98 105 d_rres=0; 99 106 return false;