From 1ddc664fd72c76cbd2943191d4f905a147c3a457 Mon Sep 17 00:00:00 2001 From: miker Date: Thu, 17 Aug 2006 20:34:25 +0000 Subject: [PATCH] removing some useless logging git-svn-id: svn://svn.open-ils.org/ILS/trunk@5574 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/c-apps/oils_cstore.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Open-ILS/src/c-apps/oils_cstore.c b/Open-ILS/src/c-apps/oils_cstore.c index 61a7f607f6..f1640b5365 100644 --- a/Open-ILS/src/c-apps/oils_cstore.c +++ b/Open-ILS/src/c-apps/oils_cstore.c @@ -691,13 +691,9 @@ jsonObject* doCreate(osrfMethodContext* ctx, int* err ) { if(!( strcmp( osrfHashGet(osrfHashGet(fields,field_name), "virtual"), "true" ) )) continue; - osrfLogDebug( OSRF_LOG_MARK, "HERE..." ); - int pos = atoi(osrfHashGet(field, "array_position")); char* value = jsonObjectToSimpleString( jsonObjectGetIndex( target, pos ) ); - osrfLogDebug( OSRF_LOG_MARK, "HERE..." ); - if (first) { first = 0; } else { @@ -707,16 +703,10 @@ jsonObject* doCreate(osrfMethodContext* ctx, int* err ) { buffer_add(col_buf, field_name); - osrfLogDebug( OSRF_LOG_MARK, "HERE..." ); - if (!jsonObjectGetIndex(target, pos) || jsonObjectGetIndex(target, pos)->type == JSON_NULL) { - osrfLogDebug( OSRF_LOG_MARK, "HERE..." ); - buffer_add( val_buf, "DEFAULT" ); } else if ( !strcmp(osrfHashGet(field, "primitive"), "number") ) { - osrfLogDebug( OSRF_LOG_MARK, "HERE..." ); - if ( !strcmp(osrfHashGet(field, "datatype"), "INT8") ) { buffer_fadd( val_buf, "%lld", atol(value) ); @@ -727,8 +717,6 @@ jsonObject* doCreate(osrfMethodContext* ctx, int* err ) { buffer_fadd( val_buf, "%f", atof(value) ); } } else { - osrfLogDebug( OSRF_LOG_MARK, "HERE..." ); - if ( dbi_conn_quote_string(writehandle, &value) ) { buffer_fadd( val_buf, "%s", value ); @@ -750,8 +738,6 @@ jsonObject* doCreate(osrfMethodContext* ctx, int* err ) { } } - osrfLogDebug( OSRF_LOG_MARK, "HERE..." ); - free(value); } -- 2.43.2