Lines 432-438
sub execute_query ($;$$$) {
Link Here
|
432 |
return; |
432 |
return; |
433 |
} |
433 |
} |
434 |
$offset = 0 unless $offset; |
434 |
$offset = 0 unless $offset; |
435 |
$limit = 9999 unless $limit; |
435 |
$limit = 999999 unless $limit; |
436 |
$debug and print STDERR "execute_query($sql, $offset, $limit)\n"; |
436 |
$debug and print STDERR "execute_query($sql, $offset, $limit)\n"; |
437 |
if ($sql =~ /;?\W?(UPDATE|DELETE|DROP|INSERT|SHOW|CREATE)\W/i) { |
437 |
if ($sql =~ /;?\W?(UPDATE|DELETE|DROP|INSERT|SHOW|CREATE)\W/i) { |
438 |
return (undef, { sqlerr => $1} ); |
438 |
return (undef, { sqlerr => $1} ); |
439 |
- |
|
|