Update PoolWithFailover.cpp

This commit is contained in:
alexey-milovidov 2017-07-28 02:28:45 +03:00 committed by GitHub
parent 3502d36d7d
commit 3e03bf8e65

View File

@ -2,7 +2,7 @@
#include <mysqlxx/PoolWithFailover.h>
/// Duplicate of code from StringUtils.h. Copied here for lower dependencies.
/// Duplicate of code from StringUtils.h. Copied here for less dependencies.
static bool startsWith(const std::string & s, const char * prefix)
{
return s.size() >= strlen(prefix) && 0 == memcmp(s.data(), prefix, strlen(prefix));