~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/mysql.result

  • Committer: Monty Taylor
  • Date: 2009-04-14 19:16:51 UTC
  • mto: (997.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 994.
  • Revision ID: mordred@inaugust.com-20090414191651-ltbww6hpqks8k7qk
Clarified instructions in README.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
a
19
19
1
20
20
drop table t1;
 
21
create table t1(a int);
 
22
lock tables t1 write;
 
23
database()
 
24
test
 
25
unlock tables;
 
26
drop table t1;
21
27
+-------------------+
22
28
| __tañgè Ñãmé      |
23
29
+-------------------+
39
45
+------+------+---------------------------+
40
46
i       j       k
41
47
NULL    1       NULL
42
 
Field   Type    Null    Default Default_is_NULL On_Update
43
 
i       INTEGER TRUE            TRUE    
44
 
j       INTEGER FALSE           FALSE   
45
 
k       INTEGER TRUE            TRUE    
 
48
Field   Type    Null    Key     Default Extra
 
49
i       int     YES             NULL    
 
50
j       int     NO              NULL    
 
51
k       int     YES             NULL    
46
52
+------+---+------+
47
53
| i    | j | k    |
48
54
+------+---+------+
49
55
| NULL | 1 | NULL | 
50
56
+------+---+------+
51
 
+-------+---------+-------+---------+-----------------+-----------+
52
 
| Field | Type    | Null  | Default | Default_is_NULL | On_Update |
53
 
+-------+---------+-------+---------+-----------------+-----------+
54
 
| i     | INTEGER | TRUE  |         | TRUE            |           | 
55
 
| j     | INTEGER | FALSE |         | FALSE           |           | 
56
 
| k     | INTEGER | TRUE  |         | TRUE            |           | 
57
 
+-------+---------+-------+---------+-----------------+-----------+
 
57
+-------+------+------+-----+---------+-------+
 
58
| Field | Type | Null | Key | Default | Extra |
 
59
+-------+------+------+-----+---------+-------+
 
60
| i     | int  | YES  |     | NULL    |       | 
 
61
| j     | int  | NO   |     | NULL    |       | 
 
62
| k     | int  | YES  |     | NULL    |       | 
 
63
+-------+------+------+-----+---------+-------+
58
64
i       s1
59
65
1       x
60
66
2       NULL
74
80
| NULL        | 
75
81
+-------------+
76
82
create table t1(a int, b varchar(255), c int);
77
 
Field   Type    Null    Default Default_is_NULL On_Update
78
 
a       INTEGER TRUE            TRUE    
79
 
b       VARCHAR TRUE            TRUE    
80
 
c       INTEGER TRUE            TRUE    
81
 
Field   Type    Null    Default Default_is_NULL On_Update
82
 
a       INTEGER TRUE            TRUE    
83
 
b       VARCHAR TRUE            TRUE    
84
 
c       INTEGER TRUE            TRUE    
 
83
Field   Type    Null    Key     Default Extra
 
84
a       int     YES             NULL    
 
85
b       varchar(255)    YES             NULL    
 
86
c       int     YES             NULL    
 
87
Field   Type    Null    Key     Default Extra
 
88
a       int     YES             NULL    
 
89
b       varchar(255)    YES             NULL    
 
90
c       int     YES             NULL    
85
91
drop table t1;
86
92
1
87
93
1