~percona-toolkit-dev/percona-toolkit/fix-change-master-bug-932614

« back to all changes in this revision

Viewing changes to t/lib/samples/query_review.sql

  • Committer: Daniel Nichter
  • Date: 2011-06-24 17:22:06 UTC
  • Revision ID: daniel@percona.com-20110624172206-c7q4s4ad6r260zz6
Add lib/, t/lib/, and sandbox/.  All modules are updated and passing on MySQL 5.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
USE test;
 
2
DROP TABLE IF EXISTS query_review;
 
3
CREATE TABLE query_review (
 
4
  checksum     BIGINT UNSIGNED NOT NULL PRIMARY KEY, -- md5 of fingerprint
 
5
  fingerprint  TEXT NOT NULL,
 
6
  sample       TEXT NOT NULL,
 
7
  first_seen   DATETIME,
 
8
  last_seen    DATETIME,
 
9
  reviewed_by  VARCHAR(20),
 
10
  reviewed_on  DATETIME,
 
11
  comments     VARCHAR(100)
 
12
);
 
13
 
 
14
INSERT INTO query_review VALUES
 
15
(11676753765851784517, 'select col from foo_tbl', 'SELECT col FROM foo_tbl', '2007-12-18 11:48:27', '2007-12-18 11:48:27', NULL, NULL, NULL),
 
16
(15334040482108055940, 'select col from bar_tbl', 'SELECT col FROM bar_tbl', '2005-12-19 16:56:31', '2006-12-20 11:48:57', NULL, NULL, NULL);
 
17