Changeset 4318 for trunk/psLib/test/dataIO/tst_psDB.c
- Timestamp:
- Jun 20, 2005, 9:04:56 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/dataIO/tst_psDB.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataIO/tst_psDB.c
r4317 r4318 9 9 * @author Aaron Culliney, MHPCC 10 10 * 11 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-06- 18 03:22:43$11 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-06-20 19:04:56 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1442 1442 return 7; 1443 1443 } 1444 1445 1444 psFree(ary); 1445 1446 // Attempt to dump row with database NULL 1447 psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message for NULL database"); 1448 if(psDBDumpRows(NULL,table)!=NULL) { 1449 psError(PS_ERR_UNKNOWN,true,"Did not expect return non-NULL for NULL database specified"); 1450 psDBDropTable(dbh,table); 1451 psDBCleanup(dbh); 1452 return 8; 1453 } 1454 1455 // Attempt to dump row with table NULL 1456 psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message for NULL table"); 1457 if(psDBDumpRows(dbh,NULL)!=NULL) { 1458 psError(PS_ERR_UNKNOWN,true,"Did not expect return non-NULL for NULL table specified"); 1459 psDBDropTable(dbh,table); 1460 psDBCleanup(dbh); 1461 return 9; 1462 } 1446 1463 1447 1464 psDBDropTable(dbh, table);
Note:
See TracChangeset
for help on using the changeset viewer.
