Add exec, suppress LearnDB search with empty pattern.