Cleanup
This commit is contained in:
parent
9771a89716
commit
11dc992476
10 changed files with 157 additions and 403 deletions
|
|
@ -56,7 +56,7 @@ async fn handle_stream(mut stream: TcpStream) -> anyhow::Result<()> {
|
|||
let db_schema = state.db_schema();
|
||||
match parse_and_validate(data.query.as_str().to_string(), &db_schema) {
|
||||
Ok(operation) => {
|
||||
match state.interpret_for_interpreter(operation) {
|
||||
match state.interpret(operation) {
|
||||
Ok(_) => {
|
||||
send_query_response(&mut writer).await?;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue