comparison audioDB.cpp @ 89:28211402b9c6

Fix for bug from test 0014 (WS point query result list)
author mas01cr
date Tue, 02 Oct 2007 15:36:22 +0000
parents 53179ebec1f7
children caf4ec67ddaf
comparison
equal deleted inserted replaced
88:7e3483e53c3b 89:28211402b9c6
1112 } 1112 }
1113 } 1113 }
1114 } 1114 }
1115 } 1115 }
1116 else{ // Process Web Services Query 1116 else{ // Process Web Services Query
1117 int listLen = pointNN; 1117 int listLen;
1118 for(k = 0; k < pointNN; k++) {
1119 if(distances[k] == -DBL_MAX)
1120 break;
1121 }
1122 listLen = k;
1123
1118 adbQueryResult->__sizeRlist=listLen; 1124 adbQueryResult->__sizeRlist=listLen;
1119 adbQueryResult->__sizeDist=listLen; 1125 adbQueryResult->__sizeDist=listLen;
1120 adbQueryResult->__sizeQpos=listLen; 1126 adbQueryResult->__sizeQpos=listLen;
1121 adbQueryResult->__sizeSpos=listLen; 1127 adbQueryResult->__sizeSpos=listLen;
1122 adbQueryResult->Rlist= new char*[listLen]; 1128 adbQueryResult->Rlist= new char*[listLen];