~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/order_by.result

  • Committer: Brian Aker
  • Date: 2010-12-07 09:12:12 UTC
  • mto: This revision was merged to the branch mainline in revision 1985.
  • Revision ID: brian@tangent.org-20101207091212-1m0w20tck6z7632m
This is a fix for bug lp:686197

Show diffs side-by-side

added added

removed removed

Lines of Context:
439
439
KEY component_id (cid)
440
440
) ENGINE=MyISAM;
441
441
INSERT INTO t1 VALUES (103853,108),(103867,108),(103962,108),(104505,108),(104619,108),(104620,108);
442
 
ALTER TABLE t1 add skr int not null;
 
442
ALTER TABLE t1 add skr int default 42 not null;
443
443
CREATE TEMPORARY TABLE t2 (
444
444
gid int NOT NULL default '0',
445
445
uid int NOT NULL default '1',
454
454
PRIMARY KEY  (uid)
455
455
) ENGINE=MyISAM;
456
456
INSERT INTO t3 VALUES (1),(15),(27),(75),(117),(250);
457
 
ALTER TABLE t3 add skr int not null;
 
457
ALTER TABLE t3 add skr int default 42 not null;
458
458
select t1.gid, t2.sid, t3.uid from t2, t1, t3 where t2.gid = t1.gid and t2.uid = t3.uid order by t3.uid, t1.gid;
459
459
gid     sid     uid
460
460
104620  5       15