Make run_session_hang.sh shorter
The test was unnecessarily long.
This commit is contained in:
@ -15,13 +15,9 @@ my $sth = $dbh->prepare("SELECT id, \@\@server_id from test.t1 where id=(?)");
|
|||||||
|
|
||||||
$sth->bind_param(1, "%"); # placeholders are numbered from 1
|
$sth->bind_param(1, "%"); # placeholders are numbered from 1
|
||||||
|
|
||||||
for (my $i=0; $i<100000; $i++) {
|
for (my $i=0; $i<1000; $i++) {
|
||||||
if ($i % 5000 == 0) {
|
|
||||||
print "$i\n";
|
|
||||||
}
|
|
||||||
if (defined($sth)) {
|
if (defined($sth)) {
|
||||||
$sth->execute($i) or warn "Did not execute successfully: ".$dbh->errstr;
|
$sth->execute($i) or warn "Did not execute successfully: ".$dbh->errstr;
|
||||||
#DBI::dump_results($sth);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user