~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/mysql.result

  • Committer: Monty Taylor
  • Date: 2009-10-06 19:14:39 UTC
  • mfrom: (1130.2.18 plugin-base-class)
  • mto: This revision was merged to the branch mainline in revision 1184.
  • Revision ID: mordred@inaugust.com-20091006191439-fd1vvlp22654l3k3
Merged latest plugin-base-class.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
+------+------+---------------------------+
40
40
i       j       k
41
41
NULL    1       NULL
42
 
Field   Type    Null    Default Default_is_NULL On_Update
43
 
i       INTEGER YES             YES     
44
 
j       INTEGER NO              NO      
45
 
k       INTEGER YES             YES     
 
42
Field   Type    Null    Key     Default Extra
 
43
i       int     YES             NULL    
 
44
j       int     NO              NULL    
 
45
k       int     YES             NULL    
46
46
+------+---+------+
47
47
| i    | j | k    |
48
48
+------+---+------+
49
49
| NULL | 1 | NULL | 
50
50
+------+---+------+
51
 
+-------+---------+------+---------+-----------------+-----------+
52
 
| Field | Type    | Null | Default | Default_is_NULL | On_Update |
53
 
+-------+---------+------+---------+-----------------+-----------+
54
 
| i     | INTEGER | YES  |         | YES             |           | 
55
 
| j     | INTEGER | NO   |         | NO              |           | 
56
 
| k     | INTEGER | YES  |         | YES             |           | 
57
 
+-------+---------+------+---------+-----------------+-----------+
 
51
+-------+------+------+-----+---------+-------+
 
52
| Field | Type | Null | Key | Default | Extra |
 
53
+-------+------+------+-----+---------+-------+
 
54
| i     | int  | YES  |     | NULL    |       | 
 
55
| j     | int  | NO   |     | NULL    |       | 
 
56
| k     | int  | YES  |     | NULL    |       | 
 
57
+-------+------+------+-----+---------+-------+
58
58
i       s1
59
59
1       x
60
60
2       NULL
74
74
| NULL        | 
75
75
+-------------+
76
76
create table t1(a int, b varchar(255), c int);
77
 
Field   Type    Null    Default Default_is_NULL On_Update
78
 
a       INTEGER YES             YES     
79
 
b       VARCHAR YES             YES     
80
 
c       INTEGER YES             YES     
81
 
Field   Type    Null    Default Default_is_NULL On_Update
82
 
a       INTEGER YES             YES     
83
 
b       VARCHAR YES             YES     
84
 
c       INTEGER YES             YES     
 
77
Field   Type    Null    Key     Default Extra
 
78
a       int     YES             NULL    
 
79
b       varchar(255)    YES             NULL    
 
80
c       int     YES             NULL    
 
81
Field   Type    Null    Key     Default Extra
 
82
a       int     YES             NULL    
 
83
b       varchar(255)    YES             NULL    
 
84
c       int     YES             NULL    
85
85
drop table t1;
86
86
1
87
87
1
88
88
ERROR 1064 (42000) at line 4: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near '' at line 1
89
 
ERROR: USE must be followed by a schema name
 
89
ERROR: USE must be followed by a database name
90
90
create table t17583 (a int);
91
91
insert into t17583 (a) values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
92
92
insert into t17583 select a from t17583;
104
104
Test connect with dbname only => new dbname, old hostname
105
105
ERROR 1064 (42000) at line 2: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'connecttest' at line 1
106
106
Test connect with _invalid_ dbname only => new invalid dbname, old hostname
107
 
ERROR 1049 (42000): Unknown schema 'invalid'
108
 
ERROR 1049 (42000): Unknown schema 'invalid'
 
107
ERROR 1049 (42000): Unknown database 'invalid'
 
108
ERROR 1049 (42000): Unknown database 'invalid'
109
109
Test connect with dbname + hostname
110
110
Test connect with dbname + _invalid_ hostname
111
111
End of 5.0 tests