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

subselect_hash_sj_engine::make_semi_join_conds creates AND with single argument

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.3.12
    • Fix Version/s: 5.3.13
    • Component/s: None
    • Labels:
      None

      Description

      subselect_hash_sj_engine::make_semi_join_conds creates in case of single column IN query we will have Item_cond_and with single argument.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            sanja Oleksandr Byelkin added a comment -

            <SanjaByelkin> timour: it might be good idea to put DBUG_ASSERT(!is_cond_and(this) || !is_cond_or(this) || list.elements > 1)
            <SanjaByelkin> in Item_cond::fix_fields
            <timour> SanjaByelkin, also in quick_fix_fields - it is called often on synthetic Items (especially AND/OR)

            Show
            sanja Oleksandr Byelkin added a comment - <SanjaByelkin> timour: it might be good idea to put DBUG_ASSERT(!is_cond_and(this) || !is_cond_or(this) || list.elements > 1) <SanjaByelkin> in Item_cond::fix_fields <timour> SanjaByelkin, also in quick_fix_fields - it is called often on synthetic Items (especially AND/OR)
            Hide
            elenst Elena Stepanova added a comment -

            Oleksandr Byelkin,

            Is it applicable to 10.x?
            If yes, please update the Affects/Fix versions (and adjust priority if necessary); if it's 5.3-only bug, obviously it won't be fixed, please close it as "Won't fix" then.
            Thanks.

            Show
            elenst Elena Stepanova added a comment - Oleksandr Byelkin , Is it applicable to 10.x? If yes, please update the Affects/Fix versions (and adjust priority if necessary); if it's 5.3-only bug, obviously it won't be fixed, please close it as "Won't fix" then. Thanks.

              People

              • Assignee:
                sanja Oleksandr Byelkin
                Reporter:
                sanja Oleksandr Byelkin
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: