Browse Source

- fix build when pqprepare does not exist

experimental/5.3-FPM
Pierre Joye 18 years ago
parent
commit
ebfdd61503
  1. 2
      ext/pdo_pgsql/pgsql_driver.c

2
ext/pdo_pgsql/pgsql_driver.c

@ -233,7 +233,9 @@ static int pgsql_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len,
efree(S->cursor_name);
}
spprintf(&S->cursor_name, 0, "pdo_pgsql_cursor_%08x", (unsigned int) stmt);
#if HAVE_PQPREPARE
emulate = 1;
#endif
}
#if HAVE_PQPREPARE

Loading…
Cancel
Save