Skip to content

[Bug]: explain execute failed. #15389

Closed
Closed

Description

@daviszhen

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

0960f0f

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

mysql> explain force execute s ;
ERROR 20105 (HY000): not supported: the sql query plan does not support explain.
mysql>
mysql>
mysql> prepare s from select * from t3 where c2=?;
Query OK, 0 rows affected (0.00 sec)

mysql> execute s using @A;
+------+------+------+
| c1 | c2 | c3 |
+------+------+------+
| 1 | 1 | 1 |
+------+------+------+
1 row in set (0.00 sec)

mysql> explain force execute s;
ERROR 20105 (HY000): not supported: the sql query plan does not support explain

Expected Behavior

no error

Steps to Reproduce

mysql> explain force execute s ;
ERROR 20105 (HY000): not supported: the sql query plan does not support explain.
mysql> 
mysql> 
mysql> prepare s from select * from t3 where c2=?;
Query OK, 0 rows affected (0.00 sec)

mysql> execute s using @a;
+------+------+------+
| c1   | c2   | c3   |
+------+------+------+
|    1 |    1 |    1 |
+------+------+------+
1 row in set (0.00 sec)

mysql> explain force execute s;
ERROR 20105 (HY000): not supported: the sql query plan does not support explain

Additional information

No response

Activity

  1. added
    kind/bug
    on Apr 8, 2024
  2. added this to the 1.2.0 milestone on Apr 8, 2024
  3. self-assigned this
    on Apr 8, 2024
  4. daviszhen commented on May 7, 2024

    @daviszhen
    ContributorAuthor

    it was fixed.

  5. modified the milestones: 1.3.0-Backlog, 1.3.0 on Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions