summaryrefslogtreecommitdiff
path: root/fml/lib/SQL
diff options
context:
space:
mode:
Diffstat (limited to 'fml/lib/SQL')
-rw-r--r--fml/lib/SQL/Schema/toymodel.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/fml/lib/SQL/Schema/toymodel.pm b/fml/lib/SQL/Schema/toymodel.pm
index 0c15e750..c4faf041 100644
--- a/fml/lib/SQL/Schema/toymodel.pm
+++ b/fml/lib/SQL/Schema/toymodel.pm
@@ -41,6 +41,8 @@ sub build_sql_query
my $address = $args->{ address };
my $table = $self->{ _table };
+ print STDERR "build_sql_query( query=$query )\n" if $ENV{'debug'};
+
if ($query eq 'add') {
"insert into $table values ('$ml_name', '$file', '$address', 0, 0)";
}