fix for binary db not being created on maxsize overflow
This commit is contained in:
parent
2c5520cad0
commit
ff61158491
|
@ -70,6 +70,7 @@ void BinLog::WriteOp(BinLogOp op, int plug, ...)
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
Close();
|
Close();
|
||||||
Open();
|
Open();
|
||||||
|
CacheAllPlugins();
|
||||||
fp = fopen(m_logfile.c_str(), "ab");
|
fp = fopen(m_logfile.c_str(), "ab");
|
||||||
if (!fp)
|
if (!fp)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user