Re: Sequences for DB:MySQL
| From: | Blair Robertson | Date: | Sun, 04 May 2003 23:03:20 +0000 |
| Subject: | Re: Sequences for DB:MySQL | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-15848@lists.php.net to get a copy of this message | ||
Lukas Smith wrote:
OK, will do. cheers, BCRFrom: Lukas Smith [mailto:smith@backendmedia.com] Sent: Saturday, May 03, 2003 12:53 PMitI have attached a patch to the DB/mysql.php that fixes this issue in createSequence() and alters nextId() to perform the same repeat thattheother classes do - please tell me what you think.Seems to fix the situation indeed. The patch seems ok to me as sinceonly creates more "work" in the rare case when the sequence does notyetexist.BTW: maybe you want to report this in bug.php.net anyways. I am currently working through all DB bugs, but I will not commit to DB since its not my package.
Regards, Lukas