Vergleich install/resources/upgrade3.php - 1.6.0 - 1.6.4

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: upgrade3.php 5016 2010-06-12 00:24:02Z RyanGordon $

 * $Id: upgrade3.php 5299 2010-12-28 23:39:56Z Tomm $

 */

/**

 */

/**

Zeile 483Zeile 483
	  disporder smallint(6) NOT NULL default '0',
isdefault char(3) NOT NULL default '',
PRIMARY KEY (gid)

	  disporder smallint(6) NOT NULL default '0',
isdefault char(3) NOT NULL default '',
PRIMARY KEY (gid)

	) TYPE=MyISAM{$collation};");

	) ENGINE=MyISAM{$collation};");


$db->drop_table("settings");
$db->write_query("CREATE TABLE ".TABLE_PREFIX."settings (


$db->drop_table("settings");
$db->write_query("CREATE TABLE ".TABLE_PREFIX."settings (

Zeile 496Zeile 496
	  disporder smallint(6) NOT NULL default '0',
gid smallint(6) NOT NULL default '0',
PRIMARY KEY (sid)

	  disporder smallint(6) NOT NULL default '0',
gid smallint(6) NOT NULL default '0',
PRIMARY KEY (sid)

	) TYPE=MyISAM{$collation};");

	) ENGINE=MyISAM{$collation};");


$db->drop_table("datacache");
$db->write_query("CREATE TABLE ".TABLE_PREFIX."datacache (
title varchar(30) NOT NULL default '',
cache mediumtext NOT NULL,
PRIMARY KEY(title)


$db->drop_table("datacache");
$db->write_query("CREATE TABLE ".TABLE_PREFIX."datacache (
title varchar(30) NOT NULL default '',
cache mediumtext NOT NULL,
PRIMARY KEY(title)

	) TYPE=MyISAM{$collation};");

	) ENGINE=MyISAM{$collation};");


$contents .= "<p>Done</p>";
$contents .= "<p>Dropping settings and rebuilding them...";


$contents .= "<p>Done</p>";
$contents .= "<p>Dropping settings and rebuilding them...";