Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: when execute the prepared statement, mysqld crashed #1877

Open
2 of 3 tasks
davidshiz opened this issue Jun 13, 2023 · 1 comment
Open
2 of 3 tasks

bug: when execute the prepared statement, mysqld crashed #1877

davidshiz opened this issue Jun 13, 2023 · 1 comment
Labels
A-bug Something isn't working

Comments

@davidshiz
Copy link
Collaborator

Have you read the Contributing Guidelines on issues?

Please confirm if bug report does NOT exists already ?

  • I confirm there is no existing issue for this

Describe the problem

mysql> prepare stmt from "select * from t1 where a in (select b from t2 where t1.a=t2.c-299)";
Query OK, 0 rows affected (0.00 sec)
Statement prepared

mysql> execute stmt;
+------+
| a    |
+------+
|    3 |
+------+
1 row in set (0.00 sec)

mysql> execute stmt;
ERROR 2013 (HY000): Lost connection to MySQL server during query

Expected behavior

No response

How To Reproduce

No response

Environment

[root@stonedb-test support-files]# /stonedb57/install/bin/mysqld --version
/stonedb57/install/bin/mysqld  Ver 5.7.36-StoneDB-v1.0.1.6b369e5 for Linux on x86_64 (build-)
build information as follow:
        Repository address: https://github.com/stoneatom/stonedb.git:stonedb-5.7-dev
        Branch name: stonedb-5.7-dev
        Last commit ID: 6b369e5
        Last commit time: Date:   Thu Jun 8 19:16:12 2023 +0800
        Build time: Date: Tue Jun 13 08:31:13 UTC 2023

Are you interested in submitting a PR to solve the problem?

  • Yes, I will!
@davidshiz davidshiz added the A-bug Something isn't working label Jun 13, 2023
@davidshiz davidshiz added this to the StoneDB_5.7_v1.0.4 milestone Jun 13, 2023
@davidshiz
Copy link
Collaborator Author

davidshiz commented Jun 13, 2023

only debug version has this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant