Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.6.5
-
None
-
Windows11 64bit, visual studio 2022, MariaDB 10.6\bin\mysql.exe Ver 15.1 Distrib 10.6.5-MariaDB, for Win64 (AMD64), source revision 109fc67d4da46d52d2a96528eaea3b0ef6275692
Description
For the UDF aggregate model that calling 'x_init > x_clear > x_add > xxx > x_deinit' as the guide said,
but actually not calls 'x_clear > x_add' both on windows platform
only rest of functions(x_init > xxx > x_deinit) are called. but above two. So that canNOT implement aggregated plugin.
How to fix it?
(sample code at https://github.com/mysqludf/lib_mysqludf_ta/blob/master/src/ta_tr_win.c)
reference doc : https://mariadb.com/kb/en/creating-user-defined-functions/