~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/derived.test

  • Committer: Brian Aker
  • Date: 2008-09-21 12:42:22 UTC
  • Revision ID: brian@tangent.org-20080921124222-zhjb3i0aqoz9723u
Cleanup tiny and small int.

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
#
131
131
CREATE TABLE `t1` (
132
132
  `N` int(11) unsigned NOT NULL default '0',
133
 
  `M` tinyint(1) default '0'
 
133
  `M` int(1) default '0'
134
134
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
135
135
INSERT INTO `t1` (N, M) VALUES (1, 0),(1, 0),(1, 0),(2, 0),(2, 0),(3, 0);
136
136
UPDATE `t1` AS P1 INNER JOIN (SELECT N FROM `t1` GROUP BY N HAVING Count(M) > 1) AS P2 ON P1.N = P2.N SET P1.M = 2;