Signed-off-by: Miika Turkia <[email protected]>
---
 parse-xml.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parse-xml.c b/parse-xml.c
index 1d9ce97..16988cd 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -2746,7 +2746,7 @@ int parse_cobalt_buffer(sqlite3 *handle, const char *url, 
const char *buffer, in
        char *err = NULL;
        target_table = table;
 
-       char get_dives[] = "select 
Id,strftime('%s',DiveStartTime),LocationId,'buddy','notes',Units,(MaxDepthPressure*10000/SurfacePressure)-10000,DiveMinutes,SurfacePressure,SerialNumber,'model'
 from Dive";
+       char get_dives[] = "select 
Id,strftime('%s',DiveStartTime),LocationId,'buddy','notes',Units,(MaxDepthPressure*10000/SurfacePressure)-10000,DiveMinutes,SurfacePressure,SerialNumber,'model'
 from Dive where IsViewDeleted = 0";
 
        retval = sqlite3_exec(handle, get_dives, &cobalt_dive, handle, &err);
 
-- 
2.1.0

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to