Subject: | Bus Error - core dumped when submitting aggregate functions AVG, SUM, not a problem with MIN, MAX, Count |
DBD-SQLite 0.31
This is perl, v5.6.1 built for sun4-solaris
SunOS hkpu07 5.8 Generic_108528-21 sun4u sparc SUNW,Ultra-Enterprise-10000
Dear Matt,
I have been busy testing the newly installed DBD-SQLite module and got core dumped error everytime I use the SUM() or AVG() function.
=========PART OF MY CODE ===================
my $version= $dbh->{sqlite_version};
print "The SQLite lib version is $version\n";
### Prepare a SQL statement for execution
$sth = $dbh->prepare( "SELECT AVG(3.5)" );
### Execute the statement in the database
$sth->execute( );
============================================
Please kindly let me know if it is not supported or I have to use create_aggregate_func (I guess not, because it is supported in the SQLite Core 2.8.12
THanks in advance
Calvin