cvs: pear(MDB_1) /MDB/MDB/Modules/Manager mysql.php

From: Date: Wed, 21 Jan 2004 11:26:35 +0000
Subject: cvs: pear(MDB_1) /MDB/MDB/Modules/Manager mysql.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-15837@lists.php.net to get a copy of this message
lsmith Wed Jan 21 06:26:35 2004 EDT Modified files: (Branch: MDB_1) /pear/MDB/MDB/Modules/Manager mysql.php Log: - fixed createSequence() mysql 4.0.13 and upwards dont seem to like the DEFAULT 0 http://cvs.php.net/diff.php/pear/MDB/MDB/Modules/Manager/mysql.php?r1=1.44.4.3&r2=1.44.4.4&ty=u Index: pear/MDB/MDB/Modules/Manager/mysql.php diff -u pear/MDB/MDB/Modules/Manager/mysql.php:1.44.4.3 pear/MDB/MDB/Modules/Manager/mysql.php:1.44.4.4 --- pear/MDB/MDB/Modules/Manager/mysql.php:1.44.4.3 Thu Jan 8 08:43:01 2004 +++ pear/MDB/MDB/Modules/Manager/mysql.php Wed Jan 21 06:26:35 2004 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@backendmedia.com> | // +----------------------------------------------------------------------+ // -// $Id: mysql.php,v 1.44.4.3 2004/01/08 13:43:01 lsmith Exp $ +// $Id: mysql.php,v 1.44.4.4 2004/01/21 11:26:35 lsmith Exp $ // if(!defined('MDB_MANAGER_MYSQL_INCLUDED')) @@ -888,7 +888,7 @@ { $sequence_name = $db->getSequenceName($seq_name); $res = $db->query("CREATE TABLE $sequence_name - (sequence INT DEFAULT 0 NOT NULL AUTO_INCREMENT, PRIMARY KEY (sequence))"); + (sequence INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (sequence))"); if (MDB::isError($res)) { return($res); }

« previous php.pear.cvs (#15837) next »