|Think about Loose Coupling|
Re: Saving data to XML file using DBD::AnyDataby snoopy (Deacon)
|on Dec 04, 2009 at 07:02 UTC||Need Help??|
I added the following to the top of your program to get a trackback dump:
This indicated that DBD::AnyData is dying on the following line of code in the ad_data method:
I then wrote the following test program to exercise SQL::Statement directly:
So "SELECT 1+0 from some_table" parses ok, but "SELECT 1 from some_table" doesn't!
I started with SQL::Statement 1.20. The problem persisted after upgrading to 1.23.
Looks to me like a bug in SQL::Statement. Its not recognising the literal value '1' as a simple expression. My guess is that this has stopped working in the last few releases of SQL::Statement, but DBD::AnyData relies on it.
Update: I've created an rt ticket.