FS::part_export::sqlradius::_export_replace
Kristian Hoffmann
khoff at pc-intouch.com
Mon May 13 18:23:15 PDT 2002
>From around line 40 of sqlradius.pm...
...
if ( grep { !exists $old{$_} #new attributes
|| $new{$_} ne $old{$_} #changed
} keys %new
) {
my $error = $self->sqlradius_queue( $new->svcnum, 'insert',
$table, $new->username, %new );
return $error if $error;
}
...
I was wondering why this just inserts changed records instead of updating
or deleting and inserting. Did you do that on purpose? If I change any
check or reply items, the old entries accumulate in the remote mysql
database.
-Kristian
More information about the freeside-devel
mailing list