Hi!
>>>>> "Fournier" == Fournier Jocelyn <Fournier> writes:
Fournier> Hi,
Fournier> I saw some new warnings during the compilation of the latest MySQL-4.0.1
Fournier> source :
Fournier> item_func.h: In constructor
> `Item_func_match::Item_func_match(List<Item>&,
Fournier> Item*)':
Fournier> item_func.h:871: warning: member initializers for
Fournier> `FT_INFO*Item_func_match::ft_handler'
Fournier> item_func.h:868: warning: and `uint Item_func_match::key'
Fournier> item_func.h:876: warning: will be re-ordered to match declaration order
Fournier> item_func.h:868: warning: member initializers for `uint
Fournier> Item_func_match::key'
Fournier> item_func.h:865: warning: and `Item*Item_func_match::concat'
Fournier> item_func.h:876: warning: will be re-ordered to match declaration order
Fournier> I suggest a modification of item_func.h to suppress them :
Fournier> ===== sql/item_func.h 1.32 vs edited =====
Fournier> --- 1.32/sql/item_func.h Wed Nov 28 17:30:08 2001
Fournier> +++ edited/sql/item_func.h Sat Dec 1 13:27:36 2001
Fournier> @@ -872,8 +872,8 @@
Fournier> byte *record;
Fournier> Item_func_match(List<Item> &a, Item *b): Item_real_func(b),
Fournier> - fields(a), table(0), join_key(0), master(0), ft_handler(0),
Fournier> - key(0), concat(0) {}
Fournier> + fields(a), concat(0), table(0), key(0), join_key(0), master(0),
Fournier> + ft_handler(0) {}
Fournier> ~Item_func_match()
Fournier> {
Fournier> if (!master && ft_handler)
Thanks for the suggestions; I did however notice and fix this myself
at the same time you did your changes...
I have update bk with my changes
Regards,
Monty