Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-29945

COM_STMT_BULK_EXECUTE: Error message should be more verbose and contain information about row and column number.

    XMLWordPrintable

Details

    Description

      Original user question: https://stackoverflow.com/questions/74304246/how-to-have-specific-information-in-mariadb-error-python

      If a bulk operation fails, the server returns the standard error message, e.g. "a foreign key constraint failed". Especially when dealing with large arrays it is very hard and painful to walk through all the values and check the reason for this error.

      Since the server already knows which row and value ​​caused this error, a more verbose error message like "A foreign key constraint failed at row x, column y" would be helpful.

      Attachments

        Activity

          People

            Unassigned Unassigned
            georg Georg Richter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.