Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move DB2 maxBuffer out of public soci-db2.h
- Loading branch information
Showing
4 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// Copyright (C) 2013 Mateusz Loskot <mateusz@loskot.net> | ||
// Copyright (C) 2011-2013 Denis Chapligin | ||
// Copyright (C) 2004-2006 Maciej Sobczak, Stephen Hutton | ||
// Distributed under the Boost Software License, Version 1.0. | ||
// (See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt) | ||
// | ||
|
||
#ifndef SOCI_DB2_COMMON_H_INCLUDED | ||
#define SOCI_DB2_COMMON_H_INCLUDED | ||
|
||
#include <cstddef> | ||
|
||
namespace soci { namespace details { namespace db2 { | ||
|
||
const std::size_t cli_max_buffer = 1024 * 1024 * 1024; //CLI limit is about 3 GB, but 1GB should be enough | ||
|
||
}}} // namespace soci::details::db2 | ||
|
||
#endif // SOCI_DB2_COMMON_H_INCLUDED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters