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

LP:685411 - Assertion `thd' failed for subquery errors

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      run on debug build:

      explain extended select 1 from dual where `a`=(select 1);

      Version: '5.3.0-MariaDB-alpha-valgrind-max-debug' socket: '/tmp/mysql.sock' port: 3306 Source distribution
      mysqld: sql_select.cc:19197: void st_select_lex::print(THD*, String*, enum_query_type): Assertion `thd' failed.

      regards,
      sbester

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            sbester sbester added a comment -

            Re: Assertion `thd' failed for subquery errors
            probably a known issue:

            19194 void st_select_lex::print(THD *thd, String *str, enum_query_type query_type)
            19195 {
            19196 /* TODO: thd may not be set for sub queries, but this should be fixed */
            19197 DBUG_ASSERT(thd);
            19198 if (!thd)
            19199 thd= current_thd;

            Show
            sbester sbester added a comment - Re: Assertion `thd' failed for subquery errors probably a known issue: 19194 void st_select_lex::print(THD *thd, String *str, enum_query_type query_type) 19195 { 19196 /* TODO: thd may not be set for sub queries, but this should be fixed */ 19197 DBUG_ASSERT(thd); 19198 if (!thd) 19199 thd= current_thd;
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 685411

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 685411

              People

              • Assignee:
                timour Timour Katchaounov
                Reporter:
                sbester sbester
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: