Comment 1 for bug 1046483

Revision history for this message
Baron Schwartz (baron-xaprb) wrote :

It also needs to retry the initial SELECT:

4335 $get_sth = $get_first; # Later it may be assigned $get_next
4336 trace('select', sub {
4337 my $select_start = time;
4338 $get_sth->execute;
4339 $last_select_time = time - $select_start;
4340 $statistics{SELECT} += $get_sth->rows;
4341 });

That can get killed easily, too, if it runs for a long time (which it does sometimes).