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
c88ac735
Commit
c88ac735
authored
May 11, 2018
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust the test case for MariaDB
parent
280879eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
mysql-test/suite/innodb_fts/r/fulltext_table_evict.result
mysql-test/suite/innodb_fts/r/fulltext_table_evict.result
+2
-2
mysql-test/suite/innodb_fts/t/fulltext_table_evict.test
mysql-test/suite/innodb_fts/t/fulltext_table_evict.test
+7
-6
No files found.
mysql-test/suite/innodb_fts/r/fulltext_table_evict.result
View file @
c88ac735
...
...
@@ -8,12 +8,12 @@ f1 TEXT(500),
FULLTEXT idx (f1)
) ENGINE=InnoDB;
insert into t1 (f1) values ('fjdhfsjhf'),('dhjfhjshfj'),('dhjafjhfj');
# restart
set @save_table_definition_cache=@@global.table_definition_cache;
set @save_table_open_cache=@@global.table_open_cache;
set global table_definition_cache=400;
set global table_open_cache= 1024;
SET GLOBAL DEBUG="+d,crash_if_fts_table_is_evicted";
SET @save_dbug = @@GLOBAL.debug_dbug;
SET GLOBAL DEBUG_DBUG="+d,crash_if_fts_table_is_evicted";
set @@global.table_definition_cache=@save_table_definition_cache;
set @@global.table_open_cache=@save_table_open_cache;
drop table t1;
mysql-test/suite/innodb_fts/t/fulltext_table_evict.test
View file @
c88ac735
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_debug
.
inc
--
source
include
/
big_test
.
inc
--
echo
#
--
echo
# Bug Bug #27304661 MYSQL CRASH DOING SYNC INDEX ]
--
echo
# [FATAL] INNODB: SEMAPHORE WAIT HAS LASTED > 600
--
echo
#
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_debug
.
inc
CREATE
TABLE
t1
(
id
INT
UNSIGNED
AUTO_INCREMENT
NOT
NULL
PRIMARY
KEY
,
f1
TEXT
(
500
),
...
...
@@ -21,7 +22,8 @@ set @save_table_open_cache=@@global.table_open_cache;
set
global
table_definition_cache
=
400
;
set
global
table_open_cache
=
1024
;
SET
GLOBAL
DEBUG
=
"+d,crash_if_fts_table_is_evicted"
;
SET
@
save_dbug
=
@@
GLOBAL
.
debug_dbug
;
SET
GLOBAL
DEBUG_DBUG
=
"+d,crash_if_fts_table_is_evicted"
;
#Create 1000 tables, try the best to evict t1 .
--
disable_query_log
...
...
@@ -39,9 +41,8 @@ while($loop)
dec
$loop
;
}
SET
GLOBAL
DEBUG
=
"-d,crash_if_fts_table_is_evicted"
;
SET
GLOBAL
DEBUG
_DBUG
=
@
save_dbug
;
--
enable_query_log
set
@@
global
.
table_definition_cache
=@
save_table_definition_cache
;
set
@@
global
.
table_open_cache
=@
save_table_open_cache
;
drop
table
t1
;
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