microsoft / mysqlnd_azure

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

fix crash due to wrong alloc pair #12

Closed GuuBu closed 4 years ago

GuuBu commented 4 years ago

when mysqlnd.collect_memorystatistics=1, it will cause crash if redirect cache is used. It is due to wrong use of alloc pair. Should always use mnd prefix for memory manipulation if want to take use of the mysqlnd.collect_memory_statistics usage.