mirror of
https://github.com/php/php-src.git
synced 2025-01-18 09:43:36 +08:00
Fix bug#50416
PROCEDURE db.myproc can't return a result set in the given context
This commit is contained in:
parent
658e86b847
commit
52371a2d15
2
NEWS
2
NEWS
@ -57,6 +57,8 @@ PHP NEWS
|
||||
- Fixed bug #50632 (filter_input() does not return default value if the
|
||||
variable does not exist). (Ilia)
|
||||
- Fixed bug #50576 (XML_OPTION_SKIP_TAGSTART option has no effect). (Pierrick)
|
||||
- Fixed bug #50416 (PROCEDURE db.myproc can't return a result set in the given
|
||||
context). (Andrey)
|
||||
- Fixed bug #49560 (oci8: using LOBs causes slow PHP shutdown). (Oracle Corp.)
|
||||
- Fixed bug #49463 (setAttributeNS fails setting default namespace). (Rob)
|
||||
- Fixed bug #48811 (Directives in PATH section do not get applied to
|
||||
|
@ -668,6 +668,9 @@ static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
|
||||
client_flags ^= CLIENT_LOCAL_FILES;
|
||||
}
|
||||
|
||||
#ifdef CLIENT_MULTI_RESULTS
|
||||
client_flags |= CLIENT_MULTI_RESULTS; /* compatibility with 5.2, see bug#50416 */
|
||||
#endif
|
||||
#ifdef CLIENT_MULTI_STATEMENTS
|
||||
client_flags &= ~CLIENT_MULTI_STATEMENTS; /* don't allow multi_queries via connect parameter */
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user