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

Fix tp_add_connection()'s error handling

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5, 10.0, 10.1
    • Fix Version/s: 10.0.23, 10.1.10
    • Component/s: OTHER
    • Labels:
      None

      Description

      As noted by Monty - tp_add_connection can call tp_remove_connection in error handling, however the later function also calls my_thread_end(), which it should not be doing -
      tp_add_connection does not run in threadpool' thread, but in a dedicated server thread.

        Attachments

          Activity

            People

            Assignee:
            wlad Vladislav Vaintroub
            Reporter:
            wlad Vladislav Vaintroub
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: