Cleanup and applying code style to some Database files.

--HG--
branch : trunk
This commit is contained in:
n0n4m3 committed 2010-03-09 15:45:34 +03:00
1 parent bd7ca7fdf3
commit 04e7a5bd39
12 files changed
+164 -155

No files matched your search

+2 -2
View File
@@ -33,14 +33,14 @@ void SqlDelayThread::run()
#endif
SqlAsyncTask * s = NULL;
// Lets wait for next async task no more than 2 secs
ACE_Time_Value _time(2);
while (m_running)
{
// if the running state gets turned off while sleeping
// empty the queue before exiting
s = dynamic_cast<SqlAsyncTask*> (m_sqlQueue.dequeue());
if(s)
if (s)
{
s->call();
delete s;