Changeset 6174 for branches/eam_rel9_b1/psLib/src/db/psDB.c
- Timestamp:
- Jan 22, 2006, 1:11:01 AM (20 years ago)
- File:
-
- 1 edited
-
branches/eam_rel9_b1/psLib/src/db/psDB.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_rel9_b1/psLib/src/db/psDB.c
r6159 r6174 12 12 * @author Joshua Hoblitt 13 13 * 14 * @version $Revision: 1.44.16. 2$ $Name: not supported by cvs2svn $15 * @date $Date: 2006-01-22 07:05:43$14 * @version $Revision: 1.44.16.3 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2006-01-22 11:11:01 $ 16 16 * 17 17 * Copyright 2005 Joshua Hoblitt, University of Hawaii … … 308 308 // Get number of rows returned in result 309 309 rowCount = mysql_num_rows(result); 310 // XXX has mysql's semantics changed? If this is zero then why was a 311 // result set returned? 312 if (!rowCount) { 313 mysql_free_result(result); 314 return NULL; 315 } 310 316 311 317 // pre-allocate enough elements to hold the complete result set … … 476 482 477 483 rowCount = mysql_num_rows(result); 484 // XXX has mysql's semantics changed? If this is zero then why was a 485 // result set returned? 486 if (rowCount == 0) { 487 mysql_free_result(result); 488 return NULL; 489 } 478 490 479 491 // pre-allocate enough elements to hold the complete result set
Note:
See TracChangeset
for help on using the changeset viewer.
