Browse Source

remove finish for mysql

Simon Elliott 12 years ago
parent
commit
2ecc4637ab
1 changed files with 0 additions and 1 deletions
  1. 0 1
      web-simple/app.pl

+ 0 - 1
web-simple/app.pl

@@ -21,7 +21,6 @@ sub dispatch_request {
         if ( my @row = $sth->fetchrow_array ) {
           push @response, { id => $id, randomNumber => $row[1] };
         }
-        $sth->finish();
     }
     [ 200, [ 'Content-type' => 'application/json; charset=utf-8', ],
       [ encode_json(\@response)] ];