We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c7a6ba commit 6d56330Copy full SHA for 6d56330
lib/DBD/mysql.pm
@@ -404,7 +404,7 @@ sub column_info {
404
405
local $dbh->{FetchHashKeyName} = 'NAME_lc';
406
# only ignore ER_NO_SUCH_TABLE in internal_execute if issued from here
407
- my $desc_sth = $dbh->prepare("DESCRIBE $table_id " . $dbh->quote($column));
+ my $desc_sth = $dbh->prepare("SHOW COLUMNS FROM $table_id LIKE " . $dbh->quote($column));
408
my $desc = $dbh->selectall_arrayref($desc_sth, { Columns=>{} });
409
410
#return $desc_sth if $desc_sth->err();
0 commit comments