[open-ils-commits] r7842 - trunk/Open-ILS/src/c-apps
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Sep 26 14:23:30 EDT 2007
Author: miker
Date: 2007-09-26 14:13:40 -0400 (Wed, 26 Sep 2007)
New Revision: 7842
Modified:
trunk/Open-ILS/src/c-apps/oils_cstore.c
Log:
debug logging
Modified: trunk/Open-ILS/src/c-apps/oils_cstore.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_cstore.c 2007-09-26 18:11:18 UTC (rev 7841)
+++ trunk/Open-ILS/src/c-apps/oils_cstore.c 2007-09-26 18:13:40 UTC (rev 7842)
@@ -1464,7 +1464,6 @@
}
buffer_fadd(join_buf, " %s AS \"%s\" ON ( \"%s\".%s = \"%s\".%s", table, class, class, field, leftclass, fkey);
-
free(table);
if (filter) {
@@ -2121,6 +2120,10 @@
free(join_clause);
}
+ char* tmpsql = buffer_data(sql_buf);
+ osrfLogDebug(OSRF_LOG_MARK, "%s pre-predicate SQL = %s", MODULENAME, tmpsql);
+ free(tmpsql);
+
buffer_add(sql_buf, " WHERE ");
char* pred = searchWHERE( search_hash, meta, AND_OP_JOIN );
More information about the open-ils-commits
mailing list