Skip to content
Snippets Groups Projects
Commit bf0881e4 authored by Ian Longden's avatar Ian Longden
Browse files

added the commented out line which enables the non caching on the sql side....

added the commented out line which enables the non caching on the sql side. Uncomment this out to run timing tests / speed comparisons without the cache invalidating it
parent 15d291d8
No related branches found
No related tags found
No related merge requests found
......@@ -157,9 +157,12 @@ sub new {
=cut
sub prepare{
my ($self,$string) = @_;
my ($self,$string) = @_;
# uncomment next line to cancel caching on the sql side. Needed for timing comparisons etc
# $string =~ s/SELECT/SELECT SQL_NO_CACHE/i;
return $self->dbc->prepare($string);
return $self->dbc->prepare($string);
}
......
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