mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
fixed pb problem with the fix for bug 30587
This commit is contained in:
parent
59b311baee
commit
72a0ad7982
1 changed files with 4 additions and 4 deletions
|
@ -326,24 +326,24 @@ CREATE TABLE t1 (a timestamp, b varchar(20), c bit(1));
|
|||
INSERT INTO t1 VALUES('1998-09-23', 'str1', 1), ('2003-03-25', 'str2', 0);
|
||||
SELECT a DIV 900 y FROM t1 GROUP BY y;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def y y 8 19 11 Y 32800 0 63
|
||||
def y 8 19 11 Y 32800 0 63
|
||||
y
|
||||
22201025555
|
||||
22255916666
|
||||
SELECT DISTINCT a DIV 900 y FROM t1;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def y y 8 19 11 Y 32800 0 63
|
||||
def y 8 19 11 Y 32800 0 63
|
||||
y
|
||||
22201025555
|
||||
22255916666
|
||||
SELECT b DIV 900 y FROM t1 GROUP BY y;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def y y 8 20 1 Y 32768 0 63
|
||||
def y 8 20 1 Y 32768 0 63
|
||||
y
|
||||
0
|
||||
SELECT c DIV 900 y FROM t1 GROUP BY y;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def y y 3 1 1 Y 32800 0 63
|
||||
def y 3 1 1 Y 32800 0 63
|
||||
y
|
||||
0
|
||||
DROP TABLE t1;
|
||||
|
|
Loading…
Add table
Reference in a new issue