Commit bb03fd52 authored by Mac Newbold's avatar Mac Newbold
Browse files

Clear out temp entries from state_triggers before generating the output.

parent aeba52a1
......@@ -47,5 +47,12 @@ open(FH,"$mysqldump -t $DBNAME $table_names |") or
while (<FH>) {
# Kinda hackish, but gets the job done...
# Don't put any temporary entries from state_triggers out
if (/INTO state_triggers VALUES \(\'([^\']*)\',/i &&
$1 ne '*') { next; }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment