Update ANY_SUB query to use LIKE clause efficiently
See <https://lists.isc.org/pipermail/bind10-dev/2012-March/003167.html> for discussion. We should not do concatenation in the SQL clause (i.e., pass an expression to LIKE). We also query on the 'rname' column (labels in reverse order) instead of 'name'.
Showing with 18 additions and 11 deletions