Changeset 9783 for trunk/ippdb/tests/insertobject.c
- Timestamp:
- Oct 30, 2006, 11:25:59 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertobject.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertobject.c
r9705 r9783 212 212 } 213 213 214 object = p2PendingExpRowAlloc("a string", "a string", -32, -32 );214 object = p2PendingExpRowAlloc("a string", "a string", -32, -32, "a string"); 215 215 if (!object) { 216 216 exit(EXIT_FAILURE); … … 256 256 } 257 257 258 object = p2ProcessedExpRowAlloc("a string", -32, -32 );258 object = p2ProcessedExpRowAlloc("a string", -32, -32, "a string"); 259 259 if (!object) { 260 260 exit(EXIT_FAILURE); … … 262 262 263 263 if (!p2ProcessedExpInsertObject(dbh, object)) { 264 exit(EXIT_FAILURE); 265 } 266 267 psFree(object); 268 psDBCleanup(dbh); 269 } 270 271 { 272 psDB *dbh; 273 p2MaskRow *object; 274 275 dbh = psDBInit("localhost", "test", NULL, "test"); 276 if (!dbh) { 277 exit(EXIT_FAILURE); 278 } 279 280 object = p2MaskRowAlloc("a string"); 281 if (!object) { 282 exit(EXIT_FAILURE); 283 } 284 285 if (!p2MaskInsertObject(dbh, object)) { 264 286 exit(EXIT_FAILURE); 265 287 }
Note:
See TracChangeset
for help on using the changeset viewer.
