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

    • Type: Release
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.11
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved: