File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -118,11 +118,11 @@ struct ThisApplication final : Application
118118 const double diff_min = str2<double > (getArg (" diff_min" ));
119119
120120
121- const TextTable t1 (fName1 , noString, 100000 ); // PAR
121+ const TextTable t1 (fName1 , noString, true , 100000 ); // PAR
122122 cout << " # " << fName1 << " rows: " << t1. rows. size () << endl;
123123 t1. qc ();
124124
125- const TextTable t2 (fName2 , noString, 100000 ); // PAR
125+ const TextTable t2 (fName2 , noString, true , 100000 ); // PAR
126126 cout << " # " << fName2 << " rows: " << t2. rows. size () << endl;
127127 t2. qc ();
128128
@@ -164,7 +164,13 @@ struct ThisApplication final : Application
164164 {
165165 const string& val2 = (*row2) [commonCols2 [i]];
166166 if (! val2. empty ())
167- diffF << " DELETE" << ' \t ' << t2. header [commonCols2 [i]]. name << ' \t ' << ' \t ' << val2 << ' \t ' << ' \t ' << it. first << ' \n ' ;
167+ diffF << " DELETE"
168+ << ' \t ' << t2. header [commonCols2 [i]]. name
169+ << ' \t '
170+ << ' \t ' << val2
171+ << ' \t '
172+ << ' \t ' << it. first
173+ << ' \n ' ;
168174 }
169175 }
170176 cout << " # Rows deleted: " << deleted << endl;
@@ -196,7 +202,13 @@ struct ThisApplication final : Application
196202 continue ;
197203 diffS = to_string (diff);
198204 }
199- diffF << " REPLACE" << ' \t ' << t1. header [commonCols1 [i]]. name << ' \t ' << val1 << ' \t ' << val2 << ' \t ' << diffS << ' \t ' << it. first << ' \n ' ;
205+ diffF << " REPLACE"
206+ << ' \t ' << t1. header [commonCols1 [i]]. name
207+ << ' \t ' << val1
208+ << ' \t ' << val2
209+ << ' \t ' << diffS
210+ << ' \t ' << it. first
211+ << ' \n ' ;
200212 }
201213 }
202214 }
You can’t perform that action at this time.
0 commit comments