Test Build:CUBRID 2008 R4.0 (8.4.0.2019) (64bit release build for linux_gnu)
OS: Linux 64
Description: Errror information is empty for primary_key method
Repro Steps
perl primary_key_03.pl
Statement in primary_key_03.pl:
{noformat}
$dbh=DBI-connect($dsn, $user, $pass,{RaiseError = 1}) or die $dbh-errstr . connect error\n;
my @primary1=$dbh-primary_key(undef,undef,'nothistable');# or die $dbh-errstr . :primary_key error\n;
my $err=$dbh-errstr;
print $err\n;
if($err){
print $err\n;
}else{
print no error\n;
}
{noformat}
Actual result:
{noformat}
the value of $err is empty.
no error
primary1:
0: Length1
{noformat}
Expect result:
{noformat}
value of $err is not empty
{noformat}