~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/Makefile.am

  • Committer: Jay Pipes
  • Date: 2009-02-04 15:25:30 UTC
  • mto: This revision was merged to the branch mainline in revision 830.
  • Revision ID: jpipes@serialcoder-20090204152530-27x7k0vjx1pd3g3o
default_week_format variable has gone the way of the Dodo, as have the
WEEK() and YEARWEEK() functions.  These two functions, along with week_mode
(default_week_format) were inconsistent with standards and made redundant
by the DATE_FORMAT() function.

Cleaned up the former week_number_from_gregorian_date() function into
a simpler, strftime()-based solution in sync with PosgreSQL and SQL/ISO standards.

Clean up of the EXTRACT() function to use new temporal system and produce
proper errors on bad temporal values.

NOTE: Test cases for EXTRACT and cleanup of the func_time.test case have not
yet been committed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
210
210
                function/time/to_days.h \
211
211
                function/time/typecast.h \
212
212
                function/time/unix_timestamp.h \
213
 
                function/time/week.h \
214
 
                function/time/week_mode.h \
215
213
                function/time/weekday.h \
216
214
                function/time/year.h  \
217
 
                function/time/yearweek.h \
218
215
                ha_trx_info.h \
219
216
                ha_statistics.h \
220
217
                handler.h \
667
664
                function/time/to_days.cc \
668
665
                function/time/typecast.cc \
669
666
                function/time/unix_timestamp.cc \
670
 
                function/time/week.cc \
671
 
                function/time/week_mode.cc \
672
667
                function/time/weekday.cc \
673
 
                function/time/year.cc \
674
 
                function/time/yearweek.cc
 
668
                function/time/year.cc
675
669
 
676
670
 
677
671
if BUILD_GCC_PCH