]> granicus.if.org Git - php/commitdiff
Please add in any changes/bug fixes you've made - we need to keep a details ChangeLog...
authorZeev Suraski <zeev@php.net>
Thu, 22 Jul 1999 23:54:54 +0000 (23:54 +0000)
committerZeev Suraski <zeev@php.net>
Thu, 22 Jul 1999 23:54:54 +0000 (23:54 +0000)
ChangeLog [new file with mode: 0644]
buildconf
ext/msql/msql.c
ext/mysql/mysql.c
ext/pgsql/pgsql.c
ext/sybase/sybase-ct.c
ext/sybase/sybase.c

diff --git a/ChangeLog b/ChangeLog
new file mode 100644 (file)
index 0000000..02940de
--- /dev/null
+++ b/ChangeLog
@@ -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
\ No newline at end of file
index 95c814e742895795cc2399233bafdf43a3756758..ada319ce0954fd22ad4d9548abf858e48f188399 100755 (executable)
--- a/buildconf
+++ b/buildconf
@@ -34,7 +34,7 @@ else
     fi
     IFS=.; set $am_version; IFS=' '
     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 "           to build PHP from CVS."
        exit 1
index aab491ef368aae9f3bc1fc72b0b3846c76a2b4da..466df9ee15e801e182f07b25fc52bf8fdaf8fed6 100644 (file)
@@ -450,7 +450,8 @@ static int php3_msql_get_default_link(INTERNAL_FUNCTION_PARAMETERS)
 {
        MSQL_TLS_VARS;
        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;
 }
index 3ac465fea6419908865d4f22a2a936025a653a36..319addc54ea2c5aff8f03a82df62869c57cc0acf 100644 (file)
@@ -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)
 {
        if (MySG(default_link)==-1) { /* no link opened yet, implicitly open one */
+               ht = 0;
                php3_mysql_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0);
        }
        return MySG(default_link);
index 4f119ab8de1420287beac15f11c828bdce64c7c0..4738a21a935c1367faf356b15d29d762791e1d36 100644 (file)
@@ -351,15 +351,13 @@ void php3_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent)
 int php3_pgsql_get_default_link(INTERNAL_FUNCTION_PARAMETERS)
 {
        if (php3_pgsql_module.default_link==-1) { /* no link opened yet, implicitly open one */
-               HashTable tmp;
-               
-               _php3_hash_init(&tmp,0,NULL,NULL,0);
+               ht = 0;
                php3_pgsql_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU,0);
-               _php3_hash_destroy(&tmp);
        }
        return php3_pgsql_module.default_link;
 }
 
+
 /* {{{ proto int pg_connect([string connection_string] | [string host, string port, [string options, [string tty,]] string database)
    Open a PostgreSQL connection */
 PHP_FUNCTION(pgsql_connect)
index 1d359001baba1aa16a9541830666da3e852d3a0a..aa1d992dae116a965adfd93ecfbaab5b8c411aac 100644 (file)
@@ -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)
 {
        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;
 }
index 760335d21e3101b84608ffd6afebf127d17a4fd2..0b50958ee88e7224978cf8a58d555e9224cde272 100644 (file)
@@ -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)
 {
        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);
        }
        return php3_sybase_module.default_link;