Changeset 3202 for trunk/archive/psdb/test.c
- Timestamp:
- Feb 11, 2005, 4:40:21 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/archive/psdb/test.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/psdb/test.c
r3188 r3202 147 147 } 148 148 149 // psDBInsertOneRow() ;149 // psDBInsertOneRow() 150 150 { 151 151 psMetadata *md; … … 162 162 } 163 163 164 // psDBInsertRows() ;164 // psDBInsertRows() 165 165 { 166 166 psArray *rowSet; … … 197 197 } 198 198 199 // psDBDumpRows() ;199 // psDBDumpRows() 200 200 { 201 201 psArray *resultSet; … … 206 206 } 207 207 208 // psDBUpdateRows(); 208 // psDBDumpCols() 209 { 210 psMetadata *columns; 211 psMetadataItem *item; 212 psListIterator *cursor; 213 214 columns = psDBDumpCols(dbh, "horse"); 215 OK(columns, "psDBDumpCols()"); 216 217 cursor = psListIteratorAlloc(columns->list, 0); 218 219 while ((item = psListGetNext(cursor))) { 220 printf("column name is: %s\n", item->name); 221 } 222 223 psFree(cursor); 224 psFree(columns); 225 } 226 227 // psDBUpdateRows() 209 228 { 210 229 psMetadata *where;
Note:
See TracChangeset
for help on using the changeset viewer.
