mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	New field for timestamp in shearwater cloud DB
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
		
							parent
							
								
									06e6bcecb7
								
							
						
					
					
						commit
						b8b67f239b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -483,7 +483,7 @@ int parse_shearwater_cloud_buffer(sqlite3 *handle, const char *url, const char * | ||||||
| 	state.sites = sites; | 	state.sites = sites; | ||||||
| 	state.sql_handle = handle; | 	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); | 	retval = sqlite3_exec(handle, get_dives, &shearwater_cloud_dive, &state, NULL); | ||||||
| 	free_parser_state(&state); | 	free_parser_state(&state); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue