mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-27 11:54:30 +01:00
refactor: use getrandom
This commit is contained in:
@@ -357,9 +357,8 @@ pub fn translate_expr(
|
||||
}
|
||||
SingleRowFunc::Random => {
|
||||
if args.is_some() {
|
||||
anyhow::bail!("Parse error: random function withargumentst");
|
||||
anyhow::bail!("Parse error: random function with arguments");
|
||||
}
|
||||
dbg!("random args", &args);
|
||||
let regs = program.alloc_register();
|
||||
|
||||
program.emit_insn(Insn::Function {
|
||||
|
||||
Reference in New Issue
Block a user