Skip to content

Adding start transaction and commit as keywords for mysql command tracking. We happen to use different keywords for transactions than facebook does, this makes it work properly for us.#7023

Closed
joelastpass wants to merge 1 commit into
facebook:masterfrom
joelastpass:feature_mysql_keywords

Conversation

@joelastpass

Copy link
Copy Markdown
Contributor

No description provided.

@ghost

ghost commented Apr 26, 2016

Copy link
Copy Markdown

This pull request has been imported into Phabricator, and discussion and review of the diff will take place at https://reviews.facebook.net/D57261

@ghost ghost added the CLA Signed label Apr 26, 2016
In Mysql, BEGIN is an alias for START TRANSACTION, while the
latter is the standard SQL syntax, so accept that where BEGIN is
also allowed.  This fixes the HHVM warning:

"Unable to record MySQL stats with START TRANSACTION"
@joelastpass joelastpass force-pushed the feature_mysql_keywords branch from ac465a4 to 7795a79 Compare June 29, 2016 15:28
@hhvm-bot hhvm-bot closed this in 0036e92 Jul 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant