MySQL NDB Cluster API Developer Guide NdbTransaction::refresh()

Description.  This method updates the transaction's timeout counter, and thus avoids aborting due to transaction timeout.


It is not advisable to take a lock on a record and maintain it for a extended time since this can impact other transactions.


int refresh

Parameters.  None.

Return value.  Returns 0 on success, -1 on failure.