You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by Xiao Meng <xi...@gmail.com> on 2015/02/11 02:22:09 UTC

Re: Review Request 27926: DRILL-1697. C++ Client. Use the object io_service::work to prevent io_service running out of work.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27926/
-----------------------------------------------------------

(Updated Feb. 11, 2015, 1:22 a.m.)


Review request for drill and Parth Chandra.


Changes
-------

Rebased on latest master.


Bugs: DRILL-1697
    https://issues.apache.org/jira/browse/DRILL-1697


Repository: drill-git


Description
-------

- Deleting the `work` object to permit the io_service to exit.
- Also reset `io_service` before submitting query.


Diffs (updated)
-----

  contrib/native/client/src/clientlib/drillClientImpl.hpp a5eeb77 
  contrib/native/client/src/clientlib/drillClientImpl.cpp c832a79 

Diff: https://reviews.apache.org/r/27926/diff/


Testing
-------

Observed from the ODBC driver:

-The driver may not consume the second query if there is time lag and io_service stopped.


Thanks,

Xiao Meng