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
291fb19f
Commit
291fb19f
authored
Sep 13, 2024
by
Sergey Vojtovich
Committed by
Sergei Golubchik
Sep 22, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disabled high-level indexes with Aria
... until a few bugs that cause server crash are fixed.
parent
8016248b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
mysql-test/main/vector.result
mysql-test/main/vector.result
+3
-0
mysql-test/main/vector.test
mysql-test/main/vector.test
+4
-0
storage/maria/ha_maria.cc
storage/maria/ha_maria.cc
+5
-0
No files found.
mysql-test/main/vector.result
View file @
291fb19f
...
...
@@ -851,3 +851,6 @@ drop table t1;
create table t1(v blob not null, vector index(v));
alter table t1 add column a int;
drop table t1;
# Aria doesn't support VECTOR yet
create table t1(v blob not null, vector index(v)) engine=aria;
ERROR HY000: Table storage engine 'Aria' does not support the create option 'VECTOR'
mysql-test/main/vector.test
View file @
291fb19f
...
...
@@ -382,3 +382,7 @@ drop table t1;
create
table
t1
(
v
blob
not
null
,
vector
index
(
v
));
alter
table
t1
add
column
a
int
;
drop
table
t1
;
--
echo
# Aria doesn't support VECTOR yet
--
error
ER_ILLEGAL_HA_CREATE_OPTION
create
table
t1
(
v
blob
not
null
,
vector
index
(
v
))
engine
=
aria
;
storage/maria/ha_maria.cc
View file @
291fb19f
...
...
@@ -3317,6 +3317,11 @@ int ha_maria::create(const char *name, TABLE *table_arg,
THD
*
thd
=
current_thd
;
DBUG_ENTER
(
"ha_maria::create"
);
if
(
share
->
total_keys
>
share
->
keys
)
{
my_error
(
ER_ILLEGAL_HA_CREATE_OPTION
,
MYF
(
0
),
"Aria"
,
"VECTOR"
);
DBUG_RETURN
(
HA_ERR_UNSUPPORTED
);
}
for
(
i
=
0
;
i
<
share
->
keys
;
i
++
)
{
if
(
table_arg
->
key_info
[
i
].
flags
&
HA_USES_PARSER
)
...
...
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