NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Two not-so-good solutions (Score:1)
1) Once per day, replicate the database to a dev copy. Run all tests on the dev database, destructively
2) Copy-on-write. I wrote a DBI facade which intercepted SQL prepares and, upon seeing an insert or update, copied the table to a new table and thereafter altered all SQL to replace the name of the old table with the new one. This was brittle because it required parsing SQL, so I only implemented for the small subset of SQL that the client was using.
Reply to This