Skip to content
Snippets Groups Projects
Commit ed88ee23 authored by Andy Yates's avatar Andy Yates
Browse files

Escape _ in the input parameters as otherwise we spend a lot of time doing...

Escape _ in the input parameters as otherwise we spend a lot of time doing very expensive LIKE operations
parent 92e9f90d
No related branches found
No related tags found
No related merge requests found
......@@ -267,6 +267,7 @@ sub fetch_all_by_hit_name_unversioned {
if ( !defined($hit_name) ) {
throw("hit_name argument is required");
}
$hit_name =~ s/_/\\_/;
#construct a constraint like 't1.hit_name = "123"'
my @tabs = $self->_tables;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment