Changeset 942
- Timestamp:
- 10/22/07 17:02:07 (10 months ago)
- Files:
-
- honeyclient/trunk/bin/StartManager.pl (modified) (1 diff)
- honeyclient/trunk/lib/HoneyClient/DB.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/trunk/bin/StartManager.pl
r937 r942 28 28 my $driver = "HoneyClient::Agent::Driver::Browser::IE"; 29 29 my $config = undef; 30 my $maxrel = 4;30 my $maxrel = 5; 31 31 my $nexturl = ""; 32 32 my $urllist= ""; honeyclient/trunk/lib/HoneyClient/DB.pm
r937 r942 723 723 } 724 724 } 725 725 726 my @rows = $class->_select( 726 727 '-columns'=>['id'], … … 879 880 my $sql = "SELECT "; $sql .= join( ',', @fields); $sql .= " FROM " . $class->_get_table(); 880 881 # Set condition statements 881 $sql .= _where_condition($args{'-where'});882 $sql .= $class->_where_condition($args{'-where'}); 882 883 return $sql; 883 884 } … … 1322 1323 # Check to see if a (Multi-field) UNIQUE key exists for Child Table 1323 1324 $sql = "SELECT COLUMN_NAME FROM information_schema.KEY_COLUMN_USAGE K WHERE TABLE_NAME=" 1324 . "'$ct' AND CONSTRAINT_NAME='${ct}_unique' ORDER BY ORDINAL_POSITION";1325 . "'$ct' AND CONSTRAINT_NAME='${ct}_unique' AND CONSTRAINT_SCHEMA='".$config{dbname}."' ORDER BY ORDINAL_POSITION"; 1325 1326 1326 1327 #DEBUG Output
