Remove conf db change
This commit is contained in:
parent
3d71d27d6b
commit
d348f1bf1d
|
@ -1263,7 +1263,6 @@ sub db_delete_limit ($$$$;@) {
|
||||||
sub db_insert ($$$;@) {
|
sub db_insert ($$$;@) {
|
||||||
my ($dbh, $index, $query, @values) = @_;
|
my ($dbh, $index, $query, @values) = @_;
|
||||||
my $insert_id = undef;
|
my $insert_id = undef;
|
||||||
$dbh->{PrintError} = 0;
|
|
||||||
|
|
||||||
eval {
|
eval {
|
||||||
$dbh->do($query, undef, @values);
|
$dbh->do($query, undef, @values);
|
||||||
|
@ -1289,7 +1288,6 @@ sub db_insert ($$$;@) {
|
||||||
sub db_update ($$;@) {
|
sub db_update ($$;@) {
|
||||||
my ($dbh, $query, @values) = @_;
|
my ($dbh, $query, @values) = @_;
|
||||||
my $rows;
|
my $rows;
|
||||||
$dbh->{PrintError} = 0;
|
|
||||||
|
|
||||||
eval {
|
eval {
|
||||||
$rows = $dbh->do($query, undef, @values);
|
$rows = $dbh->do($query, undef, @values);
|
||||||
|
@ -1535,7 +1533,6 @@ sub get_agent_addr_id ($$$) {
|
||||||
########################################################################
|
########################################################################
|
||||||
sub db_do ($$;@) {
|
sub db_do ($$;@) {
|
||||||
my ($dbh, $query, @values) = @_;
|
my ($dbh, $query, @values) = @_;
|
||||||
$dbh->{PrintError} = 0;
|
|
||||||
|
|
||||||
#DBI->trace( 3, '/tmp/dbitrace.log' );
|
#DBI->trace( 3, '/tmp/dbitrace.log' );
|
||||||
eval {
|
eval {
|
||||||
|
|
Loading…
Reference in New Issue