Re: Re: cvs: php4 /pear DB.php /pear/DB common.php mysql.php
| From: | Stig S. Bakken | Date: | Mon, 04 Dec 2000 18:42:51 +0000 |
| Subject: | Re: Re: cvs: php4 /pear DB.php /pear/DB common.php mysql.php | ||
| References: | 1 2 3 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-495@lists.php.net to get a copy of this message | ||
Chuck Hagenbuch wrote:
>
> Quoting Sebastian Bergmann <sb@sebastian-bergmann.de>:
>
> > Where should I put the sql dump for the db_sequence table used by the
> > nextid() method?
> >
> > CREATE TABLE db_sequence (
> > seq_name varchar(127) NOT NULL,
> > nextid int(10) unsigned DEFAULT '0' NOT NULL,
> > PRIMARY KEY (seq_name)
> > );
>
> Given that it's database dependant, put it in the function comments for the
> implementation in each database file.
Why can't DB_mysql just create the table if it has create privileges?
The less installation hassle the better.
- Stig