Changes of Revision 2
[-] [+] | Changed | csync2.spec |
[-] [+] | Added | csync2-SQL-TRUE.patch ^ |
@@ -0,0 +1,11 @@ +--- check.c.orig 2011-07-12 10:55:13.263703566 +0200 ++++ check.c 2011-07-12 10:55:58.906179893 +0200 +@@ -215,7 +215,7 @@ + + if ( recursive ) { + if ( !strcmp(file, "/") ) +- ASPRINTF(&where_rec, "OR TRUE"); ++ ASPRINTF(&where_rec, "OR 1=1"); + else + ASPRINTF(&where_rec, "UNION ALL SELECT filename from file where filename > '%s/' " + "and filename < '%s0'", |