1
by brian
clean slate |
1 |
#
|
1233.2.1
by Monty Taylor
Renamed instances of HEAP engine to MEMORY. Removed the alias. |
2 |
# Test of REPLACE with MyISAM and MEMORY |
1
by brian
clean slate |
3 |
#
|
4 |
||
5 |
--disable_warnings
|
|
6 |
drop table if exists t1; |
|
7 |
--enable_warnings
|
|
8 |
||
9 |
#
|
|
10 |
# Test when using replace on a key that has used up it's whole range |
|
11 |
#
|
|
12 |
||
396
by Brian Aker
Cleanup tiny and small int. |
13 |
create table t1 (a int not null auto_increment primary key, b char(20) default "default_value"); |
1
by brian
clean slate |
14 |
insert into t1 values (126,"first"),(63, "middle"),(1,"last"); |
15 |
--error ER_DUP_ENTRY
|
|
16 |
insert into t1 values (1,"error"); |
|
17 |
#--error ER_DUP_ENTRY |
|
18 |
#replace into t1 values (1,"error"); |
|
19 |
replace into t1 values (126,"first updated"); |
|
20 |
replace into t1 values (63,default); |
|
520.1.8
by Brian Aker
Updating tests. |
21 |
select * from t1 order by a; |
1
by brian
clean slate |
22 |
drop table t1; |
23 |
||
24 |
# End of 4.1 tests |