Commit 1094ffd5 authored by Alexander Barkov's avatar Alexander Barkov

WL#2649 Number-to-string conversions

added:
  include/ctype_numconv.inc
  mysql-test/include/ctype_numconv.inc
  mysql-test/r/ctype_binary.result
  mysql-test/t/ctype_binary.test
  Adding tests

modified:

  mysql-test/r/bigint.result
  mysql-test/r/case.result
  mysql-test/r/create.result
  mysql-test/r/ctype_cp1251.result
  mysql-test/r/ctype_latin1.result
  mysql-test/r/ctype_ucs.result
  mysql-test/r/func_gconcat.result
  mysql-test/r/func_str.result
  mysql-test/r/metadata.result
  mysql-test/r/ps_1general.result
  mysql-test/r/ps_2myisam.result
  mysql-test/r/ps_3innodb.result
  mysql-test/r/ps_4heap.result
  mysql-test/r/ps_5merge.result
  mysql-test/r/show_check.result
  mysql-test/r/type_datetime.result
  mysql-test/r/type_ranges.result
  mysql-test/r/union.result
  mysql-test/suite/ndb/r/ps_7ndb.result
  mysql-test/t/ctype_cp1251.test
  mysql-test/t/ctype_latin1.test
  mysql-test/t/ctype_ucs.test
  mysql-test/t/func_str.test
    Fixing tests


  @ sql/field.cc
     - Return str result using my_charset_numeric.
     - Using real multi-byte aware str_to_XXX functions
       to handle tricky charset values propely (e.g. UCS2)
  @ sql/field.h
     - Changing derivation of non-string field types to DERIVATION_NUMERIC.
     - Changing binary() for numeric/datetime fields to always
     return TRUE even if charset is not my_charset_bin. We need
     this to keep ha_base_keytype() return HA_KEYTYPE_BINARY.
     - Adding BINARY_FLAG into some fields, because it's not
     being set automatically anymore with
     "my_charset_bin to my_charset_numeric" change.
    - Changing derivation for numeric/datetime datatypes to a weaker
      value, to make "SELECT concat('string', field)" use character
      set of the string literal for the result of the function.
  @ sql/item.cc
     - Implementing generic val_str_ascii().
     - Using max_char_length() instead of direct read of max_length
       to make "tricky" charsets like UCS2 work.
       NOTE: in the future we'll possibly remove all direct reads of max_length
     - Fixing Item_num::safe_charset_converter().
       Previously it alligned binary string to
       character string (for example by adding leading 0x00
       when doing binary->UCS2 conversion). Now it just
       converts from my_charset_numbner to "tocs".
     - Using val_str_ascii() in Item::get_time() to make UCS2 arguments work.
     - Other misc changes
  @ sql/item.h
     - Changing MY_COLL_CMP_CONV and MY_COLL_ALLOW_CONV to
       bit operations instead of hard-coded bit masks.
     - Addding new method DTCollation.set_numeric().
     - Adding new methods to Item.
     - Adding helper functions to make code look nicer:
       agg_item_charsets_for_string_result()
       agg_item_charsets_for_comparison()
     - Changing charset for Item_num-derived items
       from my_charset_bin to my_charset_numeric
       (which is an alias for latin1).
  @ sql/item_cmpfunc.cc
     - Using new helper functions
     - Other misc changes
  @ sql/item_cmpfunc.h
     - Fixing strcmp() to return max_length=2.
       Previously it returned 1, which was wrong,
       because it did not fit '-1'.
  @ sql/item_func.cc
     - Using new helper functions
     - Other minor changes
  @ sql/item_func.h
     - Removing unused functions
     - Adding helper functions
       agg_arg_charsets_for_string_result()
       agg_arg_charsets_for_comparison()
     - Adding set_numeric() into constructors of numeric items.
     - Using fix_length_and_charset() and fix_char_length()
       instead of direct write to max_length.
  @ sql/item_geofunc.cc
     - Changing class for Item_func_geometry_type and
       Item_func_as_wkt from Item_str_func to
       Item_str_ascii_func, to make them return UCS2 result
       properly (when character_set_connection=ucs2).
  @ sql/item_geofunc.h
     - Changing class for Item_func_geometry_type and
       Item_func_as_wkt from Item_str_func to
       Item_str_ascii_func, to make them return UCS2 result
       properly (when @@character_set_connection=ucs2).
  @ sql/item_strfunc.cc
     - Implementing Item_str_func::val_str().
     - Renaming val_str to val_str_ascii for some items,
       to make them work with UCS2 properly.
     - Using new helper functions
     - All single-argument functions that expect string
       result now call this method:
       agg_arg_charsets_for_string_result(collation, args, 1);
       This enables character set conversion to @@character_set_connection
       in case of pure numeric input.
  @ sql/item_strfunc.h
     - Introducing Item_str_ascii_func - for functions
       which return pure ASCII data, for performance purposes,
       as well as for the cases when the old implementation
       of val_str() was heavily 8-bit oriented and implementing
       a UCS2-aware version is tricky.
  @ sql/item_sum.cc
     - Using new helper functions.
  @ sql/item_timefunc.cc
     - Using my_charset_numeric instead of my_charset_bin.
     - Using fix_char_length(), fix_length_and_charset()
       and fix_length_and_charset_datetime()
       instead of direct write to max_length.
     - Using tricky-charset aware function str_to_time_with_warn()
  @ sql/item_timefunc.h
     - Using new helper functions for charset and length initialization.
     - Changing base class for Item_func_get_format() to make
       it return UCS2 properly (when character_set_connection=ucs2).
  @ sql/item_xmlfunc.cc
     - Using new helper function
  @ sql/my_decimal.cc
     - Adding a new DECIMAL to CHAR converter
       with real multibyte support (e.g. UCS2)

  @ sql/mysql_priv.h
     - Introducing a new derivation level for numeric/datetime data types.
     - Adding macros for my_charset_numeric and MY_REPERTOIRE_NUMERIC.
     - Adding prototypes for str_set_decimal()
     - Adding prototypes for character-set aware str_to_xxx() functions.
  @ sql/protocol.cc
     - Changing charsetnr to "binary" client-side metadata for
       numeric/datetime data types.
  @ sql/time.cc
     - Adding to_ascii() helper function, to convert a string
       in any character set to ascii representation. In the
       future can be extended to understand digits written
       in various non-Latin word scripts.
     - Adding real multy-byte character set aware versions for str_to_XXXX,
       to make these these type of queries work correct:
         INSERT INTO t1 SET datetime_column=ucs2_expression;
   @  strings/ctype-ucs2.c
     - endptr was not calculated correctly. INSERTing of UCS2
       values into numeric columns returned warnings about
       truncated wrong data.
