~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/date_formats.test

  • Committer: Brian Aker
  • Date: 2009-02-05 10:38:55 UTC
  • Revision ID: brian@tangent.org-20090205103855-wajzccrbu7zbvmh4
Reworked some classes out of session.h
Also updated ignore file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
258
258
       str_to_date("02 10:11:12", "%d %H:%i:%S") as f5,
259
259
       str_to_date("02 10", "%d %f") as f6;
260
260
drop table t1, t2;
 
261
--error 1686 # These are bad datetimes...
261
262
select str_to_date("2003-01-02 10:11:12.0012ABCD", "%Y-%m-%d %H:%i:%S.%f") as f1,
262
263
       addtime("-01:01:01.01 GGG", "-23:59:59.1") as f2,
263
264
       microsecond("1997-12-31 23:59:59.01XXXX") as f3;
267
268
--enable_ps_protocol
268
269
 
269
270
#
270
 
# Test of locale dependent date format (WL#2928 Date Translation NRE)
271
 
#
272
 
set names latin1;
273
 
select date_format('2004-01-01','%W (%a), %e %M (%b) %Y');
274
 
set lc_time_names=ru_RU;
275
 
set names koi8r;
276
 
select date_format('2004-01-01','%W (%a), %e %M (%b) %Y');
277
 
set lc_time_names=de_DE;
278
 
set names latin1;
279
 
select date_format('2004-01-01','%W (%a), %e %M (%b) %Y');
280
 
set names latin1;
281
 
set lc_time_names=en_US;
282
 
 
283
 
#
284
271
# Bug #14016 
285
272
#
286
273
create table t1 (f1 datetime);