summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2023-07-02 16:22:50 -0700
committeriximeow <me@iximeow.net>2023-07-02 16:22:50 -0700
commit44f5b5360c8f5cc00ea445da5df238749fe389a1 (patch)
treefd759a76eb337d22ec79a207a92983c49d86adad
parent78c5345541a49881f85ea1b4f82429fef070c29c (diff)
more cpu_vendor misnaming
-rw-r--r--src/dbctx.rs4
1 files changed, 2 insertions, 2 deletions
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 \
);",