Changes for version 0.43
- Fixed problem with error-handling with DBI when DBI->connect() fails. Sprite now calls "warn" if "PrintError" is in effect and returns error code and string separated by a colon in "$_", if DBI->connect() fails. This is due to DBI::set_err() failing when no DBI handle yet created.
- Fixed "create table" to now actually create an XML table when in an XML database (previously new tables were always created in text format by very old code that predated the XML option. It now calls "write_file()" via "commit()" as it should and as "alter table" does. Thanks to Roland Bauer for catching this embarrassing omission. I guess I had never actually created a "new" XML table, I had just used "sprite_write" and sql.pl to change my existing text tables to the new XML format.
- Added code to "drop()" (drop table) function to make sure no dangling data is left in memory from the dropped table.
Modules
Perl extension for DBI, providing database emmulation via flat files.
Modified version of Sprite to manipulate text delimited flat-files as databases using SQL emulating Oracle. The remaining documentation is based on Sprite.
Provides
in lib/DBD/Sprite.pm
in lib/DBD/Sprite.pm
in lib/DBD/Sprite.pm