mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
1f3ec9800c
modified: include/my_time.h libmysql/libmysql.c mysql-test/r/adddate_454.result mysql-test/r/cast.result mysql-test/r/date_formats.result mysql-test/r/func_sapdb.result mysql-test/r/func_time.result mysql-test/r/mdev316.result mysql-test/r/parser.result mysql-test/r/partition_datatype.result mysql-test/r/partition_pruning.result mysql-test/r/type_date.result mysql-test/r/type_datetime.result mysql-test/suite/vcol/r/vcol_misc.result mysql-test/t/cast.test sql-common/my_time.c sql/field.cc sql/field_conv.cc sql/filesort.cc sql/item.cc sql/item.h sql/item_cmpfunc.cc sql/item_func.cc sql/item_strfunc.cc sql/item_timefunc.cc sql/sql_time.cc pending merges: Sergei Golubchik 2013-07-03 MDEV-4667 DATE('string') incompability betwe...
22 lines
1.1 KiB
Text
22 lines
1.1 KiB
Text
set names swe7;
|
|
select '' in ('',convert(0,time));
|
|
'' in ('',convert(0,time))
|
|
1
|
|
select case '' when '' then 1 when convert(0,time) then 2 end;
|
|
case '' when '' then 1 when convert(0,time) then 2 end
|
|
1
|
|
select convert(0x0030 using ucs2) div 1, concat(convert(0x0030 using ucs2)) div 1;
|
|
convert(0x0030 using ucs2) div 1 concat(convert(0x0030 using ucs2)) div 1
|
|
0 0
|
|
select cast(convert(0x0030 using ucs2) as double), cast(concat(convert(0x0030 using ucs2)) as double);
|
|
cast(convert(0x0030 using ucs2) as double) cast(concat(convert(0x0030 using ucs2)) as double)
|
|
0 0
|
|
select cast(convert(0x0030 using ucs2) as decimal(5.2)), cast(concat(convert(0x0030 using ucs2)) as decimal(5.2));
|
|
cast(convert(0x0030 using ucs2) as decimal(5.2)) cast(concat(convert(0x0030 using ucs2)) as decimal(5.2))
|
|
0 0
|
|
select cast(convert(_ucs2 0x0030 using latin1) as date), cast(concat(convert(_ucs2 0x0030 using latin1)) as date);
|
|
cast(convert(_ucs2 0x0030 using latin1) as date) cast(concat(convert(_ucs2 0x0030 using latin1)) as date)
|
|
NULL NULL
|
|
Warnings:
|
|
Warning 1292 Incorrect datetime value: '0'
|
|
Warning 1292 Incorrect datetime value: '0'
|