Bug #4750 [Asn]: Incomplete CREATE TABLE

From: Date: Tue, 05 Jul 2005 17:56:05 +0000
Subject: Bug #4750 [Asn]: Incomplete CREATE TABLE
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-6455@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=4750&edit=1 ID: 4750 User updated by: jruiz at tecsisa dot com Reported By: jruiz at tecsisa dot com Status: Assigned Type: Bug Package: Documentation PHP Version: 4.3.7 Assigned To: quipo New Comment: The tutorial on the web page: http://pear.php.net/manual/en/package.mail.mail-queue.mail-queue.tutorial.php has the error, because it creates the table with one field. When Mail_queue finds there is a table called mail_queue_seq it doesn't create it again, instead it tries to use it... but can't insert in a non existent column. Previous Comments: ------------------------------------------------------------------------ [2005-07-05 13:51:54] l dot alberton at quipo dot it Sorry I don't understand... actually the seq table is created automatically, so you don't need to create it... ------------------------------------------------------------------------ [2005-07-05 12:52:44] jruiz at tecsisa dot com Description: ------------ Tutorial for Mail_queue has two create table. The second one CREATE TABLE mail_queue_seq needs another field (vapor) as used by nextId function in db. Reproduce code: --------------- CREATE TABLE mail_queue_seq ( id int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (id) ); ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=4750&edit=1

« previous php.pear.doc (#6455) next »