Allow mysqlclient when not building with async_mysql
commit28cb1a8e1944dee6208cf2056341a4999be3ad73
authorChristopher Dykes <cdykes@fb.com>
Tue, 31 May 2016 20:42:37 +0000 (31 13:42 -0700)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Tue, 31 May 2016 20:55:51 +0000 (31 13:55 -0700)
tree9a732130b515d3756b3fc8f2d884e428b860b67d
parent68332e99ff61d865ec7d3861bb7f40494379b023
Allow mysqlclient when not building with async_mysql

Summary:
The base client has been thread-safe for quite a while now, and the `_r` version is going away, so prefer the `_r` version if it exists, otherwise use the base version.

Fixes https://github.com/facebook/hhvm/issues/7090

Reviewed By: paulbiss

Differential Revision: D3367294

fbshipit-source-id: 3f0a5d90232e2017fc3655af00d9fff7147a4614
CMake/FindMySQL.cmake