Hi All,
Find the attached patch.
With regards
Kamesh Jayachandran
[[[
Patch by: Kamesh Jayachandran <kamesh@collab.net>
'group by' to 'order by'.
* subversion/libsvn_fs_fs/tree.c
(parse_mergeinfo_from_db):
The sql query to retrieve the merge rev ranges for a 'mergeto' should be
having a 'order by mergefrom' clause not the 'group by mergefrom' clause.
]]]
Index: subversion/libsvn_fs_fs/tree.c
===================================================================
--- subversion/libsvn_fs_fs/tree.c (revision 20955)
+++ subversion/libsvn_fs_fs/tree.c (working copy)
@@ -1123,7 +1123,7 @@
"SELECT mergedfrom, mergedrevstart,"
"mergedrevend from mergeinfo "
"where mergedto = ? and revision = ? "
- "group by mergedfrom;",
+ "order by mergedfrom;",
-1, &stmt, NULL), db);
SQLITE_ERR(sqlite3_bind_text(stmt, 1, path, -1, SQLITE_TRANSIENT), db);
SQLITE_ERR(sqlite3_bind_int64(stmt, 2, lastchanged_rev), db);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 17 11:25:56 2006