Changeset 11820 for trunk/ippdb/tests/selectrowsfits.c
- Timestamp:
- Feb 14, 2007, 5:58:26 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/selectrowsfits.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/selectrowsfits.c
r11809 r11820 843 843 } 844 844 845 { 846 psDB *dbh; 847 psFits *fits; 848 849 dbh = psDBInit("localhost", "test", NULL, "test"); 850 if (!dbh) { 851 exit(EXIT_FAILURE); 852 } 853 854 fits = psFitsOpen(TMP_FILENAME, "w"); 855 if (!fits) { 856 exit(EXIT_FAILURE); 857 } 858 859 if (!p6RunSelectRowsFits(dbh, fits, NULL, 1)) { 860 exit(EXIT_FAILURE); 861 } 862 863 psFree(fits); 864 psDBCleanup(dbh); 865 } 866 845 867 exit(EXIT_SUCCESS); 846 868 }
Note:
See TracChangeset
for help on using the changeset viewer.
