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.20,1.20.2.


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

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

Modified Files:
      Tag: Version-0_9_14-branch
        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.20
retrieving revision 1.20.2.1
diff -C2 -r1.20 -r1.20.2.1
*** class.db_mssql.inc.php      14 Dec 2001 03:42:17 -0000      1.20
--- class.db_mssql.inc.php      15 Feb 2002 01:25:03 -0000      1.20.2.1
***************
*** 77,81 ****
--- 77,87 ----
                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;
***************
*** 248,252 ****
--- 254,268 ----
                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]