Changeset 9788 for trunk/ippdb/tests/insert.c
- Timestamp:
- Oct 30, 2006, 11:55:36 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insert.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insert.c
r9783 r9788 223 223 } 224 224 225 if (!p3PendingExpInsert(dbh, "a string", -32, -32)) { 226 exit(EXIT_FAILURE); 227 } 228 229 psDBCleanup(dbh); 230 } 231 232 { 233 psDB *dbh; 234 235 dbh = psDBInit("localhost", "test", NULL, "test"); 236 if (!dbh) { 237 exit(EXIT_FAILURE); 238 } 239 240 if (!p3ProcessedExpInsert(dbh, "a string", "a string", "a string", 64.64, 64.64, 64.64, 32.32, 32.32, -32, "a string", "a string", 32.32, 32.32, -32, -32)) { 225 if (!p3PendingExpInsert(dbh, "a string", -32, -32, "a string")) { 226 exit(EXIT_FAILURE); 227 } 228 229 psDBCleanup(dbh); 230 } 231 232 { 233 psDB *dbh; 234 235 dbh = psDBInit("localhost", "test", NULL, "test"); 236 if (!dbh) { 237 exit(EXIT_FAILURE); 238 } 239 240 if (!p3ProcessedExpInsert(dbh, "a string", "a string", "a string", 64.64, 64.64, 64.64, 32.32, 32.32, -32, "a string", "a string", 32.32, 32.32, -32, -32, "a string")) { 241 exit(EXIT_FAILURE); 242 } 243 244 psDBCleanup(dbh); 245 } 246 247 { 248 psDB *dbh; 249 250 dbh = psDBInit("localhost", "test", NULL, "test"); 251 if (!dbh) { 252 exit(EXIT_FAILURE); 253 } 254 255 if (!p3MaskInsert(dbh, "a string")) { 241 256 exit(EXIT_FAILURE); 242 257 }
Note:
See TracChangeset
for help on using the changeset viewer.
