]> git.pld-linux.org Git - packages/SourceForge.git/blob - SourceForge-mysql.patch
- added some new patches
[packages/SourceForge.git] / SourceForge-mysql.patch
1 diff -Naur SF2.0/db/SourceForge.sql SF2.0-p/db/SourceForge.sql
2 --- SF2.0/db/SourceForge.sql    Thu Sep  7 23:39:37 2000
3 +++ SF2.0-p/db/SourceForge.sql  Tue Sep 19 20:49:25 2000
4 @@ -526,7 +526,7 @@
5  
6  CREATE TABLE frs_file (
7    file_id int(11) NOT NULL auto_increment,
8 -  filename text,
9 +  filename char(255) NOT NULL,
10    release_id int(11) DEFAULT '0' NOT NULL,
11    type_id int(11) DEFAULT '0' NOT NULL,
12    processor_id int(11) DEFAULT '0' NOT NULL,
13 diff -Naur SF2.0/www/include/database.php SF2.0-p/www/include/database.php
14 --- SF2.0/www/include/database.php      Thu Sep  7 23:37:53 2000
15 +++ SF2.0-p/www/include/database.php    Mon Sep 25 20:47:57 2000
16 @@ -21,6 +21,8 @@
17  //     if ($GLOBALS[IS_DEBUG]) $GLOBALS[G_DEBUGQUERY] .= $qstring . "<BR>\n";
18         global $sys_dbname;
19         $GLOBALS['db_qhandle'] = @mysql($sys_dbname,$qstring);
20 +       if (!$GLOBALS['db_qhandle'] && !mysql_errno())
21 +               return true;
22         return $GLOBALS['db_qhandle'];
23  }
24  
This page took 0.032342 seconds and 3 git commands to generate.