You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by ar...@apache.org on 2009/09/10 17:56:10 UTC

svn commit: r813483 - /incubator/vcl/trunk/managementnode/lib/VCL/DataStructure.pm

Author: arkurth
Date: Thu Sep 10 15:56:10 2009
New Revision: 813483

URL: http://svn.apache.org/viewvc?rev=813483&view=rev
Log:
VCL-215
Fixed bug in DataStructure.pm::get_computer_state_name. The computer hostname search pattern was too broad.

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=813483&r1=813482&r2=813483&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/DataStructure.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/DataStructure.pm Thu Sep 10 15:56:10 2009
@@ -1901,7 +1901,7 @@
 	computer
 	WHERE
 	computer.stateid = state.id
-	AND computer.hostname LIKE '$computer_name%'
+	AND computer.hostname LIKE '$computer_name.%'
    ";
 
 	# Call the database select subroutine