On 09/09 14.40, Sunanda Menon wrote: > Hi , > > Please review the code changes for 6693315: bump mysql from 5.0.45 to > latest 5.0.* at > http://cr.opensolaris.org/~sunandam/6693315/ and let me know your > comments ASAP.
I have a few comments: install-sfw and install-sfw-64: In the function fix_sed_path, why do you have a for loop over a list with only one element? I also wonder about the name of that function, why "sed"? *.cnf.patch: Since these all do the same change, it may be better to concatenate them into a single patch file, then use the more common command line form "gpatch < my-cnf.patch". Alternatively, since the change is trivial, perhaps running a simple sed command on each file would be better? It would be more obvious from Makefile.sfw what you are changing. In fact, if you do that perhaps it could be moved out of Makefile.sfw and into the install-sfw scripts. That is, if those .cnf file are just copied during install, so you don't have to patch them *before* doing the build. I'm not qualified to comment on the validity of that change from 5.0.45 but I assume the MySQL people know what they're doing. :-) I also see you have replaced some "5.0.45" with just "5.0". I agree with that change. :-) -- Bjorn Munch Sun Microsystems Trondheim, Norway http://sun.com/postgresql/