From 9fe4e4418a88b69ed12a37d5ad13cddb8e047b67 Mon Sep 17 00:00:00 2001 From: randomdan Date: Sun, 27 Jan 2013 23:43:09 +0000 Subject: Increase buffer size for statement names --- libpqpp/command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(r.c_str()), 30, "pStatement_%u_%p", no, p)); return r; } -- cgit v1.2.3