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

group_concat ignores max_allowed_packet

    XMLWordPrintable

Details

    • Can result in hang or crash

    Description

      connect u,localhost,root;
      set group_concat_max_len=2*@@max_allowed_packet;
      select length(group_concat(repeat('a', @@max_allowed_packet-1), repeat('a', @@max_allowed_packet-1))) from dual;
      disconnect u;
      connection default;
      

      Reported by Hcamael (www.aipyaipy.com)

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 3h 5m
                  3h 5m

                  Git Integration

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