From: Sebastian Zagrodzki Date: Mon, 20 Nov 2000 19:19:34 +0000 (+0000) Subject: 9998f08a2b88e514d8e4e802cd874442 umsdos_progs-1.13.tgz X-Git-Tag: RA-1_0~6 X-Git-Url: https://git.pld-linux.org/?p=packages%2FSourceForge.git;a=commitdiff_plain;h=f3a628621eb6f24f031a435ed1844685a1451e1d 9998f08a2b88e514d8e4e802cd874442 umsdos_progs-1.13.tgz Changed files: SourceForge-mysql.patch -> 1.2 --- diff --git a/SourceForge-mysql.patch b/SourceForge-mysql.patch deleted file mode 100644 index 2e59bb4..0000000 --- a/SourceForge-mysql.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naur SF2.0/db/SourceForge.sql SF2.0-p/db/SourceForge.sql ---- SF2.0/db/SourceForge.sql Thu Sep 7 23:39:37 2000 -+++ SF2.0-p/db/SourceForge.sql Tue Sep 19 20:49:25 2000 -@@ -526,7 +526,7 @@ - - CREATE TABLE frs_file ( - file_id int(11) NOT NULL auto_increment, -- filename text, -+ filename char(255) NOT NULL, - release_id int(11) DEFAULT '0' NOT NULL, - type_id int(11) DEFAULT '0' NOT NULL, - processor_id int(11) DEFAULT '0' NOT NULL, -diff -Naur SF2.0/www/include/database.php SF2.0-p/www/include/database.php ---- SF2.0/www/include/database.php Thu Sep 7 23:37:53 2000 -+++ SF2.0-p/www/include/database.php Mon Sep 25 20:47:57 2000 -@@ -21,6 +21,8 @@ - // if ($GLOBALS[IS_DEBUG]) $GLOBALS[G_DEBUGQUERY] .= $qstring . "
\n"; - global $sys_dbname; - $GLOBALS['db_qhandle'] = @mysql($sys_dbname,$qstring); -+ if (!$GLOBALS['db_qhandle'] && !mysql_errno()) -+ return true; - return $GLOBALS['db_qhandle']; - } -