Re: [Maria-developers] [Commits] Rev 3426: LP1008334 : Speedup specific datetime queries that got slower with introduction of microseconds in file:///H:/bzr/5.5/

8 Jun
2012
8 Jun
'12
3:02 p.m.
Hi, Vladislav! On Jun 08, Vladislav Vaintroub wrote:
Looks ok. Would be good to mention the ~25% speedup in the comment above fmt_number. Like "Gives 25% speedup when converting temporal values to strings, as compared to sprintf". So that one wouldn't need to dig up bzr history every time.
I'd expect that checking for decimals==0 alone should be enough. Could you try to run the test suite with the DBUG_ASSERT(result_type() != INT_RESULT || decimals == 0); please?
Regards, Sergei
4689
Age (days ago)
4689
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sergei Golubchik