Edit report at http://bugs.php.net/bug.php?id=55022&edit=1

 ID:                 55022
 Comment by:         hexes at nail dot ru
 Reported by:        hexes at mail dot ru
 Summary:            memory_limit exhausted when set charset in
                     sybase_connect
 Status:             Feedback
 Type:               Bug
 Package:            Sybase-ct (ctlib) related
 Operating System:   Linux 2.6.36-gentoo-r5
 PHP Version:        5.3.6
 Block user comment: N
 Private report:     N

 New Comment:

Maybe I wrote it is not clear, just clarify:

if i delete it (at here i mean if i delete 'cp1251' from connect string), 
script 

work correct, except message:



Sybase:  Server message:  Character set conversion is not available between 

client character set 'utf8' and server character set 'cp1251'.

 (severity 11, procedure N/A)



Result return only one row, that couldn't exhaust 156353484 bytes...


Previous Comments:
------------------------------------------------------------------------
[2011-06-11 03:15:52] fel...@php.net

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



------------------------------------------------------------------------
[2011-06-11 03:15:17] fel...@php.net

Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=312044
Log: - Possible fix for bug #55022 (memory_limit exhausted when set charset in 
sybase_connect)

------------------------------------------------------------------------
[2011-06-10 10:28:05] hexes at mail dot ru

Description:
------------
The same script, the same query if i set 

sybase_connect($this->server_name, $this->login, $this->pass, 'cp1251')

i get

Allowed memory size of 134217728 bytes exhausted (tried to allocate 156353484 

bytes)

if i delete it, script work correct, except message:



Sybase:  Server message:  Character set conversion is not available between 

client character set 'utf8' and server character set 'cp1251'.

 (severity 11, procedure N/A)



Result return only one row, that couldn't exhaust 156353484 bytes...



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=55022&edit=1

Reply via email to