Surround PGRES_SINGLE_TUPLE with an #ifdef for single row mode support.

This commit is contained in:
rpedela 2013-09-04 11:50:52 -06:00
parent fe47a0137b
commit b0a4c65567

View File

@ -659,7 +659,9 @@ protected:
ExecStatusType status = PQresultStatus(result);
switch(status) {
case PGRES_TUPLES_OK:
#ifdef SINGLE_ROW_SUPPORTED
case PGRES_SINGLE_TUPLE:
#endif
{
EmitRowDescription(result);
HandleTuplesResult(result);