~ubuntu-branches/ubuntu/trusty/mysql-5.5/trusty-security

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2017-01-18 07:41:29 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20170118074129-gyilougbokbprl1p
Tags: 5.5.54-0ubuntu0.14.04.1
* SECURITY UPDATE: Update to 5.5.54 to fix security issues
  - CVE-2017-3238
  - CVE-2017-3243
  - CVE-2017-3244
  - CVE-2017-3258
  - CVE-2017-3265
  - CVE-2017-3291
  - CVE-2017-3312
  - CVE-2017-3313
  - CVE-2017-3317
  - CVE-2017-3318 
* debian/patches/fix_test_events_2.patch: fix date in test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
drop database if exists events_test;
2
2
create database events_test;
3
3
use events_test;
4
 
create event e_26 on schedule at '2017-01-01 00:00:00' disable do set @a = 5;
 
4
create event e_26 on schedule at '2027-01-01 00:00:00' disable do set @a = 5;
5
5
select db, name, body, definer, convert_tz(execute_at, 'UTC', 'SYSTEM'), on_completion from mysql.event;
6
6
db      name    body    definer convert_tz(execute_at, 'UTC', 'SYSTEM') on_completion
7
 
events_test     e_26    set @a = 5      root@localhost  2017-01-01 00:00:00     DROP
 
7
events_test     e_26    set @a = 5      root@localhost  2027-01-01 00:00:00     DROP
8
8
drop event e_26;
9
9
create event e_26 on schedule at NULL disable do set @a = 5;
10
10
ERROR HY000: Incorrect AT value: 'NULL'