Changeset 34918
- Timestamp:
- Jan 12, 2013, 7:27:39 AM (14 years ago)
- Location:
- branches/eam_branches/ipp-20121219/Ohana/src/dvopsps/src
- Files:
-
- 3 edited
-
initialize_dvopsps.c (modified) (2 diffs)
-
insert_detections_dvopsps.c (modified) (2 diffs)
-
insert_detections_dvopsps_catalog.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20121219/Ohana/src/dvopsps/src/initialize_dvopsps.c
r34916 r34918 132 132 } 133 133 134 if (argc != 2) usage_dvopsps();134 if (argc != 1) usage_dvopsps(); 135 135 136 136 return (TRUE); … … 268 268 if (!CATDIR) usage_dvopsps_client(); 269 269 270 if (argc != 2) usage_dvopsps_client();270 if (argc != 1) usage_dvopsps_client(); 271 271 return (TRUE); 272 272 } -
branches/eam_branches/ipp-20121219/Ohana/src/dvopsps/src/insert_detections_dvopsps.c
r34917 r34918 27 27 myAssert (skylist, "ooops!"); 28 28 29 # if ( 0)29 # if (USE_MYSQL) 30 30 // NOTE: mysql connection happens here since each dvopsps_client makes its own connection 31 31 MYSQL mysqlBase; … … 35 35 exit (1); 36 36 } 37 37 # else 38 MYSQL *mysqlReal = NULL; 39 # endif 38 40 39 41 // select measurements for each populated catalog -
branches/eam_branches/ipp-20121219/Ohana/src/dvopsps/src/insert_detections_dvopsps_catalog.c
r34916 r34918 56 56 57 57 // XXX check return status 58 mysql_query(mysql, sql); 58 if (mysql) { 59 mysql_query(mysql, sql); 60 } else { 61 fprintf (stderr, "%s\n", sql); 62 } 59 63 60 64 return TRUE;
Note:
See TracChangeset
for help on using the changeset viewer.
