Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
4e564146
Commit
4e564146
authored
Dec 11, 2012
by
Annamalai Gurusami
Browse files
Options
Browse Files
Download
Plain Diff
Merging from mysql-5.1 to mysql-5.5.
parents
64aad461
92ad6f56
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
mysql-test/r/group_min_max_innodb.result
mysql-test/r/group_min_max_innodb.result
+1
-1
mysql-test/suite/innodb/r/innodb-index.result
mysql-test/suite/innodb/r/innodb-index.result
+1
-1
mysql-test/suite/innodb/r/innodb_mysql.result
mysql-test/suite/innodb/r/innodb_mysql.result
+1
-1
storage/innobase/row/row0mysql.c
storage/innobase/row/row0mysql.c
+7
-0
No files found.
mysql-test/r/group_min_max_innodb.result
View file @
4e564146
...
...
@@ -70,7 +70,7 @@ id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index NULL PRIMARY 5 NULL 4 Using index; Using temporary
explain select distinct f1, f2 from t1;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1
range NULL PRIMARY 5 NULL 3 Using index for group-by; Using temporary
1 SIMPLE t1
index NULL PRIMARY 5 NULL 4 Using index
drop table t1;
create table t1(pk int primary key) engine=innodb;
create view v1 as select pk from t1 where pk < 20;
...
...
mysql-test/suite/innodb/r/innodb-index.result
View file @
4e564146
...
...
@@ -956,7 +956,7 @@ Table Op Msg_type Msg_text
test.t1 check status OK
explain select * from t1 where b like 'adfd%';
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1
ALL b NULL NULL NULL 15
Using where
1 SIMPLE t1
range b b 769 NULL 11
Using where
drop table t1;
set global innodb_file_per_table=on;
set global innodb_file_format='Barracuda';
...
...
mysql-test/suite/innodb/r/innodb_mysql.result
View file @
4e564146
...
...
@@ -343,7 +343,7 @@ id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index NULL PRIMARY 5 NULL 4 Using index; Using temporary
explain select distinct f1, f2 from t1;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1
range NULL PRIMARY 5 NULL 3 Using index for group-by; Using temporary
1 SIMPLE t1
index NULL PRIMARY 5 NULL 4 Using index
drop table t1;
CREATE TABLE t1 (id int(11) NOT NULL PRIMARY KEY, name varchar(20),
INDEX (name));
...
...
storage/innobase/row/row0mysql.c
View file @
4e564146
...
...
@@ -4140,6 +4140,13 @@ row_rename_table_for_mysql(
trx
->
error_state
=
DB_SUCCESS
;
trx_general_rollback_for_mysql
(
trx
,
NULL
);
trx
->
error_state
=
DB_SUCCESS
;
}
else
{
if
(
old_is_tmp
&&
!
new_is_tmp
)
{
/* After ALTER TABLE the table statistics
needs to be rebuilt. It will be rebuilt
when the table is loaded again. */
table
->
stat_initialized
=
FALSE
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment