diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2020-09-08 20:30:47 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-09-15 08:47:51 -0700 |
commit | b8b67f239b80b72c852937bc5058dde2b8b83ad9 (patch) | |
tree | b5d3725e064dd8d2cf8cc3d91464155c88571799 | |
parent | 06e6bcecb717bf912c81b9039e9d1524cfc9ae5a (diff) | |
download | subsurface-b8b67f239b80b72c852937bc5058dde2b8b83ad9.tar.gz |
New field for timestamp in shearwater cloud DB
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
-rw-r--r-- | core/import-shearwater.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/import-shearwater.c b/core/import-shearwater.c index 9b5d8038c..f56035bab 100644 --- a/core/import-shearwater.c +++ b/core/import-shearwater.c @@ -483,7 +483,7 @@ int parse_shearwater_cloud_buffer(sqlite3 *handle, const char *url, const char * state.sites = sites; state.sql_handle = handle; - char get_dives[] = "select l.number,strftime('%s', DiveDate),location||' / '||site,buddy,notes,imperialUnits,maxDepth,maxTime,startSurfacePressure,computerSerial,computerModel,d.diveId,l.sampleRateMs FROM dive_details AS d JOIN dive_logs AS l ON d.diveId=l.diveId"; + char get_dives[] = "select l.number,strftime('%s', DiveDate),location||' / '||site,buddy,notes,imperialUnits,maxDepth,DiveLengthTime,startSurfacePressure,computerSerial,computerModel,d.diveId,l.sampleRateMs FROM dive_details AS d JOIN dive_logs AS l ON d.diveId=l.diveId"; retval = sqlite3_exec(handle, get_dives, &shearwater_cloud_dive, &state, NULL); free_parser_state(&state); |