The callback function has to return 0 or sql processing fails
Which means we report an error even if there wasn't a problem. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4682002474
commit
6a2efd9ff6
@ -2087,6 +2087,7 @@ extern int dm5_cylinders(void *handle, int columns, char **data, char **column)
|
||||
if (data[3])
|
||||
cur_dive->cylinder[cur_cylinder_index].gasmix.he.permille = atoi(data[3]) * 10;
|
||||
cylinder_end();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user