Bug #55022 [Com]: memory_limit exhausted when set charset in sybase_connect

From: Date: Tue, 14 Jun 2011 04:00:20 +0000
Subject: Bug #55022 [Com]: memory_limit exhausted when set charset in sybase_connect
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-161381@lists.php.net to get a copy of this message
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] felipe@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] felipe@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


Thread (4 messages)

« previous php.bugs (#161381) next »