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

feature(tianmu):fix code to repairorder by command #715

Closed
DandreChen opened this issue Oct 13, 2022 · 0 comments
Closed

feature(tianmu):fix code to repairorder by command #715

DandreChen opened this issue Oct 13, 2022 · 0 comments
Assignees
Labels
A-feature feature with good idea C-stonedb-8.0 associated with stonedb 8.0

Comments

@DandreChen
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

case:

use test;
create table tt2 (a tinyint(4), b smallint(6), c bigint(20)) ENGINE=TIANMU;
insert into tt2 values (15, 20, 18), (1, 6, 4);
select (a/b)/c as agf from tt2 order by a;

reuslt:

mysql> select (a/b)/c as agf from tt2 order by a;
ERROR 2013 (HY000): Lost connection to MySQL server during query
No connection. Trying to reconnect...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/data/stonedb80/tmp/mysql.sock' (111)
ERROR:
Can't connect to the server

Describe the solution you'd like

fix tianmu code to support order by command

Describe alternatives you've considered

Additional context

@DandreChen DandreChen added A-feature feature with good idea C-stonedb-8.0 associated with stonedb 8.0 labels Oct 13, 2022
@DandreChen DandreChen added this to the stonedb_8.0_v1.0.0 milestone Oct 13, 2022
@DandreChen DandreChen self-assigned this Oct 13, 2022
@DandreChen DandreChen changed the title feature(tianmu): to support order by command feature(tianmu):fix code to support order by command Oct 13, 2022
@DandreChen DandreChen changed the title feature(tianmu):fix code to support order by command feature(tianmu):fix code to repairorder by command Oct 13, 2022
DandreChen added a commit to DandreChen/stonedb that referenced this issue Oct 13, 2022
Init the parameters of Handle_Query function
Add is_prepared() judgement before Query_block->prepare()
mergify bot pushed a commit that referenced this issue Oct 13, 2022
Init the parameters of Handle_Query function
Add is_prepared() judgement before Query_block->prepare()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-feature feature with good idea C-stonedb-8.0 associated with stonedb 8.0
Projects
Development

No branches or pull requests

1 participant