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
67b93248
Commit
67b93248
authored
Apr 09, 2010
by
Vasil Dimov
Browse files
Options
Browse Files
Download
Plain Diff
Merge from innodb-branches-zip
parents
164dedba
a995f3dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
mysql-test/suite/innodb_plugin/r/innodb.result
mysql-test/suite/innodb_plugin/r/innodb.result
+1
-2
mysql-test/suite/innodb_plugin/t/innodb.test
mysql-test/suite/innodb_plugin/t/innodb.test
+3
-1
No files found.
mysql-test/suite/innodb_plugin/r/innodb.result
View file @
67b93248
...
@@ -692,7 +692,6 @@ select count(*) from t1 where sca_pic is null;
...
@@ -692,7 +692,6 @@ select count(*) from t1 where sca_pic is null;
count(*)
count(*)
2
2
alter table t1 drop index sca_pic, add index sca_pic (cat_code, sca_pic);
alter table t1 drop index sca_pic, add index sca_pic (cat_code, sca_pic);
ERROR 42000: Incorrect index name 'sca_pic'
alter table t1 drop index sca_pic;
alter table t1 drop index sca_pic;
alter table t1 add index sca_pic (cat_code, sca_pic);
alter table t1 add index sca_pic (cat_code, sca_pic);
select count(*) from t1 where sca_code='PD' and sca_pic is null;
select count(*) from t1 where sca_code='PD' and sca_pic is null;
...
@@ -1753,7 +1752,7 @@ variable_value - @innodb_rows_deleted_orig
...
@@ -1753,7 +1752,7 @@ variable_value - @innodb_rows_deleted_orig
71
71
SELECT variable_value - @innodb_rows_inserted_orig FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_rows_inserted';
SELECT variable_value - @innodb_rows_inserted_orig FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_rows_inserted';
variable_value - @innodb_rows_inserted_orig
variable_value - @innodb_rows_inserted_orig
108
4
108
7
SELECT variable_value - @innodb_rows_updated_orig FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_rows_updated';
SELECT variable_value - @innodb_rows_updated_orig FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_rows_updated';
variable_value - @innodb_rows_updated_orig
variable_value - @innodb_rows_updated_orig
885
885
...
...
mysql-test/suite/innodb_plugin/t/innodb.test
View file @
67b93248
...
@@ -428,7 +428,9 @@ select count(*) from t1 where sca_code = 'PD';
...
@@ -428,7 +428,9 @@ select count(*) from t1 where sca_code = 'PD';
select
count
(
*
)
from
t1
where
sca_code
<=
'PD'
;
select
count
(
*
)
from
t1
where
sca_code
<=
'PD'
;
select
count
(
*
)
from
t1
where
sca_pic
is
null
;
select
count
(
*
)
from
t1
where
sca_pic
is
null
;
# this should be fixed by MySQL (see Bug #51451)
# this should be fixed by MySQL (see Bug #51451)
--
error
ER_WRONG_NAME_FOR_INDEX
# now that http://bugs.mysql.com/49838 is fixed the following ALTER does
# copy the table instead of failing
# --error ER_WRONG_NAME_FOR_INDEX
alter
table
t1
drop
index
sca_pic
,
add
index
sca_pic
(
cat_code
,
sca_pic
);
alter
table
t1
drop
index
sca_pic
,
add
index
sca_pic
(
cat_code
,
sca_pic
);
alter
table
t1
drop
index
sca_pic
;
alter
table
t1
drop
index
sca_pic
;
alter
table
t1
add
index
sca_pic
(
cat_code
,
sca_pic
);
alter
table
t1
add
index
sca_pic
(
cat_code
,
sca_pic
);
...
...
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