dbid as root_handler.for_new_client id

This commit is contained in:
Evan Feenstra
2022-07-12 21:56:51 -07:00
parent 81de971d64
commit eb6097eb77

View File

@@ -69,7 +69,7 @@ pub fn handle(
log::info!("VLS msg: {:?}", message);
}
let reply = if dbid > 0 {
let handler = root_handler.for_new_client(0, dummy_peer.clone(), dbid);
let handler = root_handler.for_new_client(dbid, dummy_peer.clone(), dbid);
handler.handle(message).expect("handle")
} else {
root_handler.handle(message).expect("handle")