mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
fix(server): Implement SCRIPT FLUSH command (#2493)
* fix(server): Implement SCRIPT FLUSH command
This commit is contained in:
parent
90a9f05e36
commit
73fe5a4eb2
7 changed files with 62 additions and 0 deletions
|
@ -181,6 +181,10 @@ void ServerState::ReturnInterpreter(Interpreter* ir) {
|
|||
interpreter_mgr_.Return(ir);
|
||||
}
|
||||
|
||||
void ServerState::ResetInterpreter() {
|
||||
interpreter_mgr_.Reset();
|
||||
}
|
||||
|
||||
ServerState* ServerState::SafeTLocal() {
|
||||
// https://stackoverflow.com/a/75622732
|
||||
asm volatile("");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue