Below is the list of changes that have just been committed into a local
6.0-falcon repository of . When does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2007-05-16 11:16:49-04:00, jas@rowvwade. +2 -0
Added files LogLock.h and LogLock.cpp (duh).
storage/falcon/LogLock.cpp@stripped, 2007-05-16 11:16:42-04:00, jas@rowvwade. +44 -0
New BitKeeper file ``storage/falcon/LogLock.cpp''
storage/falcon/LogLock.cpp@stripped, 2007-05-16 11:16:42-04:00, jas@rowvwade. +0 -0
storage/falcon/LogLock.h@stripped, 2007-05-16 11:16:43-04:00, jas@rowvwade. +30 -0
New BitKeeper file ``storage/falcon/LogLock.h''
storage/falcon/LogLock.h@stripped, 2007-05-16 11:16:43-04:00, jas@rowvwade. +0 -0
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: jas
# Host: rowvwade.
# Root: D:/MySQL/mysql-5.1-falcon
--- New file ---
+++ storage/falcon/LogLock.cpp 07/05/16 11:16:42
/* Copyright (C) 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include "Engine.h"
#include "LogLock.h"
#include "Log.h"
LogLock::LogLock(void)
{
locked = false;
lock();
}
LogLock::~LogLock(void)
{
unlock();
}
void LogLock::lock(void)
{
Log::setExclusive();
locked = true;
}
void LogLock::unlock(void)
{
if (locked)
{
Log::releaseExclusive();
locked = false;
}
}
--- New file ---
+++ storage/falcon/LogLock.h 07/05/16 11:16:43
/* Copyright (C) 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#ifndef _LOG_LOCK_H_
#define _LOG_LOCK_H_
class LogLock
{
public:
LogLock(void);
~LogLock(void);
void lock(void);
void unlock(void);
bool locked;
};
#endif
| Thread |
|---|
| • bk commit into 6.0-falcon tree (jas:1.2526) | U-ROWVWADEjas | 16 May |