Changeset 10044
- Timestamp:
- Nov 17, 2006, 12:06:57 PM (19 years ago)
- Location:
- trunk/psLib/src/db
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/db/psDB.c
r10008 r10044 12 12 * @author Joshua Hoblitt 13 13 * 14 * @version $Revision: 1.11 3$ $Name: not supported by cvs2svn $15 * @date $Date: 2006-11-1 6 00:38:48$14 * @version $Revision: 1.114 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2006-11-17 22:06:57 $ 16 16 * 17 17 * Copyright (C) 2005-2006 Joshua Hoblitt, University of Hawaii … … 788 788 } 789 789 790 psU64 psDBAffectedRows(psDB *dbh) 791 { 792 PS_ASSERT_PTR_NON_NULL(dbh, (psU64)-1); 793 794 // mysql_affected_rows() returns (my_ulonglong)-1 on error 795 return (psU64)mysql_affected_rows(dbh->mysql); 796 } 790 797 791 798 // database utility functions -
trunk/psLib/src/db/psDB.h
r9990 r10044 10 10 * @author Joshua Hoblitt 11 11 * 12 * @version $Revision: 1.3 0$ $Name: not supported by cvs2svn $13 * @date $Date: 2006-11-1 5 01:34:42$12 * @version $Revision: 1.31 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-11-17 22:06:57 $ 14 14 * 15 15 * Copyright 2005 Joshua Hoblitt, University of Hawaii … … 437 437 ); 438 438 439 /** The number of rows modified or inserted by the last query 440 * 441 * This function returns ((psU64) - 1) on error 442 * 443 * @return psU64 444 */ 445 psU64 psDBAffectedRows( 446 psDB *dbh ///< Database handle 447 ); 439 448 440 449 /// @}
Note:
See TracChangeset
for help on using the changeset viewer.
