diff options
author | randomdan <randomdan@localhost> | 2013-01-27 23:43:09 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2013-01-27 23:43:09 +0000 |
commit | 9fe4e4418a88b69ed12a37d5ad13cddb8e047b67 (patch) | |
tree | 0bfe5395a8d8fe82df757d9d1fb9cce105122291 /libpqpp/command.cpp | |
parent | Record tx open separately from executed for the cases when the execute fails (diff) | |
download | libdbpp-postgresql-9fe4e4418a88b69ed12a37d5ad13cddb8e047b67.tar.bz2 libdbpp-postgresql-9fe4e4418a88b69ed12a37d5ad13cddb8e047b67.tar.xz libdbpp-postgresql-9fe4e4418a88b69ed12a37d5ad13cddb8e047b67.zip |
Increase buffer size for statement names
Diffstat (limited to 'libpqpp/command.cpp')
-rw-r--r-- | libpqpp/command.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/command.cpp b/libpqpp/command.cpp index f8dad14..fa2dc1d 100644 --- a/libpqpp/command.cpp +++ b/libpqpp/command.cpp @@ -5,7 +5,7 @@ static std::string addrStr(void * p, unsigned int no) { std::string r; - r.resize(30); + r.resize(50); r.resize(snprintf(const_cast<char *>(r.c_str()), 30, "pStatement_%u_%p", no, p)); return r; } |