Changeset 4271 for trunk/psLib/src/db
- Timestamp:
- Jun 15, 2005, 9:52:21 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/db/psDB.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/db/psDB.c
r4269 r4271 12 12 * @author Joshua Hoblitt 13 13 * 14 * @version $Revision: 1.2 4$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-06-15 03:20:04$14 * @version $Revision: 1.25 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-06-15 19:52:21 $ 16 16 * 17 17 * Copyright 2005 Joshua Hoblitt, University of Hawaii … … 230 230 bool status; 231 231 232 // Create SQL command string to drop table 232 233 psStringAppend(&query, "DROP TABLE %s", tableName); 233 234 235 // Execute query 234 236 status = p_psDBRunQuery(dbh, query); 235 237 if (!status) { 236 psError(PS_ERR_UNKNOWN, false, "Failed to drop table.");238 psError(PS_ERR_UNKNOWN, false, PS_ERRORTEXT_psDB_TABLE_DROP_FAIL); 237 239 } 238 240
Note:
See TracChangeset
for help on using the changeset viewer.
