|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re: Saving data to XML file using DBD::AnyDataby snoopy (Chaplain) |
| on Dec 04, 2009 at 07:02 UTC ( #811030=note: print w/ replies, xml ) | 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: This produces: 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.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||