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
aa5b9cf8
Commit
aa5b9cf8
authored
Nov 24, 2011
by
Michael Widenius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added test case forlp:875797 Using 'innodb_sys_indexes' causes core dump
parent
69204571
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
0 deletions
+38
-0
mysql-test/suite/percona/innodb_sys_index.result
mysql-test/suite/percona/innodb_sys_index.result
+17
-0
mysql-test/suite/percona/innodb_sys_index.test
mysql-test/suite/percona/innodb_sys_index.test
+21
-0
No files found.
mysql-test/suite/percona/innodb_sys_index.result
0 → 100644
View file @
aa5b9cf8
drop table if exists t1;
Warnings:
Note 1051 Unknown table 't1'
select @@version_comment limit 1 ;
@@version_comment
Source distribution
SELECT COUNT(*) FROM `information_schema`.`INNODB_SYS_INDEXES` ;
CREATE TABLE test.t1 ( `a` SERIAL NOT NULL , `b` VARCHAR( 255 ) NOT NULL , INDEX ( `b` ) ) ENGINE = InnoDB ;
SHOW TABLE STATUS FROM `information_schema` LIKE 'INNODB\_SYS\_INDEXES%' ;
drop table test.t1;
SHOW TABLE STATUS FROM `information_schema` LIKE 'INNODB\_SYS\_INDEXES%' ;
SELECT COUNT(*) FROM `information_schema`.`INNODB_SYS_INDEXES` ;
CREATE TABLE test.t1 ( `a` SERIAL NOT NULL , `b` VARCHAR( 255 ) NOT NULL , INDEX ( `b` ) ) ENGINE = InnoDB ;
SHOW TABLE STATUS FROM `information_schema` LIKE 'INNODB\_SYS\_INDEXES%' ;
SELECT COUNT(*) FROM `information_schema`.`INNODB_SYS_INDEXES` ;
drop table test.t1;
SHOW TABLE STATUS FROM `information_schema` LIKE 'INNODB\_SYS\_INDEXES%' ;
mysql-test/suite/percona/innodb_sys_index.test
0 → 100644
View file @
aa5b9cf8
--
source
include
/
big_test
.
inc
--
source
include
/
have_innodb
.
inc
drop
table
if
exists
t1
;
#
# test for bug LP#875797 "Using 'innodb_sys_indexes' causes core dump"
#
select
@@
version_comment
limit
1
;
--
disable_result_log
SELECT
COUNT
(
*
)
FROM
`information_schema`
.
`INNODB_SYS_INDEXES`
;
CREATE
TABLE
test
.
t1
(
`a`
SERIAL
NOT
NULL
,
`b`
VARCHAR
(
255
)
NOT
NULL
,
INDEX
(
`b`
)
)
ENGINE
=
InnoDB
;
SHOW
TABLE
STATUS
FROM
`information_schema`
LIKE
'INNODB\_SYS\_INDEXES%'
;
drop
table
test
.
t1
;
SHOW
TABLE
STATUS
FROM
`information_schema`
LIKE
'INNODB\_SYS\_INDEXES%'
;
SELECT
COUNT
(
*
)
FROM
`information_schema`
.
`INNODB_SYS_INDEXES`
;
CREATE
TABLE
test
.
t1
(
`a`
SERIAL
NOT
NULL
,
`b`
VARCHAR
(
255
)
NOT
NULL
,
INDEX
(
`b`
)
)
ENGINE
=
InnoDB
;
SHOW
TABLE
STATUS
FROM
`information_schema`
LIKE
'INNODB\_SYS\_INDEXES%'
;
SELECT
COUNT
(
*
)
FROM
`information_schema`
.
`INNODB_SYS_INDEXES`
;
drop
table
test
.
t1
;
SHOW
TABLE
STATUS
FROM
`information_schema`
LIKE
'INNODB\_SYS\_INDEXES%'
;
--
enable_result_log
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