From 44f5b5360c8f5cc00ea445da5df238749fe389a1 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 2 Jul 2023 16:22:50 -0700 Subject: more cpu_vendor misnaming --- src/dbctx.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/dbctx.rs b/src/dbctx.rs index 049a490..fb72cc2 100644 --- a/src/dbctx.rs +++ b/src/dbctx.rs @@ -563,7 +563,7 @@ impl DbCtx { .query_row( "select id from hosts where \ ( \ - hostname=?1, cpu_vendor=?2, cpu_model_name=?3, cpu_family=?4, \ + hostname=?1, cpu_vendor_id=?2, cpu_model_name=?3, cpu_family=?4, \ cpu_model=?5, cpu_cores=?6, mem_total=?7, \ arch=?10 \ );", @@ -619,7 +619,7 @@ impl DbCtx { .query_row( "select id from hosts where \ ( \ - hostname=?1, cpu_vendor=?2, cpu_model_name=?3, cpu_family=?4, \ + hostname=?1, cpu_vendor_id=?2, cpu_model_name=?3, cpu_family=?4, \ cpu_model=?5, cpu_microcode=?6, cpu_cores=?7, mem_total=?8, \ arch=?9, family=?10, os=?11 \ );", -- cgit v1.1