diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-11-07 23:53:40 +0000 |
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-11-07 23:53:40 +0000 |
| commit | 6f701cbda9cb7db83b76962bb087974b77ff2899 (patch) | |
| tree | 9cf71343f3e3fbb3faa4a1a0ad8b10b4c358d377 /libdbpp/selectcommand.h | |
| parent | Add dependency on input test file (diff) | |
| download | libdbpp-6f701cbda9cb7db83b76962bb087974b77ff2899.tar.bz2 libdbpp-6f701cbda9cb7db83b76962bb087974b77ff2899.tar.xz libdbpp-6f701cbda9cb7db83b76962bb087974b77ff2899.zip | |
Add typedefs for commands and connection smart pointers
Diffstat (limited to 'libdbpp/selectcommand.h')
| -rw-r--r-- | libdbpp/selectcommand.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdbpp/selectcommand.h b/libdbpp/selectcommand.h index 3887088..31ef9ca 100644 --- a/libdbpp/selectcommand.h +++ b/libdbpp/selectcommand.h @@ -7,6 +7,7 @@ #include <boost/multi_index/indexed_by.hpp> #include <boost/multi_index/ordered_index_fwd.hpp> #include <boost/multi_index/member.hpp> +#include <boost/shared_ptr.hpp> #include <visibility.h> namespace DB { @@ -44,6 +45,7 @@ namespace DB { /// Columns in the result set. Columns * columns; }; + typedef boost::shared_ptr<SelectCommand> SelectCommandPtr; } #endif |
