Parcourir la source

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

Shane Kerr il y a 14 ans
Parent
commit
9cc499cb83
2 fichiers modifiés avec 0 ajouts et 6 suppressions
  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
 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
 Debug information. The last SQLITE_ENCLOSURE query was unsuccessful, there's
 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).
         arg(match.getName());
     if (match.getClass() != getClass() && match.getClass() != RRClass::ANY()) {
-        LOG_ERROR(logger, DATASRC_SQLITE_ENCLOSURE_BAD_CLASS).arg(getClass()).
-            arg(match.getClass());
         return;
     }