In SqlDb.pm sub do{} should a mysql syntax error also be reason NOT to
disconnect/reconnect from/to the mysql server?
# Primary key violation is not a cause for disconnection.
# Also SQL syntax error.
return $rc if defined $rc
|| $reason =~ /error in your SQL syntax/i
|| $reason =~ /violation/i
|| $reason =~ /duplicate key/im
|| $reason =~ /Duplicate entry/im
|| $reason =~ /^ORA-00001/;
Michael
_______________________________________________
radiator mailing list
[email protected]
http://www.open.com.au/mailman/listinfo/radiator