DB_storage - problem/bug !?
| From: | Wolfram Kriesing | Date: | Mon, 07 May 2001 10:49:07 +0000 |
| Subject: | DB_storage - problem/bug !? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-121@lists.php.net to get a copy of this message | ||
I was just getting into the DB-classes a little deeper
GREAT WORK guys
1. DB_storage::_makeWhere
i think line 115: $keyval = $this->${$this->_keycolumn};
should be like this: $keyval = $this->{$this->_keycolumn};
otherwise the _makeWhere-call in the method "store"
doesnt work
that means line 96 should be corrected too, i think
but i didnt check it yet
2. DB_storage::store
should line 398: $stmt = $this->_dbh->query($query);
not be: $stmt = $this->_dbh->prepare($query);
with those 2 changes DB_storage::store works fine for me
i hope this is also what the actual intention was, or
am i totally wrong?
Wolfram Kriesing