summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/engines/funcs/r/de_truncate.result
blob: b4e2e0770ade1a5ad6013458b3b3647d19da381e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
DROP TABLE IF EXISTS t1;
CREATE TABLE t1(c1 CHAR(10) NOT NULL);
INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
TRUNCATE   t1 ;
SELECT * FROM t1 ORDER BY c1;
c1
DROP TABLE t1;
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL);
INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
TRUNCATE   t1 ;
SELECT * FROM t1 ORDER BY c1;
c1
DROP TABLE t1;
CREATE TABLE t1(c1 BINARY(10) NOT NULL);
INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
TRUNCATE   t1 ;
SELECT * FROM t1 ORDER BY c1;
c1
DROP TABLE t1;
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL);
INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
TRUNCATE   t1 ;
SELECT * FROM t1 ORDER BY c1;
c1
DROP TABLE t1;
CREATE TABLE t1(c1 CHAR(10) NOT NULL);
INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
TRUNCATE TABLE t1 ;
SELECT * FROM t1 ORDER BY c1;
c1
DROP TABLE t1;
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL);
INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
TRUNCATE TABLE t1 ;
SELECT * FROM t1 ORDER BY c1;
c1
DROP TABLE t1;
CREATE TABLE t1(c1 BINARY(10) NOT NULL);
INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
TRUNCATE TABLE t1 ;
SELECT * FROM t1 ORDER BY c1;
c1
DROP TABLE t1;
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL);
INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
TRUNCATE TABLE t1 ;
SELECT * FROM t1 ORDER BY c1;
c1
DROP TABLE t1;