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
b2f5b2e8
Commit
b2f5b2e8
authored
Sep 24, 2007
by
mats@kindahl-laptop.dnsalias.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#31076 (Server crashes when start slave is issued):
Second patch to initailize more uninitialized variables.
parent
c5622b42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
sql/log_event.cc
sql/log_event.cc
+7
-3
No files found.
sql/log_event.cc
View file @
b2f5b2e8
...
@@ -6621,6 +6621,7 @@ Table_map_log_event::Table_map_log_event(THD *thd, TABLE *tbl, ulong tid,
...
@@ -6621,6 +6621,7 @@ Table_map_log_event::Table_map_log_event(THD *thd, TABLE *tbl, ulong tid,
m_tblnam
(
tbl
->
s
->
table_name
.
str
),
m_tblnam
(
tbl
->
s
->
table_name
.
str
),
m_tbllen
(
tbl
->
s
->
table_name
.
length
),
m_tbllen
(
tbl
->
s
->
table_name
.
length
),
m_colcnt
(
tbl
->
s
->
fields
),
m_field_metadata
(
0
),
m_colcnt
(
tbl
->
s
->
fields
),
m_field_metadata
(
0
),
m_field_metadata_size
(
0
),
m_memory
(
NULL
),
m_meta_memory
(
NULL
),
m_data_size
(
0
),
m_table_id
(
tid
),
m_null_bits
(
0
),
m_flags
(
flags
)
m_table_id
(
tid
),
m_null_bits
(
0
),
m_flags
(
flags
)
{
{
DBUG_ASSERT
(
m_table_id
!=
~
0UL
);
DBUG_ASSERT
(
m_table_id
!=
~
0UL
);
...
@@ -6693,10 +6694,13 @@ Table_map_log_event::Table_map_log_event(const char *buf, uint event_len,
...
@@ -6693,10 +6694,13 @@ Table_map_log_event::Table_map_log_event(const char *buf, uint event_len,
:
Log_event
(
buf
,
description_event
),
:
Log_event
(
buf
,
description_event
),
#ifndef MYSQL_CLIENT
#ifndef MYSQL_CLIENT
m_table
(
NULL
),
m_table
(
NULL
),
#endif
#endif
m_memory
(
NULL
),
m_dbnam
(
NULL
),
m_dblen
(
0
),
m_tblnam
(
NULL
),
m_tbllen
(
0
),
m_field_metadata
(
0
),
m_field_metadata_size
(
0
),
m_null_bits
(
0
)
m_colcnt
(
0
),
m_coltype
(
0
),
m_memory
(
NULL
),
m_table_id
(
ULONG_MAX
),
m_flags
(
0
),
m_data_size
(
0
),
m_field_metadata
(
0
),
m_field_metadata_size
(
0
),
m_null_bits
(
0
),
m_meta_memory
(
NULL
)
{
{
unsigned
int
bytes_read
=
0
;
unsigned
int
bytes_read
=
0
;
DBUG_ENTER
(
"Table_map_log_event::Table_map_log_event(const char*,uint,...)"
);
DBUG_ENTER
(
"Table_map_log_event::Table_map_log_event(const char*,uint,...)"
);
...
...
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