mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/dlenev/src/mysql-5.0-merges
This commit is contained in:
commit
c2ce32bd09
2 changed files with 7 additions and 7 deletions
|
@ -1145,7 +1145,7 @@ test_sequence
|
|||
prepare stmt1 from ' explain select * from t9 ' ;
|
||||
execute stmt1;
|
||||
Catalog Database Table Table_alias Column Column_alias Name Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def id 8 3 1 N 32801 0 8
|
||||
def id 8 3 1 N 32929 0 63
|
||||
def select_type 253 19 6 N 1 31 8
|
||||
def table 253 64 2 N 1 31 8
|
||||
def type 253 10 3 N 1 31 8
|
||||
|
@ -1153,7 +1153,7 @@ def possible_keys 253 4096 0 Y 0 31 8
|
|||
def key 253 64 0 Y 0 31 8
|
||||
def key_len 253 4096 0 Y 128 31 63
|
||||
def ref 253 1024 0 Y 0 31 8
|
||||
def rows 8 10 1 N 32801 0 8
|
||||
def rows 8 10 1 N 32929 0 63
|
||||
def Extra 253 255 0 N 1 31 8
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t9 ALL NULL NULL NULL NULL 3
|
||||
|
|
|
@ -4,7 +4,7 @@ create table t1
|
|||
(
|
||||
a int, b varchar(30),
|
||||
primary key(a)
|
||||
) engine = 'BDB' ;
|
||||
) engine = 'NDB' ;
|
||||
create table t9
|
||||
(
|
||||
c1 tinyint, c2 smallint, c3 mediumint, c4 int,
|
||||
|
@ -17,7 +17,7 @@ c25 blob, c26 text, c27 mediumblob, c28 mediumtext,
|
|||
c29 longblob, c30 longtext, c31 enum('one', 'two', 'three'),
|
||||
c32 set('monday', 'tuesday', 'wednesday'),
|
||||
primary key(c1)
|
||||
) engine = 'BDB' ;
|
||||
) engine = 'NDB' ;
|
||||
delete from t1 ;
|
||||
insert into t1 values (1,'one');
|
||||
insert into t1 values (2,'two');
|
||||
|
@ -1156,7 +1156,7 @@ def ref 253 1024 0 Y 0 31 8
|
|||
def rows 8 10 1 N 32929 0 63
|
||||
def Extra 253 255 0 N 1 31 8
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t9 ALL NULL NULL NULL NULL 3
|
||||
1 SIMPLE t9 ALL NULL NULL NULL NULL 2
|
||||
test_sequence
|
||||
------ delete tests ------
|
||||
delete from t1 ;
|
||||
|
@ -1328,7 +1328,7 @@ create table t2
|
|||
(
|
||||
a int, b varchar(30),
|
||||
primary key(a)
|
||||
) engine = 'BDB' ;
|
||||
) engine = 'NDB' ;
|
||||
insert into t2(a,b) select a, b from t1 ;
|
||||
prepare stmt1 from 'update t1 set a=? where b=?
|
||||
and a in (select ? from t2
|
||||
|
@ -1520,7 +1520,7 @@ execute stmt1 using @arg00, @arg01;
|
|||
ERROR 23000: Duplicate entry '82' for key 1
|
||||
drop table if exists t2 ;
|
||||
create table t2 (id int auto_increment primary key)
|
||||
ENGINE= 'BDB' ;
|
||||
ENGINE= 'NDB' ;
|
||||
prepare stmt1 from ' select last_insert_id() ' ;
|
||||
insert into t2 values (NULL) ;
|
||||
execute stmt1 ;
|
||||
|
|
Loading…
Reference in a new issue