[Phpmyadmin-devel] MySQL-Error #1062 - Duplicate entry

Stewart Morgan stewart+pma at nameless-uk.com
Wed Jan 11 07:50:05 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

	I've noticed an "undefined offset" error in common.lib.php:736
v2.7.0pl2 when "manually" inserting a row with a duplicate primary-key
value.

	The attached patch adds to mkkeck's update for feature request #1036254
by extracting the table name from "INSERT INTO" as well as "ALTER
TABLE"; there are probably others too.

	PMA is a great bit of software, keep up the excellent work!

Stewart,

 --
Stewart Morgan MEng MIEE
Technical Director, Nameless-UK

Phone  : +44 870 757 1625   | Address : The Production House
Fax    : +44 870 168 0210   |           147a Saint Michael's Hill
PGP ID : 0xECD5CE64         |           Bristol, BS2 8DB, UK
 ---------------------------x-------------------------------------
PGP Fingerprint: 89DE F8C3 CA14 598C 30DB 504A 3055 DDD7 ECD5 CE64
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1-nr1 (Windows XP)

iD8DBQFDxSj3MFXd1+zVzmQRAlC9AKDHmk43t5KLVsOEReMMtPT3PXgNUQCffYGy
YOxPyn31uLzfdZesNbelImY=
=Ow7r
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: PMA.diff
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20060111/060e37f9/attachment.ksh>


More information about the Developers mailing list