phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/inc class.db_mssql.inc.php,1.21,1.22


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.db_mssql.inc.php,1.21,1.22
Date: Thu, 14 Feb 2002 20:25:25 -0500

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv31398/phpgwapi/inc

Modified Files:
        class.db_mssql.inc.php 
Log Message:
GNU Patch #105.

Index: class.db_mssql.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.db_mssql.inc.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** class.db_mssql.inc.php      10 Feb 2002 12:04:10 -0000      1.21
--- class.db_mssql.inc.php      15 Feb 2002 01:25:20 -0000      1.22
***************
*** 78,82 ****
--- 78,88 ----
                function free_result()
                {
+ /*
                        mssql_free_result($this->Query_ID);
+ */
+                       if ($this->Query_ID)
+                       {
+                               mssql_free_result($this->Query_ID);
+                       }
                        $this->Query_ID = 0;
                        $this->VEOF = -1;
***************
*** 249,253 ****
--- 255,269 ----
                function num_rows()
                {
+ /*
                        return mssql_num_rows($this->Query_ID);
+ */
+                       if($this->Query_ID)
+                       {
+                               return mssql_num_rows($this->Query_ID);
+                       }
+                       else
+                       {
+                               return 0;
+                       }
                }
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]