You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by fa...@apache.org on 2009/10/08 20:01:44 UTC
svn commit: r823251 -
/incubator/vcl/trunk/managementnode/lib/VCL/DataStructure.pm
Author: fapeeler
Date: Thu Oct 8 18:01:44 2009
New Revision: 823251
URL: http://svn.apache.org/viewvc?rev=823251&view=rev
Log:
VCL-247
Extended query to also check exact computer_name
Modified:
incubator/vcl/trunk/managementnode/lib/VCL/DataStructure.pm
Modified: incubator/vcl/trunk/managementnode/lib/VCL/DataStructure.pm
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/DataStructure.pm?rev=823251&r1=823250&r2=823251&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/DataStructure.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/DataStructure.pm Thu Oct 8 18:01:44 2009
@@ -1954,7 +1954,7 @@
computer
WHERE
computer.stateid = state.id
- AND computer.hostname LIKE '$computer_name.%'
+ AND (computer.hostname LIKE '$computer_name.%' OR computer.hostname = '$computer_name')
";
# Call the database select subroutine