From afdb25a619b544ed8b9b15029a32dca3fed1ee05 Mon Sep 17 00:00:00 2001 From: scottmk Date: Mon, 10 Aug 2009 16:14:58 +0000 Subject: [PATCH] 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. git-svn-id: svn://svn.open-ils.org/ILS/trunk@13804 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/c-apps/oils_cstore.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/Open-ILS/src/c-apps/oils_cstore.c b/Open-ILS/src/c-apps/oils_cstore.c index 7ec2598206..49abab6b77 100644 --- a/Open-ILS/src/c-apps/oils_cstore.c +++ b/Open-ILS/src/c-apps/oils_cstore.c @@ -3033,8 +3033,6 @@ char* SELECT ( 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 -- 2.11.0