update : 2015.11.03
php.shukuma.com검색:
|
mysqlnd_ms_get_last_gtid(PECL mysqlnd_ms >= 1.2.0) 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 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. 주의
예제
Example #1 mysqlnd_ms_get_last_gtid() example
<?php |