cvs: php4 /pear/DB mysql.php

From: Date: Mon, 18 Dec 2000 08:44:04 +0000
Subject: cvs: php4 /pear/DB mysql.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3197@lists.php.net to get a copy of this message
ssb Mon Dec 18 00:44:04 2000 EDT Modified files: /php4/pear/DB mysql.php Log: * change mysql sequence type to unsigned and add not null (thanks Mikhail) Index: php4/pear/DB/mysql.php diff -u php4/pear/DB/mysql.php:1.42 php4/pear/DB/mysql.php:1.43 --- php4/pear/DB/mysql.php:1.42 Thu Dec 14 18:37:09 2000 +++ php4/pear/DB/mysql.php Mon Dec 18 00:44:03 2000 @@ -408,7 +408,8 @@ { $sqn = preg_replace('/[^a-z0-9_]/i', '_', $seq_name); return $this->query("CREATE TABLE ${sqn}_seq ". - "(id INTEGER AUTO_INCREMENT, PRIMARY KEY(id))"); + "(id INTEGER UNSIGNED AUTO_INCREMENT NOT NULL,". + " PRIMARY KEY(id))"); } // }}}

« previous php.cvs (#3197) next »