Monty Taylor wrote: > Andrey Zhakov wrote: >> Hi Monty, >> >> I modified the failing test scripts. See my two recent updates in >> lp:~andrey-zhakov/drizzle/drizzle-virtual-columns. > > Great! I've merged this with the latest trunk and then with my codestyle > branch. I've pushed it now to lp:~mordred/drizzle/codestyle. Hopefully > codestyle will get merged in in the morning. > >> The updates should fix two issues. >> 1) Fields of type 'double' are generated differently in my and your >> environment. From the MySQL ref manual 'double' is an approximate type. >> Although I did not find any statement about which digits within a >> 'double' could be treated exact, I noticed that func_math.test used >> 'format(<double_result_func>,6)' for the same mathematical functions and >> similar input data. So I used 'format(<double_result_func>,6)' as well. >> Let me know if you are aware of a common approach in testing >> double/float fields in drizzle. > > I don't know of a good solution off the top of my head ... Jay?
There isn't really a common approach besides the one you mention, Andrey... :( -jay _______________________________________________ Mailing list: https://launchpad.net/~drizzle-discuss Post to : [email protected] Unsubscribe : https://launchpad.net/~drizzle-discuss More help : https://help.launchpad.net/ListHelp

