Fix use of deleted Regex copy constructor in LMDB code

Bug introduced in ad28de4f. Fixes #2008.
This commit is contained in:
WGH 2019-01-25 16:27:01 +03:00 committed by Felipe Zimmerle
parent 79a24ef88d
commit 37cf60b8d2
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -538,7 +538,7 @@ void LMDB::resolveRegularExpression(const std::string& var,
MDB_cursor *cursor; MDB_cursor *cursor;
size_t pos; size_t pos;
Utils::Regex r = Utils::Regex(var); Utils::Regex r(var);
rc = mdb_txn_begin(m_env, NULL, 0, &txn); rc = mdb_txn_begin(m_env, NULL, 0, &txn);
lmdb_debug(rc, "txn", "resolveRegularExpression"); lmdb_debug(rc, "txn", "resolveRegularExpression");