|
Lines 625-636
sub execute_query {
Link Here
|
| 625 |
return ( $sth, { queryerr => $sth->errstr } ) if ( $sth->err ); |
625 |
return ( $sth, { queryerr => $sth->errstr } ) if ( $sth->err ); |
| 626 |
|
626 |
|
| 627 |
if ( $sql =~ m/password/ ) { |
627 |
if ( $sql =~ m/password/ ) { |
| 628 |
return ( $sth, { passworderr => $sql } ); |
628 |
return ( $sth, { passworderr => "Illegal column in SQL" } ); |
| 629 |
} |
629 |
} |
| 630 |
|
630 |
|
| 631 |
foreach my $column ( @{ $sth->{NAME_lc} } ) { |
631 |
foreach my $column ( @{ $sth->{NAME_lc} } ) { |
| 632 |
if ( $column eq 'password' ) { |
632 |
if ( $column eq 'password' ) { |
| 633 |
return ( $sth, { passworderr => $column } ); |
633 |
return ( $sth, { passworderr => "Illegal column in results" } ); |
| 634 |
} |
634 |
} |
| 635 |
} |
635 |
} |
| 636 |
|
636 |
|
| 637 |
- |
|
|