Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-507

setting max_allowed_packet size in ma_net_init() might end up in race condition

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 3.1.11
    • None
    • None

    Description

      Thanks to Alexander Sapin for reporting this issue here:

      Race condition

      It might be a relict from old libmysql 3.23 code, but it is not necessary to adjust max_allowed_packet in every call of ma_net_init().
      If necessary max_allowed_packet should be set once via mysql_optionsv (either globally or per connection).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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