47 changed files with 3660 additions and 557 deletions
-
137client/mysql_upgrade.c
-
4configure.in
-
2innobase/buf/buf0buf.c
-
2innobase/dict/dict0dict.c
-
13innobase/include/buf0buf.h
-
2innobase/include/srv0srv.h
-
1innobase/include/trx0undo.h
-
2innobase/srv/srv0srv.c
-
8innobase/trx/trx0trx.c
-
29innobase/trx/trx0undo.c
-
46mysql-test/r/func_if.result
-
6mysql-test/r/innodb-autoinc-optimize.result
-
1mysql-test/r/innodb_bug35220.result
-
15mysql-test/r/innodb_mysql.result
-
1672mysql-test/r/query_cache_merge.result
-
11mysql-test/r/subselect.result
-
43mysql-test/t/func_if.test
-
16mysql-test/t/innodb-autoinc-optimize.test
-
16mysql-test/t/innodb_bug35220.test
-
18mysql-test/t/innodb_mysql.test
-
56mysql-test/t/query_cache_merge.test
-
12mysql-test/t/subselect.test
-
6mysys/mf_keycache.c
-
2mysys/my_alloc.c
-
1scripts/mysql_system_tables.sql
-
3sql/field.h
-
10sql/ha_innodb.cc
-
12sql/item.cc
-
4sql/item.h
-
12sql/item_cmpfunc.cc
-
15sql/item_func.cc
-
66sql/opt_range.cc
-
4sql/opt_range.h
-
2sql/share/errmsg.txt
-
2sql/sp_head.cc
-
1sql/sql_acl.cc
-
2sql/sql_cache.cc
-
5sql/sql_cursor.cc
-
4sql/sql_lex.h
-
4sql/sql_list.h
-
31sql/sql_parse.cc
-
71sql/sql_select.cc
-
2sql/sql_string.h
-
1775sql/sql_yacc.yy
-
31sql/thr_malloc.cc
-
7support-files/build-tags
-
33tests/mysql_client_test.c
@ -0,0 +1,6 @@ |
|||
drop table if exists t1; |
|||
create table t1(a int not null auto_increment primary key) engine=innodb; |
|||
insert into t1 set a = -1; |
|||
optimize table t1; |
|||
Table Op Msg_type Msg_text |
|||
test.t1 optimize status OK |
|||
@ -0,0 +1 @@ |
|||
SET storage_engine=InnoDB; |
|||
1672
mysql-test/r/query_cache_merge.result
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,16 @@ |
|||
-- source include/have_innodb.inc |
|||
# embedded server ignores 'delayed', so skip this |
|||
-- source include/not_embedded.inc |
|||
|
|||
--disable_warnings |
|||
drop table if exists t1; |
|||
--enable_warnings |
|||
|
|||
# |
|||
# Bug 34286 |
|||
# |
|||
create table t1(a int not null auto_increment primary key) engine=innodb; |
|||
insert into t1 set a = -1; |
|||
# NOTE: The database needs to be shutdown and restarted (here) for |
|||
# the test to work. It's included for reference only. |
|||
optimize table t1; |
|||
@ -0,0 +1,16 @@ |
|||
# |
|||
# Bug#35220 ALTER TABLE too picky on reserved word "foreign" |
|||
# http://bugs.mysql.com/35220 |
|||
# |
|||
|
|||
-- source include/have_innodb.inc |
|||
|
|||
SET storage_engine=InnoDB; |
|||
|
|||
# we care only that the following SQL commands do not produce errors |
|||
-- disable_query_log |
|||
-- disable_result_log |
|||
|
|||
CREATE TABLE bug35220 (foreign_col INT, dummy_cant_delete_all_columns INT); |
|||
ALTER TABLE bug35220 DROP foreign_col; |
|||
DROP TABLE bug35220; |
|||
1775
sql/sql_yacc.yy
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save
Reference in new issue