From 35d5fbfdf96ae738ce525dc7cf3c469127356a0d Mon Sep 17 00:00:00 2001 From: Ulf Wendel Date: Tue, 19 Feb 2013 17:50:49 +0000 Subject: [PATCH] Adding reason why stats may give different results in 1.5+. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329508 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysqlnd_ms/changes.xml | 3 +-- reference/mysqlnd_ms/functions/mysqlnd-ms-get-stats.xml | 8 +++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/reference/mysqlnd_ms/changes.xml b/reference/mysqlnd_ms/changes.xml index 523ff56aba..e22b6bc1c8 100644 --- a/reference/mysqlnd_ms/changes.xml +++ b/reference/mysqlnd_ms/changes.xml @@ -44,7 +44,7 @@ - Fixed #60605 PHP segmentation fault when mysqlnd_ms is enabled + Fixed #60605 PHP segmentation fault when mysqlnd_ms is enabled. @@ -100,7 +100,6 @@ The code examples in the mysqlnd_ms source were updated. - diff --git a/reference/mysqlnd_ms/functions/mysqlnd-ms-get-stats.xml b/reference/mysqlnd_ms/functions/mysqlnd-ms-get-stats.xml index 46cb9657aa..fc04303d09 100755 --- a/reference/mysqlnd_ms/functions/mysqlnd-ms-get-stats.xml +++ b/reference/mysqlnd_ms/functions/mysqlnd-ms-get-stats.xml @@ -417,7 +417,13 @@ Implicit commit happens, for example, when autocommit has been turned off, a query is executed and autocommit is enabled again. In that case, the statement will be committed by the server and SQL to maintain is - injected before the autocommit is re-enabled. + injected before the autocommit is re-enabled. Another sequence + causing an an implicit commit is begin(), + query(), begin(). The second call + to begin() will implicitly commit the transaction + started by the first call to begin(). + begin() refers to internal library calls not actual + PHP user API calls. Since 1.2.0.