oops -- init mutex. This may be why the relay's hanging after a

crash.
This commit is contained in:
Eric House 2013-10-09 20:08:29 -07:00
parent 7290a41913
commit c34fb48a2c

View file

@ -70,6 +70,8 @@ DBMgr::DBMgr()
pthread_key_create( &m_conn_key, destr_function );
pthread_mutex_init( &m_haveNoMessagesMutex, NULL );
/* Now figure out what the largest cid currently is. There must be a way
to get postgres to do this for me.... */
/* const char* query = "SELECT cid FROM games ORDER BY cid DESC LIMIT 1"; */