mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
make pgsql build under win32 again
This commit is contained in:
parent
c8e177c7a3
commit
0a121f855c
3 changed files with 3 additions and 2 deletions
|
@ -162,6 +162,7 @@ _notice_handler(void *arg, const char *message)
|
||||||
static int _rollback_transactions(zend_rsrc_list_entry *rsrc)
|
static int _rollback_transactions(zend_rsrc_list_entry *rsrc)
|
||||||
{
|
{
|
||||||
PGconn *link = (PGconn *)rsrc->ptr;
|
PGconn *link = (PGconn *)rsrc->ptr;
|
||||||
|
PGLS_FETCH();
|
||||||
|
|
||||||
PGG(ignore_notices) = 1;
|
PGG(ignore_notices) = 1;
|
||||||
PQexec(link,"BEGIN;ROLLBACK;");
|
PQexec(link,"BEGIN;ROLLBACK;");
|
||||||
|
|
|
@ -251,7 +251,7 @@ PHP_INI_END()
|
||||||
/* True global (no need for thread safety */
|
/* True global (no need for thread safety */
|
||||||
static int module_initialized = 0;
|
static int module_initialized = 0;
|
||||||
|
|
||||||
void php_log_err(char *log_message)
|
PHPAPI void php_log_err(char *log_message)
|
||||||
{
|
{
|
||||||
FILE *log_file;
|
FILE *log_file;
|
||||||
char error_time_str[128];
|
char error_time_str[128];
|
||||||
|
|
|
@ -241,7 +241,7 @@ extern char **environ;
|
||||||
void phperror(char *error);
|
void phperror(char *error);
|
||||||
PHPAPI int php_write(void *buf, uint size);
|
PHPAPI int php_write(void *buf, uint size);
|
||||||
PHPAPI int php_printf(const char *format, ...);
|
PHPAPI int php_printf(const char *format, ...);
|
||||||
void php_log_err(char *log_message);
|
PHPAPI void php_log_err(char *log_message);
|
||||||
int Debug(char *format, ...);
|
int Debug(char *format, ...);
|
||||||
int cfgparse(void);
|
int cfgparse(void);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue