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
5cffd57e
Commit
5cffd57e
authored
Nov 21, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge romeo.(none):/home/bkroot/mysql-5.1
into romeo.(none):/home/bk/memcheck-mysql-5.1
parents
265b272b
b8f6ba80
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
116 additions
and
29 deletions
+116
-29
sql/log_event.cc
sql/log_event.cc
+108
-25
sql/sql_class.cc
sql/sql_class.cc
+7
-1
sql/table.cc
sql/table.cc
+1
-3
No files found.
sql/log_event.cc
View file @
5cffd57e
This diff is collapsed.
Click to expand it.
sql/sql_class.cc
View file @
5cffd57e
...
...
@@ -2727,11 +2727,17 @@ int THD::binlog_update_row(TABLE* table, bool is_trans,
before_record
);
my_size_t
const
after_size
=
pack_row
(
table
,
cols
,
after_row
,
after_record
);
/*
Don't print debug messages when running valgrind since they can
trigger false warnings.
*/
#ifndef HAVE_purify
DBUG_DUMP
(
"before_record"
,
(
const
char
*
)
before_record
,
table
->
s
->
reclength
);
DBUG_DUMP
(
"after_record"
,
(
const
char
*
)
after_record
,
table
->
s
->
reclength
);
DBUG_DUMP
(
"before_row"
,
(
const
char
*
)
before_row
,
before_size
);
DBUG_DUMP
(
"after_row"
,
(
const
char
*
)
after_row
,
after_size
);
#endif
Rows_log_event
*
const
ev
=
binlog_prepare_pending_rows_event
(
table
,
server_id
,
cols
,
colcnt
,
...
...
sql/table.cc
View file @
5cffd57e
...
...
@@ -1377,9 +1377,7 @@ int open_table_from_share(THD *thd, TABLE_SHARE *share, const char *alias,
if
(
!
(
record
=
(
byte
*
)
alloc_root
(
&
outparam
->
mem_root
,
share
->
rec_buff_length
*
records
)))
goto
err
;
/* purecov: inspected */
#ifdef HAVE_purify
bzero
(
record
,
share
->
rec_buff_length
*
records
);
#endif
if
(
records
==
0
)
{
/* We are probably in hard repair, and the buffers should not be used */
...
...
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