Hi
What is a proper way of verifying that a mysql write was successfull,
and to retry if it wasnt?
In my perl script I add records through:
my $dbh=DBI->connect($dsn, $db_user_name, $db_password);
my $sth=$dbh->prepare("insert into TABLE (X, Y, Z) values ('1', '2',
'3')");
$sth->execute;
$sth->finish;
I have noticed that from time to time this fails, due to limitations
of my webhost. I thus want to do a check after the write, that it
actually happened, and if not redo.
Suggestions?
Thanks! M