Menu

#46 [Perl]Method of execute() can't support bit type

open
nobody
None
5
2011-12-31
2011-12-31
Jira Trac
No

Test Build:CUBRID 2008 R4.0 (8.4.0.2019) (64bit release build for linux_gnu)
OS: Linux 64
Description: Method of execute() can't support bit type

Repro Steps
perl bit_01.pl

the statements in bit_01.pl
$dbh - do(CREATE TABLE bit_tbl(id int, a1 bit);)
my $sth=$dbh-prepare(insert into bit_tbl values(?,?);)
$sth-execute(1,B'1')

Actual result:
{noformat}
execute error: DBI::db=HASH(0x1b649248)-errstr at bit_01.pl line 19.
{noformat}

Expect result:
{noformat}
Executing the statement $sth-execute(1,B'1') succeed
{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.