mirror of
https://github.com/MariaDB/server.git
synced 2025-11-09 11:41:36 +03:00
create templates thd->alloc<X>(n) to use instead of (X*)thd->alloc(sizeof(X)*n) and the same for thd->calloc(). By the default the type is char, so old usage of thd->alloc(size) works too.
329 KiB
329 KiB