removing some useless logging
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Aug 2006 20:34:25 +0000 (20:34 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Aug 2006 20:34:25 +0000 (20:34 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5574 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/c-apps/oils_cstore.c

index 61a7f60..f1640b5 100644 (file)
@@ -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);
                
        }