Make run_session_hang.sh shorter
The test was unnecessarily long.
This commit is contained in:
parent
364789abde
commit
a26f6f6087
@ -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
|
||||
|
||||
for (my $i=0; $i<100000; $i++) {
|
||||
if ($i % 5000 == 0) {
|
||||
print "$i\n";
|
||||
}
|
||||
for (my $i=0; $i<1000; $i++) {
|
||||
if (defined($sth)) {
|
||||
$sth->execute($i) or warn "Did not execute successfully: ".$dbh->errstr;
|
||||
#DBI::dump_results($sth);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user