sshutdownow / mod-myvhost

Automatically exported from code.google.com/p/mod-myvhost
Apache License 2.0
5 stars 5 forks source link

pgsql driver - No columns returned #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure the mod_myvhost to user pgsql driver
2.
3.

What is the expected output? What do you see instead?
I get following message in log files:
[crit] [client 192.168.1.20] SQL statement returned no columns
and instead of working webpage for a vhost i get 500 error.
When using mysql all works fine.
The query in dbdocroot is correct cause when I run it manually I get proper 
result.
Seems like problem in mod_myvhost.c in line 284:
   cols = apr_dbd_num_cols(dbd->driver, res);

It returns 0.

What version of the product are you using? On what operating system?
mod_myvhost-0.21 - Centos 6.5

Please provide any additional information below.

Original issue reported on code.google.com by suchock...@gmail.com on 14 Jan 2014 at 9:40