microsoft / mysqlnd_azure

mysqlnd_azure is an extension for mysqlnd which enables redirection functionality.
Other
10 stars 17 forks source link

fix for 1.0.2 crash due to persistent wrong usage #7

Closed GuuBu closed 4 years ago

GuuBu commented 4 years ago

When adding record to redirection cache hashtable, it also need to take care of the lifecycle of the string added, which should have same lifecycle with the hash table. Otherwise, it will contains invalid memory type during the request shutdown and module shutdown process.