Remove is_null check from create index translation

This commit is contained in:
PThorpe92
2025-04-05 20:38:23 -04:00
parent 1f29307fe8
commit 878c987026

View File

@@ -172,11 +172,6 @@ pub fn translate_create_index(
cursor_id: table_cursor_id,
dest: rowid_reg,
});
// if the rowid is null, skip the insert
program.emit_insn(Insn::IsNull {
reg: rowid_reg,
target_pc: loop_end_label,
});
let record_reg = program.alloc_register();
program.emit_insn(Insn::MakeRecord {
start_reg,