diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/extra/m_pgsql.cpp | 1 | ||||
-rw-r--r-- | src/modules/extra/pgsql_config.pl | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index 51217bb71..d488bed8e 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -1125,7 +1125,6 @@ SQLerror SQLConn::DoQuery(SQLrequest &req) len = PQescapeStringConn(queryend, req.query.p.front().c_str(), req.query.p.front().length()); error = 0; #endif - if(error) { log(DEBUG, "Apparently PQescapeStringConn() failed somehow...don't know how or what to do..."); diff --git a/src/modules/extra/pgsql_config.pl b/src/modules/extra/pgsql_config.pl index bc91fa24d..be9fa06ed 100644 --- a/src/modules/extra/pgsql_config.pl +++ b/src/modules/extra/pgsql_config.pl @@ -3,4 +3,4 @@ my $v = substr(`pg_config --version`, 11); my($a, $b, $c) = split(/\./, $v); -print "-D PGSQL_HAS_ESCAPECONN" if(hex(sprintf("%02x", $a) . sprintf("%02x", $b) . sprintf("%02x", $c)) >= 0x080104); +print "-D PGSQL_HAS_ESCAPECONN" if(hex(sprintf("%02x", $a) . sprintf("%02x", $b) . sprintf("%02x", $c)) >= 0x080000); |