WL#12589: Add more information to Duplicate Key Error

Affects: Server-8.0   —   Status: Complete

The error "Duplicate entry xxx for key 1" it is sometimes difficult to pinpoint 
the origins of. The current error information for duplicate key lists the key 
value and key name. In some scenarios this is not sufficient.

This worklog extends the error information given in cases of DUP_ENTRY_KEY to 
include the tablename for the key into the error message.


This worklog is related to:
BUG#92530 Contribution by Facebook: Add more information to duplicate key error

and

BUG#47207 Not enough information in error Duplicate entry xxx for key 1