fix for binary db not being created on maxsize overflow

This commit is contained in:
David Anderson 2006-03-17 23:29:33 +00:00
parent 2c5520cad0
commit ff61158491

View File

@ -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;