File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/geckotechnology/mySqlDataCompare Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,17 +86,17 @@ public StringBuilder createPKColumnsTuple() {
8686
8787 public StringBuilder createSQLToGetAllRows () {
8888 StringBuilder sb = new StringBuilder ();
89- sb .append ("select " );
89+ sb .append ("select sql_no_cache " );
9090 sb .append (buildSequence (primaryKey .getColumnsSortedByPrimaryKeyOrdinalPosition (),
9191 "concat(" , ")" ,
9292 "" , "" , // no need coalesce since it is PK
9393 ", '" + COLUMN_SEPARATOR + "', " ));
94- sb .append (" PK ," );
94+ sb .append (" as PK ," );
9595 sb .append (buildSequence (getColumnsSortedByColumnName (),
9696 "md5(concat(" , "))" ,
9797 "coalesce(" , ",'" + NULL_VALUE + "')" ,
9898 ", '" + COLUMN_SEPARATOR + "', " ));
99- sb .append (" MD5 from " );
99+ sb .append (" as MD5 from " );
100100 sb .append (getTableName ());
101101 sb .append (" order by " );
102102 sb .append (buildSequence (primaryKey .getColumnsSortedByPrimaryKeyOrdinalPosition (),
You can’t perform that action at this time.
0 commit comments