DB patch: mysql error 1022
| From: | Analysis & Solutions | Date: | Thu, 28 Aug 2003 06:49:52 +0000 |
| Subject: | DB patch: mysql error 1022 | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-20713@lists.php.net to get a copy of this message | ||
Hi:
DB/mysql.php is missing several error constants. I've mentioned this
before and have done some work on this, but haven't received the needed
support from the community to finish.
So, there's one key error code missing that's easy to spot: 1022, which
has to do with duplicate keys.
I've made a patch file which can be found at:
http://www.analysisandsolutions.com/pear/DB.mysql.1022.diff
Thanks,
--Dan
--
FREE scripts that make web and database programming easier
http://www.analysisandsolutions.com/software/
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7th Ave #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409