Skip to content

Commit

Permalink
Please add in any changes/bug fixes you've made - we need to keep a d…
Browse files Browse the repository at this point in the history
…etails ChangeLog...
  • Loading branch information
zsuraski committed Jul 22, 1999
1 parent 5bae591 commit d3e8858
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 9 deletions.
12 changes: 12 additions & 0 deletions ChangeLog
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,12 @@
PHP 4.0 CHANGE LOG ChangeLog
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

??? ?? 1999, Version 4.0 Beta 2
- Added missing E_ error level constants (Zeev, libzend)
- Fixed a bug in sending multiple HTTP Cookies under Apache (Zeev)
- Fixed implicit connect on the MySQL, mSQL, PostgreSQL and Sybase
modules (Zeev)


July 19 1999, Version 4.0 Beta 1
- First public beta of PHP 4.0
2 changes: 1 addition & 1 deletion buildconf
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ else
fi fi
IFS=.; set $am_version; IFS=' ' IFS=.; set $am_version; IFS=' '
if test "$1" = "1" -a "$2" -lt "4" || test "$1" -lt "1"; then if test "$1" = "1" -a "$2" -lt "4" || test "$1" -lt "1"; then
echo "buildconf: automake version $ac_version found." echo "buildconf: automake version $am_version found."
echo " You need automake version 1.4 or newer installed" echo " You need automake version 1.4 or newer installed"
echo " to build PHP from CVS." echo " to build PHP from CVS."
exit 1 exit 1
Expand Down
3 changes: 2 additions & 1 deletion ext/msql/msql.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -450,7 +450,8 @@ static int php3_msql_get_default_link(INTERNAL_FUNCTION_PARAMETERS)
{ {
MSQL_TLS_VARS; MSQL_TLS_VARS;
if (MSQL_GLOBAL(php3_msql_module).default_link==-1) { /* no link opened yet, implicitly open one */ if (MSQL_GLOBAL(php3_msql_module).default_link==-1) { /* no link opened yet, implicitly open one */
php3_msql_do_connect(0, return_value, list, plist, this_ptr,0); ht = 0;
php3_msql_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0);
} }
return MSQL_GLOBAL(php3_msql_module).default_link; return MSQL_GLOBAL(php3_msql_module).default_link;
} }
Expand Down
1 change: 1 addition & 0 deletions ext/mysql/mysql.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@ static void php3_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent)
static int php3_mysql_get_default_link(INTERNAL_FUNCTION_PARAMETERS MySLS_DC) static int php3_mysql_get_default_link(INTERNAL_FUNCTION_PARAMETERS MySLS_DC)
{ {
if (MySG(default_link)==-1) { /* no link opened yet, implicitly open one */ if (MySG(default_link)==-1) { /* no link opened yet, implicitly open one */
ht = 0;
php3_mysql_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0); php3_mysql_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0);
} }
return MySG(default_link); return MySG(default_link);
Expand Down
6 changes: 2 additions & 4 deletions ext/pgsql/pgsql.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -351,15 +351,13 @@ void php3_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent)
int php3_pgsql_get_default_link(INTERNAL_FUNCTION_PARAMETERS) int php3_pgsql_get_default_link(INTERNAL_FUNCTION_PARAMETERS)
{ {
if (php3_pgsql_module.default_link==-1) { /* no link opened yet, implicitly open one */ if (php3_pgsql_module.default_link==-1) { /* no link opened yet, implicitly open one */
HashTable tmp; ht = 0;

_php3_hash_init(&tmp,0,NULL,NULL,0);
php3_pgsql_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU,0); php3_pgsql_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU,0);
_php3_hash_destroy(&tmp);
} }
return php3_pgsql_module.default_link; return php3_pgsql_module.default_link;
} }



/* {{{ proto int pg_connect([string connection_string] | [string host, string port, [string options, [string tty,]] string database) /* {{{ proto int pg_connect([string connection_string] | [string host, string port, [string options, [string tty,]] string database)
Open a PostgreSQL connection */ Open a PostgreSQL connection */
PHP_FUNCTION(pgsql_connect) PHP_FUNCTION(pgsql_connect)
Expand Down
3 changes: 2 additions & 1 deletion ext/sybase/sybase-ct.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -602,7 +602,8 @@ static void php3_sybct_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent)
static int php3_sybct_get_default_link(INTERNAL_FUNCTION_PARAMETERS) static int php3_sybct_get_default_link(INTERNAL_FUNCTION_PARAMETERS)
{ {
if (php3_sybct_module.default_link==-1) { /* no link opened yet, implicitly open one */ if (php3_sybct_module.default_link==-1) { /* no link opened yet, implicitly open one */
php3_sybct_do_connect(0,return_value,list,plist,0); ht = 0;
php3_sybct_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0);
} }
return php3_sybct_module.default_link; return php3_sybct_module.default_link;
} }
Expand Down
3 changes: 1 addition & 2 deletions ext/sybase/sybase.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -473,8 +473,7 @@ static void php3_sybase_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent)
static int php3_sybase_get_default_link(INTERNAL_FUNCTION_PARAMETERS) static int php3_sybase_get_default_link(INTERNAL_FUNCTION_PARAMETERS)
{ {
if (php3_sybase_module.default_link==-1) { /* no link opened yet, implicitly open one */ if (php3_sybase_module.default_link==-1) { /* no link opened yet, implicitly open one */
int ht; ht = 0;

php3_sybase_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU,0); php3_sybase_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU,0);
} }
return php3_sybase_module.default_link; return php3_sybase_module.default_link;
Expand Down

0 comments on commit d3e8858

Please sign in to comment.