Diff
Not logged in

Differences From:

File tools/cvs2fossil/lib/c2f_frev.tcl part of check-in [66235f2430] - Updated the copyright information of all files touched in the new year. by aku on 2008-02-06 05:04:12. Also file tools/cvs2fossil/lib/c2f_frev.tcl part of check-in [6b78df3861] - Merge in changes from Andreas's branch. by drh on 2008-02-08 21:52:21. [view]

To:

File tools/cvs2fossil/lib/c2f_frev.tcl part of check-in [f637d42206] - Updated my notes regarding memory usage. Converted more locations to incremental query processing via 'state foreachrow', now throughout the importer. by aku on 2008-02-24 18:01:40. [view]

@@ -514,11 +514,11 @@
 	{1 1} nothing
     }
 
     typemethod getopcodes {} {
-	foreach {id name} [state run {
+	state foreachrow {
 	    SELECT oid, name FROM optype;
-	}] { set myopcode($name) $id }
+	} { set myopcode($name) $oid }
 	return
     }
 
     typevariable myopcode -array {}