Skip to content
Snippets Groups Projects
Commit 4afcd628 authored by Denis Smirnov's avatar Denis Smirnov Committed by Yaroslav Dynnikov
Browse files

feat: register pico.sql and pico.trace as RPC

parent 7aa493d5
No related branches found
No related tags found
1 merge request!600Update cluster-wide SQL
......@@ -112,7 +112,9 @@ fn init_sbroad() {
lua.exec(
r#"
_G.pico.sql = require('sbroad').sql;
box.schema.func.create('pico.sql', {if_not_exists = true});
_G.pico.trace = require('sbroad').trace;
box.schema.func.create('pico.trace', {if_not_exists = true});
"#,
)
.unwrap();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment