comparison audioDB.cpp @ 329:8f11ea4d9cd2

Added some extra logging to alert the user to which query is called
author mas01mc
date Sat, 30 Aug 2008 14:33:24 +0000
parents 7ff56cce3297
children a0493f861531
comparison
equal deleted inserted replaced
328:7ff56cce3297 329:8f11ea4d9cd2
55 else if(O2_ACTION(COM_BATCHINSERT)) 55 else if(O2_ACTION(COM_BATCHINSERT))
56 batchinsert(dbName, inFile); 56 batchinsert(dbName, inFile);
57 57
58 else if(O2_ACTION(COM_QUERY)) 58 else if(O2_ACTION(COM_QUERY))
59 if(isClient){ 59 if(isClient){
60 if(query_from_key) 60 if(query_from_key){
61 VERB_LOG(1, "Calling web services query %s on database %s, query=%s\n", radius>0?"(Radius)":"(NN)", dbName, strlen(key)?key:inFile);
61 ws_query_by_key(dbName, key, inFile, (char*)hostport); 62 ws_query_by_key(dbName, key, inFile, (char*)hostport);
62 else 63 }
64 else{
65 VERB_LOG(1, "Calling web services query on database %s, query=%s\n", dbName, strlen(key)?key:inFile);
63 ws_query(dbName, inFile, (char*)hostport); 66 ws_query(dbName, inFile, (char*)hostport);
67 }
64 } 68 }
65 else 69 else
66 query(dbName, inFile); 70 query(dbName, inFile);
67 71
68 else if(O2_ACTION(COM_STATUS)) 72 else if(O2_ACTION(COM_STATUS))