Mercurial > hg > audiodb
diff 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 |
line wrap: on
line diff
--- a/audioDB.cpp Sat Aug 30 13:41:50 2008 +0000 +++ b/audioDB.cpp Sat Aug 30 14:33:24 2008 +0000 @@ -57,10 +57,14 @@ else if(O2_ACTION(COM_QUERY)) if(isClient){ - if(query_from_key) + if(query_from_key){ + VERB_LOG(1, "Calling web services query %s on database %s, query=%s\n", radius>0?"(Radius)":"(NN)", dbName, strlen(key)?key:inFile); ws_query_by_key(dbName, key, inFile, (char*)hostport); - else + } + else{ + VERB_LOG(1, "Calling web services query on database %s, query=%s\n", dbName, strlen(key)?key:inFile); ws_query(dbName, inFile, (char*)hostport); + } } else query(dbName, inFile);