Skip to content

Fix for bug #18556#79

Closed
netnet wants to merge 1 commit intophp:masterfrom
netnet:master
Closed

Fix for bug #18556#79
netnet wants to merge 1 commit intophp:masterfrom
netnet:master

Conversation

@netnet
Copy link

@netnet netnet commented May 10, 2012

Patch to avoid locale-aware lowercasing for letter 'I' in zend_str_tolower() and friends.

@avar
Copy link

avar commented Jul 2, 2012

This fix looks like a crazy hack, the real solution to this is to change the comparison functions for identifiers not to be locale dependent, not hack around a specific locale and its treatment of the letter "i" in a low-level copying function.

@php-pulls
Copy link

Comment on behalf of stas at php.net:

other fix will be done.

@php-pulls php-pulls closed this Jul 14, 2012
php-pulls pushed a commit that referenced this pull request Apr 1, 2013
php-pulls pushed a commit that referenced this pull request Apr 1, 2013
* PHP-5.5:
  Fixed issue #79 (Optimization Problem/Bug)
  fix coverage data for the opcache optimizer
EdmondDantes added a commit to true-async/php-src that referenced this pull request Feb 3, 2026
EdmondDantes added a commit to true-async/php-src that referenced this pull request Feb 3, 2026
In async context (inside coroutines), pg_connect() now always creates
a new connection instead of reusing cached connections. This prevents
race conditions when multiple coroutines try to use the same PostgreSQL
connection simultaneously.

Changes:
- Skip connection cache lookup when ZEND_ASYNC_CURRENT_COROUTINE is set
- Don't add async connections to the cache to ensure isolation
- Update tests to use separate connections per coroutine
EdmondDantes added a commit to true-async/php-src that referenced this pull request Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants