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
492c8f81
Commit
492c8f81
authored
Apr 09, 2010
by
Vasil Dimov
Browse files
Options
Browse Files
Download
Plain Diff
Merge from innodb-branches-zip
parents
c611ba32
c03341a0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
xyz/mysql-test/innodb.result
xyz/mysql-test/innodb.result
+1
-2
xyz/mysql-test/innodb.test
xyz/mysql-test/innodb.test
+3
-1
No files found.
xyz/mysql-test/innodb.result
View file @
492c8f81
...
...
@@ -692,7 +692,6 @@ select count(*) from t1 where sca_pic is null;
count(*)
2
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 add index sca_pic (cat_code, sca_pic);
select count(*) from t1 where sca_code='PD' and sca_pic is null;
...
...
@@ -1753,7 +1752,7 @@ variable_value - @innodb_rows_deleted_orig
71
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
108
4
108
7
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
885
...
...
xyz/mysql-test/innodb.test
View file @
492c8f81
...
...
@@ -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_pic
is
null
;
# 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
;
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