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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
5355972b
Commit
5355972b
authored
Jun 16, 2015
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after merge fixes: InnoDB and XtraDB
parent
ede08808
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
storage/innobase/page/page0zip.cc
storage/innobase/page/page0zip.cc
+2
-0
storage/xtradb/row/row0merge.cc
storage/xtradb/row/row0merge.cc
+8
-6
No files found.
storage/innobase/page/page0zip.cc
View file @
5355972b
...
...
@@ -47,6 +47,8 @@ using namespace std;
#include "btr0cur.h"
#include "page0types.h"
#include "log0recv.h"
#else
#define page_warn_strict_checksum(A,B,C,D)
#endif
/* !UNIV_INNOCHECKSUM */
#include "zlib.h"
#ifndef UNIV_HOTBACKUP
...
...
storage/xtradb/row/row0merge.cc
View file @
5355972b
...
...
@@ -252,7 +252,8 @@ row_merge_buf_redundant_convert(
dfield_t
*
field
,
ulint
len
,
ulint
zip_size
,
mem_heap_t
*
heap
)
mem_heap_t
*
heap
,
trx_t
*
trx
)
{
ut_ad
(
DATA_MBMINLEN
(
field
->
type
.
mbminmaxlen
)
==
1
);
ut_ad
(
DATA_MBMAXLEN
(
field
->
type
.
mbminmaxlen
)
>
1
);
...
...
@@ -271,7 +272,7 @@ row_merge_buf_redundant_convert(
field_ref_zero
,
BTR_EXTERN_FIELD_REF_SIZE
));
byte
*
data
=
btr_copy_externally_stored_field
(
&
ext_len
,
field_data
,
zip_size
,
field_len
,
heap
);
&
ext_len
,
field_data
,
zip_size
,
field_len
,
heap
,
trx
);
ut_ad
(
ext_len
<
len
);
...
...
@@ -314,7 +315,8 @@ row_merge_buf_add(
const
row_ext_t
*
ext
,
doc_id_t
*
doc_id
,
mem_heap_t
*
conv_heap
,
bool
*
exceed_page
)
bool
*
exceed_page
,
trx_t
*
trx
)
{
ulint
i
;
const
dict_index_t
*
index
;
...
...
@@ -473,7 +475,7 @@ row_merge_buf_add(
row_merge_buf_redundant_convert
(
row_field
,
field
,
col
->
len
,
dict_table_zip_size
(
old_table
),
conv_heap
);
conv_heap
,
trx
);
}
else
{
/* Field length mismatch should not
happen when rebuilding redundant row
...
...
@@ -1692,7 +1694,7 @@ write_buffers:
(
row
&&
(
rows_added
=
row_merge_buf_add
(
buf
,
fts_index
,
old_table
,
psort_info
,
row
,
ext
,
&
doc_id
,
conv_heap
,
&
exceed_page
))))
{
conv_heap
,
&
exceed_page
,
trx
))))
{
/* If we are creating FTS index,
a single row can generate more
...
...
@@ -1805,7 +1807,7 @@ write_buffers:
buf
,
fts_index
,
old_table
,
psort_info
,
row
,
ext
,
&
doc_id
,
conv_heap
,
&
exceed_page
))))
{
&
exceed_page
,
trx
))))
{
/* An empty buffer should have enough
room for at least one record. */
ut_error
;
...
...
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