From 878c987026429bf2c27fbffc588f149850a09ad4 Mon Sep 17 00:00:00 2001 From: PThorpe92 Date: Sat, 5 Apr 2025 20:38:23 -0400 Subject: [PATCH] Remove is_null check from create index translation --- core/translate/index.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/translate/index.rs b/core/translate/index.rs index 94aa03e64..32d7cd2e9 100644 --- a/core/translate/index.rs +++ b/core/translate/index.rs @@ -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,