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
dba43f4b
Commit
dba43f4b
authored
Mar 30, 2018
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix comparison of row_start/row_end
parent
08a901cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
sql/handler.cc
sql/handler.cc
+4
-4
sql/handler.h
sql/handler.h
+2
-2
No files found.
sql/handler.cc
View file @
dba43f4b
...
...
@@ -6884,8 +6884,8 @@ static bool vers_create_sys_field(THD *thd, const char *field_name,
return
false
;
}
const
LString
Vers_parse_info
::
default_start
=
"row_start"
;
const
LString
Vers_parse_info
::
default_end
=
"row_end"
;
const
LString
_i
Vers_parse_info
::
default_start
=
"row_start"
;
const
LString
_i
Vers_parse_info
::
default_end
=
"row_end"
;
bool
Vers_parse_info
::
fix_implicit
(
THD
*
thd
,
Alter_info
*
alter_info
,
int
*
added
)
{
...
...
@@ -7190,8 +7190,8 @@ bool Vers_parse_info::fix_alter_info(THD *thd, Alter_info *alter_info,
create_info
->
options
|=
HA_VERSIONED_TABLE
;
DBUG_ASSERT
(
share
->
vers_start_field
()
&&
share
->
vers_end_field
());
LString
start
(
share
->
vers_start_field
()
->
field_name
);
LString
end
(
share
->
vers_end_field
()
->
field_name
);
LString
_i
start
(
share
->
vers_start_field
()
->
field_name
);
LString
_i
end
(
share
->
vers_end_field
()
->
field_name
);
DBUG_ASSERT
(
start
.
ptr
()
&&
end
.
ptr
());
as_row
=
start_end_t
(
start
,
end
);
...
...
sql/handler.h
View file @
dba43f4b
...
...
@@ -1960,8 +1960,8 @@ struct Vers_parse_info
bool
native
);
public:
static
const
LString
default_start
;
static
const
LString
default_end
;
static
const
LString
_i
default_start
;
static
const
LString
_i
default_end
;
bool
fix_alter_info
(
THD
*
thd
,
Alter_info
*
alter_info
,
HA_CREATE_INFO
*
create_info
,
TABLE
*
table
);
...
...
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