Menu

#65 [Perl]Error information is empty when passing a not exist table to tables method

open
nobody
None
5
2012-01-13
2012-01-13
Jira Trac
No

Test Build:CUBRID 2008 R4.0 (8.4.0.2019) (64bit release build for linux_gnu)
OS: Linux 64
Description: Error information is empty when passing a not exist table to tables method

Repro Steps
perl tables_4.pl

Statements in tables_4.pl
{noformat}
my @tables=$dbh-tables(undef,undef,'nothistable');# or die $dbh-errstr :tables error\n;

my $err=$dbh-errstr;
print $err\n;

if($err){
print $err\n;
}else{
print no error\n;
}

{noformat}

Actual result
{noformat}
no error
{noformat}

Expect result
{noformat}
error appear
{noformat}

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.