parent 68ac1c9c
This diff is collapsed.
...@@ -101,16 +101,16 @@ Table Create Table ...@@ -101,16 +101,16 @@ Table Create Table
t1 CREATE TABLE `t1` ( t1 CREATE TABLE `t1` (
`c1` varchar(1) CHARACTER SET latin1 COLLATE latin1_danish_ci NOT NULL DEFAULT '', `c1` varchar(1) CHARACTER SET latin1 COLLATE latin1_danish_ci NOT NULL DEFAULT '',
`c2` varchar(1) CHARACTER SET latin1 COLLATE latin1_danish_ci NOT NULL DEFAULT '', `c2` varchar(1) CHARACTER SET latin1 COLLATE latin1_danish_ci NOT NULL DEFAULT '',
`c3` varbinary(1) NOT NULL DEFAULT '', `c3` varchar(1) NOT NULL DEFAULT '',
`c4` varbinary(1) NOT NULL DEFAULT '', `c4` varchar(1) NOT NULL DEFAULT '',
`c5` varbinary(4) NOT NULL DEFAULT '', `c5` varchar(4) NOT NULL DEFAULT '',
`c6` varbinary(4) NOT NULL DEFAULT '', `c6` varchar(4) NOT NULL DEFAULT '',
`c7` decimal(2,1) NOT NULL DEFAULT '0.0', `c7` decimal(2,1) NOT NULL DEFAULT '0.0',
`c8` decimal(2,1) NOT NULL DEFAULT '0.0', `c8` decimal(2,1) NOT NULL DEFAULT '0.0',
`c9` decimal(2,1) DEFAULT NULL, `c9` decimal(2,1) DEFAULT NULL,
`c10` double NOT NULL DEFAULT '0', `c10` double NOT NULL DEFAULT '0',
`c11` double NOT NULL DEFAULT '0', `c11` double NOT NULL DEFAULT '0',
`c12` varbinary(5) NOT NULL DEFAULT '' `c12` varchar(5) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ) ENGINE=MyISAM DEFAULT CHARSET=latin1
DROP TABLE t1; DROP TABLE t1;
SELECT CASE SELECT CASE
...@@ -155,8 +155,8 @@ t1 CREATE TABLE `t1` ( ...@@ -155,8 +155,8 @@ t1 CREATE TABLE `t1` (
`COALESCE(1.0)` decimal(2,1) NOT NULL DEFAULT '0.0', `COALESCE(1.0)` decimal(2,1) NOT NULL DEFAULT '0.0',
`COALESCE('a')` varchar(1) NOT NULL DEFAULT '', `COALESCE('a')` varchar(1) NOT NULL DEFAULT '',
`COALESCE(1,1.0)` decimal(2,1) NOT NULL DEFAULT '0.0', `COALESCE(1,1.0)` decimal(2,1) NOT NULL DEFAULT '0.0',
`COALESCE(1,'1')` varbinary(1) NOT NULL DEFAULT '', `COALESCE(1,'1')` varchar(1) NOT NULL DEFAULT '',
`COALESCE(1.1,'1')` varbinary(4) NOT NULL DEFAULT '', `COALESCE(1.1,'1')` varchar(4) NOT NULL DEFAULT '',
`COALESCE('a' COLLATE latin1_bin,'b')` varchar(1) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT '' `COALESCE('a' COLLATE latin1_bin,'b')` varchar(1) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ) ENGINE=MyISAM DEFAULT CHARSET=latin1
DROP TABLE t1; DROP TABLE t1;
......
...@@ -438,7 +438,7 @@ explain t2; ...@@ -438,7 +438,7 @@ explain t2;
Field Type Null Key Default Extra Field Type Null Key Default Extra
a int(11) YES NULL a int(11) YES NULL
b bigint(11) NO 0 b bigint(11) NO 0
c bigint(11) unsigned NO 0 c bigint(10) unsigned NO 0
d date YES NULL d date YES NULL
e varchar(1) NO e varchar(1) NO
f datetime YES NULL f datetime YES NULL
...@@ -457,7 +457,7 @@ Table Create Table ...@@ -457,7 +457,7 @@ Table Create Table
t2 CREATE TABLE `t2` ( t2 CREATE TABLE `t2` (
`ifnull(a,a)` tinyint(4) DEFAULT NULL, `ifnull(a,a)` tinyint(4) DEFAULT NULL,
`ifnull(b,b)` smallint(6) DEFAULT NULL, `ifnull(b,b)` smallint(6) DEFAULT NULL,
`ifnull(c,c)` mediumint(8) DEFAULT NULL, `ifnull(c,c)` mediumint(9) DEFAULT NULL,
`ifnull(d,d)` int(11) DEFAULT NULL, `ifnull(d,d)` int(11) DEFAULT NULL,
`ifnull(e,e)` bigint(20) DEFAULT NULL, `ifnull(e,e)` bigint(20) DEFAULT NULL,
`ifnull(f,f)` float(3,2) DEFAULT NULL, `ifnull(f,f)` float(3,2) DEFAULT NULL,
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -625,7 +625,7 @@ insert into t1 values (1,repeat('a',255)),(2,repeat('b',255)); ...@@ -625,7 +625,7 @@ insert into t1 values (1,repeat('a',255)),(2,repeat('b',255));
select f2,group_concat(f1) from t1 group by f2; select f2,group_concat(f1) from t1 group by f2;
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def test t1 t1 f2 f2 253 255 255 Y 0 0 8 def test t1 t1 f2 f2 253 255 255 Y 0 0 8
def group_concat(f1) 253 400 1 Y 128 0 63 def group_concat(f1) 253 400 1 Y 0 0 8
f2 group_concat(f1) f2 group_concat(f1)
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 1 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 1
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 2 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 2
...@@ -737,7 +737,7 @@ insert into t1 values (1,repeat('a',255)),(2,repeat('b',255)); ...@@ -737,7 +737,7 @@ insert into t1 values (1,repeat('a',255)),(2,repeat('b',255));
select f2,group_concat(f1) from t1 group by f2; select f2,group_concat(f1) from t1 group by f2;
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def test t1 t1 f2 f2 253 255 255 Y 0 0 8 def test t1 t1 f2 f2 253 255 255 Y 0 0 8
def group_concat(f1) 252 1024 1 Y 128 0 63 def group_concat(f1) 252 1024 1 Y 0 0 8
f2 group_concat(f1) f2 group_concat(f1)
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 1 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 1
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 2 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 2
......
...@@ -761,7 +761,7 @@ latin2 latin2_general_ci 2 ...@@ -761,7 +761,7 @@ latin2 latin2_general_ci 2
drop table t1; drop table t1;
select charset(null), collation(null), coercibility(null); select charset(null), collation(null), coercibility(null);
charset(null) collation(null) coercibility(null) charset(null) collation(null) coercibility(null)
binary binary 5 binary binary 6
CREATE TABLE t1 (a int, b int); CREATE TABLE t1 (a int, b int);
CREATE TABLE t2 (a int, b int); CREATE TABLE t2 (a int, b int);
INSERT INTO t1 VALUES (1,1),(2,2); INSERT INTO t1 VALUES (1,1),(2,2);
...@@ -777,7 +777,7 @@ a b a b ...@@ -777,7 +777,7 @@ a b a b
1 1 NULL NULL 1 1 NULL NULL
2 2 2 2 2 2 2 2
select t1.*,t2.* from t1 left join t2 on (t1.b=t2.b) select t1.*,t2.* from t1 left join t2 on (t1.b=t2.b)
where coercibility(t2.a) = 2 order by t1.a,t2.a; where coercibility(t2.a) = 5 order by t1.a,t2.a;
a b a b a b a b
1 1 NULL NULL 1 1 NULL NULL
2 2 2 2 2 2 2 2
...@@ -1230,13 +1230,13 @@ create table t1 (i int); ...@@ -1230,13 +1230,13 @@ create table t1 (i int);
insert into t1 values (1000000000),(1); insert into t1 values (1000000000),(1);
select lpad(i, 7, ' ') as t from t1; select lpad(i, 7, ' ') as t from t1;
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def t 253 7 7 Y 128 31 63 def t 253 7 7 Y 0 31 8
t t
1000000 1000000
1 1
select rpad(i, 7, ' ') as t from t1; select rpad(i, 7, ' ') as t from t1;
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def t 253 7 7 Y 128 31 63 def t 253 7 7 Y 0 31 8
t t
1000000 1000000
1 1
......
...@@ -126,7 +126,7 @@ renamed ...@@ -126,7 +126,7 @@ renamed
1 1
select * from v3 where renamed=1 group by renamed; select * from v3 where renamed=1 group by renamed;
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def v3 v3 renamed renamed 8 12 0 Y 32896 0 63 def v3 v3 renamed renamed 8 11 0 Y 32896 0 63
renamed renamed
drop table t1; drop table t1;
drop view v1,v2,v3; drop view v1,v2,v3;
......
...@@ -1788,11 +1788,11 @@ t5 CREATE TABLE `t5` ( ...@@ -1788,11 +1788,11 @@ t5 CREATE TABLE `t5` (
`const06` varchar(10) NOT NULL DEFAULT '', `const06` varchar(10) NOT NULL DEFAULT '',
`param06` longtext, `param06` longtext,
`const07` date DEFAULT NULL, `const07` date DEFAULT NULL,
`param07` longblob, `param07` longtext,
`const08` varchar(19) NOT NULL DEFAULT '', `const08` varchar(19) NOT NULL DEFAULT '',
`param08` longtext, `param08` longtext,
`const09` datetime DEFAULT NULL, `const09` datetime DEFAULT NULL,
`param09` longblob, `param09` longtext,
`const10` int(10) NOT NULL DEFAULT '0', `const10` int(10) NOT NULL DEFAULT '0',
`param10` bigint(20) DEFAULT NULL, `param10` bigint(20) DEFAULT NULL,
`const11` int(4) DEFAULT NULL, `const11` int(4) DEFAULT NULL,
...@@ -1818,11 +1818,11 @@ def test t5 t5 param05 param05 252 4294967295 3 Y 144 0 63 ...@@ -1818,11 +1818,11 @@ def test t5 t5 param05 param05 252 4294967295 3 Y 144 0 63
def test t5 t5 const06 const06 253 10 10 N 1 0 8 def test t5 t5 const06 const06 253 10 10 N 1 0 8
def test t5 t5 param06 param06 252 4294967295 10 Y 16 0 8 def test t5 t5 param06 param06 252 4294967295 10 Y 16 0 8
def test t5 t5 const07 const07 10 10 10 Y 128 0 63 def test t5 t5 const07 const07 10 10 10 Y 128 0 63
def test t5 t5 param07 param07 252 4294967295 10 Y 144 0 63 def test t5 t5 param07 param07 252 4294967295 10 Y 16 0 8
def test t5 t5 const08 const08 253 19 19 N 1 0 8 def test t5 t5 const08 const08 253 19 19 N 1 0 8
def test t5 t5 param08 param08 252 4294967295 19 Y 16 0 8 def test t5 t5 param08 param08 252 4294967295 19 Y 16 0 8
def test t5 t5 const09 const09 12 19 19 Y 128 0 63 def test t5 t5 const09 const09 12 19 19 Y 128 0 63
def test t5 t5 param09 param09 252 4294967295 19 Y 144 0 63 def test t5 t5 param09 param09 252 4294967295 19 Y 16 0 8
def test t5 t5 const10 const10 3 10 9 N 32769 0 63 def test t5 t5 const10 const10 3 10 9 N 32769 0 63
def test t5 t5 param10 param10 8 20 9 Y 32768 0 63 def test t5 t5 param10 param10 8 20 9 Y 32768 0 63
def test t5 t5 const11 const11 3 4 4 Y 32768 0 63 def test t5 t5 const11 const11 3 4 4 Y 32768 0 63
...@@ -1929,10 +1929,10 @@ def @arg09 5 23 1 Y 32896 31 63 ...@@ -1929,10 +1929,10 @@ def @arg09 5 23 1 Y 32896 31 63
def @arg10 5 23 1 Y 32896 31 63 def @arg10 5 23 1 Y 32896 31 63
def @arg11 246 83 6 Y 32896 30 63 def @arg11 246 83 6 Y 32896 30 63
def @arg12 246 83 6 Y 32896 30 63 def @arg12 246 83 6 Y 32896 30 63
def @arg13 251 16777216 10 Y 128 31 63 def @arg13 251 16777216 10 Y 0 31 8
def @arg14 251 16777216 19 Y 128 31 63 def @arg14 251 16777216 19 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 8 Y 128 31 63 def @arg16 251 16777216 8 Y 0 31 8
def @arg17 8 20 4 Y 32928 0 63 def @arg17 8 20 4 Y 32928 0 63
def @arg18 8 20 1 Y 32896 0 63 def @arg18 8 20 1 Y 32896 0 63
def @arg19 8 20 1 Y 32896 0 63 def @arg19 8 20 1 Y 32896 0 63
...@@ -1976,10 +1976,10 @@ def @arg09 5 23 0 Y 32896 31 63 ...@@ -1976,10 +1976,10 @@ def @arg09 5 23 0 Y 32896 31 63
def @arg10 5 23 0 Y 32896 31 63 def @arg10 5 23 0 Y 32896 31 63
def @arg11 246 83 0 Y 32896 30 63 def @arg11 246 83 0 Y 32896 30 63
def @arg12 246 83 0 Y 32896 30 63 def @arg12 246 83 0 Y 32896 30 63
def @arg13 251 16777216 0 Y 128 31 63 def @arg13 251 16777216 0 Y 0 31 8
def @arg14 251 16777216 0 Y 128 31 63 def @arg14 251 16777216 0 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 0 Y 128 31 63 def @arg16 251 16777216 0 Y 0 31 8
def @arg17 8 20 0 Y 32928 0 63 def @arg17 8 20 0 Y 32928 0 63
def @arg18 8 20 0 Y 32896 0 63 def @arg18 8 20 0 Y 32896 0 63
def @arg19 8 20 0 Y 32896 0 63 def @arg19 8 20 0 Y 32896 0 63
...@@ -2026,10 +2026,10 @@ def @arg09 5 23 1 Y 32896 31 63 ...@@ -2026,10 +2026,10 @@ def @arg09 5 23 1 Y 32896 31 63
def @arg10 5 23 1 Y 32896 31 63 def @arg10 5 23 1 Y 32896 31 63
def @arg11 246 83 6 Y 32896 30 63 def @arg11 246 83 6 Y 32896 30 63
def @arg12 246 83 6 Y 32896 30 63 def @arg12 246 83 6 Y 32896 30 63
def @arg13 251 16777216 10 Y 128 31 63 def @arg13 251 16777216 10 Y 0 31 8
def @arg14 251 16777216 19 Y 128 31 63 def @arg14 251 16777216 19 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 8 Y 128 31 63 def @arg16 251 16777216 8 Y 0 31 8
def @arg17 8 20 4 Y 32928 0 63 def @arg17 8 20 4 Y 32928 0 63
def @arg18 8 20 1 Y 32896 0 63 def @arg18 8 20 1 Y 32896 0 63
def @arg19 8 20 1 Y 32896 0 63 def @arg19 8 20 1 Y 32896 0 63
...@@ -2066,10 +2066,10 @@ def @arg09 5 23 0 Y 32896 31 63 ...@@ -2066,10 +2066,10 @@ def @arg09 5 23 0 Y 32896 31 63
def @arg10 5 23 0 Y 32896 31 63 def @arg10 5 23 0 Y 32896 31 63
def @arg11 246 83 0 Y 32896 30 63 def @arg11 246 83 0 Y 32896 30 63
def @arg12 246 83 0 Y 32896 30 63 def @arg12 246 83 0 Y 32896 30 63
def @arg13 251 16777216 0 Y 128 31 63 def @arg13 251 16777216 0 Y 0 31 8
def @arg14 251 16777216 0 Y 128 31 63 def @arg14 251 16777216 0 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 0 Y 128 31 63 def @arg16 251 16777216 0 Y 0 31 8
def @arg17 8 20 0 Y 32928 0 63 def @arg17 8 20 0 Y 32928 0 63
def @arg18 8 20 0 Y 32896 0 63 def @arg18 8 20 0 Y 32896 0 63
def @arg19 8 20 0 Y 32896 0 63 def @arg19 8 20 0 Y 32896 0 63
...@@ -2114,10 +2114,10 @@ def @arg09 5 23 1 Y 32896 31 63 ...@@ -2114,10 +2114,10 @@ def @arg09 5 23 1 Y 32896 31 63
def @arg10 5 23 1 Y 32896 31 63 def @arg10 5 23 1 Y 32896 31 63
def @arg11 246 83 6 Y 32896 30 63 def @arg11 246 83 6 Y 32896 30 63
def @arg12 246 83 6 Y 32896 30 63 def @arg12 246 83 6 Y 32896 30 63
def @arg13 251 16777216 10 Y 128 31 63 def @arg13 251 16777216 10 Y 0 31 8
def @arg14 251 16777216 19 Y 128 31 63 def @arg14 251 16777216 19 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 8 Y 128 31 63 def @arg16 251 16777216 8 Y 0 31 8
def @arg17 8 20 4 Y 32928 0 63 def @arg17 8 20 4 Y 32928 0 63
def @arg18 8 20 1 Y 32896 0 63 def @arg18 8 20 1 Y 32896 0 63
def @arg19 8 20 1 Y 32896 0 63 def @arg19 8 20 1 Y 32896 0 63
...@@ -2158,10 +2158,10 @@ def @arg09 5 23 0 Y 32896 31 63 ...@@ -2158,10 +2158,10 @@ def @arg09 5 23 0 Y 32896 31 63
def @arg10 5 23 0 Y 32896 31 63 def @arg10 5 23 0 Y 32896 31 63
def @arg11 246 83 0 Y 32896 30 63 def @arg11 246 83 0 Y 32896 30 63
def @arg12 246 83 0 Y 32896 30 63 def @arg12 246 83 0 Y 32896 30 63
def @arg13 251 16777216 0 Y 128 31 63 def @arg13 251 16777216 0 Y 0 31 8
def @arg14 251 16777216 0 Y 128 31 63 def @arg14 251 16777216 0 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 0 Y 128 31 63 def @arg16 251 16777216 0 Y 0 31 8
def @arg17 8 20 0 Y 32928 0 63 def @arg17 8 20 0 Y 32928 0 63
def @arg18 8 20 0 Y 32896 0 63 def @arg18 8 20 0 Y 32896 0 63
def @arg19 8 20 0 Y 32896 0 63 def @arg19 8 20 0 Y 32896 0 63
...@@ -2204,10 +2204,10 @@ def @arg09 5 23 1 Y 32896 31 63 ...@@ -2204,10 +2204,10 @@ def @arg09 5 23 1 Y 32896 31 63
def @arg10 5 23 1 Y 32896 31 63 def @arg10 5 23 1 Y 32896 31 63
def @arg11 246 83 6 Y 32896 30 63 def @arg11 246 83 6 Y 32896 30 63
def @arg12 246 83 6 Y 32896 30 63 def @arg12 246 83 6 Y 32896 30 63
def @arg13 251 16777216 10 Y 128 31 63 def @arg13 251 16777216 10 Y 0 31 8
def @arg14 251 16777216 19 Y 128 31 63 def @arg14 251 16777216 19 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 8 Y 128 31 63 def @arg16 251 16777216 8 Y 0 31 8
def @arg17 8 20 4 Y 32928 0 63 def @arg17 8 20 4 Y 32928 0 63
def @arg18 8 20 1 Y 32896 0 63 def @arg18 8 20 1 Y 32896 0 63
def @arg19 8 20 1 Y 32896 0 63 def @arg19 8 20 1 Y 32896 0 63
...@@ -2242,10 +2242,10 @@ def @arg09 5 23 0 Y 32896 31 63 ...@@ -2242,10 +2242,10 @@ def @arg09 5 23 0 Y 32896 31 63
def @arg10 5 23 0 Y 32896 31 63 def @arg10 5 23 0 Y 32896 31 63
def @arg11 246 83 0 Y 32896 30 63 def @arg11 246 83 0 Y 32896 30 63
def @arg12 246 83 0 Y 32896 30 63 def @arg12 246 83 0 Y 32896 30 63
def @arg13 251 16777216 0 Y 128 31 63 def @arg13 251 16777216 0 Y 0 31 8
def @arg14 251 16777216 0 Y 128 31 63 def @arg14 251 16777216 0 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 0 Y 128 31 63 def @arg16 251 16777216 0 Y 0 31 8
def @arg17 8 20 0 Y 32928 0 63 def @arg17 8 20 0 Y 32928 0 63
def @arg18 8 20 0 Y 32896 0 63 def @arg18 8 20 0 Y 32896 0 63
def @arg19 8 20 0 Y 32896 0 63 def @arg19 8 20 0 Y 32896 0 63
......
...@@ -1771,11 +1771,11 @@ t5 CREATE TABLE `t5` ( ...@@ -1771,11 +1771,11 @@ t5 CREATE TABLE `t5` (
`const06` varchar(10) NOT NULL DEFAULT '', `const06` varchar(10) NOT NULL DEFAULT '',
`param06` longtext, `param06` longtext,
`const07` date DEFAULT NULL, `const07` date DEFAULT NULL,
`param07` longblob, `param07` longtext,
`const08` varchar(19) NOT NULL DEFAULT '', `const08` varchar(19) NOT NULL DEFAULT '',
`param08` longtext, `param08` longtext,
`const09` datetime DEFAULT NULL, `const09` datetime DEFAULT NULL,
`param09` longblob, `param09` longtext,
`const10` int(10) NOT NULL DEFAULT '0', `const10` int(10) NOT NULL DEFAULT '0',
`param10` bigint(20) DEFAULT NULL, `param10` bigint(20) DEFAULT NULL,
`const11` int(4) DEFAULT NULL, `const11` int(4) DEFAULT NULL,
...@@ -1801,11 +1801,11 @@ def test t5 t5 param05 param05 252 4294967295 3 Y 144 0 63 ...@@ -1801,11 +1801,11 @@ def test t5 t5 param05 param05 252 4294967295 3 Y 144 0 63
def test t5 t5 const06 const06 253 10 10 N 1 0 8 def test t5 t5 const06 const06 253 10 10 N 1 0 8
def test t5 t5 param06 param06 252 4294967295 10 Y 16 0 8 def test t5 t5 param06 param06 252 4294967295 10 Y 16 0 8
def test t5 t5 const07 const07 10 10 10 Y 128 0 63 def test t5 t5 const07 const07 10 10 10 Y 128 0 63
def test t5 t5 param07 param07 252 4294967295 10 Y 144 0 63 def test t5 t5 param07 param07 252 4294967295 10 Y 16 0 8
def test t5 t5 const08 const08 253 19 19 N 1 0 8 def test t5 t5 const08 const08 253 19 19 N 1 0 8
def test t5 t5 param08 param08 252 4294967295 19 Y 16 0 8 def test t5 t5 param08 param08 252 4294967295 19 Y 16 0 8
def test t5 t5 const09 const09 12 19 19 Y 128 0 63 def test t5 t5 const09 const09 12 19 19 Y 128 0 63
def test t5 t5 param09 param09 252 4294967295 19 Y 144 0 63 def test t5 t5 param09 param09 252 4294967295 19 Y 16 0 8
def test t5 t5 const10 const10 3 10 9 N 32769 0 63 def test t5 t5 const10 const10 3 10 9 N 32769 0 63
def test t5 t5 param10 param10 8 20 9 Y 32768 0 63 def test t5 t5 param10 param10 8 20 9 Y 32768 0 63
def test t5 t5 const11 const11 3 4 4 Y 32768 0 63 def test t5 t5 const11 const11 3 4 4 Y 32768 0 63
...@@ -1912,10 +1912,10 @@ def @arg09 5 23 1 Y 32896 31 63 ...@@ -1912,10 +1912,10 @@ def @arg09 5 23 1 Y 32896 31 63
def @arg10 5 23 1 Y 32896 31 63 def @arg10 5 23 1 Y 32896 31 63
def @arg11 246 83 6 Y 32896 30 63 def @arg11 246 83 6 Y 32896 30 63
def @arg12 246 83 6 Y 32896 30 63 def @arg12 246 83 6 Y 32896 30 63
def @arg13 251 16777216 10 Y 128 31 63 def @arg13 251 16777216 10 Y 0 31 8
def @arg14 251 16777216 19 Y 128 31 63 def @arg14 251 16777216 19 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 8 Y 128 31 63 def @arg16 251 16777216 8 Y 0 31 8
def @arg17 8 20 4 Y 32928 0 63 def @arg17 8 20 4 Y 32928 0 63
def @arg18 8 20 1 Y 32896 0 63 def @arg18 8 20 1 Y 32896 0 63
def @arg19 8 20 1 Y 32896 0 63 def @arg19 8 20 1 Y 32896 0 63
...@@ -1959,10 +1959,10 @@ def @arg09 5 23 0 Y 32896 31 63 ...@@ -1959,10 +1959,10 @@ def @arg09 5 23 0 Y 32896 31 63
def @arg10 5 23 0 Y 32896 31 63 def @arg10 5 23 0 Y 32896 31 63
def @arg11 246 83 0 Y 32896 30 63 def @arg11 246 83 0 Y 32896 30 63
def @arg12 246 83 0 Y 32896 30 63 def @arg12 246 83 0 Y 32896 30 63
def @arg13 251 16777216 0 Y 128 31 63 def @arg13 251 16777216 0 Y 0 31 8
def @arg14 251 16777216 0 Y 128 31 63 def @arg14 251 16777216 0 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 0 Y 128 31 63 def @arg16 251 16777216 0 Y 0 31 8
def @arg17 8 20 0 Y 32928 0 63 def @arg17 8 20 0 Y 32928 0 63
def @arg18 8 20 0 Y 32896 0 63 def @arg18 8 20 0 Y 32896 0 63
def @arg19 8 20 0 Y 32896 0 63 def @arg19 8 20 0 Y 32896 0 63
...@@ -2009,10 +2009,10 @@ def @arg09 5 23 1 Y 32896 31 63 ...@@ -2009,10 +2009,10 @@ def @arg09 5 23 1 Y 32896 31 63
def @arg10 5 23 1 Y 32896 31 63 def @arg10 5 23 1 Y 32896 31 63
def @arg11 246 83 6 Y 32896 30 63 def @arg11 246 83 6 Y 32896 30 63
def @arg12 246 83 6 Y 32896 30 63 def @arg12 246 83 6 Y 32896 30 63
def @arg13 251 16777216 10 Y 128 31 63 def @arg13 251 16777216 10 Y 0 31 8
def @arg14 251 16777216 19 Y 128 31 63 def @arg14 251 16777216 19 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 8 Y 128 31 63 def @arg16 251 16777216 8 Y 0 31 8
def @arg17 8 20 4 Y 32928 0 63 def @arg17 8 20 4 Y 32928 0 63
def @arg18 8 20 1 Y 32896 0 63 def @arg18 8 20 1 Y 32896 0 63
def @arg19 8 20 1 Y 32896 0 63 def @arg19 8 20 1 Y 32896 0 63
...@@ -2049,10 +2049,10 @@ def @arg09 5 23 0 Y 32896 31 63 ...@@ -2049,10 +2049,10 @@ def @arg09 5 23 0 Y 32896 31 63
def @arg10 5 23 0 Y 32896 31 63 def @arg10 5 23 0 Y 32896 31 63
def @arg11 246 83 0 Y 32896 30 63 def @arg11 246 83 0 Y 32896 30 63
def @arg12 246 83 0 Y 32896 30 63 def @arg12 246 83 0 Y 32896 30 63
def @arg13 251 16777216 0 Y 128 31 63 def @arg13 251 16777216 0 Y 0 31 8
def @arg14 251 16777216 0 Y 128 31 63 def @arg14 251 16777216 0 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 0 Y 128 31 63 def @arg16 251 16777216 0 Y 0 31 8
def @arg17 8 20 0 Y 32928 0 63 def @arg17 8 20 0 Y 32928 0 63
def @arg18 8 20 0 Y 32896 0 63 def @arg18 8 20 0 Y 32896 0 63
def @arg19 8 20 0 Y 32896 0 63 def @arg19 8 20 0 Y 32896 0 63
...@@ -2097,10 +2097,10 @@ def @arg09 5 23 1 Y 32896 31 63 ...@@ -2097,10 +2097,10 @@ def @arg09 5 23 1 Y 32896 31 63
def @arg10 5 23 1 Y 32896 31 63 def @arg10 5 23 1 Y 32896 31 63
def @arg11 246 83 6 Y 32896 30 63 def @arg11 246 83 6 Y 32896 30 63
def @arg12 246 83 6 Y 32896 30 63 def @arg12 246 83 6 Y 32896 30 63
def @arg13 251 16777216 10 Y 128 31 63 def @arg13 251 16777216 10 Y 0 31 8
def @arg14 251 16777216 19 Y 128 31 63 def @arg14 251 16777216 19 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 8 Y 128 31 63 def @arg16 251 16777216 8 Y 0 31 8
def @arg17 8 20 4 Y 32928 0 63 def @arg17 8 20 4 Y 32928 0 63
def @arg18 8 20 1 Y 32896 0 63 def @arg18 8 20 1 Y 32896 0 63
def @arg19 8 20 1 Y 32896 0 63 def @arg19 8 20 1 Y 32896 0 63
...@@ -2141,10 +2141,10 @@ def @arg09 5 23 0 Y 32896 31 63 ...@@ -2141,10 +2141,10 @@ def @arg09 5 23 0 Y 32896 31 63
def @arg10 5 23 0 Y 32896 31 63 def @arg10 5 23 0 Y 32896 31 63
def @arg11 246 83 0 Y 32896 30 63 def @arg11 246 83 0 Y 32896 30 63
def @arg12 246 83 0 Y 32896 30 63 def @arg12 246 83 0 Y 32896 30 63
def @arg13 251 16777216 0 Y 128 31 63 def @arg13 251 16777216 0 Y 0 31 8
def @arg14 251 16777216 0 Y 128 31 63 def @arg14 251 16777216 0 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 0 Y 128 31 63 def @arg16 251 16777216 0 Y 0 31 8
def @arg17 8 20 0 Y 32928 0 63 def @arg17 8 20 0 Y 32928 0 63
def @arg18 8 20 0 Y 32896 0 63 def @arg18 8 20 0 Y 32896 0 63
def @arg19 8 20 0 Y 32896 0 63 def @arg19 8 20 0 Y 32896 0 63
...@@ -2187,10 +2187,10 @@ def @arg09 5 23 1 Y 32896 31 63 ...@@ -2187,10 +2187,10 @@ def @arg09 5 23 1 Y 32896 31 63
def @arg10 5 23 1 Y 32896 31 63 def @arg10 5 23 1 Y 32896 31 63
def @arg11 246 83 6 Y 32896 30 63 def @arg11 246 83 6 Y 32896 30 63
def @arg12 246 83 6 Y 32896 30 63 def @arg12 246 83 6 Y 32896 30 63
def @arg13 251 16777216 10 Y 128 31 63 def @arg13 251 16777216 10 Y 0 31 8
def @arg14 251 16777216 19 Y 128 31 63 def @arg14 251 16777216 19 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 8 Y 128 31 63 def @arg16 251 16777216 8 Y 0 31 8
def @arg17 8 20 4 Y 32928 0 63 def @arg17 8 20 4 Y 32928 0 63
def @arg18 8 20 1 Y 32896 0 63 def @arg18 8 20 1 Y 32896 0 63
def @arg19 8 20 1 Y 32896 0 63 def @arg19 8 20 1 Y 32896 0 63
...@@ -2225,10 +2225,10 @@ def @arg09 5 23 0 Y 32896 31 63 ...@@ -2225,10 +2225,10 @@ def @arg09 5 23 0 Y 32896 31 63
def @arg10 5 23 0 Y 32896 31 63 def @arg10 5 23 0 Y 32896 31 63
def @arg11 246 83 0 Y 32896 30 63 def @arg11 246 83 0 Y 32896 30 63
def @arg12 246 83 0 Y 32896 30 63 def @arg12 246 83 0 Y 32896 30 63
def @arg13 251 16777216 0 Y 128 31 63 def @arg13 251 16777216 0 Y 0 31 8
def @arg14 251 16777216 0 Y 128 31 63 def @arg14 251 16777216 0 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 0 Y 128 31 63 def @arg16 251 16777216 0 Y 0 31 8
def @arg17 8 20 0 Y 32928 0 63 def @arg17 8 20 0 Y 32928 0 63
def @arg18 8 20 0 Y 32896 0 63 def @arg18 8 20 0 Y 32896 0 63
def @arg19 8 20 0 Y 32896 0 63 def @arg19 8 20 0 Y 32896 0 63
......
...@@ -1772,11 +1772,11 @@ t5 CREATE TABLE `t5` ( ...@@ -1772,11 +1772,11 @@ t5 CREATE TABLE `t5` (
`const06` varchar(10) NOT NULL DEFAULT '', `const06` varchar(10) NOT NULL DEFAULT '',
`param06` longtext, `param06` longtext,
`const07` date DEFAULT NULL, `const07` date DEFAULT NULL,
`param07` longblob, `param07` longtext,
`const08` varchar(19) NOT NULL DEFAULT '', `const08` varchar(19) NOT NULL DEFAULT '',
`param08` longtext, `param08` longtext,
`const09` datetime DEFAULT NULL, `const09` datetime DEFAULT NULL,
`param09` longblob, `param09` longtext,
`const10` int(10) NOT NULL DEFAULT '0', `const10` int(10) NOT NULL DEFAULT '0',
`param10` bigint(20) DEFAULT NULL, `param10` bigint(20) DEFAULT NULL,
`const11` int(4) DEFAULT NULL, `const11` int(4) DEFAULT NULL,
...@@ -1802,11 +1802,11 @@ def test t5 t5 param05 param05 252 4294967295 3 Y 144 0 63 ...@@ -1802,11 +1802,11 @@ def test t5 t5 param05 param05 252 4294967295 3 Y 144 0 63
def test t5 t5 const06 const06 253 10 10 N 1 0 8 def test t5 t5 const06 const06 253 10 10 N 1 0 8
def test t5 t5 param06 param06 252 4294967295 10 Y 16 0 8 def test t5 t5 param06 param06 252 4294967295 10 Y 16 0 8
def test t5 t5 const07 const07 10 10 10 Y 128 0 63 def test t5 t5 const07 const07 10 10 10 Y 128 0 63
def test t5 t5 param07 param07 252 4294967295 10 Y 144 0 63 def test t5 t5 param07 param07 252 4294967295 10 Y 16 0 8
def test t5 t5 const08 const08 253 19 19 N 1 0 8 def test t5 t5 const08 const08 253 19 19 N 1 0 8
def test t5 t5 param08 param08 252 4294967295 19 Y 16 0 8 def test t5 t5 param08 param08 252 4294967295 19 Y 16 0 8
def test t5 t5 const09 const09 12 19 19 Y 128 0 63 def test t5 t5 const09 const09 12 19 19 Y 128 0 63
def test t5 t5 param09 param09 252 4294967295 19 Y 144 0 63 def test t5 t5 param09 param09 252 4294967295 19 Y 16 0 8
def test t5 t5 const10 const10 3 10 9 N 32769 0 63 def test t5 t5 const10 const10 3 10 9 N 32769 0 63
def test t5 t5 param10 param10 8 20 9 Y 32768 0 63 def test t5 t5 param10 param10 8 20 9 Y 32768 0 63
def test t5 t5 const11 const11 3 4 4 Y 32768 0 63 def test t5 t5 const11 const11 3 4 4 Y 32768 0 63
...@@ -1913,10 +1913,10 @@ def @arg09 5 23 1 Y 32896 31 63 ...@@ -1913,10 +1913,10 @@ def @arg09 5 23 1 Y 32896 31 63
def @arg10 5 23 1 Y 32896 31 63 def @arg10 5 23 1 Y 32896 31 63
def @arg11 246 83 6 Y 32896 30 63 def @arg11 246 83 6 Y 32896 30 63
def @arg12 246 83 6 Y 32896 30 63 def @arg12 246 83 6 Y 32896 30 63
def @arg13 251 16777216 10 Y 128 31 63 def @arg13 251 16777216 10 Y 0 31 8
def @arg14 251 16777216 19 Y 128 31 63 def @arg14 251 16777216 19 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 8 Y 128 31 63 def @arg16 251 16777216 8 Y 0 31 8
def @arg17 8 20 4 Y 32928 0 63 def @arg17 8 20 4 Y 32928 0 63
def @arg18 8 20 1 Y 32896 0 63 def @arg18 8 20 1 Y 32896 0 63
def @arg19 8 20 1 Y 32896 0 63 def @arg19 8 20 1 Y 32896 0 63
...@@ -1960,10 +1960,10 @@ def @arg09 5 23 0 Y 32896 31 63 ...@@ -1960,10 +1960,10 @@ def @arg09 5 23 0 Y 32896 31 63
def @arg10 5 23 0 Y 32896 31 63 def @arg10 5 23 0 Y 32896 31 63
def @arg11 246 83 0 Y 32896 30 63 def @arg11 246 83 0 Y 32896 30 63
def @arg12 246 83 0 Y 32896 30 63 def @arg12 246 83 0 Y 32896 30 63
def @arg13 251 16777216 0 Y 128 31 63 def @arg13 251 16777216 0 Y 0 31 8
def @arg14 251 16777216 0 Y 128 31 63 def @arg14 251 16777216 0 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 0 Y 128 31 63 def @arg16 251 16777216 0 Y 0 31 8
def @arg17 8 20 0 Y 32928 0 63 def @arg17 8 20 0 Y 32928 0 63
def @arg18 8 20 0 Y 32896 0 63 def @arg18 8 20 0 Y 32896 0 63
def @arg19 8 20 0 Y 32896 0 63 def @arg19 8 20 0 Y 32896 0 63
...@@ -2010,10 +2010,10 @@ def @arg09 5 23 1 Y 32896 31 63 ...@@ -2010,10 +2010,10 @@ def @arg09 5 23 1 Y 32896 31 63
def @arg10 5 23 1 Y 32896 31 63 def @arg10 5 23 1 Y 32896 31 63
def @arg11 246 83 6 Y 32896 30 63 def @arg11 246 83 6 Y 32896 30 63
def @arg12 246 83 6 Y 32896 30 63 def @arg12 246 83 6 Y 32896 30 63
def @arg13 251 16777216 10 Y 128 31 63 def @arg13 251 16777216 10 Y 0 31 8
def @arg14 251 16777216 19 Y 128 31 63 def @arg14 251 16777216 19 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 8 Y 128 31 63 def @arg16 251 16777216 8 Y 0 31 8
def @arg17 8 20 4 Y 32928 0 63 def @arg17 8 20 4 Y 32928 0 63
def @arg18 8 20 1 Y 32896 0 63 def @arg18 8 20 1 Y 32896 0 63
def @arg19 8 20 1 Y 32896 0 63 def @arg19 8 20 1 Y 32896 0 63
...@@ -2050,10 +2050,10 @@ def @arg09 5 23 0 Y 32896 31 63 ...@@ -2050,10 +2050,10 @@ def @arg09 5 23 0 Y 32896 31 63
def @arg10 5 23 0 Y 32896 31 63 def @arg10 5 23 0 Y 32896 31 63
def @arg11 246 83 0 Y 32896 30 63 def @arg11 246 83 0 Y 32896 30 63
def @arg12 246 83 0 Y 32896 30 63 def @arg12 246 83 0 Y 32896 30 63
def @arg13 251 16777216 0 Y 128 31 63 def @arg13 251 16777216 0 Y 0 31 8
def @arg14 251 16777216 0 Y 128 31 63 def @arg14 251 16777216 0 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 0 Y 128 31 63 def @arg16 251 16777216 0 Y 0 31 8
def @arg17 8 20 0 Y 32928 0 63 def @arg17 8 20 0 Y 32928 0 63
def @arg18 8 20 0 Y 32896 0 63 def @arg18 8 20 0 Y 32896 0 63
def @arg19 8 20 0 Y 32896 0 63 def @arg19 8 20 0 Y 32896 0 63
...@@ -2098,10 +2098,10 @@ def @arg09 5 23 1 Y 32896 31 63 ...@@ -2098,10 +2098,10 @@ def @arg09 5 23 1 Y 32896 31 63
def @arg10 5 23 1 Y 32896 31 63 def @arg10 5 23 1 Y 32896 31 63
def @arg11 246 83 6 Y 32896 30 63 def @arg11 246 83 6 Y 32896 30 63
def @arg12 246 83 6 Y 32896 30 63 def @arg12 246 83 6 Y 32896 30 63
def @arg13 251 16777216 10 Y 128 31 63 def @arg13 251 16777216 10 Y 0 31 8
def @arg14 251 16777216 19 Y 128 31 63 def @arg14 251 16777216 19 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 8 Y 128 31 63 def @arg16 251 16777216 8 Y 0 31 8
def @arg17 8 20 4 Y 32928 0 63 def @arg17 8 20 4 Y 32928 0 63
def @arg18 8 20 1 Y 32896 0 63 def @arg18 8 20 1 Y 32896 0 63
def @arg19 8 20 1 Y 32896 0 63 def @arg19 8 20 1 Y 32896 0 63
...@@ -2142,10 +2142,10 @@ def @arg09 5 23 0 Y 32896 31 63 ...@@ -2142,10 +2142,10 @@ def @arg09 5 23 0 Y 32896 31 63
def @arg10 5 23 0 Y 32896 31 63 def @arg10 5 23 0 Y 32896 31 63
def @arg11 246 83 0 Y 32896 30 63 def @arg11 246 83 0 Y 32896 30 63
def @arg12 246 83 0 Y 32896 30 63 def @arg12 246 83 0 Y 32896 30 63
def @arg13 251 16777216 0 Y 128 31 63 def @arg13 251 16777216 0 Y 0 31 8
def @arg14 251 16777216 0 Y 128 31 63 def @arg14 251 16777216 0 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 0 Y 128 31 63 def @arg16 251 16777216 0 Y 0 31 8
def @arg17 8 20 0 Y 32928 0 63 def @arg17 8 20 0 Y 32928 0 63
def @arg18 8 20 0 Y 32896 0 63 def @arg18 8 20 0 Y 32896 0 63
def @arg19 8 20 0 Y 32896 0 63 def @arg19 8 20 0 Y 32896 0 63
...@@ -2188,10 +2188,10 @@ def @arg09 5 23 1 Y 32896 31 63 ...@@ -2188,10 +2188,10 @@ def @arg09 5 23 1 Y 32896 31 63
def @arg10 5 23 1 Y 32896 31 63 def @arg10 5 23 1 Y 32896 31 63
def @arg11 246 83 6 Y 32896 30 63 def @arg11 246 83 6 Y 32896 30 63
def @arg12 246 83 6 Y 32896 30 63 def @arg12 246 83 6 Y 32896 30 63
def @arg13 251 16777216 10 Y 128 31 63 def @arg13 251 16777216 10 Y 0 31 8
def @arg14 251 16777216 19 Y 128 31 63 def @arg14 251 16777216 19 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 8 Y 128 31 63 def @arg16 251 16777216 8 Y 0 31 8
def @arg17 8 20 4 Y 32928 0 63 def @arg17 8 20 4 Y 32928 0 63
def @arg18 8 20 1 Y 32896 0 63 def @arg18 8 20 1 Y 32896 0 63
def @arg19 8 20 1 Y 32896 0 63 def @arg19 8 20 1 Y 32896 0 63
...@@ -2226,10 +2226,10 @@ def @arg09 5 23 0 Y 32896 31 63 ...@@ -2226,10 +2226,10 @@ def @arg09 5 23 0 Y 32896 31 63
def @arg10 5 23 0 Y 32896 31 63 def @arg10 5 23 0 Y 32896 31 63
def @arg11 246 83 0 Y 32896 30 63 def @arg11 246 83 0 Y 32896 30 63
def @arg12 246 83 0 Y 32896 30 63 def @arg12 246 83 0 Y 32896 30 63
def @arg13 251 16777216 0 Y 128 31 63 def @arg13 251 16777216 0 Y 0 31 8
def @arg14 251 16777216 0 Y 128 31 63 def @arg14 251 16777216 0 Y 0 31 8
def @arg15 251 16777216 19 Y 128 31 63 def @arg15 251 16777216 19 Y 0 31 8
def @arg16 251 16777216 0 Y 128 31 63 def @arg16 251 16777216 0 Y 0 31 8
def @arg17 8 20 0 Y 32928 0 63 def @arg17 8 20 0 Y 32928 0 63
def @arg18 8 20 0 Y 32896 0 63 def @arg18 8 20 0 Y 32896 0 63
def @arg19 8 20 0 Y 32896 0 63 def @arg19 8 20 0 Y 32896 0 63
......
This diff is collapsed.
...@@ -449,11 +449,11 @@ f4 datetime YES NULL ...@@ -449,11 +449,11 @@ f4 datetime YES NULL
create table t5 as select coalesce(f1,f3) as f4 from t1; create table t5 as select coalesce(f1,f3) as f4 from t1;
desc t5; desc t5;
Field Type Null Key Default Extra Field Type Null Key Default Extra
f4 varbinary(20) YES NULL f4 varchar(20) YES NULL
create table t6 as select coalesce(f2,f3) as f4 from t1; create table t6 as select coalesce(f2,f3) as f4 from t1;
desc t6; desc t6;
Field Type Null Key Default Extra Field Type Null Key Default Extra
f4 varbinary(20) YES NULL f4 varchar(20) YES NULL
create table t7 as select coalesce(makedate(1997,1),f2) as f4 from t1; create table t7 as select coalesce(makedate(1997,1),f2) as f4 from t1;
desc t7; desc t7;
Field Type Null Key Default Extra Field Type Null Key Default Extra
......
...@@ -271,7 +271,7 @@ drop table t2; ...@@ -271,7 +271,7 @@ drop table t2;
create table t2 (primary key (auto)) select auto+1 as auto,1 as t1, 'a' as t2, repeat('a',256) as t3, binary repeat('b',256) as t4, repeat('a',4096) as t5, binary repeat('b',4096) as t6, '' as t7, binary '' as t8 from t1; create table t2 (primary key (auto)) select auto+1 as auto,1 as t1, 'a' as t2, repeat('a',256) as t3, binary repeat('b',256) as t4, repeat('a',4096) as t5, binary repeat('b',4096) as t6, '' as t7, binary '' as t8 from t1;
show full columns from t2; show full columns from t2;
Field Type Collation Null Key Default Extra Privileges Comment Field Type Collation Null Key Default Extra Privileges Comment
auto bigint(12) unsigned NULL NO PRI 0 # auto int(6) unsigned NULL NO PRI 0 #
t1 int(1) NULL NO 0 # t1 int(1) NULL NO 0 #
t2 varchar(1) latin1_swedish_ci NO # t2 varchar(1) latin1_swedish_ci NO #
t3 varchar(256) latin1_swedish_ci NO # t3 varchar(256) latin1_swedish_ci NO #
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment