Re[2]: [PHP-DEV] Major Bug in multiple MySQL Connections?
| From: | Daniel Lorch | Date: | Mon, 22 Apr 2002 17:27:50 +0000 |
| Subject: | Re[2]: [PHP-DEV] Major Bug in multiple MySQL Connections? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-83149@lists.php.net to get a copy of this message | ||
Hi,
> No, it doesn't satisfy me at all. Your application design is broken and
> forcing multiple identical connections doesn't solve it at all. You are
> trying to associate a selected DB with a database connection artificially.
a couple of years ago I was using PHPLIBs db-class and my own
db-class at the same time and I was wondering why these classes mixed
up result sets. After serveral nights of code-review I gave up and
rewrote most parts from scratch. I finally understand why it didn't
work (and don't ask me why I was using two different db-classes, I
can't remember).
What's the rationale behind this silly behaviour? Do you also enforce
people to reuse file-handles?
-daniel