mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Add prefix for ext/odbc persistent resource hash
In order to make sure that it doesn't accidentally clash with other resource types
This commit is contained in:
parent
446ff6a742
commit
43ac009c87
1 changed files with 1 additions and 1 deletions
|
@ -2300,7 +2300,7 @@ void odbc_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
|
|||
}
|
||||
|
||||
char *hashed_details;
|
||||
size_t hashed_details_len = spprintf(&hashed_details, 0, "%d_%s_%s_%s_%s_%d", persistent, ODBC_TYPE, db, uid, pwd, cur_opt);
|
||||
size_t hashed_details_len = spprintf(&hashed_details, 0, "odbc_%d_%s_%s_%s_%s_%d", persistent, ODBC_TYPE, db, uid, pwd, cur_opt);
|
||||
|
||||
try_and_get_another_connection:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue