File: remote-2.sql

package info (click to toggle)
percona-toolkit 3.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 68,916 kB
  • sloc: perl: 241,287; sql: 22,868; sh: 19,746; javascript: 6,799; makefile: 353; awk: 38; python: 30; sed: 1
file content (18 lines) | stat: -rw-r--r-- 921 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use bidi;
insert into t values
   (1,   'abc',   1,  '2010-02-01 05:45:30'),
                                               -- error: deleted row
   (3,   'ghi',   5,  '2010-02-01 09:17:52'),
   (4,   'jkl',   6,  '2010-02-01 10:11:33'),  -- same
   (5,   'mno',   3,  '2010-02-01 10:17:40'),
   (6,   'p',     4,  '2010-01-31 10:17:00'),  -- same
   (7,   'qrs',   5,  '2010-02-01 10:11:11'),
   (8,   'TUV',   6,  '2010-01-31 10:17:20'),  -- error: updated val but not ts
   (9,   'wxy',   7,  '2010-02-01 10:17:00'),
   (10,  'rdy',   5,  '2010-02-02 09:09:10'),  -- updated
   (11,  '?',     0,  '2010-01-29 12:19:48'),  -- new/updated
   (12,  '',      0,  '2010-02-01 13:17:19'),  -- newer time, exact date
   (13,  NULL,    0,  '2010-02-01 12:17:31'),
   (14,  NULL,    0,  '2010-02-02 13:00:00'),  -- updated
   (15,  'NA',    0,  '2010-01-31 07:00:01'),
   (16,  NULL,    0,  '2010-02-02 13:20:00');  -- new row