~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
where TABLE_SCHEMA ='mysqltest_LC2';
151
151
use test;
152
152
drop database mysqltest_LC2;
 
153
 
 
154
 
 
155
--echo #
 
156
--echo # Bug #11758687: 50924: object names not resolved correctly 
 
157
--echo #   on lctn2 systems
 
158
--echo #
 
159
 
 
160
CREATE DATABASE BUP_XPFM_COMPAT_DB2;
 
161
 
 
162
CREATE TABLE BUP_XPFM_COMPAT_DB2.TABLE2 (c13 INT) DEFAULT CHARSET latin1;
 
163
CREATE TABLE BUP_XPFM_COMPAT_DB2.table1 (c13 INT) DEFAULT CHARSET latin1;
 
164
CREATE TABLE bup_xpfm_compat_db2.table3 (c13 INT) DEFAULT CHARSET latin1;
 
165
 
 
166
delimiter |;
 
167
#
 
168
CREATE TRIGGER BUP_XPFM_COMPAT_DB2.trigger1 AFTER INSERT
 
169
  ON BUP_XPFM_COMPAT_DB2.table1 FOR EACH ROW
 
170
  update BUP_XPFM_COMPAT_DB2.table1 set c13=12;
 
171
|
 
172
CREATE TRIGGER BUP_XPFM_COMPAT_DB2.TRIGGER2 AFTER INSERT
 
173
  ON BUP_XPFM_COMPAT_DB2.TABLE2 FOR EACH ROW
 
174
  update BUP_XPFM_COMPAT_DB2.table1 set c13=12;
 
175
|
 
176
CREATE TRIGGER BUP_XPFM_COMPAT_DB2.TrigGer3 AFTER INSERT
 
177
  ON BUP_XPFM_COMPAT_DB2.TaBle3 FOR EACH ROW
 
178
  update BUP_XPFM_COMPAT_DB2.table1 set c13=12;
 
179
|
 
180
delimiter ;|
 
181
 
 
182
SELECT trigger_schema, trigger_name, event_object_table FROM
 
183
INFORMATION_SCHEMA.TRIGGERS
 
184
  WHERE trigger_schema COLLATE utf8_bin = 'BUP_XPFM_COMPAT_DB2'
 
185
  ORDER BY trigger_schema, trigger_name;
 
186
 
 
187
DROP DATABASE BUP_XPFM_COMPAT_DB2;
 
188
 
 
189
--echo End of 5.1 tests