my $query = qq{ SET SQL_LOG_OFF=1; # no logs to the general log SET SQL_LOG_UPDATE=0; # no logs to the update log. UPDATE $table SET bigField = $BLOB_value WHERE ID=1; SET SQL_LOG_OFF=0; # logs to the general log SET SQL_LOG_UPDATE=1; # logs to the update log. UPDATE $another SET smallfield = $smallvalue WHERE ID =3; }; $dbh->do($query);
In reply to Re: Re: mirroring mySQL database
by gmax
in thread mirroring mySQL database
by filmo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |