mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
6c173324ff
Print default values for BLOB's. This is a part commit for automatic changes to make the real commit smaller. All changes here are related to that we now print DEFAULT NULL for blob and text fields, like we do for all other fields.
34 lines
872 B
Text
34 lines
872 B
Text
select 1 + "2 a";
|
|
1 + "2 a"
|
|
3
|
|
Warnings:
|
|
Warning 1292 Truncated incorrect DOUBLE value: '2 a'
|
|
create table t (a int primary key, b blob default '');
|
|
select a, (2*a) AS a from t group by a;
|
|
a a
|
|
Warnings:
|
|
Warning 1052 Column 'a' in group statement is ambiguous
|
|
drop table t;
|
|
select 1 + "2 a";
|
|
1 + "2 a"
|
|
3
|
|
Warnings:
|
|
Warning 1292 Truncated incorrect DOUBLE value: '2 a'
|
|
create table t (a int primary key, b blob default '');
|
|
select a, (2*a) AS a from t group by a;
|
|
a a
|
|
Warnings:
|
|
Warning 1052 Column 'a' in group statement is ambiguous
|
|
Warning 1052 Column 'a' in group statement is ambiguous
|
|
drop table t;
|
|
select 1 + "2 a";
|
|
1 + "2 a"
|
|
3
|
|
Warnings:
|
|
Warning 1292 Truncated incorrect DOUBLE value: '2 a'
|
|
create table t (a int primary key, b blob default '');
|
|
select a, (2*a) AS a from t group by a;
|
|
a a
|
|
Warnings:
|
|
Warning 1052 Column 'a' in group statement is ambiguous
|
|
drop table t;
|