mysqlnd_ms_get_last_gtid(Информация о версии неизвестна, возможно, только в SVN) mysqlnd_ms_get_last_gtid — Returns the latest global transaction ID ОписаниеReturns a global transaction identifier which belongs to a write operation no older than the last write performed by the client. It is not guaranteed that the global transaction identifier is identical to that one created for the last write transaction performed by the client. Список параметров
Возвращаемые значенияReturns a global transaction ID (GTID) on success. Otherwise, returns FALSE. The function mysqlnd_ms_get_last_gtid() returns the GTID obtained when executing the SQL statement from the fetch_last_gtid entry of the global_transaction_id_injection section from the plugins configuration file. The function may be called after the GTID has been incremented. Примечания
Примеры
Пример #1 mysqlnd_ms_get_last_gtid() example
<?php |
||