fix json/gis/text/blob meta response inconsistent with mysql5.7 (master)
This commit is contained in:
@ -265,7 +265,7 @@ def substr(v,1) 253 512 0 Y 0 0 45
|
||||
##cast test
|
||||
select substr(cast(date_c as char(1024)), 0) from build_in_func_test_table;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def substr(cast(date_c as char(1024)), 0) 252 536870910 0 Y 16 0 45
|
||||
def substr(cast(date_c as char(1024)), 0) 252 4294967295 0 Y 16 0 45
|
||||
+---------------------------------------+
|
||||
| substr(cast(date_c as char(1024)), 0) |
|
||||
+---------------------------------------+
|
||||
@ -273,7 +273,7 @@ def substr(cast(date_c as char(1024)), 0) 252 536870910 0 Y 16 0 45
|
||||
+---------------------------------------+
|
||||
select substr(cast(date_c as char(1024)), 10) from build_in_func_test_table;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def substr(cast(date_c as char(1024)), 10) 252 536870910 17 Y 16 0 45
|
||||
def substr(cast(date_c as char(1024)), 10) 252 4294967295 17 Y 16 0 45
|
||||
+----------------------------------------+
|
||||
| substr(cast(date_c as char(1024)), 10) |
|
||||
+----------------------------------------+
|
||||
@ -289,7 +289,7 @@ def substr(cast(1024 as char(1024)), 1, 2) 253 8 2 Y 0 0 45
|
||||
+----------------------------------------+
|
||||
select substr(cast(date_c as char(1024)) from 10) from build_in_func_test_table;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def substr(cast(date_c as char(1024)) from 10) 252 536870910 17 Y 16 0 45
|
||||
def substr(cast(date_c as char(1024)) from 10) 252 4294967295 17 Y 16 0 45
|
||||
+--------------------------------------------+
|
||||
| substr(cast(date_c as char(1024)) from 10) |
|
||||
+--------------------------------------------+
|
||||
@ -2771,7 +2771,7 @@ def unhex('123') 253 2 2 Y 128 0 63
|
||||
+--------------+
|
||||
select unhex(cast(repeat('123',5) as char(1024)));
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def unhex(cast(repeat('123',5) as char(1024))) 252 536870910 8 Y 144 0 63
|
||||
def unhex(cast(repeat('123',5) as char(1024))) 252 4294967295 8 Y 144 0 63
|
||||
+--------------------------------------------+
|
||||
| unhex(cast(repeat('123',5) as char(1024))) |
|
||||
+--------------------------------------------+
|
||||
|
||||
Reference in New Issue
Block a user