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
6bbc50cd
Commit
6bbc50cd
authored
Jan 13, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0
into april.(none):/home/svoj/devel/mysql/BUG13835/mysql-5.0
parents
85f2158b
7f397ffd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
mysql-test/r/fulltext.result
mysql-test/r/fulltext.result
+8
-0
mysql-test/t/fulltext.test
mysql-test/t/fulltext.test
+8
-0
sql/sql_table.cc
sql/sql_table.cc
+1
-1
No files found.
mysql-test/r/fulltext.result
View file @
6bbc50cd
...
...
@@ -437,3 +437,11 @@ SELECT a FROM t1 WHERE MATCH a AGAINST('testword\'\'' IN BOOLEAN MODE);
a
testword''
DROP TABLE t1;
CREATE TABLE t1 (a VARCHAR(10000), FULLTEXT(a));
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` varchar(10000) default NULL,
FULLTEXT KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
DROP TABLE t1;
mysql-test/t/fulltext.test
View file @
6bbc50cd
...
...
@@ -357,4 +357,12 @@ SELECT a FROM t1 WHERE MATCH a AGAINST('testword' IN BOOLEAN MODE);
SELECT
a
FROM
t1
WHERE
MATCH
a
AGAINST
(
'testword\'\''
IN
BOOLEAN
MODE
);
DROP
TABLE
t1
;
#
# BUG#13835: max key length is 1000 bytes when trying to create
# a fulltext index
#
CREATE
TABLE
t1
(
a
VARCHAR
(
10000
),
FULLTEXT
(
a
));
SHOW
CREATE
TABLE
t1
;
DROP
TABLE
t1
;
# End of 4.1 tests
sql/sql_table.cc
View file @
6bbc50cd
...
...
@@ -1296,7 +1296,7 @@ static int mysql_prepare_table(THD *thd, HA_CREATE_INFO *create_info,
my_error
(
ER_WRONG_KEY_COLUMN
,
MYF
(
0
),
column
->
field_name
);
DBUG_RETURN
(
-
1
);
}
if
(
length
>
file
->
max_key_part_length
())
if
(
length
>
file
->
max_key_part_length
()
&&
key
->
type
!=
Key
::
FULLTEXT
)
{
length
=
file
->
max_key_part_length
();
if
(
key
->
type
==
Key
::
MULTIPLE
)
...
...
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