~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/bigint.result

  • Committer: brian
  • Date: 2009-02-26 20:57:39 UTC
  • mfrom: (896.3.16 nofrm896)
  • mto: This revision was merged to the branch mainline in revision 901.
  • Revision ID: brian@bitters-20090226205739-yv4cbwna6myvkq22
Merge of Stewart + Jay's fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
show create table t1;
169
169
Table   Create Table
170
170
t1      CREATE TABLE `t1` (
171
 
  `a` int NOT NULL DEFAULT '0'
 
171
  `a` int NOT NULL
172
172
) ENGINE=InnoDB
173
173
drop table t1;
174
174
create table t1 select 9223372036854775809 as 'a';
175
175
show create table t1;
176
176
Table   Create Table
177
177
t1      CREATE TABLE `t1` (
178
 
  `a` bigint NOT NULL DEFAULT '0'
 
178
  `a` bigint NOT NULL
179
179
) ENGINE=InnoDB
180
180
select * from t1;
181
181
a
369
369
create table t1 select -9223372036854775808 bi;
370
370
describe t1;
371
371
Field   Type    Null    Key     Default Extra
372
 
bi      bigint  NO              0       
 
372
bi      bigint  NO              NULL    
373
373
drop table t1;
374
374
create table t1 select -9223372036854775809 bi;
375
375
describe t1;
376
376
Field   Type    Null    Key     Default Extra
377
 
bi      decimal(19,0)   NO              0       
 
377
bi      decimal(19,0)   NO              NULL    
378
378
drop table t1;