diff options
Diffstat (limited to 'libpqpp/pq-command.cpp')
-rw-r--r-- | libpqpp/pq-command.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libpqpp/pq-command.cpp b/libpqpp/pq-command.cpp index 1db81a6..f31d78a 100644 --- a/libpqpp/pq-command.cpp +++ b/libpqpp/pq-command.cpp @@ -29,10 +29,11 @@ PQ::Command::~Command() } } -PQ::CommandOptions::CommandOptions(std::size_t hash, const DB::CommandOptionsMap &) : - DB::CommandOptions(hash) +PQ::CommandOptions::CommandOptions(std::size_t hash, const DB::CommandOptionsMap & map) : + DB::CommandOptions(hash), + fetchTuples(get(map, "page-size", 35)), + useCursor(!isSet(map, "no-cursor")) { - } PQ::CommandOptions::CommandOptions(std::size_t hash, |