[Dbi-interbase-devel] bug in data type processing in fetch
Status: Beta
Brought to you by:
edpratomo
From: Mark D. A. <md...@di...> - 2000-09-25 05:30:12
|
at least in the case of generator values, it seems over aggressive in treating integers as floats. isql: SQL> select GEN_ID(bscounter,0) from RDB$DATABASE; GEN_ID ===================== 2 but with perl my $val = $dbh->selectrow_array('select GEN_ID(bscounter,0) from RDB$DATABASE'); print $val; i get: 2.0 dunno if this is generator-specific or not. seems like if scale is non-negative, and precision is small enough, it should be made an int, not a float. -mda |