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
a077186b
Commit
a077186b
authored
Jul 06, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix test for bug29299
parent
b0f65c16
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
24 deletions
+37
-24
mysql-test/r/fulltext2.result
mysql-test/r/fulltext2.result
+0
-12
mysql-test/r/fulltext3.result
mysql-test/r/fulltext3.result
+13
-0
mysql-test/t/fulltext2.test
mysql-test/t/fulltext2.test
+0
-12
mysql-test/t/fulltext3.test
mysql-test/t/fulltext3.test
+24
-0
No files found.
mysql-test/r/fulltext2.result
View file @
a077186b
...
...
@@ -241,15 +241,3 @@ select * from t1 where match a against('ab c' in boolean mode);
a
drop table t1;
set names latin1;
CREATE TABLE t1(a VARCHAR(255) CHARACTER SET gbk, FULLTEXT(a));
SET NAMES utf8;
INSERT INTO t1 VALUES(0xF043616161),(0xBEF361616197C22061616161);
SELECT HEX(a) FROM t1 WHERE MATCH(a) AGAINST(0x97C22061616161 IN BOOLEAN MODE);
HEX(a)
BEF361616197C22061616161
DELETE FROM t1 LIMIT 1;
CHECK TABLE t1;
Table Op Msg_type Msg_text
test.t1 check status OK
SET NAMES latin1;
DROP TABLE t1;
mysql-test/r/fulltext3.result
0 → 100644
View file @
a077186b
DROP TABLE IF EXISTS t1;
CREATE TABLE t1(a VARCHAR(255) CHARACTER SET gbk, FULLTEXT(a));
SET NAMES utf8;
INSERT INTO t1 VALUES(0xF043616161),(0xBEF361616197C22061616161);
SELECT HEX(a) FROM t1 WHERE MATCH(a) AGAINST(0x97C22061616161 IN BOOLEAN MODE);
HEX(a)
BEF361616197C22061616161
DELETE FROM t1 LIMIT 1;
CHECK TABLE t1;
Table Op Msg_type Msg_text
test.t1 check status OK
SET NAMES latin1;
DROP TABLE t1;
mysql-test/t/fulltext2.test
View file @
a077186b
...
...
@@ -220,16 +220,4 @@ select * from t1 where match a against('ab c' in boolean mode);
drop
table
t1
;
set
names
latin1
;
#
# BUG#29299 - repeatable myisam fulltext index corruption
#
CREATE
TABLE
t1
(
a
VARCHAR
(
255
)
CHARACTER
SET
gbk
,
FULLTEXT
(
a
));
SET
NAMES
utf8
;
INSERT
INTO
t1
VALUES
(
0xF043616161
),(
0xBEF361616197C22061616161
);
SELECT
HEX
(
a
)
FROM
t1
WHERE
MATCH
(
a
)
AGAINST
(
0x97C22061616161
IN
BOOLEAN
MODE
);
DELETE
FROM
t1
LIMIT
1
;
CHECK
TABLE
t1
;
SET
NAMES
latin1
;
DROP
TABLE
t1
;
# End of 4.1 tests
mysql-test/t/fulltext3.test
0 → 100644
View file @
a077186b
--
source
include
/
have_gbk
.
inc
#
# test of new fulltext search features
#
--
disable_warnings
DROP
TABLE
IF
EXISTS
t1
;
--
enable_warnings
#
# BUG#29299 - repeatable myisam fulltext index corruption
#
CREATE
TABLE
t1
(
a
VARCHAR
(
255
)
CHARACTER
SET
gbk
,
FULLTEXT
(
a
));
SET
NAMES
utf8
;
INSERT
INTO
t1
VALUES
(
0xF043616161
),(
0xBEF361616197C22061616161
);
SELECT
HEX
(
a
)
FROM
t1
WHERE
MATCH
(
a
)
AGAINST
(
0x97C22061616161
IN
BOOLEAN
MODE
);
DELETE
FROM
t1
LIMIT
1
;
CHECK
TABLE
t1
;
SET
NAMES
latin1
;
DROP
TABLE
t1
;
# End of 5.0 tests
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