mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Manual merge 5.0->5.1
BitKeeper/etc/logging_ok: auto-union configure.in: Auto merged mysql-test/mysql-test-run.sh: Auto merged sql/ha_innodb.cc: Auto merged sql/ha_ndbcluster.cc: Auto merged sql/item.cc: Auto merged sql/log_event.cc: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_select.cc: Auto merged storage/innobase/include/lock0lock.h: Auto merged storage/innobase/include/srv0srv.h: Auto merged storage/innobase/lock/lock0lock.c: Auto merged storage/innobase/srv/srv0srv.c: Auto merged storage/ndb/test/src/NDBT_ResultRow.cpp: Auto merged sql/slave.cc: Due to refactoring, this needs to be checked before the call. sql/sql_acl.cc: Resolving conflicts due to bug fix and filter refactoring
This commit is contained in:
@ -1187,6 +1187,7 @@ start_master()
|
||||
--language=$LANGUAGE \
|
||||
--innodb_data_file_path=ibdata1:128M:autoextend \
|
||||
--open-files-limit=1024 \
|
||||
--log-bin-trust-routine-creators \
|
||||
$MASTER_40_ARGS \
|
||||
$SMALL_SERVER \
|
||||
$EXTRA_MASTER_OPT $EXTRA_MASTER_MYSQLD_OPT \
|
||||
@ -1207,6 +1208,7 @@ start_master()
|
||||
--tmpdir=$MYSQL_TMP_DIR \
|
||||
--language=$LANGUAGE \
|
||||
--innodb_data_file_path=ibdata1:128M:autoextend \
|
||||
--log-bin-trust-routine-creators \
|
||||
$MASTER_40_ARGS \
|
||||
$SMALL_SERVER \
|
||||
$EXTRA_MASTER_OPT $EXTRA_MASTER_MYSQLD_OPT \
|
||||
@ -1339,6 +1341,7 @@ start_slave()
|
||||
--report-port=$slave_port \
|
||||
--master-retry-count=10 \
|
||||
-O slave_net_timeout=10 \
|
||||
--log-bin-trust-routine-creators \
|
||||
$SMALL_SERVER \
|
||||
$EXTRA_SLAVE_OPT $EXTRA_SLAVE_MYSQLD_OPT"
|
||||
CUR_MYERR=$slave_err
|
||||
|
@ -105,8 +105,8 @@ a
|
||||
select * from t3;
|
||||
a
|
||||
show binlog events;
|
||||
Log_name Pos Event_type Server_id Orig_log_pos Info
|
||||
master-bin.000001 # Start 1 # Server ver: VERSION, Binlog ver: 3
|
||||
Log_name Pos Event_type Server_id End_log_pos Info
|
||||
master-bin.000001 # Format_desc 1 # Server ver: VERSION, Binlog ver: 4
|
||||
master-bin.000001 # Query 1 # use `test`; drop table t1,t2
|
||||
master-bin.000001 # Query 1 # use `test`; create table t1 (a int) engine=blackhole
|
||||
master-bin.000001 # Query 1 # use `test`; delete from t1 where a=10
|
||||
@ -115,8 +115,8 @@ master-bin.000001 # Query 1 # use `test`; insert into t1 values(1)
|
||||
master-bin.000001 # Query 1 # use `test`; insert ignore into t1 values(1)
|
||||
master-bin.000001 # Query 1 # use `test`; replace into t1 values(100)
|
||||
master-bin.000001 # Query 1 # use `test`; create table t2 (a varchar(200)) engine=blackhole
|
||||
master-bin.000001 # Create_file 1 # db=test;table=t2;file_id=1;block_len=581
|
||||
master-bin.000001 # Exec_load 1 # ;file_id=1
|
||||
master-bin.000001 # Begin_load_query 1 # ;file_id=1;block_len=581
|
||||
master-bin.000001 # Execute_load_query 1 # use `test`; load data infile '../../std_data/words.dat' into table t2 ;file_id=1
|
||||
master-bin.000001 # Query 1 # use `test`; alter table t1 add b int
|
||||
master-bin.000001 # Query 1 # use `test`; alter table t1 drop b
|
||||
master-bin.000001 # Query 1 # use `test`; create table t3 like t1
|
||||
|
@ -105,9 +105,9 @@ t1 CREATE TABLE `t1` (
|
||||
`c4` varbinary(1) NOT NULL default '',
|
||||
`c5` varbinary(4) NOT NULL default '',
|
||||
`c6` varbinary(4) NOT NULL default '',
|
||||
`c7` decimal(5,1) NOT NULL default '0.0',
|
||||
`c8` decimal(5,1) NOT NULL default '0.0',
|
||||
`c9` decimal(5,1) default NULL,
|
||||
`c7` decimal(2,1) NOT NULL default '0.0',
|
||||
`c8` decimal(2,1) NOT NULL default '0.0',
|
||||
`c9` decimal(2,1) default NULL,
|
||||
`c10` double NOT NULL default '0',
|
||||
`c11` double NOT NULL default '0',
|
||||
`c12` varbinary(5) NOT NULL default ''
|
||||
@ -152,9 +152,9 @@ SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`COALESCE(1)` int(1) NOT NULL default '0',
|
||||
`COALESCE(1.0)` decimal(5,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(1,1.0)` decimal(5,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,'1')` varbinary(4) NOT NULL default '',
|
||||
`COALESCE('a' COLLATE latin1_bin,'b')` varchar(1) character set latin1 collate latin1_bin NOT NULL default ''
|
||||
|
@ -115,9 +115,9 @@ Field Type Null Key Default Extra
|
||||
a datetime NO 0000-00-00 00:00:00
|
||||
b time NO 00:00:00
|
||||
c date NO 0000-00-00
|
||||
d int(2) NO 0
|
||||
e decimal(6,1) NO 0.0
|
||||
f bigint(18) NO 0
|
||||
d int(3) NO 0
|
||||
e decimal(3,1) NO 0.0
|
||||
f bigint(19) NO 0
|
||||
drop table t2;
|
||||
create table t2 select CAST("2001-12-29" AS DATE) as d, CAST("20:45:11" AS TIME) as t, CAST("2001-12-29 20:45:11" AS DATETIME) as dt;
|
||||
describe t2;
|
||||
@ -453,7 +453,7 @@ t2 CREATE TABLE `t2` (
|
||||
`ifnull(e,e)` bigint(20) default NULL,
|
||||
`ifnull(f,f)` float(3,2) default NULL,
|
||||
`ifnull(g,g)` double(4,3) default NULL,
|
||||
`ifnull(h,h)` decimal(6,4) default NULL,
|
||||
`ifnull(h,h)` decimal(5,4) default NULL,
|
||||
`ifnull(i,i)` year(4) default NULL,
|
||||
`ifnull(j,j)` date default NULL,
|
||||
`ifnull(k,k)` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
|
@ -338,3 +338,9 @@ ss
|
||||
ss
|
||||
<EFBFBD>
|
||||
DROP TABLE t1;
|
||||
create table t1 (s1 char(5) character set latin1 collate latin1_german2_ci);
|
||||
insert into t1 values (0xf6) /* this is o-umlaut */;
|
||||
select * from t1 where length(s1)=1 and s1='oe';
|
||||
s1
|
||||
<EFBFBD>
|
||||
drop table t1;
|
||||
|
BIN
mysql-test/r/ctype_latin2.result
Normal file
BIN
mysql-test/r/ctype_latin2.result
Normal file
Binary file not shown.
@ -462,5 +462,5 @@ rout int(11) default '0'
|
||||
INSERT INTO t1 VALUES ('1',1,0);
|
||||
SELECT DISTINCT html,SUM(rout)/(SUM(rin)+1) as 'prod' FROM t1 GROUP BY rin;
|
||||
html prod
|
||||
1 0.00000
|
||||
1 0.0000
|
||||
drop table t1;
|
||||
|
@ -1,4 +1,9 @@
|
||||
drop table if exists t1,t2;
|
||||
set @sav_dpi= @@div_precision_increment;
|
||||
set div_precision_increment= 5;
|
||||
show variables like 'div_precision_increment';
|
||||
Variable_name Value
|
||||
div_precision_increment 5
|
||||
create table t1 (grp int, a bigint unsigned, c char(10) not null);
|
||||
insert into t1 values (1,1,"a");
|
||||
insert into t1 values (2,2,"b");
|
||||
@ -44,13 +49,13 @@ count(distinct a) count(distinct grp)
|
||||
6 3
|
||||
select sum(all a),count(all a),avg(all a),std(all a),variance(all a),bit_or(all a),bit_and(all a),min(all a),max(all a),min(all c),max(all c) from t1;
|
||||
sum(all a) count(all a) avg(all a) std(all a) variance(all a) bit_or(all a) bit_and(all a) min(all a) max(all a) min(all c) max(all c)
|
||||
21 6 3.5000 1.7078 2.9167 7 0 1 6 E
|
||||
21 6 3.50000 1.70783 2.91667 7 0 1 6 E
|
||||
select grp, sum(a),count(a),avg(a),std(a),variance(a),bit_or(a),bit_and(a),min(a),max(a),min(c),max(c) from t1 group by grp;
|
||||
grp sum(a) count(a) avg(a) std(a) variance(a) bit_or(a) bit_and(a) min(a) max(a) min(c) max(c)
|
||||
NULL NULL 0 NULL NULL NULL 0 18446744073709551615 NULL NULL
|
||||
1 1 1 1.0000 0.0000 0.0000 1 1 1 1 a a
|
||||
2 5 2 2.5000 0.5000 0.2500 3 2 2 3 b c
|
||||
3 15 3 5.0000 0.8165 0.6667 7 4 4 6 C E
|
||||
1 1 1 1.00000 0.00000 0.00000 1 1 1 1 a a
|
||||
2 5 2 2.50000 0.50000 0.25000 3 2 2 3 b c
|
||||
3 15 3 5.00000 0.81650 0.66667 7 4 4 6 C E
|
||||
select grp, sum(a)+count(a)+avg(a)+std(a)+variance(a)+bit_or(a)+bit_and(a)+min(a)+max(a)+min(c)+max(c) as sum from t1 group by grp;
|
||||
grp sum
|
||||
NULL NULL
|
||||
@ -74,12 +79,12 @@ CREATE TABLE t2 (id int(11),name char(20));
|
||||
INSERT INTO t2 VALUES (1,'Set One'),(2,'Set Two');
|
||||
select id, avg(value1), std(value1), variance(value1) from t1 group by id;
|
||||
id avg(value1) std(value1) variance(value1)
|
||||
1 1.000000 0.816497 0.666667
|
||||
2 11.000000 0.816497 0.666667
|
||||
1 1.0000000 0.816497 0.666667
|
||||
2 11.0000000 0.816497 0.666667
|
||||
select name, avg(value1), std(value1), variance(value1) from t1, t2 where t1.id = t2.id group by t1.id;
|
||||
name avg(value1) std(value1) variance(value1)
|
||||
Set One 1.000000 0.816497 0.666667
|
||||
Set Two 11.000000 0.816497 0.666667
|
||||
Set One 1.0000000 0.816497 0.666667
|
||||
Set Two 11.0000000 0.816497 0.666667
|
||||
drop table t1,t2;
|
||||
create table t1 (id int not null);
|
||||
create table t2 (id int not null,rating int null);
|
||||
@ -87,19 +92,19 @@ insert into t1 values(1),(2),(3);
|
||||
insert into t2 values(1, 3),(2, NULL),(2, NULL),(3, 2),(3, NULL);
|
||||
select t1.id, avg(rating) from t1 left join t2 on ( t1.id = t2.id ) group by t1.id;
|
||||
id avg(rating)
|
||||
1 3.0000
|
||||
1 3.00000
|
||||
2 NULL
|
||||
3 2.0000
|
||||
3 2.00000
|
||||
select sql_small_result t2.id, avg(rating) from t2 group by t2.id;
|
||||
id avg(rating)
|
||||
1 3.0000
|
||||
1 3.00000
|
||||
2 NULL
|
||||
3 2.0000
|
||||
3 2.00000
|
||||
select sql_big_result t2.id, avg(rating) from t2 group by t2.id;
|
||||
id avg(rating)
|
||||
1 3.0000
|
||||
1 3.00000
|
||||
2 NULL
|
||||
3 2.0000
|
||||
3 2.00000
|
||||
select sql_small_result t2.id, avg(rating+0.0e0) from t2 group by t2.id;
|
||||
id avg(rating+0.0e0)
|
||||
1 3
|
||||
@ -265,22 +270,22 @@ insert into t1 values (2,1);
|
||||
select a,count(b), sum(b), avg(b), std(b), min(b), max(b), bit_and(b), bit_or(b) from t1 group by a;
|
||||
a count(b) sum(b) avg(b) std(b) min(b) max(b) bit_and(b) bit_or(b)
|
||||
1 0 NULL NULL NULL NULL NULL 18446744073709551615 0
|
||||
2 1 1 1.0000 0.0000 1 1 1 1
|
||||
2 1 1 1.00000 0.00000 1 1 1 1
|
||||
select SQL_BIG_RESULT a,count(b), sum(b), avg(b), std(b), min(b), max(b), bit_and(b), bit_or(b) from t1 group by a;
|
||||
a count(b) sum(b) avg(b) std(b) min(b) max(b) bit_and(b) bit_or(b)
|
||||
1 0 NULL NULL NULL NULL NULL 18446744073709551615 0
|
||||
2 1 1 1.0000 0.0000 1 1 1 1
|
||||
2 1 1 1.00000 0.00000 1 1 1 1
|
||||
insert into t1 values (3,1);
|
||||
select a,count(b), sum(b), avg(b), std(b), min(b), max(b), bit_and(b), bit_or(b) from t1 group by a;
|
||||
a count(b) sum(b) avg(b) std(b) min(b) max(b) bit_and(b) bit_or(b)
|
||||
1 0 NULL NULL NULL NULL NULL 18446744073709551615 0
|
||||
2 1 1 1.0000 0.0000 1 1 1 1
|
||||
3 1 1 1.0000 0.0000 1 1 1 1
|
||||
2 1 1 1.00000 0.00000 1 1 1 1
|
||||
3 1 1 1.00000 0.00000 1 1 1 1
|
||||
select SQL_BIG_RESULT a,count(b), sum(b), avg(b), std(b), min(b), max(b), bit_and(b), bit_or(b), bit_xor(b) from t1 group by a;
|
||||
a count(b) sum(b) avg(b) std(b) min(b) max(b) bit_and(b) bit_or(b) bit_xor(b)
|
||||
1 0 NULL NULL NULL NULL NULL 18446744073709551615 0 0
|
||||
2 1 1 1.0000 0.0000 1 1 1 1 1
|
||||
3 1 1 1.0000 0.0000 1 1 1 1 1
|
||||
2 1 1 1.00000 0.00000 1 1 1 1 1
|
||||
3 1 1 1.00000 0.00000 1 1 1 1 1
|
||||
explain extended select SQL_BIG_RESULT a,count(b), sum(b), avg(b), std(b), min(b), max(b), bit_and(b), bit_or(b), bit_xor(b) from t1 group by a;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 ALL NULL NULL NULL NULL 5 Using filesort
|
||||
@ -837,10 +842,10 @@ INSERT INTO t1 VALUES (-5.00000000001),(-5.00000000002),(-5.00000000003),(-5.000
|
||||
insert into t1 select * from t1;
|
||||
select col1,count(col1),sum(col1),avg(col1) from t1 group by col1;
|
||||
col1 count(col1) sum(col1) avg(col1)
|
||||
-5.000000000030 2 -10.000000000060 -5.0000000000300000
|
||||
-5.000000000020 4 -20.000000000080 -5.0000000000200000
|
||||
-5.000000000010 4 -20.000000000040 -5.0000000000100000
|
||||
-5.000000000000 2 -10.000000000000 -5.0000000000000000
|
||||
-5.000000000030 2 -10.000000000060 -5.00000000003000000
|
||||
-5.000000000020 4 -20.000000000080 -5.00000000002000000
|
||||
-5.000000000010 4 -20.000000000040 -5.00000000001000000
|
||||
-5.000000000000 2 -10.000000000000 -5.00000000000000000
|
||||
DROP TABLE t1;
|
||||
create table t1 (col1 decimal(16,12));
|
||||
insert into t1 values (-5.00000000001);
|
||||
@ -947,3 +952,4 @@ SUM(a)
|
||||
6
|
||||
6
|
||||
DROP TABLE t1;
|
||||
set div_precision_increment= @sav_dpi;
|
||||
|
@ -1,6 +1,6 @@
|
||||
select 1+1,1-1,1+1*2,8/5,8%5,mod(8,5),mod(8,5)|0,-(1+1)*-2;
|
||||
1+1 1-1 1+1*2 8/5 8%5 mod(8,5) mod(8,5)|0 -(1+1)*-2
|
||||
2 0 3 1.60000 3 3 3 4
|
||||
2 0 3 1.6000 3 3 3 4
|
||||
explain extended select 1+1,1-1,1+1*2,8/5,8%5,mod(8,5),mod(8,5)|0,-(1+1)*-2;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL No tables used
|
||||
|
@ -440,12 +440,12 @@ create table t2 (user_id integer not null, date date);
|
||||
insert into t2 values (1, '2002-06-09'),(2, '2002-06-09'),(1, '2002-06-09'),(3, '2002-06-09'),(4, '2002-06-09'),(4, '2002-06-09');
|
||||
select u.gender as gender, count(distinct u.id) as dist_count, (count(distinct u.id)/5*100) as percentage from t1 u, t2 l where l.user_id = u.id group by u.gender;
|
||||
gender dist_count percentage
|
||||
F 3 60.00000
|
||||
M 1 20.00000
|
||||
F 3 60.0000
|
||||
M 1 20.0000
|
||||
select u.gender as gender, count(distinct u.id) as dist_count, (count(distinct u.id)/5*100) as percentage from t1 u, t2 l where l.user_id = u.id group by u.gender order by percentage;
|
||||
gender dist_count percentage
|
||||
M 1 20.00000
|
||||
F 3 60.00000
|
||||
M 1 20.0000
|
||||
F 3 60.0000
|
||||
drop table t1,t2;
|
||||
CREATE TABLE t1 (ID1 int, ID2 int, ID int NOT NULL AUTO_INCREMENT,PRIMARY KEY(ID
|
||||
));
|
||||
|
@ -2,7 +2,7 @@ drop table if exists t1,t2;
|
||||
select 1, 1.0, -1, "hello", NULL;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def 1 8 1 1 N 32897 0 63
|
||||
def 1.0 246 4 3 N 161 1 63
|
||||
def 1.0 246 4 3 N 129 1 63
|
||||
def -1 8 2 2 N 32897 0 63
|
||||
def hello 253 5 5 N 1 31 8
|
||||
def NULL 6 0 0 Y 32896 0 63
|
||||
@ -18,7 +18,7 @@ def test t1 t1 d d 3 11 0 Y 32768 0 63
|
||||
def test t1 t1 e e 8 20 0 Y 32768 0 63
|
||||
def test t1 t1 f f 4 3 0 Y 32768 2 63
|
||||
def test t1 t1 g g 5 4 0 Y 32768 3 63
|
||||
def test t1 t1 h h 246 5 0 Y 0 4 63
|
||||
def test t1 t1 h h 246 7 0 Y 0 4 63
|
||||
def test t1 t1 i i 13 4 0 Y 32864 0 63
|
||||
def test t1 t1 j j 10 10 0 Y 128 0 63
|
||||
def test t1 t1 k k 7 19 0 N 1249 0 63
|
||||
|
@ -247,3 +247,4 @@ count(*)
|
||||
3
|
||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||
drop table if exists t1_c,t2_c,t3_c,t4_c,t5_c,t6_c,t7_c,t8_c,t9_c;
|
||||
520093696,1
|
||||
|
@ -1,4 +1,9 @@
|
||||
drop table if exists t1,t2;
|
||||
set @sav_dpi= @@div_precision_increment;
|
||||
set div_precision_increment= 5;
|
||||
show variables like 'div_precision_increment';
|
||||
Variable_name Value
|
||||
div_precision_increment 5
|
||||
create table t1 (product varchar(32), country_id int not null, year int, profit int);
|
||||
insert into t1 values ( 'Computer', 2,2000, 1200),
|
||||
( 'TV', 1, 1999, 150),
|
||||
@ -40,11 +45,11 @@ TV 600
|
||||
NULL 7785
|
||||
select product, sum(profit),avg(profit) from t1 group by product with rollup;
|
||||
product sum(profit) avg(profit)
|
||||
Calculator 275 68.7500
|
||||
Computer 6900 1380.0000
|
||||
Phone 10 10.0000
|
||||
TV 600 120.0000
|
||||
NULL 7785 519.0000
|
||||
Calculator 275 68.75000
|
||||
Computer 6900 1380.00000
|
||||
Phone 10 10.00000
|
||||
TV 600 120.00000
|
||||
NULL 7785 519.00000
|
||||
select product, country_id , year, sum(profit) from t1 group by product, country_id, year;
|
||||
product country_id year sum(profit)
|
||||
Calculator 1 1999 50
|
||||
@ -244,11 +249,11 @@ select product, country_id , year, sum(profit) from t1 group by product, country
|
||||
product country_id year sum(profit)
|
||||
select concat(':',product,':'), sum(profit),avg(profit) from t1 group by product with rollup;
|
||||
concat(':',product,':') sum(profit) avg(profit)
|
||||
:Calculator: 275 68.7500
|
||||
:Computer: 6900 1380.0000
|
||||
:Phone: 10 10.0000
|
||||
:TV: 600 120.0000
|
||||
:TV: 7785 519.0000
|
||||
:Calculator: 275 68.75000
|
||||
:Computer: 6900 1380.00000
|
||||
:Phone: 10 10.00000
|
||||
:TV: 600 120.00000
|
||||
:TV: 7785 519.00000
|
||||
select product, country_id , year, sum(profit) from t1 group by product, country_id, year with cube;
|
||||
ERROR 42000: This version of MySQL doesn't yet support 'CUBE'
|
||||
explain select product, country_id , year, sum(profit) from t1 group by product, country_id, year with cube;
|
||||
@ -450,3 +455,4 @@ a m
|
||||
2 2
|
||||
NULL 3
|
||||
DROP TABLE t1;
|
||||
set div_precision_increment= @sav_dpi;
|
||||
|
@ -570,3 +570,66 @@ id
|
||||
deallocate prepare stmt|
|
||||
drop procedure p1|
|
||||
drop table t1|
|
||||
drop table if exists t1;
|
||||
Warnings:
|
||||
Note 1051 Unknown table 't1'
|
||||
create table t1 (c1 int(11) not null, c2 int(11) not null,
|
||||
primary key (c1,c2), key c2 (c2), key c1 (c1));
|
||||
insert into t1 values (200887, 860);
|
||||
insert into t1 values (200887, 200887);
|
||||
select * from t1 where (c1=200887 and c2=200887) or c2=860;
|
||||
c1 c2
|
||||
200887 860
|
||||
200887 200887
|
||||
prepare stmt from
|
||||
"select * from t1 where (c1=200887 and c2=200887) or c2=860";
|
||||
execute stmt;
|
||||
c1 c2
|
||||
200887 860
|
||||
200887 200887
|
||||
prepare stmt from
|
||||
"select * from t1 where (c1=200887 and c2=?) or c2=?";
|
||||
set @a=200887, @b=860;
|
||||
execute stmt using @a, @b;
|
||||
c1 c2
|
||||
200887 860
|
||||
200887 200887
|
||||
deallocate prepare stmt;
|
||||
drop table t1;
|
||||
create table t1 (
|
||||
id bigint(20) not null auto_increment,
|
||||
code varchar(20) character set utf8 collate utf8_bin not null default '',
|
||||
company_name varchar(250) character set utf8 collate utf8_bin default null,
|
||||
setup_mode tinyint(4) default null,
|
||||
start_date datetime default null,
|
||||
primary key (id), unique key code (code)
|
||||
);
|
||||
create table t2 (
|
||||
id bigint(20) not null auto_increment,
|
||||
email varchar(250) character set utf8 collate utf8_bin default null,
|
||||
name varchar(250) character set utf8 collate utf8_bin default null,
|
||||
t1_id bigint(20) default null,
|
||||
password varchar(250) character set utf8 collate utf8_bin default null,
|
||||
primary_contact tinyint(4) not null default '0',
|
||||
email_opt_in tinyint(4) not null default '1',
|
||||
primary key (id), unique key email (email), key t1_id (t1_id),
|
||||
constraint t2_fk1 foreign key (t1_id) references t1 (id)
|
||||
);
|
||||
insert into t1 values
|
||||
(1, 'demo', 'demo s', 0, current_date()),
|
||||
(2, 'code2', 'name 2', 0, current_date()),
|
||||
(3, 'code3', 'name 3', 0, current_date());
|
||||
insert into t2 values
|
||||
(2, 'email1', 'name1', 3, 'password1', 0, 0),
|
||||
(3, 'email2', 'name1', 1, 'password2', 1, 0),
|
||||
(5, 'email3', 'name3', 2, 'password3', 0, 0);
|
||||
prepare stmt from 'select t2.id from t2, t1 where (t1.id=? and t2.t1_id=t1.id)';
|
||||
set @a=1;
|
||||
execute stmt using @a;
|
||||
id
|
||||
3
|
||||
select t2.id from t2, t1 where (t1.id=1 and t2.t1_id=t1.id);
|
||||
id
|
||||
3
|
||||
deallocate prepare stmt;
|
||||
drop table t1, t2;
|
||||
|
@ -59,8 +59,8 @@ def test t9 t9 c7 c7 4 12 1 Y 32768 31 63
|
||||
def test t9 t9 c8 c8 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c9 c9 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c10 c10 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c11 c11 246 7 6 Y 0 4 63
|
||||
def test t9 t9 c12 c12 246 8 6 Y 0 4 63
|
||||
def test t9 t9 c11 c11 246 9 6 Y 0 4 63
|
||||
def test t9 t9 c12 c12 246 10 6 Y 0 4 63
|
||||
def test t9 t9 c13 c13 10 10 10 Y 128 0 63
|
||||
def test t9 t9 c14 c14 12 19 19 Y 128 0 63
|
||||
def test t9 t9 c15 c15 7 19 19 N 1249 0 63
|
||||
@ -1776,8 +1776,8 @@ Table Create Table
|
||||
t5 CREATE TABLE `t5` (
|
||||
`const01` bigint(1) NOT NULL default '0',
|
||||
`param01` bigint(20) default NULL,
|
||||
`const02` decimal(3,1) NOT NULL default '0.0',
|
||||
`param02` decimal(64,30) default NULL,
|
||||
`const02` decimal(2,1) NOT NULL default '0.0',
|
||||
`param02` decimal(65,30) default NULL,
|
||||
`const03` double NOT NULL default '0',
|
||||
`param03` double default NULL,
|
||||
`const04` varchar(3) NOT NULL default '',
|
||||
@ -1798,7 +1798,7 @@ t5 CREATE TABLE `t5` (
|
||||
`param11` bigint(20) default NULL,
|
||||
`const12` binary(0) default NULL,
|
||||
`param12` bigint(20) default NULL,
|
||||
`param13` decimal(64,30) default NULL,
|
||||
`param13` decimal(65,30) default NULL,
|
||||
`param14` longtext,
|
||||
`param15` longblob
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
@ -1806,10 +1806,10 @@ select * from t5 ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def test t5 t5 const01 const01 8 1 1 N 32769 0 63
|
||||
def test t5 t5 param01 param01 8 20 1 Y 32768 0 63
|
||||
def test t5 t5 const02 const02 246 3 3 N 1 1 63
|
||||
def test t5 t5 param02 param02 246 64 32 Y 0 30 63
|
||||
def test t5 t5 const02 const02 246 4 3 N 1 1 63
|
||||
def test t5 t5 param02 param02 246 67 32 Y 0 30 63
|
||||
def test t5 t5 const03 const03 5 17 1 N 32769 31 63
|
||||
def test t5 t5 param03 param03 5 20 1 Y 32768 31 63
|
||||
def test t5 t5 param03 param03 5 23 1 Y 32768 31 63
|
||||
def test t5 t5 const04 const04 253 3 3 N 1 0 8
|
||||
def test t5 t5 param04 param04 252 16777215 3 Y 16 0 8
|
||||
def test t5 t5 const05 const05 253 3 3 N 129 0 63
|
||||
@ -1828,7 +1828,7 @@ def test t5 t5 const11 const11 3 4 4 Y 32768 0 63
|
||||
def test t5 t5 param11 param11 8 20 4 Y 32768 0 63
|
||||
def test t5 t5 const12 const12 254 0 0 Y 128 0 63
|
||||
def test t5 t5 param12 param12 8 20 0 Y 32768 0 63
|
||||
def test t5 t5 param13 param13 246 64 0 Y 0 30 63
|
||||
def test t5 t5 param13 param13 246 67 0 Y 0 30 63
|
||||
def test t5 t5 param14 param14 252 16777215 0 Y 16 0 8
|
||||
def test t5 t5 param15 param15 252 16777215 0 Y 144 0 63
|
||||
const01 8
|
||||
@ -1916,25 +1916,25 @@ from t9 where c1= 1 ;
|
||||
1 1 1 1 1 1 1 1 1 1 1.0000 1.0000 2004-02-29 2004-02-29 11:11:11 2004-02-29 11:11:11 11:11:11 2004 1 1 a 123456789a 123456789a123456789b123456789c tinyblob tinytext blob text mediumblob mediumtext longblob longtext one monday
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -1963,25 +1963,25 @@ from t9 where c1= 0 ;
|
||||
0 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1991-01-01 01:01:01 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -2013,25 +2013,25 @@ execute stmt1 using @my_key ;
|
||||
1 1 1 1 1 1 1 1 1 1 1.0000 1.0000 2004-02-29 2004-02-29 11:11:11 2004-02-29 11:11:11 11:11:11 2004 1 1 a 123456789a 123456789a123456789b123456789c tinyblob tinytext blob text mediumblob mediumtext longblob longtext one monday
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -2053,25 +2053,25 @@ execute stmt1 using @my_key ;
|
||||
0 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1991-01-01 01:01:01 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -2101,25 +2101,25 @@ into @arg01, @arg02, @arg03, @arg04, @arg05, @arg06, @arg07, @arg08,
|
||||
from t9 where c1= 1 ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -2145,25 +2145,25 @@ into @arg01, @arg02, @arg03, @arg04, @arg05, @arg06, @arg07, @arg08,
|
||||
from t9 where c1= 0 ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -2191,25 +2191,25 @@ set @my_key= 1 ;
|
||||
execute stmt1 using @my_key ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -2229,25 +2229,25 @@ set @my_key= 0 ;
|
||||
execute stmt1 using @my_key ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
|
@ -59,8 +59,8 @@ def test t9 t9 c7 c7 4 12 1 Y 32768 31 63
|
||||
def test t9 t9 c8 c8 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c9 c9 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c10 c10 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c11 c11 246 7 6 Y 0 4 63
|
||||
def test t9 t9 c12 c12 246 8 6 Y 0 4 63
|
||||
def test t9 t9 c11 c11 246 9 6 Y 0 4 63
|
||||
def test t9 t9 c12 c12 246 10 6 Y 0 4 63
|
||||
def test t9 t9 c13 c13 10 10 10 Y 128 0 63
|
||||
def test t9 t9 c14 c14 12 19 19 Y 128 0 63
|
||||
def test t9 t9 c15 c15 7 19 19 N 1249 0 63
|
||||
@ -1759,8 +1759,8 @@ Table Create Table
|
||||
t5 CREATE TABLE `t5` (
|
||||
`const01` bigint(1) NOT NULL default '0',
|
||||
`param01` bigint(20) default NULL,
|
||||
`const02` decimal(3,1) NOT NULL default '0.0',
|
||||
`param02` decimal(64,30) default NULL,
|
||||
`const02` decimal(2,1) NOT NULL default '0.0',
|
||||
`param02` decimal(65,30) default NULL,
|
||||
`const03` double NOT NULL default '0',
|
||||
`param03` double default NULL,
|
||||
`const04` varchar(3) NOT NULL default '',
|
||||
@ -1781,7 +1781,7 @@ t5 CREATE TABLE `t5` (
|
||||
`param11` bigint(20) default NULL,
|
||||
`const12` binary(0) default NULL,
|
||||
`param12` bigint(20) default NULL,
|
||||
`param13` decimal(64,30) default NULL,
|
||||
`param13` decimal(65,30) default NULL,
|
||||
`param14` longtext,
|
||||
`param15` longblob
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
@ -1789,10 +1789,10 @@ select * from t5 ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def test t5 t5 const01 const01 8 1 1 N 32769 0 63
|
||||
def test t5 t5 param01 param01 8 20 1 Y 32768 0 63
|
||||
def test t5 t5 const02 const02 246 3 3 N 1 1 63
|
||||
def test t5 t5 param02 param02 246 64 32 Y 0 30 63
|
||||
def test t5 t5 const02 const02 246 4 3 N 1 1 63
|
||||
def test t5 t5 param02 param02 246 67 32 Y 0 30 63
|
||||
def test t5 t5 const03 const03 5 17 1 N 32769 31 63
|
||||
def test t5 t5 param03 param03 5 20 1 Y 32768 31 63
|
||||
def test t5 t5 param03 param03 5 23 1 Y 32768 31 63
|
||||
def test t5 t5 const04 const04 253 3 3 N 1 0 8
|
||||
def test t5 t5 param04 param04 252 16777215 3 Y 16 0 8
|
||||
def test t5 t5 const05 const05 253 3 3 N 129 0 63
|
||||
@ -1811,7 +1811,7 @@ def test t5 t5 const11 const11 3 4 4 Y 32768 0 63
|
||||
def test t5 t5 param11 param11 8 20 4 Y 32768 0 63
|
||||
def test t5 t5 const12 const12 254 0 0 Y 128 0 63
|
||||
def test t5 t5 param12 param12 8 20 0 Y 32768 0 63
|
||||
def test t5 t5 param13 param13 246 64 0 Y 0 30 63
|
||||
def test t5 t5 param13 param13 246 67 0 Y 0 30 63
|
||||
def test t5 t5 param14 param14 252 16777215 0 Y 16 0 8
|
||||
def test t5 t5 param15 param15 252 16777215 0 Y 144 0 63
|
||||
const01 8
|
||||
@ -1899,25 +1899,25 @@ from t9 where c1= 1 ;
|
||||
1 1 1 1 1 1 1 1 1 1 1.0000 1.0000 2004-02-29 2004-02-29 11:11:11 2004-02-29 11:11:11 11:11:11 2004 1 1 a 123456789a 123456789a123456789b123456789c tinyblob tinytext blob text mediumblob mediumtext longblob longtext one monday
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -1946,25 +1946,25 @@ from t9 where c1= 0 ;
|
||||
0 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1991-01-01 01:01:01 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -1996,25 +1996,25 @@ execute stmt1 using @my_key ;
|
||||
1 1 1 1 1 1 1 1 1 1 1.0000 1.0000 2004-02-29 2004-02-29 11:11:11 2004-02-29 11:11:11 11:11:11 2004 1 1 a 123456789a 123456789a123456789b123456789c tinyblob tinytext blob text mediumblob mediumtext longblob longtext one monday
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -2036,25 +2036,25 @@ execute stmt1 using @my_key ;
|
||||
0 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1991-01-01 01:01:01 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -2084,25 +2084,25 @@ into @arg01, @arg02, @arg03, @arg04, @arg05, @arg06, @arg07, @arg08,
|
||||
from t9 where c1= 1 ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -2128,25 +2128,25 @@ into @arg01, @arg02, @arg03, @arg04, @arg05, @arg06, @arg07, @arg08,
|
||||
from t9 where c1= 0 ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -2174,25 +2174,25 @@ set @my_key= 1 ;
|
||||
execute stmt1 using @my_key ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -2212,25 +2212,25 @@ set @my_key= 0 ;
|
||||
execute stmt1 using @my_key ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
|
@ -60,8 +60,8 @@ def test t9 t9 c7 c7 4 12 1 Y 32768 31 63
|
||||
def test t9 t9 c8 c8 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c9 c9 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c10 c10 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c11 c11 246 7 6 Y 0 4 63
|
||||
def test t9 t9 c12 c12 246 8 6 Y 0 4 63
|
||||
def test t9 t9 c11 c11 246 9 6 Y 0 4 63
|
||||
def test t9 t9 c12 c12 246 10 6 Y 0 4 63
|
||||
def test t9 t9 c13 c13 10 10 10 Y 128 0 63
|
||||
def test t9 t9 c14 c14 12 19 19 Y 128 0 63
|
||||
def test t9 t9 c15 c15 7 19 19 N 1249 0 63
|
||||
@ -1760,8 +1760,8 @@ Table Create Table
|
||||
t5 CREATE TABLE `t5` (
|
||||
`const01` bigint(1) NOT NULL default '0',
|
||||
`param01` bigint(20) default NULL,
|
||||
`const02` decimal(3,1) NOT NULL default '0.0',
|
||||
`param02` decimal(64,30) default NULL,
|
||||
`const02` decimal(2,1) NOT NULL default '0.0',
|
||||
`param02` decimal(65,30) default NULL,
|
||||
`const03` double NOT NULL default '0',
|
||||
`param03` double default NULL,
|
||||
`const04` varchar(3) NOT NULL default '',
|
||||
@ -1782,7 +1782,7 @@ t5 CREATE TABLE `t5` (
|
||||
`param11` bigint(20) default NULL,
|
||||
`const12` binary(0) default NULL,
|
||||
`param12` bigint(20) default NULL,
|
||||
`param13` decimal(64,30) default NULL,
|
||||
`param13` decimal(65,30) default NULL,
|
||||
`param14` longtext,
|
||||
`param15` longblob
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
@ -1790,10 +1790,10 @@ select * from t5 ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def test t5 t5 const01 const01 8 1 1 N 32769 0 63
|
||||
def test t5 t5 param01 param01 8 20 1 Y 32768 0 63
|
||||
def test t5 t5 const02 const02 246 3 3 N 1 1 63
|
||||
def test t5 t5 param02 param02 246 64 32 Y 0 30 63
|
||||
def test t5 t5 const02 const02 246 4 3 N 1 1 63
|
||||
def test t5 t5 param02 param02 246 67 32 Y 0 30 63
|
||||
def test t5 t5 const03 const03 5 17 1 N 32769 31 63
|
||||
def test t5 t5 param03 param03 5 20 1 Y 32768 31 63
|
||||
def test t5 t5 param03 param03 5 23 1 Y 32768 31 63
|
||||
def test t5 t5 const04 const04 253 3 3 N 1 0 8
|
||||
def test t5 t5 param04 param04 252 16777215 3 Y 16 0 8
|
||||
def test t5 t5 const05 const05 253 3 3 N 129 0 63
|
||||
@ -1812,7 +1812,7 @@ def test t5 t5 const11 const11 3 4 4 Y 32768 0 63
|
||||
def test t5 t5 param11 param11 8 20 4 Y 32768 0 63
|
||||
def test t5 t5 const12 const12 254 0 0 Y 128 0 63
|
||||
def test t5 t5 param12 param12 8 20 0 Y 32768 0 63
|
||||
def test t5 t5 param13 param13 246 64 0 Y 0 30 63
|
||||
def test t5 t5 param13 param13 246 67 0 Y 0 30 63
|
||||
def test t5 t5 param14 param14 252 16777215 0 Y 16 0 8
|
||||
def test t5 t5 param15 param15 252 16777215 0 Y 144 0 63
|
||||
const01 8
|
||||
@ -1900,25 +1900,25 @@ from t9 where c1= 1 ;
|
||||
1 1 1 1 1 1 1 1 1 1 1.0000 1.0000 2004-02-29 2004-02-29 11:11:11 2004-02-29 11:11:11 11:11:11 2004 1 1 a 123456789a 123456789a123456789b123456789c tinyblob tinytext blob text mediumblob mediumtext longblob longtext one monday
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -1947,25 +1947,25 @@ from t9 where c1= 0 ;
|
||||
0 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1991-01-01 01:01:01 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -1997,25 +1997,25 @@ execute stmt1 using @my_key ;
|
||||
1 1 1 1 1 1 1 1 1 1 1.0000 1.0000 2004-02-29 2004-02-29 11:11:11 2004-02-29 11:11:11 11:11:11 2004 1 1 a 123456789a 123456789a123456789b123456789c tinyblob tinytext blob text mediumblob mediumtext longblob longtext one monday
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -2037,25 +2037,25 @@ execute stmt1 using @my_key ;
|
||||
0 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1991-01-01 01:01:01 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -2085,25 +2085,25 @@ into @arg01, @arg02, @arg03, @arg04, @arg05, @arg06, @arg07, @arg08,
|
||||
from t9 where c1= 1 ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -2129,25 +2129,25 @@ into @arg01, @arg02, @arg03, @arg04, @arg05, @arg06, @arg07, @arg08,
|
||||
from t9 where c1= 0 ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -2175,25 +2175,25 @@ set @my_key= 1 ;
|
||||
execute stmt1 using @my_key ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -2213,25 +2213,25 @@ set @my_key= 0 ;
|
||||
execute stmt1 using @my_key ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
|
@ -102,8 +102,8 @@ def test t9 t9 c7 c7 4 12 1 Y 32768 31 63
|
||||
def test t9 t9 c8 c8 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c9 c9 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c10 c10 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c11 c11 246 7 6 Y 0 4 63
|
||||
def test t9 t9 c12 c12 246 8 6 Y 0 4 63
|
||||
def test t9 t9 c11 c11 246 9 6 Y 0 4 63
|
||||
def test t9 t9 c12 c12 246 10 6 Y 0 4 63
|
||||
def test t9 t9 c13 c13 10 10 10 Y 128 0 63
|
||||
def test t9 t9 c14 c14 12 19 19 Y 128 0 63
|
||||
def test t9 t9 c15 c15 7 19 19 N 1249 0 63
|
||||
@ -1696,8 +1696,8 @@ Table Create Table
|
||||
t5 CREATE TABLE `t5` (
|
||||
`const01` bigint(1) NOT NULL default '0',
|
||||
`param01` bigint(20) default NULL,
|
||||
`const02` decimal(3,1) NOT NULL default '0.0',
|
||||
`param02` decimal(64,30) default NULL,
|
||||
`const02` decimal(2,1) NOT NULL default '0.0',
|
||||
`param02` decimal(65,30) default NULL,
|
||||
`const03` double NOT NULL default '0',
|
||||
`param03` double default NULL,
|
||||
`const04` varchar(3) NOT NULL default '',
|
||||
@ -1718,7 +1718,7 @@ t5 CREATE TABLE `t5` (
|
||||
`param11` bigint(20) default NULL,
|
||||
`const12` binary(0) default NULL,
|
||||
`param12` bigint(20) default NULL,
|
||||
`param13` decimal(64,30) default NULL,
|
||||
`param13` decimal(65,30) default NULL,
|
||||
`param14` longtext,
|
||||
`param15` longblob
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
@ -1726,10 +1726,10 @@ select * from t5 ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def test t5 t5 const01 const01 8 1 1 N 32769 0 63
|
||||
def test t5 t5 param01 param01 8 20 1 Y 32768 0 63
|
||||
def test t5 t5 const02 const02 246 3 3 N 1 1 63
|
||||
def test t5 t5 param02 param02 246 64 32 Y 0 30 63
|
||||
def test t5 t5 const02 const02 246 4 3 N 1 1 63
|
||||
def test t5 t5 param02 param02 246 67 32 Y 0 30 63
|
||||
def test t5 t5 const03 const03 5 17 1 N 32769 31 63
|
||||
def test t5 t5 param03 param03 5 20 1 Y 32768 31 63
|
||||
def test t5 t5 param03 param03 5 23 1 Y 32768 31 63
|
||||
def test t5 t5 const04 const04 253 3 3 N 1 0 8
|
||||
def test t5 t5 param04 param04 252 16777215 3 Y 16 0 8
|
||||
def test t5 t5 const05 const05 253 3 3 N 129 0 63
|
||||
@ -1748,7 +1748,7 @@ def test t5 t5 const11 const11 3 4 4 Y 32768 0 63
|
||||
def test t5 t5 param11 param11 8 20 4 Y 32768 0 63
|
||||
def test t5 t5 const12 const12 254 0 0 Y 128 0 63
|
||||
def test t5 t5 param12 param12 8 20 0 Y 32768 0 63
|
||||
def test t5 t5 param13 param13 246 64 0 Y 0 30 63
|
||||
def test t5 t5 param13 param13 246 67 0 Y 0 30 63
|
||||
def test t5 t5 param14 param14 252 16777215 0 Y 16 0 8
|
||||
def test t5 t5 param15 param15 252 16777215 0 Y 144 0 63
|
||||
const01 8
|
||||
@ -1836,25 +1836,25 @@ from t9 where c1= 1 ;
|
||||
1 1 1 1 1 1 1 1 1 1 1.0000 1.0000 2004-02-29 2004-02-29 11:11:11 2004-02-29 11:11:11 11:11:11 2004 1 1 a 123456789a 123456789a123456789b123456789c tinyblob tinytext blob text mediumblob mediumtext longblob longtext one monday
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -1883,25 +1883,25 @@ from t9 where c1= 0 ;
|
||||
0 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1991-01-01 01:01:01 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -1933,25 +1933,25 @@ execute stmt1 using @my_key ;
|
||||
1 1 1 1 1 1 1 1 1 1 1.0000 1.0000 2004-02-29 2004-02-29 11:11:11 2004-02-29 11:11:11 11:11:11 2004 1 1 a 123456789a 123456789a123456789b123456789c tinyblob tinytext blob text mediumblob mediumtext longblob longtext one monday
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -1973,25 +1973,25 @@ execute stmt1 using @my_key ;
|
||||
0 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1991-01-01 01:01:01 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -2021,25 +2021,25 @@ into @arg01, @arg02, @arg03, @arg04, @arg05, @arg06, @arg07, @arg08,
|
||||
from t9 where c1= 1 ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -2065,25 +2065,25 @@ into @arg01, @arg02, @arg03, @arg04, @arg05, @arg06, @arg07, @arg08,
|
||||
from t9 where c1= 0 ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -2111,25 +2111,25 @@ set @my_key= 1 ;
|
||||
execute stmt1 using @my_key ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -2149,25 +2149,25 @@ set @my_key= 0 ;
|
||||
execute stmt1 using @my_key ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -3115,8 +3115,8 @@ def test t9 t9 c7 c7 4 12 1 Y 32768 31 63
|
||||
def test t9 t9 c8 c8 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c9 c9 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c10 c10 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c11 c11 246 7 6 Y 0 4 63
|
||||
def test t9 t9 c12 c12 246 8 6 Y 0 4 63
|
||||
def test t9 t9 c11 c11 246 9 6 Y 0 4 63
|
||||
def test t9 t9 c12 c12 246 10 6 Y 0 4 63
|
||||
def test t9 t9 c13 c13 10 10 10 Y 128 0 63
|
||||
def test t9 t9 c14 c14 12 19 19 Y 128 0 63
|
||||
def test t9 t9 c15 c15 7 19 19 N 1249 0 63
|
||||
@ -4709,8 +4709,8 @@ Table Create Table
|
||||
t5 CREATE TABLE `t5` (
|
||||
`const01` bigint(1) NOT NULL default '0',
|
||||
`param01` bigint(20) default NULL,
|
||||
`const02` decimal(3,1) NOT NULL default '0.0',
|
||||
`param02` decimal(64,30) default NULL,
|
||||
`const02` decimal(2,1) NOT NULL default '0.0',
|
||||
`param02` decimal(65,30) default NULL,
|
||||
`const03` double NOT NULL default '0',
|
||||
`param03` double default NULL,
|
||||
`const04` varchar(3) NOT NULL default '',
|
||||
@ -4731,7 +4731,7 @@ t5 CREATE TABLE `t5` (
|
||||
`param11` bigint(20) default NULL,
|
||||
`const12` binary(0) default NULL,
|
||||
`param12` bigint(20) default NULL,
|
||||
`param13` decimal(64,30) default NULL,
|
||||
`param13` decimal(65,30) default NULL,
|
||||
`param14` longtext,
|
||||
`param15` longblob
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
@ -4739,10 +4739,10 @@ select * from t5 ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def test t5 t5 const01 const01 8 1 1 N 32769 0 63
|
||||
def test t5 t5 param01 param01 8 20 1 Y 32768 0 63
|
||||
def test t5 t5 const02 const02 246 3 3 N 1 1 63
|
||||
def test t5 t5 param02 param02 246 64 32 Y 0 30 63
|
||||
def test t5 t5 const02 const02 246 4 3 N 1 1 63
|
||||
def test t5 t5 param02 param02 246 67 32 Y 0 30 63
|
||||
def test t5 t5 const03 const03 5 17 1 N 32769 31 63
|
||||
def test t5 t5 param03 param03 5 20 1 Y 32768 31 63
|
||||
def test t5 t5 param03 param03 5 23 1 Y 32768 31 63
|
||||
def test t5 t5 const04 const04 253 3 3 N 1 0 8
|
||||
def test t5 t5 param04 param04 252 16777215 3 Y 16 0 8
|
||||
def test t5 t5 const05 const05 253 3 3 N 129 0 63
|
||||
@ -4761,7 +4761,7 @@ def test t5 t5 const11 const11 3 4 4 Y 32768 0 63
|
||||
def test t5 t5 param11 param11 8 20 4 Y 32768 0 63
|
||||
def test t5 t5 const12 const12 254 0 0 Y 128 0 63
|
||||
def test t5 t5 param12 param12 8 20 0 Y 32768 0 63
|
||||
def test t5 t5 param13 param13 246 64 0 Y 0 30 63
|
||||
def test t5 t5 param13 param13 246 67 0 Y 0 30 63
|
||||
def test t5 t5 param14 param14 252 16777215 0 Y 16 0 8
|
||||
def test t5 t5 param15 param15 252 16777215 0 Y 144 0 63
|
||||
const01 8
|
||||
@ -4849,25 +4849,25 @@ from t9 where c1= 1 ;
|
||||
1 1 1 1 1 1 1 1 1 1 1.0000 1.0000 2004-02-29 2004-02-29 11:11:11 2004-02-29 11:11:11 11:11:11 2004 1 1 a 123456789a 123456789a123456789b123456789c tinyblob tinytext blob text mediumblob mediumtext longblob longtext one monday
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -4896,25 +4896,25 @@ from t9 where c1= 0 ;
|
||||
0 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1991-01-01 01:01:01 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -4946,25 +4946,25 @@ execute stmt1 using @my_key ;
|
||||
1 1 1 1 1 1 1 1 1 1 1.0000 1.0000 2004-02-29 2004-02-29 11:11:11 2004-02-29 11:11:11 11:11:11 2004 1 1 a 123456789a 123456789a123456789b123456789c tinyblob tinytext blob text mediumblob mediumtext longblob longtext one monday
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -4986,25 +4986,25 @@ execute stmt1 using @my_key ;
|
||||
0 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1991-01-01 01:01:01 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -5034,25 +5034,25 @@ into @arg01, @arg02, @arg03, @arg04, @arg05, @arg06, @arg07, @arg08,
|
||||
from t9 where c1= 1 ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -5078,25 +5078,25 @@ into @arg01, @arg02, @arg03, @arg04, @arg05, @arg06, @arg07, @arg08,
|
||||
from t9 where c1= 0 ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -5124,25 +5124,25 @@ set @my_key= 1 ;
|
||||
execute stmt1 using @my_key ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -5162,25 +5162,25 @@ set @my_key= 0 ;
|
||||
execute stmt1 using @my_key ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
|
@ -59,8 +59,8 @@ def test t9 t9 c7 c7 4 12 1 Y 32768 31 63
|
||||
def test t9 t9 c8 c8 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c9 c9 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c10 c10 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c11 c11 246 7 6 Y 0 4 63
|
||||
def test t9 t9 c12 c12 246 8 6 Y 0 4 63
|
||||
def test t9 t9 c11 c11 246 9 6 Y 0 4 63
|
||||
def test t9 t9 c12 c12 246 10 6 Y 0 4 63
|
||||
def test t9 t9 c13 c13 10 10 10 Y 128 0 63
|
||||
def test t9 t9 c14 c14 12 19 19 Y 128 0 63
|
||||
def test t9 t9 c15 c15 7 19 19 N 1249 0 63
|
||||
@ -1759,8 +1759,8 @@ Table Create Table
|
||||
t5 CREATE TABLE `t5` (
|
||||
`const01` bigint(1) NOT NULL default '0',
|
||||
`param01` bigint(20) default NULL,
|
||||
`const02` decimal(3,1) NOT NULL default '0.0',
|
||||
`param02` decimal(64,30) default NULL,
|
||||
`const02` decimal(2,1) NOT NULL default '0.0',
|
||||
`param02` decimal(65,30) default NULL,
|
||||
`const03` double NOT NULL default '0',
|
||||
`param03` double default NULL,
|
||||
`const04` varchar(3) NOT NULL default '',
|
||||
@ -1781,7 +1781,7 @@ t5 CREATE TABLE `t5` (
|
||||
`param11` bigint(20) default NULL,
|
||||
`const12` binary(0) default NULL,
|
||||
`param12` bigint(20) default NULL,
|
||||
`param13` decimal(64,30) default NULL,
|
||||
`param13` decimal(65,30) default NULL,
|
||||
`param14` longtext,
|
||||
`param15` longblob
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
@ -1789,10 +1789,10 @@ select * from t5 ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def test t5 t5 const01 const01 8 1 1 N 32769 0 63
|
||||
def test t5 t5 param01 param01 8 20 1 Y 32768 0 63
|
||||
def test t5 t5 const02 const02 246 3 3 N 1 1 63
|
||||
def test t5 t5 param02 param02 246 64 32 Y 0 30 63
|
||||
def test t5 t5 const02 const02 246 4 3 N 1 1 63
|
||||
def test t5 t5 param02 param02 246 67 32 Y 0 30 63
|
||||
def test t5 t5 const03 const03 5 17 1 N 32769 31 63
|
||||
def test t5 t5 param03 param03 5 20 1 Y 32768 31 63
|
||||
def test t5 t5 param03 param03 5 23 1 Y 32768 31 63
|
||||
def test t5 t5 const04 const04 253 3 3 N 1 0 8
|
||||
def test t5 t5 param04 param04 252 16777215 3 Y 16 0 8
|
||||
def test t5 t5 const05 const05 253 3 3 N 129 0 63
|
||||
@ -1811,7 +1811,7 @@ def test t5 t5 const11 const11 3 4 4 Y 32768 0 63
|
||||
def test t5 t5 param11 param11 8 20 4 Y 32768 0 63
|
||||
def test t5 t5 const12 const12 254 0 0 Y 128 0 63
|
||||
def test t5 t5 param12 param12 8 20 0 Y 32768 0 63
|
||||
def test t5 t5 param13 param13 246 64 0 Y 0 30 63
|
||||
def test t5 t5 param13 param13 246 67 0 Y 0 30 63
|
||||
def test t5 t5 param14 param14 252 16777215 0 Y 16 0 8
|
||||
def test t5 t5 param15 param15 252 16777215 0 Y 144 0 63
|
||||
const01 8
|
||||
@ -1899,25 +1899,25 @@ from t9 where c1= 1 ;
|
||||
1 1 1 1 1 1 1 1 1 1 1.0000 1.0000 2004-02-29 2004-02-29 11:11:11 2004-02-29 11:11:11 11:11:11 2004 1 1 a 123456789a 123456789a123456789b123456789c tinyblob tinytext blob text mediumblob mediumtext longblob longtext one monday
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -1946,25 +1946,25 @@ from t9 where c1= 0 ;
|
||||
0 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1991-01-01 01:01:01 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -1996,25 +1996,25 @@ execute stmt1 using @my_key ;
|
||||
1 1 1 1 1 1 1 1 1 1 1.0000 1.0000 2004-02-29 2004-02-29 11:11:11 2004-02-29 11:11:11 11:11:11 2004 1 1 a 123456789a 123456789a123456789b123456789c tinyblob tinytext blob text mediumblob mediumtext longblob longtext one monday
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -2036,25 +2036,25 @@ execute stmt1 using @my_key ;
|
||||
0 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1991-01-01 01:01:01 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -2084,25 +2084,25 @@ into @arg01, @arg02, @arg03, @arg04, @arg05, @arg06, @arg07, @arg08,
|
||||
from t9 where c1= 1 ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -2128,25 +2128,25 @@ into @arg01, @arg02, @arg03, @arg04, @arg05, @arg06, @arg07, @arg08,
|
||||
from t9 where c1= 0 ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -2174,25 +2174,25 @@ set @my_key= 1 ;
|
||||
execute stmt1 using @my_key ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -2212,25 +2212,25 @@ set @my_key= 0 ;
|
||||
execute stmt1 using @my_key ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
|
@ -59,8 +59,8 @@ def test t9 t9 c7 c7 4 12 1 Y 32768 31 63
|
||||
def test t9 t9 c8 c8 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c9 c9 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c10 c10 5 22 1 Y 32768 31 63
|
||||
def test t9 t9 c11 c11 246 7 6 Y 0 4 63
|
||||
def test t9 t9 c12 c12 246 8 6 Y 0 4 63
|
||||
def test t9 t9 c11 c11 246 9 6 Y 0 4 63
|
||||
def test t9 t9 c12 c12 246 10 6 Y 0 4 63
|
||||
def test t9 t9 c13 c13 10 10 10 Y 128 0 63
|
||||
def test t9 t9 c14 c14 12 19 19 Y 128 0 63
|
||||
def test t9 t9 c15 c15 7 19 19 N 1249 0 63
|
||||
@ -1759,8 +1759,8 @@ Table Create Table
|
||||
t5 CREATE TABLE `t5` (
|
||||
`const01` bigint(1) NOT NULL default '0',
|
||||
`param01` bigint(20) default NULL,
|
||||
`const02` decimal(3,1) NOT NULL default '0.0',
|
||||
`param02` decimal(64,30) default NULL,
|
||||
`const02` decimal(2,1) NOT NULL default '0.0',
|
||||
`param02` decimal(65,30) default NULL,
|
||||
`const03` double NOT NULL default '0',
|
||||
`param03` double default NULL,
|
||||
`const04` varchar(3) NOT NULL default '',
|
||||
@ -1781,7 +1781,7 @@ t5 CREATE TABLE `t5` (
|
||||
`param11` bigint(20) default NULL,
|
||||
`const12` binary(0) default NULL,
|
||||
`param12` bigint(20) default NULL,
|
||||
`param13` decimal(64,30) default NULL,
|
||||
`param13` decimal(65,30) default NULL,
|
||||
`param14` longtext,
|
||||
`param15` longblob
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
@ -1789,10 +1789,10 @@ select * from t5 ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def test t5 t5 const01 const01 8 1 1 N 32769 0 63
|
||||
def test t5 t5 param01 param01 8 20 1 Y 32768 0 63
|
||||
def test t5 t5 const02 const02 246 3 3 N 1 1 63
|
||||
def test t5 t5 param02 param02 246 64 32 Y 0 30 63
|
||||
def test t5 t5 const02 const02 246 4 3 N 1 1 63
|
||||
def test t5 t5 param02 param02 246 67 32 Y 0 30 63
|
||||
def test t5 t5 const03 const03 5 17 1 N 32769 31 63
|
||||
def test t5 t5 param03 param03 5 20 1 Y 32768 31 63
|
||||
def test t5 t5 param03 param03 5 23 1 Y 32768 31 63
|
||||
def test t5 t5 const04 const04 253 3 3 N 1 0 8
|
||||
def test t5 t5 param04 param04 252 16777215 3 Y 16 0 8
|
||||
def test t5 t5 const05 const05 253 3 3 N 129 0 63
|
||||
@ -1811,7 +1811,7 @@ def test t5 t5 const11 const11 3 4 4 Y 32768 0 63
|
||||
def test t5 t5 param11 param11 8 20 4 Y 32768 0 63
|
||||
def test t5 t5 const12 const12 254 0 0 Y 128 0 63
|
||||
def test t5 t5 param12 param12 8 20 0 Y 32768 0 63
|
||||
def test t5 t5 param13 param13 246 64 0 Y 0 30 63
|
||||
def test t5 t5 param13 param13 246 67 0 Y 0 30 63
|
||||
def test t5 t5 param14 param14 252 16777215 0 Y 16 0 8
|
||||
def test t5 t5 param15 param15 252 16777215 0 Y 144 0 63
|
||||
const01 8
|
||||
@ -1899,25 +1899,25 @@ from t9 where c1= 1 ;
|
||||
1 1 1 1 1 1 1 1 1 1 1.0000 1.0000 2004-02-29 2004-02-29 11:11:11 2004-02-29 11:11:11 11:11:11 2004 1 1 a 123456789a 123456789a123456789b123456789c tinyblob tinytext blob text mediumblob mediumtext longblob longtext one monday
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -1946,25 +1946,25 @@ from t9 where c1= 0 ;
|
||||
0 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1991-01-01 01:01:01 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -1996,25 +1996,25 @@ execute stmt1 using @my_key ;
|
||||
1 1 1 1 1 1 1 1 1 1 1.0000 1.0000 2004-02-29 2004-02-29 11:11:11 2004-02-29 11:11:11 11:11:11 2004 1 1 a 123456789a 123456789a123456789b123456789c tinyblob tinytext blob text mediumblob mediumtext longblob longtext one monday
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -2036,25 +2036,25 @@ execute stmt1 using @my_key ;
|
||||
0 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1991-01-01 01:01:01 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -2084,25 +2084,25 @@ into @arg01, @arg02, @arg03, @arg04, @arg05, @arg06, @arg07, @arg08,
|
||||
from t9 where c1= 1 ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -2128,25 +2128,25 @@ into @arg01, @arg02, @arg03, @arg04, @arg05, @arg06, @arg07, @arg08,
|
||||
from t9 where c1= 0 ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
@ -2174,25 +2174,25 @@ set @my_key= 1 ;
|
||||
execute stmt1 using @my_key ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 1 Y 128 31 63
|
||||
def @arg03 253 20 1 Y 128 31 63
|
||||
def @arg04 253 20 1 Y 128 31 63
|
||||
def @arg05 253 20 1 Y 128 31 63
|
||||
def @arg06 253 20 1 Y 128 31 63
|
||||
def @arg07 253 20 1 Y 128 31 63
|
||||
def @arg08 253 20 1 Y 128 31 63
|
||||
def @arg09 253 20 1 Y 128 31 63
|
||||
def @arg10 253 20 1 Y 128 31 63
|
||||
def @arg11 253 64 6 Y 128 30 63
|
||||
def @arg12 253 64 6 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 1 Y 128 0 63
|
||||
def @arg03 253 20 1 Y 128 0 63
|
||||
def @arg04 253 20 1 Y 128 0 63
|
||||
def @arg05 253 20 1 Y 128 0 63
|
||||
def @arg06 253 20 1 Y 128 0 63
|
||||
def @arg07 253 23 1 Y 128 31 63
|
||||
def @arg08 253 23 1 Y 128 31 63
|
||||
def @arg09 253 23 1 Y 128 31 63
|
||||
def @arg10 253 23 1 Y 128 31 63
|
||||
def @arg11 253 67 6 Y 128 30 63
|
||||
def @arg12 253 67 6 Y 128 30 63
|
||||
def @arg13 253 8192 10 Y 128 31 63
|
||||
def @arg14 253 8192 19 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 8 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 31 63
|
||||
def @arg18 253 20 1 Y 128 31 63
|
||||
def @arg19 253 20 1 Y 128 31 63
|
||||
def @arg17 253 20 4 Y 128 0 63
|
||||
def @arg18 253 20 1 Y 128 0 63
|
||||
def @arg19 253 20 1 Y 128 0 63
|
||||
def @arg20 253 8192 1 Y 0 31 8
|
||||
def @arg21 253 8192 10 Y 0 31 8
|
||||
def @arg22 253 8192 30 Y 0 31 8
|
||||
@ -2212,25 +2212,25 @@ set @my_key= 0 ;
|
||||
execute stmt1 using @my_key ;
|
||||
execute full_info ;
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def @arg01 253 20 1 Y 128 31 63
|
||||
def @arg02 253 20 0 Y 128 31 63
|
||||
def @arg03 253 20 0 Y 128 31 63
|
||||
def @arg04 253 20 0 Y 128 31 63
|
||||
def @arg05 253 20 0 Y 128 31 63
|
||||
def @arg06 253 20 0 Y 128 31 63
|
||||
def @arg07 253 20 0 Y 128 31 63
|
||||
def @arg08 253 20 0 Y 128 31 63
|
||||
def @arg09 253 20 0 Y 128 31 63
|
||||
def @arg10 253 20 0 Y 128 31 63
|
||||
def @arg11 253 64 0 Y 128 30 63
|
||||
def @arg12 253 64 0 Y 128 30 63
|
||||
def @arg01 253 20 1 Y 128 0 63
|
||||
def @arg02 253 20 0 Y 128 0 63
|
||||
def @arg03 253 20 0 Y 128 0 63
|
||||
def @arg04 253 20 0 Y 128 0 63
|
||||
def @arg05 253 20 0 Y 128 0 63
|
||||
def @arg06 253 20 0 Y 128 0 63
|
||||
def @arg07 253 23 0 Y 128 31 63
|
||||
def @arg08 253 23 0 Y 128 31 63
|
||||
def @arg09 253 23 0 Y 128 31 63
|
||||
def @arg10 253 23 0 Y 128 31 63
|
||||
def @arg11 253 67 0 Y 128 30 63
|
||||
def @arg12 253 67 0 Y 128 30 63
|
||||
def @arg13 253 8192 0 Y 128 31 63
|
||||
def @arg14 253 8192 0 Y 128 31 63
|
||||
def @arg15 253 8192 19 Y 128 31 63
|
||||
def @arg16 253 8192 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 31 63
|
||||
def @arg18 253 20 0 Y 128 31 63
|
||||
def @arg19 253 20 0 Y 128 31 63
|
||||
def @arg17 253 20 0 Y 128 0 63
|
||||
def @arg18 253 20 0 Y 128 0 63
|
||||
def @arg19 253 20 0 Y 128 0 63
|
||||
def @arg20 253 8192 0 Y 0 31 8
|
||||
def @arg21 253 8192 0 Y 0 31 8
|
||||
def @arg22 253 8192 0 Y 0 31 8
|
||||
|
235
mysql-test/r/rpl_sp.result
Normal file
235
mysql-test/r/rpl_sp.result
Normal file
@ -0,0 +1,235 @@
|
||||
stop slave;
|
||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||
reset master;
|
||||
reset slave;
|
||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||
start slave;
|
||||
create database if not exists mysqltest1;
|
||||
use mysqltest1;
|
||||
create table t1 (a varchar(100));
|
||||
use mysqltest1;
|
||||
drop procedure if exists foo;
|
||||
drop procedure if exists foo2;
|
||||
drop procedure if exists foo3;
|
||||
drop procedure if exists foo4;
|
||||
drop procedure if exists bar;
|
||||
drop function if exists fn1;
|
||||
create procedure foo()
|
||||
begin
|
||||
declare b int;
|
||||
set b = 8;
|
||||
insert into t1 values (b);
|
||||
insert into t1 values (unix_timestamp());
|
||||
end|
|
||||
ERROR HY000: This routine is declared to be non-deterministic and to modify data and binary logging is enabled (you *might* want to use the less safe log_bin_trust_routine_creators variable)
|
||||
show binlog events from 98|
|
||||
Log_name Pos Event_type Server_id End_log_pos Info
|
||||
master-bin.000001 # Query 1 # create database if not exists mysqltest1
|
||||
master-bin.000001 # Query 1 # use `mysqltest1`; create table t1 (a varchar(100))
|
||||
create procedure foo() deterministic
|
||||
begin
|
||||
declare b int;
|
||||
set b = 8;
|
||||
insert into t1 values (b);
|
||||
insert into t1 values (unix_timestamp());
|
||||
end|
|
||||
select * from mysql.proc where name='foo' and db='mysqltest1';
|
||||
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
|
||||
mysqltest1 foo PROCEDURE foo SQL CONTAINS_SQL YES DEFINER begin
|
||||
declare b int;
|
||||
set b = 8;
|
||||
insert into t1 values (b);
|
||||
insert into t1 values (unix_timestamp());
|
||||
end root@localhost # #
|
||||
select * from mysql.proc where name='foo' and db='mysqltest1';
|
||||
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
|
||||
mysqltest1 foo PROCEDURE foo SQL CONTAINS_SQL YES DEFINER begin
|
||||
declare b int;
|
||||
set b = 8;
|
||||
insert into t1 values (b);
|
||||
insert into t1 values (unix_timestamp());
|
||||
end @ # #
|
||||
set timestamp=1000000000;
|
||||
call foo();
|
||||
show binlog events from 308;
|
||||
Log_name Pos Event_type Server_id End_log_pos Info
|
||||
master-bin.000001 # Query 1 # use `mysqltest1`; create procedure foo() deterministic
|
||||
begin
|
||||
declare b int;
|
||||
set b = 8;
|
||||
insert into t1 values (b);
|
||||
insert into t1 values (unix_timestamp());
|
||||
end
|
||||
master-bin.000001 # Query 1 # use `mysqltest1`; call foo()
|
||||
select * from t1;
|
||||
a
|
||||
8
|
||||
1000000000
|
||||
select * from t1;
|
||||
a
|
||||
8
|
||||
1000000000
|
||||
delete from t1;
|
||||
create procedure foo2()
|
||||
not deterministic
|
||||
reads sql data
|
||||
select * from mysqltest1.t1;
|
||||
call foo2();
|
||||
a
|
||||
show binlog events from 605;
|
||||
Log_name Pos Event_type Server_id End_log_pos Info
|
||||
master-bin.000001 # Query 1 # use `mysqltest1`; delete from t1
|
||||
master-bin.000001 # Query 1 # use `mysqltest1`; create procedure foo2()
|
||||
not deterministic
|
||||
reads sql data
|
||||
select * from mysqltest1.t1
|
||||
alter procedure foo2 contains sql;
|
||||
ERROR HY000: This routine is declared to be non-deterministic and to modify data and binary logging is enabled (you *might* want to use the less safe log_bin_trust_routine_creators variable)
|
||||
drop table t1;
|
||||
create table t1 (a int);
|
||||
create table t2 like t1;
|
||||
create procedure foo3()
|
||||
deterministic
|
||||
insert into t1 values (15);
|
||||
grant CREATE ROUTINE, EXECUTE on mysqltest1.* to "zedjzlcsjhd"@127.0.0.1;
|
||||
grant SELECT on mysqltest1.t1 to "zedjzlcsjhd"@127.0.0.1;
|
||||
grant SELECT, INSERT on mysqltest1.t2 to "zedjzlcsjhd"@127.0.0.1;
|
||||
create procedure foo4()
|
||||
deterministic
|
||||
insert into t1 values (10);
|
||||
ERROR HY000: You do not have SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_routine_creators variable)
|
||||
set global log_bin_trust_routine_creators=1;
|
||||
create procedure foo4()
|
||||
deterministic
|
||||
begin
|
||||
insert into t2 values(3);
|
||||
insert into t1 values (5);
|
||||
end|
|
||||
call foo4();
|
||||
Got one of the listed errors
|
||||
show warnings;
|
||||
Level Code Message
|
||||
Warning 1417 A routine failed and is declared to modify data and binary logging is enabled; if non-transactional tables were updated, the binary log will miss their changes
|
||||
call foo3();
|
||||
show warnings;
|
||||
Level Code Message
|
||||
call foo4();
|
||||
Got one of the listed errors
|
||||
show warnings;
|
||||
Level Code Message
|
||||
Warning 1417 A routine failed and is declared to modify data and binary logging is enabled; if non-transactional tables were updated, the binary log will miss their changes
|
||||
alter procedure foo4 sql security invoker;
|
||||
call foo4();
|
||||
show warnings;
|
||||
Level Code Message
|
||||
show binlog events from 841;
|
||||
Log_name Pos Event_type Server_id End_log_pos Info
|
||||
master-bin.000001 # Query 1 # use `mysqltest1`; drop table t1
|
||||
master-bin.000001 # Query 1 # use `mysqltest1`; create table t1 (a int)
|
||||
master-bin.000001 # Query 1 # use `mysqltest1`; create table t2 like t1
|
||||
master-bin.000001 # Query 1 # use `mysqltest1`; create procedure foo3()
|
||||
deterministic
|
||||
insert into t1 values (15)
|
||||
master-bin.000001 # Query 1 # use `mysqltest1`; grant CREATE ROUTINE, EXECUTE on mysqltest1.* to "zedjzlcsjhd"@127.0.0.1
|
||||
master-bin.000001 # Query 1 # use `mysqltest1`; grant SELECT on mysqltest1.t1 to "zedjzlcsjhd"@127.0.0.1
|
||||
master-bin.000001 # Query 1 # use `mysqltest1`; grant SELECT, INSERT on mysqltest1.t2 to "zedjzlcsjhd"@127.0.0.1
|
||||
master-bin.000001 # Query 1 # use `mysqltest1`; create procedure foo4()
|
||||
deterministic
|
||||
begin
|
||||
insert into t2 values(3);
|
||||
insert into t1 values (5);
|
||||
end
|
||||
master-bin.000001 # Query 1 # use `mysqltest1`; call foo3()
|
||||
master-bin.000001 # Query 1 # use `mysqltest1`; alter procedure foo4 sql security invoker
|
||||
master-bin.000001 # Query 1 # use `mysqltest1`; call foo4()
|
||||
select * from t1;
|
||||
a
|
||||
15
|
||||
5
|
||||
select * from t2;
|
||||
a
|
||||
3
|
||||
3
|
||||
3
|
||||
select * from t1;
|
||||
a
|
||||
15
|
||||
5
|
||||
select * from t2;
|
||||
a
|
||||
3
|
||||
select if(compte<>3,"this is broken but documented","this unexpectedly works?") from (select count(*) as compte from t2) as aggreg;
|
||||
if(compte<>3,"this is broken but documented","this unexpectedly works?")
|
||||
this is broken but documented
|
||||
select * from mysql.proc where name="foo4" and db='mysqltest1';
|
||||
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
|
||||
mysqltest1 foo4 PROCEDURE foo4 SQL CONTAINS_SQL YES INVOKER begin
|
||||
insert into t2 values(3);
|
||||
insert into t1 values (5);
|
||||
end @ # #
|
||||
drop procedure foo4;
|
||||
select * from mysql.proc where name="foo4" and db='mysqltest1';
|
||||
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
|
||||
select * from mysql.proc where name="foo4" and db='mysqltest1';
|
||||
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
|
||||
drop procedure foo;
|
||||
drop procedure foo2;
|
||||
drop procedure foo3;
|
||||
create function fn1(x int)
|
||||
returns int
|
||||
deterministic
|
||||
begin
|
||||
insert into t1 values (x);
|
||||
return x+2;
|
||||
end|
|
||||
delete t1,t2 from t1,t2;
|
||||
select fn1(20);
|
||||
fn1(20)
|
||||
22
|
||||
insert into t2 values(fn1(21));
|
||||
select * from t1;
|
||||
a
|
||||
21
|
||||
20
|
||||
select * from t2;
|
||||
a
|
||||
23
|
||||
select * from t1;
|
||||
a
|
||||
21
|
||||
select if(compte<>1,"this is broken but documented","this unexpectedly works?") from (select count(*) as compte from t1 where a=20) as aggreg;
|
||||
if(compte<>1,"this is broken but documented","this unexpectedly works?")
|
||||
this is broken but documented
|
||||
select * from t2;
|
||||
a
|
||||
23
|
||||
drop function fn1;
|
||||
create function fn1()
|
||||
returns int
|
||||
deterministic
|
||||
begin
|
||||
return unix_timestamp();
|
||||
end|
|
||||
delete from t1;
|
||||
set timestamp=1000000000;
|
||||
insert into t1 values(fn1());
|
||||
select * from mysql.proc where db='mysqltest1';
|
||||
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
|
||||
mysqltest1 fn1 FUNCTION fn1 SQL CONTAINS_SQL YES DEFINER int(11) begin
|
||||
return unix_timestamp();
|
||||
end root@localhost # #
|
||||
select * from t1;
|
||||
a
|
||||
1000000000
|
||||
use mysqltest1;
|
||||
select * from t1;
|
||||
a
|
||||
1000000000
|
||||
select * from mysql.proc where db='mysqltest1';
|
||||
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
|
||||
mysqltest1 fn1 FUNCTION fn1 SQL CONTAINS_SQL YES DEFINER int(11) begin
|
||||
return unix_timestamp();
|
||||
end @ # #
|
||||
drop function fn1;
|
||||
drop database mysqltest1;
|
||||
drop user "zedjzlcsjhd"@127.0.0.1;
|
@ -1672,7 +1672,7 @@ fld1 count(*)
|
||||
158402 4181
|
||||
select sum(Period)/count(*) from t1;
|
||||
sum(Period)/count(*)
|
||||
9410.00000
|
||||
9410.0000
|
||||
select companynr,count(price) as "count",sum(price) as "sum" ,abs(sum(price)/count(price)-avg(price)) as "diff",(0+count(price))*companynr as func from t3 group by companynr;
|
||||
companynr count sum diff func
|
||||
37 12543 309394878010 0.0000 464091
|
||||
@ -1684,7 +1684,7 @@ companynr count sum diff func
|
||||
512 4181 3288532102 0.0000 2140672
|
||||
select companynr,sum(price)/count(price) as avg from t3 group by companynr having avg > 70000000 order by avg;
|
||||
companynr avg
|
||||
154 983543950.00
|
||||
154 983543950.0000
|
||||
select companynr,count(*) from t2 group by companynr order by 2 desc;
|
||||
companynr count(*)
|
||||
37 588
|
||||
|
@ -2913,10 +2913,10 @@ select @sptmp|
|
||||
10
|
||||
call bug9674_2()|
|
||||
v/10
|
||||
10.00000
|
||||
10.0000
|
||||
call bug9674_2()|
|
||||
v/10
|
||||
10.00000
|
||||
10.0000
|
||||
drop procedure bug9674_1|
|
||||
drop procedure bug9674_2|
|
||||
drop procedure if exists bug9598_1|
|
||||
@ -3057,4 +3057,12 @@ yes
|
||||
yes
|
||||
drop procedure bug7293|
|
||||
delete from t1|
|
||||
drop procedure if exists bug9841|
|
||||
drop view if exists v1|
|
||||
create view v1 as select * from t1, t2 where id = s|
|
||||
create procedure bug9841 ()
|
||||
update v1 set data = 10|
|
||||
call bug9841()|
|
||||
drop view v1|
|
||||
drop procedure bug9841|
|
||||
drop table t1,t2;
|
||||
|
@ -437,3 +437,24 @@ a+0 b+0
|
||||
2303 2
|
||||
12345 4
|
||||
drop table t1, t2;
|
||||
create table t1 (a int, b time, c tinyint, d bool, e char(10), f bit(1),
|
||||
g bit(1) NOT NULL default 1, h char(1) default 'a');
|
||||
insert into t1 set a=1;
|
||||
select hex(g), h from t1;
|
||||
hex(g) h
|
||||
1 a
|
||||
drop table t1;
|
||||
create table t1 (a int, b time, c tinyint, d bool, e char(10), f bit(1),
|
||||
g bit(1) NOT NULL default 1);
|
||||
insert into t1 set a=1;
|
||||
select hex(g) from t1;
|
||||
hex(g)
|
||||
1
|
||||
drop table t1;
|
||||
create table t1 (a int, b time, c tinyint, d bool, e char(10), f bit(1),
|
||||
h char(1) default 'a') engine=myisam;
|
||||
insert into t1 set a=1;
|
||||
select h from t1;
|
||||
h
|
||||
a
|
||||
drop table t1;
|
||||
|
@ -88,7 +88,7 @@ date numfacture expedition
|
||||
0000-00-00 00:00:00 1212 0001-00-00 00:00:00
|
||||
EXPLAIN SELECT * FROM t1 WHERE expedition='0001-00-00 00:00:00';
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 ref expedition expedition 8 const 1 Using where
|
||||
1 SIMPLE t1 ref expedition expedition 8 const 1
|
||||
drop table t1;
|
||||
create table t1 (a datetime not null, b datetime not null);
|
||||
insert into t1 values (now(), now());
|
||||
|
@ -731,7 +731,7 @@ t1 CREATE TABLE `t1` (
|
||||
`d` decimal(10,0) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
drop table t1;
|
||||
create table t1 (d decimal(65,0));
|
||||
create table t1 (d decimal(66,0));
|
||||
ERROR 42000: Incorrect column specifier for column 'd'
|
||||
CREATE TABLE t1 (i INT, d1 DECIMAL(9,2), d2 DECIMAL(9,2));
|
||||
INSERT INTO t1 VALUES (1, 101.40, 21.40), (1, -80.00, 0.00),
|
||||
|
@ -52,13 +52,13 @@ if(1, 1.1, 1.2) if(0, 1.1, 1.2) if(0.1, 1.1, 1.2) if(0, 1, 1.1) if(0, NULL, 1.2)
|
||||
show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`if(1, 1.1, 1.2)` decimal(5,1) NOT NULL default '0.0',
|
||||
`if(0, 1.1, 1.2)` decimal(5,1) NOT NULL default '0.0',
|
||||
`if(0.1, 1.1, 1.2)` decimal(5,1) NOT NULL default '0.0',
|
||||
`if(0, 1, 1.1)` decimal(5,1) NOT NULL default '0.0',
|
||||
`if(0, NULL, 1.2)` decimal(5,1) default NULL,
|
||||
`if(1, 1.1, 1.2)` decimal(2,1) NOT NULL default '0.0',
|
||||
`if(0, 1.1, 1.2)` decimal(2,1) NOT NULL default '0.0',
|
||||
`if(0.1, 1.1, 1.2)` decimal(2,1) NOT NULL default '0.0',
|
||||
`if(0, 1, 1.1)` decimal(2,1) NOT NULL default '0.0',
|
||||
`if(0, NULL, 1.2)` decimal(2,1) default NULL,
|
||||
`if(1, 0.22e1, 1.1)` double NOT NULL default '0',
|
||||
`if(1E0, 1.1, 1.2)` decimal(5,1) NOT NULL default '0.0'
|
||||
`if(1E0, 1.1, 1.2)` decimal(2,1) NOT NULL default '0.0'
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
drop table t1;
|
||||
create table t1 select nullif(1.1, 1.1), nullif(1.1, 1.2), nullif(1.1, 0.11e1), nullif(1.0, 1), nullif(1, 1.0), nullif(1, 1.1);
|
||||
@ -68,12 +68,12 @@ NULL 1.1 NULL NULL NULL 1
|
||||
show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`nullif(1.1, 1.1)` decimal(5,1) default NULL,
|
||||
`nullif(1.1, 1.2)` decimal(5,1) default NULL,
|
||||
`nullif(1.1, 0.11e1)` double(4,1) default NULL,
|
||||
`nullif(1.0, 1)` decimal(5,1) default NULL,
|
||||
`nullif(1, 1.0)` decimal(1,0) default NULL,
|
||||
`nullif(1, 1.1)` decimal(1,0) default NULL
|
||||
`nullif(1.1, 1.1)` decimal(2,1) default NULL,
|
||||
`nullif(1.1, 1.2)` decimal(2,1) default NULL,
|
||||
`nullif(1.1, 0.11e1)` decimal(2,1) default NULL,
|
||||
`nullif(1.0, 1)` decimal(2,1) default NULL,
|
||||
`nullif(1, 1.0)` int(1) default NULL,
|
||||
`nullif(1, 1.1)` int(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
drop table t1;
|
||||
create table t1 (a decimal(4,2));
|
||||
@ -174,10 +174,10 @@ create table t1 select round(15.4,-1), truncate(-5678.123451,-3), abs(-1.1), -(-
|
||||
show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`round(15.4,-1)` decimal(5,0) NOT NULL default '0',
|
||||
`truncate(-5678.123451,-3)` decimal(13,0) NOT NULL default '0',
|
||||
`abs(-1.1)` decimal(6,1) NOT NULL default '0.0',
|
||||
`-(-1.1)` decimal(7,1) NOT NULL default '0.0'
|
||||
`round(15.4,-1)` decimal(3,0) NOT NULL default '0',
|
||||
`truncate(-5678.123451,-3)` decimal(4,0) NOT NULL default '0',
|
||||
`abs(-1.1)` decimal(3,1) NOT NULL default '0.0',
|
||||
`-(-1.1)` decimal(2,1) NOT NULL default '0.0'
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
drop table t1;
|
||||
set session sql_mode='traditional';
|
||||
@ -375,7 +375,7 @@ col1
|
||||
drop table wl1612;
|
||||
select 1/3;
|
||||
1/3
|
||||
0.33333
|
||||
0.3333
|
||||
select 0.8=0.7+0.1;
|
||||
0.8=0.7+0.1
|
||||
1
|
||||
@ -398,7 +398,7 @@ select 0.07*0.07 from wl1612_1;
|
||||
0.0049
|
||||
select 0.07/0.07 from wl1612_1;
|
||||
0.07/0.07
|
||||
1.000000000
|
||||
1.000000
|
||||
drop table wl1612_1;
|
||||
create table wl1612_2 (col1 decimal(10,2), col2 numeric(10,2));
|
||||
insert into wl1612_2 values(1,1);
|
||||
@ -626,16 +626,16 @@ create table wl1612_4 (col1 int, col2 decimal(30,25), col3 numeric(30,25));
|
||||
insert into wl1612_4 values(1,0.0123456789012345678912345,0.0123456789012345678912345);
|
||||
select col2/9999999999 from wl1612_4 where col1=1;
|
||||
col2/9999999999
|
||||
0.0000000000012345678902469135781481410000000000000000000
|
||||
0.00000000000123456789024691358
|
||||
select col3/9999999999 from wl1612_4 where col1=1;
|
||||
col3/9999999999
|
||||
0.0000000000012345678902469135781481410000000000000000000
|
||||
0.00000000000123456789024691358
|
||||
select 9999999999/col2 from wl1612_4 where col1=1;
|
||||
9999999999/col2
|
||||
810000007209.00007
|
||||
810000007209.0001
|
||||
select 9999999999/col3 from wl1612_4 where col1=1;
|
||||
9999999999/col3
|
||||
810000007209.00007
|
||||
810000007209.0001
|
||||
select col2*9999999999 from wl1612_4 where col1=1;
|
||||
col2*9999999999
|
||||
123456789.0000000000111104321087655
|
||||
@ -645,16 +645,16 @@ col3*9999999999
|
||||
insert into wl1612_4 values(2,55555.0123456789012345678912345,55555.0123456789012345678912345);
|
||||
select col2/9999999999 from wl1612_4 where col1=2;
|
||||
col2/9999999999
|
||||
0.0000055555012351234402469691331481460000000000000000000
|
||||
0.00000555550123512344024696913
|
||||
select col3/9999999999 from wl1612_4 where col1=2;
|
||||
col3/9999999999
|
||||
0.0000055555012351234402469691331481460000000000000000000
|
||||
0.00000555550123512344024696913
|
||||
select 9999999999/col2 from wl1612_4 where col1=2;
|
||||
9999999999/col2
|
||||
180001.76000
|
||||
180001.7600
|
||||
select 9999999999/col3 from wl1612_4 where col1=2;
|
||||
9999999999/col3
|
||||
180001.76000
|
||||
180001.7600
|
||||
select col2*9999999999 from wl1612_4 where col1=2;
|
||||
col2*9999999999
|
||||
555550123401234.0000000000111104321087655
|
||||
@ -712,7 +712,7 @@ select .7777777777777777777777777777777777777 *
|
||||
1000000000000000000;
|
||||
.7777777777777777777777777777777777777 *
|
||||
1000000000000000000
|
||||
777777777777777777.7777777777777777777000000000000000000
|
||||
777777777777777777.777777777777777777700000000000
|
||||
select .7777777777777777777777777777777777777 - 0.1;
|
||||
.7777777777777777777777777777777777777 - 0.1
|
||||
0.6777777777777777777777777777777777777
|
||||
@ -772,10 +772,10 @@ round(-99999999999999999.999,3)
|
||||
-99999999999999999.999
|
||||
select truncate(99999999999999999999999999999999999999,31);
|
||||
truncate(99999999999999999999999999999999999999,31)
|
||||
99999999999999999999999999999999999999.000000000000000000000000000
|
||||
99999999999999999999999999999999999999.000000000000000000000000000000
|
||||
select truncate(99.999999999999999999999999999999999999,31);
|
||||
truncate(99.999999999999999999999999999999999999,31)
|
||||
99.9999999999999999999999999999999
|
||||
100.000000000000000000000000000000
|
||||
select truncate(99999999999999999999999999999999999999,-31);
|
||||
truncate(99999999999999999999999999999999999999,-31)
|
||||
99999990000000000000000000000000000000
|
||||
@ -783,7 +783,7 @@ create table t1 as select 0.5;
|
||||
show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`0.5` decimal(3,1) NOT NULL default '0.0'
|
||||
`0.5` decimal(2,1) NOT NULL default '0.0'
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
drop table t1;
|
||||
select round(1.5),round(2.5);
|
||||
@ -841,4 +841,8 @@ ERROR HY000: Incorrect decimal value: 'a59b' for column 'col1' at row 1
|
||||
drop table Sow6_2f;
|
||||
select 10.3330000000000/12.34500000;
|
||||
10.3330000000000/12.34500000
|
||||
0.8370190360469825840421223160000
|
||||
0.83701903604698258
|
||||
set sql_mode='';
|
||||
select 0/0;
|
||||
0/0
|
||||
NULL
|
||||
|
@ -565,7 +565,7 @@ a
|
||||
show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`a` decimal(19,1) NOT NULL default '0.0'
|
||||
`a` decimal(3,1) NOT NULL default '0.0'
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
drop table t1;
|
||||
create table t2 (it1 tinyint, it2 tinyint not null, i int not null, ib bigint, f float, d double, y year, da date, dt datetime, sc char(10), sv varchar(10), b blob, tx text);
|
||||
@ -792,7 +792,7 @@ d
|
||||
show create table t3;
|
||||
Table Create Table
|
||||
t3 CREATE TABLE `t3` (
|
||||
`d` decimal(19,9) default NULL
|
||||
`d` decimal(18,9) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
drop table t1,t2,t3;
|
||||
create table t1 select 1 union select -1;
|
||||
|
@ -504,7 +504,7 @@ show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` bigint(20) default NULL,
|
||||
`c2` decimal(64,30) default NULL,
|
||||
`c2` decimal(65,30) default NULL,
|
||||
`c3` longtext,
|
||||
`c4` double default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
|
@ -132,3 +132,11 @@ INSERT INTO t1 VALUES ('
|
||||
ALTER TABLE t1 ADD KEY ifword(col1);
|
||||
SELECT * FROM t1 WHERE col1='<27>' ORDER BY col1, BINARY col1;
|
||||
DROP TABLE t1;
|
||||
|
||||
#
|
||||
# Bug#9509
|
||||
#
|
||||
create table t1 (s1 char(5) character set latin1 collate latin1_german2_ci);
|
||||
insert into t1 values (0xf6) /* this is o-umlaut */;
|
||||
select * from t1 where length(s1)=1 and s1='oe';
|
||||
drop table t1;
|
||||
|
47
mysql-test/t/ctype_latin2.test
Normal file
47
mysql-test/t/ctype_latin2.test
Normal file
@ -0,0 +1,47 @@
|
||||
|
||||
# Tests with the latin1 character set
|
||||
#
|
||||
--disable_warnings
|
||||
drop table if exists t1;
|
||||
--enable_warnings
|
||||
|
||||
SET NAMES latin2;
|
||||
CREATE TABLE t1 (a char(1) character set latin2);
|
||||
INSERT INTO t1 VALUES (0x00),(0x01),(0x02),(0x03),(0x04),(0x05),(0x06),(0x07);
|
||||
INSERT INTO t1 VALUES (0x08),(0x09),(0x0A),(0x0B),(0x0C),(0x0D),(0x0E),(0x0F);
|
||||
INSERT INTO t1 VALUES (0x10),(0x11),(0x12),(0x13),(0x14),(0x15),(0x16),(0x17);
|
||||
INSERT INTO t1 VALUES (0x18),(0x19),(0x1A),(0x1B),(0x1C),(0x1D),(0x1E),(0x1F);
|
||||
INSERT INTO t1 VALUES (0x20),(0x21),(0x22),(0x23),(0x24),(0x25),(0x26),(0x27);
|
||||
INSERT INTO t1 VALUES (0x28),(0x29),(0x2A),(0x2B),(0x2C),(0x2D),(0x2E),(0x2F);
|
||||
INSERT INTO t1 VALUES (0x30),(0x31),(0x32),(0x33),(0x34),(0x35),(0x36),(0x37);
|
||||
INSERT INTO t1 VALUES (0x38),(0x39),(0x3A),(0x3B),(0x3C),(0x3D),(0x3E),(0x3F);
|
||||
INSERT INTO t1 VALUES (0x40),(0x41),(0x42),(0x43),(0x44),(0x45),(0x46),(0x47);
|
||||
INSERT INTO t1 VALUES (0x48),(0x49),(0x4A),(0x4B),(0x4C),(0x4D),(0x4E),(0x4F);
|
||||
INSERT INTO t1 VALUES (0x50),(0x51),(0x52),(0x53),(0x54),(0x55),(0x56),(0x57);
|
||||
INSERT INTO t1 VALUES (0x58),(0x59),(0x5A),(0x5B),(0x5C),(0x5D),(0x5E),(0x5F);
|
||||
INSERT INTO t1 VALUES (0x60),(0x61),(0x62),(0x63),(0x64),(0x65),(0x66),(0x67);
|
||||
INSERT INTO t1 VALUES (0x68),(0x69),(0x6A),(0x6B),(0x6C),(0x6D),(0x6E),(0x6F);
|
||||
INSERT INTO t1 VALUES (0x70),(0x71),(0x72),(0x73),(0x74),(0x75),(0x76),(0x77);
|
||||
INSERT INTO t1 VALUES (0x78),(0x79),(0x7A),(0x7B),(0x7C),(0x7D),(0x7E),(0x7F);
|
||||
INSERT INTO t1 VALUES (0x80),(0x81),(0x82),(0x83),(0x84),(0x85),(0x86),(0x87);
|
||||
INSERT INTO t1 VALUES (0x88),(0x89),(0x8A),(0x8B),(0x8C),(0x8D),(0x8E),(0x8F);
|
||||
INSERT INTO t1 VALUES (0x90),(0x91),(0x92),(0x93),(0x94),(0x95),(0x96),(0x97);
|
||||
INSERT INTO t1 VALUES (0x98),(0x99),(0x9A),(0x9B),(0x9C),(0x9D),(0x9E),(0x9F);
|
||||
INSERT INTO t1 VALUES (0xA0),(0xA1),(0xA2),(0xA3),(0xA4),(0xA5),(0xA6),(0xA7);
|
||||
INSERT INTO t1 VALUES (0xA8),(0xA9),(0xAA),(0xAB),(0xAC),(0xAD),(0xAE),(0xAF);
|
||||
INSERT INTO t1 VALUES (0xB0),(0xB1),(0xB2),(0xB3),(0xB4),(0xB5),(0xB6),(0xB7);
|
||||
INSERT INTO t1 VALUES (0xB8),(0xB9),(0xBA),(0xBB),(0xBC),(0xBD),(0xBE),(0xBF);
|
||||
INSERT INTO t1 VALUES (0xC0),(0xC1),(0xC2),(0xC3),(0xC4),(0xC5),(0xC6),(0xC7);
|
||||
INSERT INTO t1 VALUES (0xC8),(0xC9),(0xCA),(0xCB),(0xCC),(0xCD),(0xCE),(0xCF);
|
||||
INSERT INTO t1 VALUES (0xD0),(0xD1),(0xD2),(0xD3),(0xD4),(0xD5),(0xD6),(0xD7);
|
||||
INSERT INTO t1 VALUES (0xD8),(0xD9),(0xDA),(0xDB),(0xDC),(0xDD),(0xDE),(0xDF);
|
||||
INSERT INTO t1 VALUES (0xE0),(0xE1),(0xE2),(0xE3),(0xE4),(0xE5),(0xE6),(0xE7);
|
||||
INSERT INTO t1 VALUES (0xE8),(0xE9),(0xEA),(0xEB),(0xEC),(0xED),(0xEE),(0xEF);
|
||||
INSERT INTO t1 VALUES (0xF0),(0xF1),(0xF2),(0xF3),(0xF4),(0xF5),(0xF6),(0xF7);
|
||||
INSERT INTO t1 VALUES (0xF8),(0xF9),(0xFA),(0xFB),(0xFC),(0xFD),(0xFE),(0xFF);
|
||||
|
||||
#
|
||||
# Bug#6504 upper/lower conversion bug
|
||||
#
|
||||
SELECT hex(a) ha, hex(lower(a)) hl, hex(upper(a)) hu,
|
||||
a, lower(a) l, upper(a) u from t1 order by ha;
|
@ -6,6 +6,9 @@
|
||||
drop table if exists t1,t2;
|
||||
--enable_warnings
|
||||
|
||||
set @sav_dpi= @@div_precision_increment;
|
||||
set div_precision_increment= 5;
|
||||
show variables like 'div_precision_increment';
|
||||
create table t1 (grp int, a bigint unsigned, c char(10) not null);
|
||||
insert into t1 values (1,1,"a");
|
||||
insert into t1 values (2,2,"b");
|
||||
@ -623,4 +626,5 @@ SELECT b/c as v, SUM(a) FROM t1 GROUP BY v;
|
||||
SELECT SUM(a) FROM t1 GROUP BY b/c;
|
||||
|
||||
DROP TABLE t1;
|
||||
set div_precision_increment= @sav_dpi;
|
||||
|
||||
|
@ -209,3 +209,9 @@ select count(*)
|
||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||
drop table if exists t1_c,t2_c,t3_c,t4_c,t5_c,t6_c,t7_c,t8_c,t9_c;
|
||||
--enable_warnings
|
||||
|
||||
#
|
||||
# Test BUG#10287
|
||||
#
|
||||
|
||||
--exec $NDB_TOOLS_DIR/ndb_select_all -d sys -D , SYSTAB_0 | grep 520093696
|
||||
|
@ -2,6 +2,10 @@
|
||||
drop table if exists t1,t2;
|
||||
--enable_warnings
|
||||
|
||||
set @sav_dpi= @@div_precision_increment;
|
||||
set div_precision_increment= 5;
|
||||
show variables like 'div_precision_increment';
|
||||
|
||||
create table t1 (product varchar(32), country_id int not null, year int, profit int);
|
||||
insert into t1 values ( 'Computer', 2,2000, 1200),
|
||||
( 'TV', 1, 1999, 150),
|
||||
@ -191,3 +195,4 @@ SELECT a, SUM(a) m FROM t1 GROUP BY a WITH ROLLUP;
|
||||
SELECT * FROM ( SELECT a, SUM(a) m FROM t1 GROUP BY a WITH ROLLUP ) t2;
|
||||
|
||||
DROP TABLE t1;
|
||||
set div_precision_increment= @sav_dpi;
|
||||
|
@ -587,3 +587,77 @@ deallocate prepare stmt|
|
||||
drop procedure p1|
|
||||
drop table t1|
|
||||
delimiter ;|
|
||||
|
||||
#
|
||||
# Bug#9096 "select doesn't return all matched records if prepared statements
|
||||
# is used"
|
||||
# The bug was is bad co-operation of the optimizer's algorithm which determines
|
||||
# which keys can be used to execute a query, constants propagation
|
||||
# part of the optimizer and parameter markers used by prepared statements.
|
||||
|
||||
drop table if exists t1;
|
||||
create table t1 (c1 int(11) not null, c2 int(11) not null,
|
||||
primary key (c1,c2), key c2 (c2), key c1 (c1));
|
||||
|
||||
insert into t1 values (200887, 860);
|
||||
insert into t1 values (200887, 200887);
|
||||
|
||||
select * from t1 where (c1=200887 and c2=200887) or c2=860;
|
||||
|
||||
prepare stmt from
|
||||
"select * from t1 where (c1=200887 and c2=200887) or c2=860";
|
||||
execute stmt;
|
||||
prepare stmt from
|
||||
"select * from t1 where (c1=200887 and c2=?) or c2=?";
|
||||
set @a=200887, @b=860;
|
||||
# this query did not return all matching rows
|
||||
execute stmt using @a, @b;
|
||||
deallocate prepare stmt;
|
||||
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# Bug#9777 - another occurrence of the problem stated in Bug#9096:
|
||||
# we can not compare basic constants by their names, because a placeholder
|
||||
# is a basic constant while his name is always '?'
|
||||
#
|
||||
|
||||
create table t1 (
|
||||
id bigint(20) not null auto_increment,
|
||||
code varchar(20) character set utf8 collate utf8_bin not null default '',
|
||||
company_name varchar(250) character set utf8 collate utf8_bin default null,
|
||||
setup_mode tinyint(4) default null,
|
||||
start_date datetime default null,
|
||||
primary key (id), unique key code (code)
|
||||
);
|
||||
|
||||
create table t2 (
|
||||
id bigint(20) not null auto_increment,
|
||||
email varchar(250) character set utf8 collate utf8_bin default null,
|
||||
name varchar(250) character set utf8 collate utf8_bin default null,
|
||||
t1_id bigint(20) default null,
|
||||
password varchar(250) character set utf8 collate utf8_bin default null,
|
||||
primary_contact tinyint(4) not null default '0',
|
||||
email_opt_in tinyint(4) not null default '1',
|
||||
primary key (id), unique key email (email), key t1_id (t1_id),
|
||||
constraint t2_fk1 foreign key (t1_id) references t1 (id)
|
||||
);
|
||||
|
||||
insert into t1 values
|
||||
(1, 'demo', 'demo s', 0, current_date()),
|
||||
(2, 'code2', 'name 2', 0, current_date()),
|
||||
(3, 'code3', 'name 3', 0, current_date());
|
||||
|
||||
insert into t2 values
|
||||
(2, 'email1', 'name1', 3, 'password1', 0, 0),
|
||||
(3, 'email2', 'name1', 1, 'password2', 1, 0),
|
||||
(5, 'email3', 'name3', 2, 'password3', 0, 0);
|
||||
|
||||
prepare stmt from 'select t2.id from t2, t1 where (t1.id=? and t2.t1_id=t1.id)';
|
||||
set @a=1;
|
||||
execute stmt using @a;
|
||||
|
||||
select t2.id from t2, t1 where (t1.id=1 and t2.t1_id=t1.id);
|
||||
|
||||
deallocate prepare stmt;
|
||||
drop table t1, t2;
|
||||
|
1
mysql-test/t/rpl_sp-master.opt
Normal file
1
mysql-test/t/rpl_sp-master.opt
Normal file
@ -0,0 +1 @@
|
||||
--log_bin_trust_routine_creators=0
|
1
mysql-test/t/rpl_sp-slave.opt
Normal file
1
mysql-test/t/rpl_sp-slave.opt
Normal file
@ -0,0 +1 @@
|
||||
--log_bin_trust_routine_creators=0
|
234
mysql-test/t/rpl_sp.test
Normal file
234
mysql-test/t/rpl_sp.test
Normal file
@ -0,0 +1,234 @@
|
||||
# Test of replication of stored procedures (WL#2146 for MySQL 5.0)
|
||||
|
||||
source include/master-slave.inc;
|
||||
|
||||
# First let's test replication of current_user() (that's a related thing)
|
||||
# we need a db != test, where we don't have automatic grants
|
||||
create database if not exists mysqltest1;
|
||||
use mysqltest1;
|
||||
create table t1 (a varchar(100));
|
||||
sync_slave_with_master;
|
||||
use mysqltest1;
|
||||
|
||||
# ********************** PART 1 : STORED PROCEDURES ***************
|
||||
|
||||
# Does the same proc as on master get inserted into mysql.proc ?
|
||||
# (same definer, same properties...)
|
||||
|
||||
connection master;
|
||||
# cleanup
|
||||
--disable_warnings
|
||||
drop procedure if exists foo;
|
||||
drop procedure if exists foo2;
|
||||
drop procedure if exists foo3;
|
||||
drop procedure if exists foo4;
|
||||
drop procedure if exists bar;
|
||||
drop function if exists fn1;
|
||||
--enable_warnings
|
||||
|
||||
delimiter |;
|
||||
--error 1418; # not deterministic
|
||||
create procedure foo()
|
||||
begin
|
||||
declare b int;
|
||||
set b = 8;
|
||||
insert into t1 values (b);
|
||||
insert into t1 values (unix_timestamp());
|
||||
end|
|
||||
|
||||
--replace_column 2 # 5 #
|
||||
show binlog events from 98| # check that not there
|
||||
|
||||
create procedure foo() deterministic
|
||||
begin
|
||||
declare b int;
|
||||
set b = 8;
|
||||
insert into t1 values (b);
|
||||
insert into t1 values (unix_timestamp());
|
||||
end|
|
||||
delimiter ;|
|
||||
|
||||
# we replace columns having times
|
||||
# (even with fixed timestamp displayed time may changed based on TZ)
|
||||
--replace_result localhost.localdomain localhost 127.0.0.1 localhost
|
||||
--replace_column 13 # 14 #
|
||||
select * from mysql.proc where name='foo' and db='mysqltest1';
|
||||
sync_slave_with_master;
|
||||
--replace_result localhost.localdomain localhost 127.0.0.1 localhost
|
||||
--replace_column 13 # 14 #
|
||||
select * from mysql.proc where name='foo' and db='mysqltest1';
|
||||
|
||||
# Now when we call it, does the CALL() get into binlog,
|
||||
# or the substatements?
|
||||
connection master;
|
||||
# see if timestamp used in SP on slave is same as on master
|
||||
set timestamp=1000000000;
|
||||
call foo();
|
||||
--replace_column 2 # 5 #
|
||||
show binlog events from 308;
|
||||
select * from t1;
|
||||
sync_slave_with_master;
|
||||
select * from t1;
|
||||
|
||||
# Now a SP which is supposed to not update tables (CALL should not be
|
||||
# binlogged) as it's "read sql data", so should not give error even if
|
||||
# non-deterministic.
|
||||
|
||||
connection master;
|
||||
delete from t1;
|
||||
create procedure foo2()
|
||||
not deterministic
|
||||
reads sql data
|
||||
select * from mysqltest1.t1;
|
||||
call foo2();
|
||||
# verify CALL is not in binlog
|
||||
--replace_column 2 # 5 #
|
||||
show binlog events from 605;
|
||||
|
||||
--error 1418;
|
||||
alter procedure foo2 contains sql;
|
||||
|
||||
# SP with definer's right
|
||||
|
||||
drop table t1;
|
||||
create table t1 (a int);
|
||||
create table t2 like t1;
|
||||
|
||||
create procedure foo3()
|
||||
deterministic
|
||||
insert into t1 values (15);
|
||||
|
||||
# let's create a non-privileged user
|
||||
grant CREATE ROUTINE, EXECUTE on mysqltest1.* to "zedjzlcsjhd"@127.0.0.1;
|
||||
grant SELECT on mysqltest1.t1 to "zedjzlcsjhd"@127.0.0.1;
|
||||
grant SELECT, INSERT on mysqltest1.t2 to "zedjzlcsjhd"@127.0.0.1;
|
||||
|
||||
connect (con1,127.0.0.1,zedjzlcsjhd,,mysqltest1,$MASTER_MYPORT,);
|
||||
connection con1;
|
||||
|
||||
--error 1419; # only full-global-privs user can create a routine
|
||||
create procedure foo4()
|
||||
deterministic
|
||||
insert into t1 values (10);
|
||||
|
||||
connection master;
|
||||
set global log_bin_trust_routine_creators=1;
|
||||
connection con1;
|
||||
|
||||
delimiter |;
|
||||
create procedure foo4()
|
||||
deterministic
|
||||
begin
|
||||
insert into t2 values(3);
|
||||
insert into t1 values (5);
|
||||
end|
|
||||
|
||||
delimiter ;|
|
||||
|
||||
# I add ,0 so that it does not print the error in the test output,
|
||||
# because this error is hostname-dependent
|
||||
--error 1142,0;
|
||||
call foo4(); # invoker has no INSERT grant on table => failure
|
||||
show warnings;
|
||||
|
||||
connection master;
|
||||
call foo3(); # success (definer == root)
|
||||
show warnings;
|
||||
|
||||
--replace_result localhost.localdomain localhost 127.0.0.1 localhost
|
||||
--error 1142,0;
|
||||
call foo4(); # definer's rights => failure
|
||||
show warnings;
|
||||
|
||||
# we test replication of ALTER PROCEDURE
|
||||
alter procedure foo4 sql security invoker;
|
||||
call foo4(); # invoker's rights => success
|
||||
show warnings;
|
||||
|
||||
# Check that only successful CALLs are in binlog
|
||||
--replace_column 2 # 5 #
|
||||
show binlog events from 841;
|
||||
|
||||
# Note that half-failed CALLs are not in binlog, which is a known
|
||||
# bug. If we compare t2 on master and slave we see they differ:
|
||||
|
||||
select * from t1;
|
||||
select * from t2;
|
||||
sync_slave_with_master;
|
||||
select * from t1;
|
||||
select * from t2;
|
||||
select if(compte<>3,"this is broken but documented","this unexpectedly works?") from (select count(*) as compte from t2) as aggreg;
|
||||
|
||||
# Test of DROP PROCEDURE
|
||||
|
||||
--replace_result localhost.localdomain localhost 127.0.0.1 localhost
|
||||
--replace_column 13 # 14 #
|
||||
select * from mysql.proc where name="foo4" and db='mysqltest1';
|
||||
connection master;
|
||||
drop procedure foo4;
|
||||
select * from mysql.proc where name="foo4" and db='mysqltest1';
|
||||
sync_slave_with_master;
|
||||
select * from mysql.proc where name="foo4" and db='mysqltest1';
|
||||
|
||||
# ********************** PART 2 : FUNCTIONS ***************
|
||||
|
||||
connection master;
|
||||
drop procedure foo;
|
||||
drop procedure foo2;
|
||||
drop procedure foo3;
|
||||
|
||||
delimiter |;
|
||||
create function fn1(x int)
|
||||
returns int
|
||||
deterministic
|
||||
begin
|
||||
insert into t1 values (x);
|
||||
return x+2;
|
||||
end|
|
||||
|
||||
delimiter ;|
|
||||
delete t1,t2 from t1,t2;
|
||||
select fn1(20);
|
||||
insert into t2 values(fn1(21));
|
||||
select * from t1;
|
||||
select * from t2;
|
||||
sync_slave_with_master;
|
||||
select * from t1;
|
||||
select if(compte<>1,"this is broken but documented","this unexpectedly works?") from (select count(*) as compte from t1 where a=20) as aggreg;
|
||||
select * from t2;
|
||||
|
||||
connection master;
|
||||
delimiter |;
|
||||
|
||||
drop function fn1;
|
||||
|
||||
create function fn1()
|
||||
returns int
|
||||
deterministic
|
||||
begin
|
||||
return unix_timestamp();
|
||||
end|
|
||||
delimiter ;|
|
||||
delete from t1;
|
||||
set timestamp=1000000000;
|
||||
insert into t1 values(fn1());
|
||||
|
||||
--replace_result localhost.localdomain localhost 127.0.0.1 localhost
|
||||
--replace_column 13 # 14 #
|
||||
select * from mysql.proc where db='mysqltest1';
|
||||
select * from t1;
|
||||
|
||||
sync_slave_with_master;
|
||||
use mysqltest1;
|
||||
select * from t1;
|
||||
--replace_result localhost.localdomain localhost 127.0.0.1 localhost
|
||||
--replace_column 13 # 14 #
|
||||
select * from mysql.proc where db='mysqltest1';
|
||||
|
||||
|
||||
# Clean up
|
||||
connection master;
|
||||
drop function fn1;
|
||||
drop database mysqltest1;
|
||||
drop user "zedjzlcsjhd"@127.0.0.1;
|
||||
sync_slave_with_master;
|
@ -3741,6 +3741,25 @@ call bug7293 ('secrete')|
|
||||
drop procedure bug7293|
|
||||
delete from t1|
|
||||
|
||||
|
||||
#
|
||||
# BUG#9841: Unexpected read lock when trying to update a view in a
|
||||
# stored procedure
|
||||
#
|
||||
--disable_warnings
|
||||
drop procedure if exists bug9841|
|
||||
drop view if exists v1|
|
||||
--enable_warnings
|
||||
|
||||
create view v1 as select * from t1, t2 where id = s|
|
||||
create procedure bug9841 ()
|
||||
update v1 set data = 10|
|
||||
call bug9841()|
|
||||
|
||||
drop view v1|
|
||||
drop procedure bug9841|
|
||||
|
||||
|
||||
#
|
||||
# BUG#NNNN: New bug synopsis
|
||||
#
|
||||
|
@ -140,3 +140,25 @@ drop table t1;
|
||||
create table t1 select * from t2;
|
||||
select a+0, b+0 from t1;
|
||||
drop table t1, t2;
|
||||
|
||||
#
|
||||
# Bug #10179: problem with NULLs and default values
|
||||
#
|
||||
|
||||
create table t1 (a int, b time, c tinyint, d bool, e char(10), f bit(1),
|
||||
g bit(1) NOT NULL default 1, h char(1) default 'a');
|
||||
insert into t1 set a=1;
|
||||
select hex(g), h from t1;
|
||||
drop table t1;
|
||||
|
||||
create table t1 (a int, b time, c tinyint, d bool, e char(10), f bit(1),
|
||||
g bit(1) NOT NULL default 1);
|
||||
insert into t1 set a=1;
|
||||
select hex(g) from t1;
|
||||
drop table t1;
|
||||
|
||||
create table t1 (a int, b time, c tinyint, d bool, e char(10), f bit(1),
|
||||
h char(1) default 'a') engine=myisam;
|
||||
insert into t1 set a=1;
|
||||
select h from t1;
|
||||
drop table t1;
|
||||
|
@ -308,7 +308,7 @@ create table t1 (d decimal);
|
||||
show create table t1;
|
||||
drop table t1;
|
||||
--error 1063
|
||||
create table t1 (d decimal(65,0));
|
||||
create table t1 (d decimal(66,0));
|
||||
|
||||
#
|
||||
# Test example from manual
|
||||
|
@ -869,3 +869,10 @@ drop table Sow6_2f;
|
||||
# bug#9501
|
||||
#
|
||||
select 10.3330000000000/12.34500000;
|
||||
|
||||
#
|
||||
# Bug #10404
|
||||
#
|
||||
|
||||
set sql_mode='';
|
||||
select 0/0;
|
||||
|
@ -24,6 +24,24 @@
|
||||
fun:pthread_create
|
||||
}
|
||||
|
||||
{
|
||||
pthread allocate_dtv memory loss second
|
||||
Memcheck:Leak
|
||||
fun:calloc
|
||||
fun:allocate_dtv
|
||||
fun:_dl_allocate_tls
|
||||
fun:pthread_create*
|
||||
}
|
||||
|
||||
{
|
||||
pthread allocate_dtv memory loss second
|
||||
Memcheck:Leak
|
||||
fun:calloc
|
||||
fun:allocate_dtv
|
||||
fun:_dl_allocate_tls
|
||||
fun:pthread_create*
|
||||
}
|
||||
|
||||
{
|
||||
pthread memalign memory loss
|
||||
Memcheck:Leak
|
||||
@ -33,6 +51,28 @@
|
||||
fun:pthread_create
|
||||
}
|
||||
|
||||
{
|
||||
pthread strstr uninit
|
||||
Memcheck:Cond
|
||||
fun:strstr
|
||||
obj:/lib/tls/libpthread.so.*
|
||||
obj:/lib/tls/libpthread.so.*
|
||||
fun:call_init
|
||||
fun:_dl_init
|
||||
obj:/lib/ld-*.so
|
||||
}
|
||||
|
||||
{
|
||||
pthread strstr uninit
|
||||
Memcheck:Cond
|
||||
fun:strstr
|
||||
obj:/lib/tls/libpthread.so.*
|
||||
obj:/lib/tls/libpthread.so.*
|
||||
fun:call_init
|
||||
fun:_dl_init
|
||||
obj:/lib/ld-*.so
|
||||
}
|
||||
|
||||
{
|
||||
pthread errno
|
||||
Memcheck:Leak
|
||||
|
Reference in New Issue
Block a user