Bug #17680: PEAR->nextId does not allow cross-database sequences
| From: | leedjarv at interest dot ee | Date: | Mon, 10 Jun 2002 13:04:25 +0000 |
| Subject: | Bug #17680: PEAR->nextId does not allow cross-database sequences | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-6869@lists.php.net to get a copy of this message | ||
From: leedjarv@interest.ee
Operating system: Linux
PHP version: 4.2.1
PHP Bug Type: PEAR related
Bug description: PEAR->nextId does not allow cross-database sequences
PEAR's implementation of sequences does not allow cross-database sequences
for DBMSes which allow x-db queries. For example, with MySQL,
cross-database queries are allowed, but one can't do
$new_id = $SQL->nextId("database2.table");
because the dot (.) in sequence name is translated into underscore (_),
which results in sequence name of "database.database2_table_seq", which is
NOT the intended result.
--
Edit bug report at http://bugs.php.net/?id=17680&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17680&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17680&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17680&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17680&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17680&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17680&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17680&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17680&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17680&r=globals