feat: add command complete for create table and index
This commit is contained in:
parent
e75ea5d5db
commit
33884979c7
2 changed files with 12 additions and 2 deletions
|
|
@ -210,8 +210,14 @@ async fn handle_query<W>(writer: &mut W, state: &SharedDbState, query: String, t
|
|||
}
|
||||
false
|
||||
},
|
||||
Response::TableCreated => true,
|
||||
Response::IndexCreated => true,
|
||||
Response::TableCreated => {
|
||||
writer.write_command_complete(CompleteStatus::CreateTable).await?;
|
||||
true
|
||||
},
|
||||
Response::IndexCreated => {
|
||||
writer.write_command_complete(CompleteStatus::CreateIndex).await?;
|
||||
true
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue