~ubuntu-branches/ubuntu/wily/mysql-5.6/wily

« back to all changes in this revision

Viewing changes to mysql-test/suite/funcs_1/r/innodb_trig_03.result

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2015-07-21 07:09:29 UTC
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: package-import@ubuntu.com-20150721070929-mg4dpqkgg3it1ajf
Tags: upstream-5.6.25
ImportĀ upstreamĀ versionĀ 5.6.25

Show diffs side-by-side

added added

removed removed

Lines of Context:
189
189
test_yesprivs@localhost
190
190
show grants;
191
191
Grants for test_yesprivs@localhost
192
 
GRANT UPDATE, TRIGGER ON *.* TO 'test_yesprivs'@'localhost' IDENTIFIED BY PASSWORD
 
192
GRANT UPDATE, TRIGGER ON *.* TO 'test_yesprivs'@'localhost' IDENTIFIED BY PASSWORD <secret>
193
193
create trigger trg4a_2 before INSERT  on t1 for each row
194
194
set new.f1 = 'trig 3.5.3.7-2a';
195
195
insert into t1 (f1) values ('insert 3.5.3.7-2b');
220
220
GRANT UPDATE ON `priv_db`.* TO 'test_yesprivs'@'localhost'
221
221
show grants;
222
222
Grants for test_noprivs@localhost
223
 
GRANT USAGE ON *.* TO 'test_noprivs'@'localhost' IDENTIFIED BY PASSWORD
 
223
GRANT USAGE ON *.* TO 'test_noprivs'@'localhost' IDENTIFIED BY PASSWORD <secret>
224
224
GRANT SELECT, INSERT, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER ON `priv_db`.* TO 'test_noprivs'@'localhost'
225
225
use priv_db;
226
226
create trigger trg4b_1 before UPDATE on t1 for each row
247
247
drop trigger trg4b_1;
248
248
show grants;
249
249
Grants for test_yesprivs@localhost
250
 
GRANT TRIGGER ON *.* TO 'test_yesprivs'@'localhost' IDENTIFIED BY PASSWORD
 
250
GRANT TRIGGER ON *.* TO 'test_yesprivs'@'localhost' IDENTIFIED BY PASSWORD <secret>
251
251
GRANT UPDATE ON `priv_db`.* TO 'test_yesprivs'@'localhost'
252
252
use priv_db;
253
253
create trigger trg4b_2 before UPDATE  on t1 for each row
292
292
GRANT UPDATE ON `priv_db`.`t1` TO 'test_yesprivs'@'localhost'
293
293
show grants;
294
294
Grants for test_noprivs@localhost
295
 
GRANT TRIGGER ON *.* TO 'test_noprivs'@'localhost' IDENTIFIED BY PASSWORD
 
295
GRANT TRIGGER ON *.* TO 'test_noprivs'@'localhost' IDENTIFIED BY PASSWORD <secret>
296
296
GRANT SELECT, INSERT, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER ON `priv_db`.`t1` TO 'test_noprivs'@'localhost'
297
297
use priv_db;
298
298
create trigger trg4c_1 before INSERT on t1 for each row
311
311
drop trigger trg4c_1;
312
312
show grants;
313
313
Grants for test_yesprivs@localhost
314
 
GRANT TRIGGER ON *.* TO 'test_yesprivs'@'localhost' IDENTIFIED BY PASSWORD
 
314
GRANT TRIGGER ON *.* TO 'test_yesprivs'@'localhost' IDENTIFIED BY PASSWORD <secret>
315
315
GRANT UPDATE ON `priv_db`.`t1` TO 'test_yesprivs'@'localhost'
316
316
use priv_db;
317
317
create trigger trg4c_2 before INSERT  on t1 for each row
345
345
GRANT TRIGGER ON *.* TO 'test_noprivs'@'%'
346
346
show grants;
347
347
Grants for test_noprivs@localhost
348
 
GRANT TRIGGER ON *.* TO 'test_noprivs'@'localhost' IDENTIFIED BY PASSWORD
 
348
GRANT TRIGGER ON *.* TO 'test_noprivs'@'localhost' IDENTIFIED BY PASSWORD <secret>
349
349
GRANT SELECT (f1), INSERT (f1) ON `priv_db`.`t1` TO 'test_noprivs'@'localhost'
350
350
use priv_db;
351
351
create trigger trg4d_1 before INSERT on t1 for each row
365
365
drop trigger trg4d_1;
366
366
show grants;
367
367
Grants for test_yesprivs@localhost
368
 
GRANT TRIGGER ON *.* TO 'test_yesprivs'@'localhost' IDENTIFIED BY PASSWORD
 
368
GRANT TRIGGER ON *.* TO 'test_yesprivs'@'localhost' IDENTIFIED BY PASSWORD <secret>
369
369
GRANT UPDATE (f1) ON `priv_db`.`t1` TO 'test_yesprivs'@'localhost'
370
370
use priv_db;
371
371
create trigger trg4d_2 before INSERT  on t1 for each row
422
422
test_yesprivs@localhost
423
423
show grants;
424
424
Grants for test_yesprivs@localhost
425
 
GRANT SELECT, TRIGGER ON *.* TO 'test_yesprivs'@'localhost' IDENTIFIED BY PASSWORD
 
425
GRANT SELECT, TRIGGER ON *.* TO 'test_yesprivs'@'localhost' IDENTIFIED BY PASSWORD <secret>
426
426
create trigger trg5a_2 before INSERT  on t1 for each row
427
427
set @test_var= new.f1;
428
428
set @test_var= 'before trig 3.5.3.8-2a';
454
454
GRANT SELECT ON `priv_db`.* TO 'test_yesprivs'@'localhost'
455
455
show grants;
456
456
Grants for test_noprivs@localhost
457
 
GRANT TRIGGER ON *.* TO 'test_noprivs'@'localhost' IDENTIFIED BY PASSWORD
 
457
GRANT TRIGGER ON *.* TO 'test_noprivs'@'localhost' IDENTIFIED BY PASSWORD <secret>
458
458
GRANT INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER ON `priv_db`.* TO 'test_noprivs'@'localhost'
459
459
use priv_db;
460
460
create trigger trg5b_1 before UPDATE on t1 for each row
472
472
drop trigger trg5b_1;
473
473
show grants;
474
474
Grants for test_yesprivs@localhost
475
 
GRANT TRIGGER ON *.* TO 'test_yesprivs'@'localhost' IDENTIFIED BY PASSWORD
 
475
GRANT TRIGGER ON *.* TO 'test_yesprivs'@'localhost' IDENTIFIED BY PASSWORD <secret>
476
476
GRANT SELECT ON `priv_db`.* TO 'test_yesprivs'@'localhost'
477
477
use priv_db;
478
478
create trigger trg5b_2 before UPDATE  on t1 for each row
507
507
GRANT SELECT ON `priv_db`.`t1` TO 'test_yesprivs'@'localhost'
508
508
show grants;
509
509
Grants for test_noprivs@localhost
510
 
GRANT TRIGGER ON *.* TO 'test_noprivs'@'localhost' IDENTIFIED BY PASSWORD
 
510
GRANT TRIGGER ON *.* TO 'test_noprivs'@'localhost' IDENTIFIED BY PASSWORD <secret>
511
511
GRANT INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER ON `priv_db`.`t1` TO 'test_noprivs'@'localhost'
512
512
use priv_db;
513
513
create trigger trg5c_1 before INSERT on t1 for each row
521
521
drop trigger trg5c_1;
522
522
show grants;
523
523
Grants for test_yesprivs@localhost
524
 
GRANT TRIGGER ON *.* TO 'test_yesprivs'@'localhost' IDENTIFIED BY PASSWORD
 
524
GRANT TRIGGER ON *.* TO 'test_yesprivs'@'localhost' IDENTIFIED BY PASSWORD <secret>
525
525
GRANT SELECT ON `priv_db`.`t1` TO 'test_yesprivs'@'localhost'
526
526
use priv_db;
527
527
create trigger trg5c_2 before INSERT  on t1 for each row
551
551
GRANT INSERT (f1), UPDATE (f1) ON `priv_db`.`t1` TO 'test_noprivs'@'localhost'
552
552
show grants;
553
553
Grants for test_noprivs@localhost
554
 
GRANT TRIGGER ON *.* TO 'test_noprivs'@'localhost' IDENTIFIED BY PASSWORD
 
554
GRANT TRIGGER ON *.* TO 'test_noprivs'@'localhost' IDENTIFIED BY PASSWORD <secret>
555
555
GRANT INSERT (f1), UPDATE (f1) ON `priv_db`.`t1` TO 'test_noprivs'@'localhost'
556
556
use priv_db;
557
557
create trigger trg5d_1 before INSERT on t1 for each row
565
565
drop trigger trg5d_1;
566
566
show grants;
567
567
Grants for test_yesprivs@localhost
568
 
GRANT TRIGGER ON *.* TO 'test_yesprivs'@'localhost' IDENTIFIED BY PASSWORD
 
568
GRANT TRIGGER ON *.* TO 'test_yesprivs'@'localhost' IDENTIFIED BY PASSWORD <secret>
569
569
GRANT SELECT (f1) ON `priv_db`.`t1` TO 'test_yesprivs'@'localhost'
570
570
use priv_db;
571
571
create trigger trg5d_2 before INSERT  on t1 for each row