~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/bigint.result

  • Committer: Brian Aker
  • Date: 2009-01-24 09:43:35 UTC
  • Revision ID: brian@gir-3.local-20090124094335-6qdtvc35gl5fvivz
Adding in an example singe thread scheduler

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
Table   Create Table
170
170
t1      CREATE TABLE `t1` (
171
171
  `a` int NOT NULL
172
 
) ENGINE=DEFAULT
 
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
178
  `a` bigint NOT NULL
179
 
) ENGINE=DEFAULT
 
179
) ENGINE=InnoDB
180
180
select * from t1;
181
181
a
182
182
-9223372036854775807
357
357
-9223372036854775808
358
358
select -(-(9223372036854775808));
359
359
Catalog Database        Table   Table_alias     Column  Column_alias    Type    Length  Max length      Is_null Flags   Decimals        Charsetnr
360
 
def                                     -(-(9223372036854775808))       9       21      19      N       129     0       63
 
360
def                                     -(-(9223372036854775808))       11      21      19      N       129     0       63
361
361
-(-(9223372036854775808))
362
362
9223372036854775808
363
363
select --9223372036854775808, ---9223372036854775808, ----9223372036854775808;
368
368
9223372036854775808     -9223372036854775808
369
369
create table t1 select -9223372036854775808 bi;
370
370
describe t1;
371
 
Field   Type    Null    Default Default_is_NULL On_Update
372
 
bi      BIGINT  FALSE           FALSE   
 
371
Field   Type    Null    Key     Default Extra
 
372
bi      bigint  NO              NULL    
373
373
drop table t1;
374
374
create table t1 select -9223372036854775809 bi;
375
375
describe t1;
376
 
Field   Type    Null    Default Default_is_NULL On_Update
377
 
bi      DECIMAL FALSE           FALSE   
 
376
Field   Type    Null    Key     Default Extra
 
377
bi      decimal(19,0)   NO              NULL    
378
378
drop table t1;