[geeklog-cvs] Geeklog-1.x/public_html/admin/install index.php, 1.47, 1.48

Michael Jervis mjervis at qs1489.pair.com
Thu Jun 26 17:33:44 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install
In directory qs1489.pair.com:/tmp/cvs-serv37972/public_html/admin/install

Modified Files:
	index.php 
Log Message:
Fixed INST_checkTableExists for MS SQL Support. [bug 0000668]

Index: index.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install/index.php,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** index.php	15 Jun 2008 06:41:26 -0000	1.47
--- index.php	26 Jun 2008 21:33:42 -0000	1.48
***************
*** 1023,1026 ****
--- 1023,1031 ----
              $exists = true;
          }
+     } elseif ($_DB_dbms == 'mssql') {
+         $result = DB_Query("SELECT 1 FROM sysobjects WHERE name='{$_TABLES[$table]}' AND xtype='U'");
+         if (DB_numRows ($result) > 0) {
+             $exists = true;
+         }
      }
  




More information about the geeklog-cvs mailing list