Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=2ab301ee682724fc3eebe2210cb009fd38946f9d
commit 2ab301ee682724fc3eebe2210cb009fd38946f9d Author: James Buren <[email protected]> Date: Thu Oct 4 05:16:46 2012 -0500 searchabi: only search packages from current diff --git a/tools/searchabi.c b/tools/searchabi.c index 6d5a8bd..e6aebd8 100644 --- a/tools/searchabi.c +++ b/tools/searchabi.c @@ -52,7 +52,7 @@ static void cleanup(void) static struct entry *pass1(void) { - static const char query[] = "select pkg_id,abi from abis"; + static const char query[] = "select pkg_id,abi from abis where pkg_id in (select id from packages where fwver = 'current')"; MYSQL_RES *result = 0; MYSQL_ROW row = 0; const char *s = 0; _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
