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
aabd1c8f
Commit
aabd1c8f
authored
Sep 09, 2019
by
Nikita Malyavin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-16490 fix versioning.partition failure
parent
f6a7730c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
sql/handler.cc
sql/handler.cc
+5
-2
No files found.
sql/handler.cc
View file @
aabd1c8f
...
...
@@ -7252,8 +7252,11 @@ bool Table_scope_and_contents_source_st::vers_check_system_fields(
if
(
!
(
alter_info
->
flags
&
ALTER_ADD_SYSTEM_VERSIONING
))
return
false
;
return
vers_info
.
check_sys_fields
(
table_name
,
db
,
alter_info
,
ha_check_storage_engine_flag
(
db_type
,
HTON_NATIVE_SYS_VERSIONING
));
bool
can_native
=
ha_check_storage_engine_flag
(
db_type
,
HTON_NATIVE_SYS_VERSIONING
)
||
db_type
->
db_type
==
DB_TYPE_PARTITION_DB
;
return
vers_info
.
check_sys_fields
(
table_name
,
db
,
alter_info
,
can_native
);
}
...
...
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