From f6a347015231c9165894368959df8fa2e211059c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gonz=C3=A1lez?= Date: Wed, 16 Jun 2021 09:45:09 +0200 Subject: [PATCH] M #: Fix typo in vmpool monitoring query (#1301) (cherry picked from commit a5b2be46e6b9cf0309c720ba5e3e6f05bdf9fbbb) --- src/vm/VirtualMachinePool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm/VirtualMachinePool.cc b/src/vm/VirtualMachinePool.cc index 8dd6e6c06d..3a4a4cb1f4 100644 --- a/src/vm/VirtualMachinePool.cc +++ b/src/vm/VirtualMachinePool.cc @@ -430,7 +430,7 @@ int VirtualMachinePool::dump_monitoring( if ( !where.empty() ) { - cmd << " ANS " << where; + cmd << " AND " << where; } cmd << " ORDER BY vmid, " << one_db::vm_monitor_table << ".last_poll;";