~danielpvolpato/mysql-server/parallel-mysqldump

« back to all changes in this revision

Viewing changes to mysql-test/suite/funcs_1/r/myisam_trig_03.result

Merge from main 5.1 to 5.1-build

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION';
1
2
USE test;
2
 
drop table if exists tb3 ;
 
3
drop table if exists tb3;
3
4
create table tb3 (
4
5
f118 char not null DEFAULT 'a',
5
6
f119 char binary not null DEFAULT b'101',
6
7
f120 char ascii not null DEFAULT b'101',
7
 
f121 tinytext,
8
 
f122 text,
9
 
f123 mediumtext,
10
 
f124 longtext unicode,
11
 
f125 tinyblob,
12
 
f126 blob,
13
 
f127 mediumblob,
14
 
f128 longblob,
 
8
f121 char(50),
 
9
f122 char(50),
15
10
f129 binary not null DEFAULT b'101',
16
11
f130 tinyint not null DEFAULT 99,
17
12
f131 tinyint unsigned not null DEFAULT 99,
59
54
f173 numeric unsigned zerofill,
60
55
f174 numeric (0),
61
56
f175 numeric (64)
62
 
) Engine = myisam;
 
57
) engine = <engine_to_be_used>;
63
58
Warnings:
64
59
Note    1265    Data truncated for column 'f150' at row 1
65
60
Note    1265    Data truncated for column 'f151' at row 1
66
61
Note    1265    Data truncated for column 'f152' at row 1
67
 
load data infile '<MYSQLTEST_VARDIR>/std_data_ln/funcs_1/myisam_tb3.txt'
68
 
into table tb3;
69
62
 
70
63
Testcase 3.5.3:
71
64
---------------
72
65
drop database if exists priv_db;
73
66
create database priv_db;
74
67
use priv_db;
75
 
create table t1 (f1 char(20)) engine= myisam;
 
68
create table t1 (f1 char(20)) engine= <engine_to_be_used>;
76
69
create User test_noprivs@localhost;
77
70
set password for test_noprivs@localhost = password('PWD');
78
71
create User test_yesprivs@localhost;
608
601
use priv_db;
609
602
drop table if exists t1;
610
603
drop table if exists t2;
611
 
create table t1 (f1 int) engine= myisam;
612
 
create table t2 (f2 int) engine= myisam;
 
604
create table t1 (f1 int) engine= <engine_to_be_used>;
 
605
create table t2 (f2 int) engine= <engine_to_be_used>;
613
606
revoke ALL PRIVILEGES, GRANT OPTION FROM test_yesprivs@localhost;
614
607
grant TRIGGER on *.* to test_yesprivs@localhost;
615
608
grant SELECT, UPDATE on priv_db.t1 to test_yesprivs@localhost;
698
691
drop user test_yesprivs@localhost;
699
692
drop user test_noprivs@localhost;
700
693
drop user test_noprivs;
701
 
DROP TABLE test.tb3;
 
694
use test;
 
695
drop table tb3;