[open-ils-commits] r13804 - trunk/Open-ILS/src/c-apps (scottmk)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Aug 10 12:15:01 EDT 2009
Author: scottmk
Date: 2009-08-10 12:14:58 -0400 (Mon, 10 Aug 2009)
New Revision: 13804
Modified:
trunk/Open-ILS/src/c-apps/oils_cstore.c
Log:
When defining a SELECT list for a given class: an empty
array no longer results in a default SELECT list. You get a
warning message (but not an error) and no fields from that
class. For a default SELECT list, use "*" or null.
Modified: trunk/Open-ILS/src/c-apps/oils_cstore.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_cstore.c 2009-08-09 14:35:19 UTC (rev 13803)
+++ trunk/Open-ILS/src/c-apps/oils_cstore.c 2009-08-10 16:14:58 UTC (rev 13804)
@@ -3033,8 +3033,6 @@
default_needed = 1;
else if( JSON_NULL == tmp_const->type )
default_needed = 1;
- else if( JSON_ARRAY == tmp_const->type && 0 == tmp_const->size )
- default_needed = 1;
if( default_needed ) {
// Build a default SELECT list
More information about the open-ils-commits
mailing list