Browse Source

Remove error message for non-error condition in SQLite data source.

Shane Kerr 14 years ago
parent
commit
9cc499cb83
2 changed files with 0 additions and 6 deletions
  1. 0 4
      src/lib/datasrc/messagedef.mes
  2. 0 2
      src/lib/datasrc/sqlite3_datasrc.cc

+ 0 - 4
src/lib/datasrc/messagedef.mes

@@ -424,10 +424,6 @@ and type in the database.
 Debug information. The SQLite data source is trying to identify, which zone
 Debug information. The SQLite data source is trying to identify, which zone
 should hold this domain.
 should hold this domain.
 
 
-% SQLITE_ENCLOSURE_BAD_CLASS class mismatch looking for a zone ('%1' and '%2')
-The SQLite data source can handle only one class at a time and it was asked
-to identify which zone is holding data of a different class.
-
 % SQLITE_ENCLOSURE_NOTFOUND no zone contains it
 % SQLITE_ENCLOSURE_NOTFOUND no zone contains it
 Debug information. The last SQLITE_ENCLOSURE query was unsuccessful, there's
 Debug information. The last SQLITE_ENCLOSURE query was unsuccessful, there's
 no such zone in our data.
 no such zone in our data.

+ 0 - 2
src/lib/datasrc/sqlite3_datasrc.cc

@@ -351,8 +351,6 @@ Sqlite3DataSrc::findClosestEnclosure(DataSrcMatch& match) const {
     LOG_DEBUG(logger, DBG_TRACE_DATA, DATASRC_SQLITE_ENCLOSURE).
     LOG_DEBUG(logger, DBG_TRACE_DATA, DATASRC_SQLITE_ENCLOSURE).
         arg(match.getName());
         arg(match.getName());
     if (match.getClass() != getClass() && match.getClass() != RRClass::ANY()) {
     if (match.getClass() != getClass() && match.getClass() != RRClass::ANY()) {
-        LOG_ERROR(logger, DATASRC_SQLITE_ENCLOSURE_BAD_CLASS).arg(getClass()).
-            arg(match.getClass());
         return;
         return;
     }
     }