ioc/db: testdbGetFieldEqual() detect zero size
This commit is contained in:
@@ -163,6 +163,9 @@ void testdbVGetFieldEqual(const char* pv, short dbrType, va_list ap)
|
||||
if(status) {
|
||||
testFail("dbGetField(\"%s\",%d,...) returns %ld", pv, dbrType, status);
|
||||
return;
|
||||
} else if(nReq==0) {
|
||||
testFail("dbGetField(\"%s\", %d, ...) -> zero length", pv, dbrType);
|
||||
return;
|
||||
}
|
||||
|
||||
switch(dbrType) {
|
||||
|
||||
Reference in New Issue
Block a user