[Rt-commit] r17023 - rt/3.8/trunk/sbin

ruz at bestpractical.com ruz at bestpractical.com
Tue Nov 25 21:45:57 EST 2008


Author: ruz
Date: Tue Nov 25 21:45:56 2008
New Revision: 17023

Modified:
   rt/3.8/trunk/sbin/rt-validator.in

Log:
* change one record at once, updating whole table is too slow

Modified: rt/3.8/trunk/sbin/rt-validator.in
==============================================================================
--- rt/3.8/trunk/sbin/rt-validator.in	(original)
+++ rt/3.8/trunk/sbin/rt-validator.in	Tue Nov 25 21:45:56 2008
@@ -885,7 +885,7 @@
                         ."or something like that.",
                         "$table.$column -> user #$prop{$column}"
                     );
-                    update_records( $table, { $column => $prop{$column} }, { $column => $replace_with } );
+                    update_records( $table, { id => $id, $column => $prop{$column} }, { $column => $replace_with } );
                 },
             );
         }


More information about the Rt-commit mailing list