diff options
author | megamage <none@none> | 2008-12-22 10:59:38 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-22 10:59:38 -0600 |
commit | 65ef38963ddc60e05491ca9d3e2685913c0038bb (patch) | |
tree | 740f287e537982028ac4b0974d4a88aeae9075d8 /src/shared/Database/SqlDelayThread.h | |
parent | f7dd2df7955f5c5d17ee2ad27fb6c9a0f89d7196 (diff) |
*The last merge from Mangos TBC. Update to Mangos v0.12.
--HG--
branch : trunk
Diffstat (limited to 'src/shared/Database/SqlDelayThread.h')
-rw-r--r-- | src/shared/Database/SqlDelayThread.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/Database/SqlDelayThread.h b/src/shared/Database/SqlDelayThread.h index fece5d719f6..707a3cab941 100644 --- a/src/shared/Database/SqlDelayThread.h +++ b/src/shared/Database/SqlDelayThread.h @@ -10,12 +10,12 @@ * * 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 + * 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 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __SQLDELAYTHREAD_H @@ -42,7 +42,7 @@ class SqlDelayThread : public ZThread::Runnable SqlDelayThread(Database* db); ///< Put sql statement to delay queue - inline void Delay(SqlOperation* sql) { m_sqlQueue.add(sql); } + inline bool Delay(SqlOperation* sql) { m_sqlQueue.add(sql); return true; } virtual void Stop(); ///< Stop event virtual void run(); ///< Main Thread loop |