Skip to content
  • Jens Even Berg Blomsoy's avatar
    045af147
    WL#12589 - Add more information to Duplicate Key Error · 045af147
    Jens Even Berg Blomsoy authored
    Description:
    The current error information for duplicate key lists
    the key value and key name. In some scenarios this
    may not be sufficient.
    
    Solution:
    Add the tablename for the key into the error message.
    
    Changed the contribution patch, as guidelines
    urges us not to implement any new options.
    The extended error information on the duplicate key is now
    default. Due to internal policy it was not fitting to
    include the query text as part of the error message.
    A lot of tests was re recorded and changed.
    
    Many thanks to Facebook for this idea.
    
    Change-Id: Iaa1305e2732415a1c197b262160b0d91af11936d
    045af147
    WL#12589 - Add more information to Duplicate Key Error
    Jens Even Berg Blomsoy authored
    Description:
    The current error information for duplicate key lists
    the key value and key name. In some scenarios this
    may not be sufficient.
    
    Solution:
    Add the tablename for the key into the error message.
    
    Changed the contribution patch, as guidelines
    urges us not to implement any new options.
    The extended error information on the duplicate key is now
    default. Due to internal policy it was not fitting to
    include the query text as part of the error message.
    A lot of tests was re recorded and changed.
    
    Many thanks to Facebook for this idea.
    
    Change-Id: Iaa1305e2732415a1c197b262160b0d91af11936d
Loading