Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Machine Learning
avec Scikit-Learn
Voir le programme détaillé
Classe « Connection »

Méthode mariadb.Connection.tpc_commit

Signature de la méthode tpc_commit

def tpc_commit(self, xid=None) 

Description

help(Connection.tpc_commit)

Optional parameter:"
xid: xid object which was created by .xid() method of connection class.

When called with no arguments, .tpc_commit() commits a TPC transaction
previously prepared with .tpc_prepare().

If .tpc_commit() is called prior to .tpc_prepare(), a single phase
commit is performed. A transaction manager may choose to do this if
only a single resource is participating in the global transaction.
When called with a transaction ID xid, the database commits the given
transaction. If an invalid transaction ID is provided,
a ProgrammingError will be raised.
This form should be called outside of a transaction, and
is intended for use in recovery."


Vous êtes un professionnel et vous avez besoin d'une formation ? Deep Learning avec Python
et Keras et Tensorflow
Voir le programme détaillé