Don't use sqlite3_errstr

The function is not defined in older versions.
This commit is contained in:
Markus Mäkelä
2017-12-05 11:59:48 +02:00
parent 0a23d526ff
commit eda700e785

View File

@ -116,7 +116,7 @@ static bool open_instance_database(const char *path, sqlite3 **handle)
if (rc != SQLITE_OK)
{
MXS_ERROR("Failed to open SQLite3 handle: %d, %s", rc, sqlite3_errstr(rc));
MXS_ERROR("Failed to open SQLite3 handle: %d", rc);
return false;
}