Surround PGRES_SINGLE_TUPLE with an #ifdef for single row mode support.
This commit is contained in:
parent
fe47a0137b
commit
b0a4c65567
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user