Skip to content

Commit

Permalink
Merge pull request #137 from bonitoo-io/fix/query_errors
Browse files Browse the repository at this point in the history
fix: Skipping unexpected annonations (#136)
  • Loading branch information
vlastahajek authored Feb 8, 2021
2 parents 33571d0 + 7500944 commit 5b51bdb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# Changelog
## 3.x.x [in progress]
## 3.7.1 [in progress]
### Documentation
- [#134](https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino/pull/134):
- Added untrusted connection (skipping certificate validation) info to Readme
- `SecureWrite` and `SecureBatchWrite` demos enhanced with example about using untrusted connection
- Various fixes of typos

### Fixes
- [#137](https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino/pull/137) - Fixed parsing Flux response with unexpected annotations

## 3.7.0 [2020-12-24]
### Features
- [#125](https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino/pull/124) - Added credentials to the InfluxDB 1.x validation endpoint (/ping). To leverage this, [enable ping authentication](https://docs.influxdata.com/influxdb/v1.8/administration/config/#ping-auth-enabled-false)
Expand Down
4 changes: 3 additions & 1 deletion src/query/FluxParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ bool FluxQueryResult::next() {
}
parsingState = ParsingStateNameRow;
goto readRow;
}
} else {
goto readRow;
}
return true;
}

Expand Down
2 changes: 2 additions & 0 deletions test/server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ app.post(prefix + '/api/v2/delete', (req,res) => {

var queryRes = {
"singleTable":`#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,true,true,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,a,b
,,0,2020-02-17T22:19:49.747562847Z,2020-02-18T22:19:49.747562847Z,2020-02-18T10:34:08.135814545Z,1.4,f,test,1,adsfasdf
,,1,2020-02-17T22:19:49.747562847Z,2020-02-18T22:19:49.747562847Z,2020-02-18T22:08:44.850214724Z,6.6,f,test,3,adsfasdf
Expand Down

0 comments on commit 5b51bdb

Please sign in to comment.