projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d1ba54
)
add debugging to _copy_skel to get some idea what's going on
author
ivan
<ivan>
Fri, 18 Aug 2006 09:50:03 +0000
(09:50 +0000)
committer
ivan
<ivan>
Fri, 18 Aug 2006 09:50:03 +0000
(09:50 +0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
f9d7be1
..
2617d10
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-499,6
+499,10
@@
sub _copy_skel {
or return "$table has no primary key".
" (or do you need to run dbdef-create?)";
+ warn " _copy_skel: $table.$primary_key $sourceid to $destid for ".
+ join (', ', keys %child_tables). "\n"
+ if $DEBUG > 2;
+
foreach my $child_table ( keys %child_tables ) {
my $child_pkey = dbdef->table($child_table)->primary_key;