[open-ils-commits] r11615 - branches/rel_1_4/Open-ILS/src/c-apps
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Dec 17 16:27:00 EST 2008
Author: miker
Date: 2008-12-17 16:26:55 -0500 (Wed, 17 Dec 2008)
New Revision: 11615
Modified:
branches/rel_1_4/Open-ILS/src/c-apps/oils_cstore.c
Log:
bad pkey parsing for update and delete return values
Modified: branches/rel_1_4/Open-ILS/src/c-apps/oils_cstore.c
===================================================================
--- branches/rel_1_4/Open-ILS/src/c-apps/oils_cstore.c 2008-12-17 21:24:03 UTC (rev 11614)
+++ branches/rel_1_4/Open-ILS/src/c-apps/oils_cstore.c 2008-12-17 21:26:55 UTC (rev 11615)
@@ -3064,7 +3064,7 @@
}
- jsonObject* obj = jsonParseString(id);
+ jsonObject* obj = jsonNewObject(id);
if ( strcmp( osrfHashGet( osrfHashGet( osrfHashGet(meta, "fields"), pkey ), "primitive" ), "number" ) )
dbi_conn_quote_string(dbhandle, &id);
@@ -3155,7 +3155,7 @@
id
);
- obj = jsonParseString(id);
+ obj = jsonNewObject(id);
if ( strcmp( osrfHashGet( osrfHashGet( osrfHashGet(meta, "fields"), pkey ), "primitive" ), "number" ) )
dbi_conn_quote_string(writehandle, &id);
More information about the open-ils-commits
mailing list