~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/update.test

  • Committer: Lee Bieber
  • Date: 2011-04-13 21:07:45 UTC
  • mfrom: (2252.1.29 program-options)
  • mto: This revision was merged to the branch mainline in revision 2277.
  • Revision ID: kalebral@gmail.com-20110413210745-2e3tukhwa72zggcz
Merge Olaf - Refactor Program Options usage

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
  client varchar(255) NOT NULL default '',
52
52
  replyto varchar(255) NOT NULL default '',
53
53
  subject varchar(100) NOT NULL default '',
54
 
  timestamp int NOT NULL default '0',
 
54
  timestamp_arg int NOT NULL default '0',
55
55
  tstamp timestamp NOT NULL,
56
56
  status int NOT NULL default '0',
57
57
  type varchar(15) NOT NULL default '',
66
66
  comment text,
67
67
  header text,
68
68
  PRIMARY KEY  (lfdnr),
69
 
  KEY k1 (timestamp),
 
69
  KEY k1 (timestamp_arg),
70
70
  KEY k2 (type),
71
71
  KEY k3 (parent),
72
72
  KEY k4 (assignment),
214
214
create table t1 (a int);
215
215
insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
216
216
create table t2 (a int, filler1 char(200), filler2 char(200), key(a));
217
 
insert into t2 select A.a + 10*B.a, 'filler','filler' from t1 A, t1 B;
 
217
insert into t2 select A.a + 10*B.a, 'filler','filler' from t1 A CROSS JOIN t1 B;
218
218
flush status;
219
219
update t2 set a=3 where a=2;
220
220
--replace_column 2 #