Name

DBI::commit, DBI::rollback, DBI::ping

Synopsis

$result = $db->commit;
$result = $db->rollback;
$result = $db->ping;

DBI::commit and DBI::rollback are useful only with database servers that support transactions. They have no effect when used with DBD::mSQL and DBD::mysql. DBD::ping attempts to verify if the database server is running. It is not implemented and has no effect with DBD::mSQL and DBD::mysql.

Get MySQL and mSQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.