sybase-ct

From: Date: Wed, 01 Sep 1999 19:18:17 +0000
Subject: sybase-ct
Groups: php.version4 
Request: Send a blank email to php-version4+get-3983@lists.php.net to get a copy of this message
Not sure how complete the sybase-ct module port is, but I think I found a mem leak... Version: Latest CVS (for sure, this time...) OS: Sun Solaris 2.6 DB: Sybase 11.5.1 ./configure --with-sybase-ct --with-zlib --with-xml Looping thru an array... <? $op = array(6782...11353); //snipped for brevity for ($i = 0; $i < (sizeof($op)); $i++) { $q = sybase_query(" SELECT WORKGROUP_ID as w FROM M_OPP_WKGRP WHERE OPPORTUNITY_ID = $op[$i] AND WORKGROUP_ID = 5", $db); /* Just looking to see if this id has a match to "#5" in match table */ while ($a = sybase_fetch_array($q)) { echo "Opportunity $op[$i] has a match for Workgroup 5.\n"; } } ?> Result: zend_hash.c(175) : Freeing 0x00239800 (37 bytes), script=tmp Last leak repeated 59 times zend_hash.c(185) : Freeing 0x00237238 (4 bytes), script=tmp Last leak repeated 59 times cgi_main.c(321) : Freeing 0x0020E060 (4 bytes), script=tmp Also, on a side note: On Sun, could not get --with-sybase-ct compiled. I track it down to -ltcl. I appear to have a libtcl.so in my "tcl 8.0" toolkit, and a libtcl.so in my "sybase ct" toolkit. I symlinked the sybase one to libsybtcl.so, added -lsybtcl, and it worked fine...anyone else have experience with this? --Joey Smith

« previous php.version4 (#3983) next »