Re: DB::storage delete method
| From: | Wolfram Kriesing | Date: | Wed, 23 May 2001 13:18:23 +0000 |
| Subject: | Re: DB::storage delete method | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-159@lists.php.net to get a copy of this message | ||
> Hm, I remember adding one bugfix some days ago, are there more?
this mail i wrote on 7th may
-------------------
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