~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/t/round.test

  • Committer: Monty Taylor
  • Date: 2008-07-05 17:07:46 UTC
  • mto: This revision was merged to the branch mainline in revision 63.
  • Revision ID: monty@inaugust.com-20080705170746-8aq11u9fuwtfwy85
Removed my_alarm. Made my_lock only do the non-alarm version. Moved my_lock to MyISAM where it belongs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
DROP TABLE IF EXISTS t1;
3
3
--enable_warnings
4
4
 
5
 
CREATE TABLE t1 (sint8 int not null);
 
5
CREATE TABLE t1 (sint8 tinyint not null);
6
6
INSERT INTO t1 VALUES ('0.1');
7
7
INSERT INTO t1 VALUES ('0.5');
8
8
INSERT INTO t1 VALUES ('127.4');
16
16
SELECT * FROM t1;
17
17
DROP TABLE t1;
18
18
 
19
 
CREATE TABLE t1 (uint8 int not null);
 
19
CREATE TABLE t1 (uint8 tinyint unsigned not null);
20
20
INSERT INTO t1 VALUES ('0.1');
21
21
INSERT INTO t1 VALUES ('0.5');
22
22
INSERT INTO t1 VALUES ('127.4');
29
29
DROP TABLE t1;
30
30
 
31
31
 
32
 
CREATE TABLE t1 (sint16 int not null);
 
32
CREATE TABLE t1 (sint16 smallint not null);
33
33
INSERT INTO t1 VALUES ('0.1');
34
34
INSERT INTO t1 VALUES ('0.5');
35
35
INSERT INTO t1 VALUES ('32767.4');
44
44
DROP TABLE t1;
45
45
 
46
46
 
47
 
CREATE TABLE t1 (uint16 int not null);
 
47
CREATE TABLE t1 (uint16 smallint unsigned not null);
48
48
INSERT INTO t1 VALUES ('0.1');
49
49
INSERT INTO t1 VALUES ('0.5');
50
50
INSERT INTO t1 VALUES ('32767.4');
70
70
SELECT * FROM t1;
71
71
DROP TABLE t1;
72
72
 
73
 
CREATE TABLE t1 (uint24 mediumint not null);
 
73
CREATE TABLE t1 (uint24 mediumint unsigned not null);
74
74
INSERT INTO t1 VALUES ('0.1');
75
75
INSERT INTO t1 VALUES ('0.5');
76
76
INSERT INTO t1 VALUES ('8388607.4');
96
96
SELECT * FROM t1;
97
97
DROP TABLE t1;
98
98
 
99
 
CREATE TABLE t1 (uint64 bigint not null);
 
99
CREATE TABLE t1 (uint64 bigint unsigned not null);
100
100
INSERT INTO t1 VALUES ('0.1');
101
101
INSERT INTO t1 VALUES ('0.5');
102
102
INSERT INTO t1 VALUES ('9223372036854775807.4');