~ubuntu-branches/ubuntu/karmic/mysql-dfsg-5.1/karmic

« back to all changes in this revision

Viewing changes to mysql-test/r/mysqlcheck.result

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2009-02-10 16:42:05 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090210164205-ej41ocvm4z1s14nq
Tags: 5.1.31-1ubuntu1
* Merge from debian experimental, remaining changes: 
  - debian/mysql-server-5.1.config: ask for MySQL root password at priority
    high instead of medium so that the password prompt is seen on a default
    install. (LP: #319843)
  - debian/control: 
    + Don't build mysql-server, mysql-client, mysql-common and 
      libmysqlclient15-dev binary packages since they're still provided 
      by mysql-dfsg-5.0.
    + Rename libmysqlclient-dev package to libmysqlclient16-dev (LP: #316280).
      Make it conflict with libmysqlclient15-dev.
    + Make mysql-{client,server}-5.1 packages conflict and
      replace mysql-{client,server}-5.0, but not provide 
      mysql-{client,server}.
    + Depend on a specific version of mysql-common rather than the src 
      version of mysql-dfsg-5.1 since mysql-common is currently part of
      mysql-dfsg-5.0.
  - debian/rules: added -fno-strict-aliasing to CFLAGS to get
    around mysql testsuite build failures.
* debian/patches/92_ssl_test_cert.dpatch: certificate expiration in 
  test suite (LP: #323755).
* Dropped changes:
  - all of the changes made to support both 5.0 and 5.1 installed at the
    same time have been dropped now that amarok doesn't depend on
    mysql-server-5.1 anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
drop table t_bug25347;
99
99
drop database d_bug25347;
100
100
use test;
 
101
create view v1 as select * from information_schema.routines;
 
102
check table v1, information_schema.routines;
 
103
Table   Op      Msg_type        Msg_text
 
104
test.v1 check   status  OK
 
105
information_schema.routines     check   note    The storage engine for the table doesn't support check
 
106
drop view v1;
 
107
CREATE TABLE t1(a INT);
 
108
CREATE TABLE t2(a INT);
 
109
test.t1
 
110
Error    : Incorrect information in file: './test/t1.frm'
 
111
error    : Corrupt
 
112
test.t2                                            OK
 
113
DROP TABLE t1, t2;
101
114
End of 5.0 tests
102
115
create table t1(a int);
103
116
create view v1 as select * from t1;
117
130
v-1
118
131
drop view v1, `v-1`;
119
132
drop table t1;
 
133
SET NAMES utf8;
 
134
CREATE TABLE `#mysql50#@` (a INT);
 
135
SHOW TABLES;
 
136
Tables_in_test
 
137
#mysql50#@
 
138
SET NAMES DEFAULT;
 
139
mysqlcheck --fix-table-names --databases test
 
140
SET NAMES utf8;
 
141
SHOW TABLES;
 
142
Tables_in_test
 
143
@
 
144
DROP TABLE `@`;
 
145
CREATE TABLE `я` (a INT);
 
146
SET NAMES DEFAULT;
 
147
mysqlcheck --default-character-set="latin1" --databases test
 
148
test.?
 
149
Error    : Table doesn't exist
 
150
error    : Corrupt
 
151
mysqlcheck --default-character-set="utf8" --databases test
 
152
test.я                                            OK
 
153
SET NAMES utf8;
 
154
DROP TABLE `я`;
 
155
SET NAMES DEFAULT;
 
156
CREATE DATABASE `#mysql50#a@b`;
 
157
USE `#mysql50#a@b`;
 
158
CREATE TABLE `#mysql50#c@d` (a INT);
 
159
CREATE TABLE t1 (a INT);
 
160
SELECT * FROM INFORMATION_SCHEMA.TRIGGERS
 
161
WHERE TRIGGER_SCHEMA="#mysql50#a@b" ORDER BY trigger_name;
 
162
TRIGGER_CATALOG TRIGGER_SCHEMA  TRIGGER_NAME    EVENT_MANIPULATION      EVENT_OBJECT_CATALOG    EVENT_OBJECT_SCHEMA     EVENT_OBJECT_TABLE      ACTION_ORDER    ACTION_CONDITION        ACTION_STATEMENT        ACTION_ORIENTATION      ACTION_TIMING   ACTION_REFERENCE_OLD_TABLE      ACTION_REFERENCE_NEW_TABLE      ACTION_REFERENCE_OLD_ROW        ACTION_REFERENCE_NEW_ROW        CREATED SQL_MODE        DEFINER CHARACTER_SET_CLIENT    COLLATION_CONNECTION    DATABASE_COLLATION
 
163
NULL    #mysql50#a@b    tr1     INSERT  NULL    #mysql50#a@b    #mysql50#c@d    0       NULL    SET NEW.a = 10 * NEW.a  ROW     BEFORE  NULL    NULL    OLD     NEW     NULL            root@localhost  latin1  latin1_swedish_ci       latin1_swedish_ci
 
164
NULL    #mysql50#a@b    tr2     INSERT  NULL    #mysql50#a@b    t1      0       NULL    SET NEW.a = 100 * NEW.a ROW     BEFORE  NULL    NULL    OLD     NEW     NULL            root@localhost  latin1  latin1_swedish_ci       latin1_swedish_ci
 
165
Warnings:
 
166
Warning 1603    Triggers for table `#mysql50#a@b`.`#mysql50#c@d` have no creation context
 
167
Warning 1603    Triggers for table `#mysql50#a@b`.`t1` have no creation context
 
168
mysqlcheck --fix-db-names --fix-table-names --all-databases
 
169
USE `a@b`;
 
170
SELECT * FROM INFORMATION_SCHEMA.TRIGGERS
 
171
WHERE TRIGGER_SCHEMA="a@b" ORDER BY trigger_name;
 
172
TRIGGER_CATALOG TRIGGER_SCHEMA  TRIGGER_NAME    EVENT_MANIPULATION      EVENT_OBJECT_CATALOG    EVENT_OBJECT_SCHEMA     EVENT_OBJECT_TABLE      ACTION_ORDER    ACTION_CONDITION        ACTION_STATEMENT        ACTION_ORIENTATION      ACTION_TIMING   ACTION_REFERENCE_OLD_TABLE      ACTION_REFERENCE_NEW_TABLE      ACTION_REFERENCE_OLD_ROW        ACTION_REFERENCE_NEW_ROW        CREATED SQL_MODE        DEFINER CHARACTER_SET_CLIENT    COLLATION_CONNECTION    DATABASE_COLLATION
 
173
NULL    a@b     tr1     INSERT  NULL    a@b     c@d     0       NULL    SET NEW.a = 10 * NEW.a  ROW     BEFORE  NULL    NULL    OLD     NEW     NULL            root@localhost  utf8    utf8_general_ci latin1_swedish_ci
 
174
NULL    a@b     tr2     INSERT  NULL    a@b     t1      0       NULL    SET NEW.a = 100 * NEW.a ROW     BEFORE  NULL    NULL    OLD     NEW     NULL            root@localhost  utf8    utf8_general_ci latin1_swedish_ci
 
175
INSERT INTO `c@d` VALUES (2), (1);
 
176
SELECT * FROM `c@d`;
 
177
a
 
178
20
 
179
10
 
180
INSERT INTO t1 VALUES (3), (5);
 
181
SELECT * FROM t1;
 
182
a
 
183
300
 
184
500
 
185
DROP DATABASE `a@b`;
 
186
USE test;
 
187
End of 5.1 tests