[freetds] SELECT problem 0-1-some-rows

Dpto. Informática Pont Grup - Francisco Arjona webmaster at pontgrup.com
Fri Dec 21 07:30:00 EST 2007


Hello,

I’ve got a problem with freetds/MSSQL 2000.

When I make a SELECT I obtain a valid result if the result set 0-1 row. But
if this is greater than 1 row, php throw an error like “Allowed memory size
of XXXXX bytes exhausted (tried to allocate XXXX bytes) in /XXXX/XXXX/XXX”.

 

I’ve tried everything. It’s not seems problem with the php memory size
config, I’ve config the php.ini, freetds.conf,
.  and php & freetds works
correctly.

The problem is that always works with 0-1 row, and never works with some
rows!!

 

I have:

- php 5.2.5

- apache 2.2.6

- freetds 0.64  - I use tds version 8.0

- sqlserver 2000 – it works ok     

 

Thanks!!



More information about the FreeTDS mailing list