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
5f33f012
Commit
5f33f012
authored
Sep 13, 2019
by
Roman Nozdrin
Committed by
Sergei Petrunia
Mar 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rebased the branch on top of 10.5 as of
a039b088
.
parent
e9c6a989
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
storage/clustrixdb/ha_clustrixdb.cc
storage/clustrixdb/ha_clustrixdb.cc
+1
-1
storage/clustrixdb/ha_clustrixdb.h
storage/clustrixdb/ha_clustrixdb.h
+1
-1
storage/clustrixdb/ha_clustrixdb_pushdown.cc
storage/clustrixdb/ha_clustrixdb_pushdown.cc
+7
-1
No files found.
storage/clustrixdb/ha_clustrixdb.cc
View file @
5f33f012
...
...
@@ -341,7 +341,7 @@ int ha_clustrixdb::reset()
return
0
;
}
int
ha_clustrixdb
::
write_row
(
uchar
*
buf
)
int
ha_clustrixdb
::
write_row
(
const
uchar
*
buf
)
{
int
error_code
=
0
;
THD
*
thd
=
ha_thd
();
...
...
storage/clustrixdb/ha_clustrixdb.h
View file @
5f33f012
...
...
@@ -52,7 +52,7 @@ class ha_clustrixdb : public handler
int
open
(
const
char
*
name
,
int
mode
,
uint
test_if_locked
);
int
close
(
void
);
int
reset
();
int
write_row
(
uchar
*
buf
);
int
write_row
(
const
uchar
*
buf
);
// start_bulk_update exec_bulk_update
int
update_row
(
const
uchar
*
old_data
,
const
uchar
*
new_data
);
// start_bulk_delete exec_bulk_delete
...
...
storage/clustrixdb/ha_clustrixdb_pushdown.cc
View file @
5f33f012
...
...
@@ -55,7 +55,13 @@ int get_field_types(THD *thd, SELECT_LEX *sl, uchar *fieldtype,
bzero
(
field_metadata
,
(
tmp_table_param
.
field_count
*
2
));
for
(
unsigned
int
i
=
0
;
i
<
tmp_table_param
.
field_count
;
i
++
)
{
metadata_index
+=
tmp_table
->
field
[
i
]
->
save_field_metadata
(
&
field_metadata
[
metadata_index
]);
Binlog_type_info
bti
=
tmp_table
->
field
[
i
]
->
binlog_type_info
();
uchar
*
ptr
=
reinterpret_cast
<
uchar
*>
(
&
bti
.
m_metadata
);
// Binlog_type_info::m_metadata is u16
if
(
bti
.
m_metadata_size
==
1
)
field_metadata
[
metadata_index
++
]
=
*
ptr
++
;
if
(
bti
.
m_metadata_size
==
2
)
field_metadata
[
metadata_index
++
]
=
*
ptr
++
;
}
if
(
metadata_index
<
251
)
...
...
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