mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
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…
x
Reference in New Issue
Block a user