remove mistaken assert

I'm not quite sure why it was firing, but the pattern of a FindGame
failing due to a race condition and requiring a retry exists elsewhere
in the code. Lots of tests pass once this change is made. :-)
This commit is contained in:
Eric House 2017-11-12 19:59:20 -08:00
parent 8650795a81
commit fb4f44b0fc

View file

@ -193,7 +193,6 @@ DBMgr::FindGame( const AddrInfo::ClientToken clientToken, HostID hid,
logf( XW_LOGINFO, "query: %s", query.c_str() );
PGresult* result = PQexec( getThreadConn(), query.c_str() );
assert( 1 >= PQntuples( result ) );
if ( 1 == PQntuples( result ) ) {
int col = 0;
cid = atoi( PQgetvalue( result, 0, col++ ) );