Changeset 11820 for trunk/ippdb/tests/insertobject.c
- Timestamp:
- Feb 14, 2007, 5:58:26 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertobject.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertobject.c
r11809 r11820 212 212 } 213 213 214 object = rawExpRowAlloc("a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", -32, "a string", "a string", 32.32, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64, "a string", -16);214 object = rawExpRowAlloc("a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", -32, "a string", "a string", 32.32, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64, "a string", 32.32, -16); 215 215 if (!object) { 216 216 exit(EXIT_FAILURE); … … 454 454 } 455 455 456 object = detRunRowAlloc(-32, -32, "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 64.64, 64.64, "0001-01-01T00:00:00Z", "0001-01-01T00:00:00Z", "0001-01-01T00:00:00Z", "0001-01-01T00:00:00Z", "0001-01-01T00:00:00Z" );456 object = detRunRowAlloc(-32, -32, "a string", "a string", "a string", "a string", "a string", "a string", "a string", "a string", 32.32, 32.32, 32.32, 32.32, 32.32, 32.32, 64.64, 64.64, "0001-01-01T00:00:00Z", "0001-01-01T00:00:00Z", "0001-01-01T00:00:00Z", "0001-01-01T00:00:00Z", "0001-01-01T00:00:00Z", 32.32, 32.32, "a string", -32); 457 457 if (!object) { 458 458 exit(EXIT_FAILURE); … … 806 806 } 807 807 808 object = p5InputScfileRowAlloc(-32, -32, "a string", "a string", "a string", -32, "a string",true);808 object = p5InputScfileRowAlloc(-32, -32, "a string", "a string", "a string", true); 809 809 if (!object) { 810 810 exit(EXIT_FAILURE); … … 834 834 835 835 if (!p5DiffScfileInsertObject(dbh, object)) { 836 exit(EXIT_FAILURE); 837 } 838 839 psFree(object); 840 psDBCleanup(dbh); 841 } 842 843 { 844 psDB *dbh; 845 p6RunRow *object; 846 847 dbh = psDBInit("localhost", "test", NULL, "test"); 848 if (!dbh) { 849 exit(EXIT_FAILURE); 850 } 851 852 object = p6RunRowAlloc(-32, "a string", "a string", "0001-01-01T00:00:00Z"); 853 if (!object) { 854 exit(EXIT_FAILURE); 855 } 856 857 if (!p6RunInsertObject(dbh, object)) { 836 858 exit(EXIT_FAILURE); 837 859 }
Note:
See TracChangeset
for help on using the changeset viewer.
