diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-09 19:29:13 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-09 19:29:13 +0000 |
commit | f0f4dd725b20c5acca3eacdc77754ad9d2103626 (patch) | |
tree | 1e875105d0428832891e76cff39fa663ff642188 /src | |
parent | 48262da087538c38b91bf3a1a51ffaa5e61e502f (diff) |
Wrong version given in check it seems. Om can review this later, but now it compiles on my system (pgsql 8.0.8) with that special feature thats only supposed to exist on 8.4.2 onwards.... :/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4822 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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); |