Changeset 993 for honeyclient/trunk
- Timestamp:
- 11/08/07 09:48:31 (1 year ago)
- Files:
-
- honeyclient/trunk/lib/HoneyClient/DB.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/trunk/lib/HoneyClient/DB.pm
r942 r993 386 386 = (0,1,2,3); 387 387 our @ERROR_MESSAGES = ( 388 "Success !",388 "Success", 389 389 "Failed with a fatal error", 390 "Duplicate object found. Non-fatal warning .",391 "Duplicate object found. Unable to retrieve ID of duplicate record .",390 "Duplicate object found. Non-fatal warning", 391 "Duplicate object found. Unable to retrieve ID of duplicate record", 392 392 ); 393 393 our $LAST_ERROR = $ERROR_NONE; … … 1029 1029 my $rc = -1; 1030 1030 my $sql = "UPDATE ". $class->_get_table()." SET " . $update . $class->_where_condition($conditions); 1031 # Debug Output 1032 $LOG->debug($sql); 1031 1033 eval { 1032 1034 # Execute UPDATE and Parse mysql_info (e.g. Rows matched: 1 Changed: 1 Warnings: 0)
