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
4bde20d1
Commit
4bde20d1
authored
Apr 23, 2007
by
iggy@recycle.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #27691 bk compilation with VC++ 2005 fails
- Added appropiate casts.
parent
2ac94c30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
sql/log_event.cc
sql/log_event.cc
+5
-5
No files found.
sql/log_event.cc
View file @
4bde20d1
...
...
@@ -6260,7 +6260,7 @@ bool Rows_log_event::write_data_body(IO_CACHE*file)
reinterpret_cast
<
byte
*>
(
m_cols_ai
.
bitmap
),
no_bytes_in_map
(
&
m_cols_ai
));
}
DBUG_DUMP
(
"rows"
,
m_rows_buf
,
data_size
);
DBUG_DUMP
(
"rows"
,
(
const
char
*
)
m_rows_buf
,
data_size
);
res
=
res
||
my_b_safe_write
(
file
,
m_rows_buf
,
(
uint
)
data_size
);
return
res
;
...
...
@@ -6979,7 +6979,7 @@ replace_record(THD *thd, TABLE *table,
auto_afree_ptr
<
char
>
key
(
NULL
);
#ifndef DBUG_OFF
DBUG_DUMP
(
"record[0]"
,
table
->
record
[
0
],
table
->
s
->
reclength
);
DBUG_DUMP
(
"record[0]"
,
(
const
char
*
)
table
->
record
[
0
],
table
->
s
->
reclength
);
DBUG_PRINT_BITSET
(
"debug"
,
"write_set = %s"
,
table
->
write_set
);
DBUG_PRINT_BITSET
(
"debug"
,
"read_set = %s"
,
table
->
read_set
);
#endif
...
...
@@ -7221,7 +7221,7 @@ static int find_and_fetch_row(TABLE *table, byte *key)
DBUG_ASSERT
(
table
->
in_use
!=
NULL
);
DBUG_DUMP
(
"record[0]"
,
table
->
record
[
0
],
table
->
s
->
reclength
);
DBUG_DUMP
(
"record[0]"
,
(
const
char
*
)
table
->
record
[
0
],
table
->
s
->
reclength
);
if
((
table
->
file
->
ha_table_flags
()
&
HA_PRIMARY_KEY_REQUIRED_FOR_POSITION
)
&&
table
->
s
->
primary_key
<
MAX_KEY
)
...
...
@@ -7365,8 +7365,8 @@ static int find_and_fetch_row(TABLE *table, byte *key)
{
error
=
table
->
file
->
rnd_next
(
table
->
record
[
1
]);
DBUG_DUMP
(
"record[0]"
,
table
->
record
[
0
],
table
->
s
->
reclength
);
DBUG_DUMP
(
"record[1]"
,
table
->
record
[
1
],
table
->
s
->
reclength
);
DBUG_DUMP
(
"record[0]"
,
(
const
char
*
)
table
->
record
[
0
],
table
->
s
->
reclength
);
DBUG_DUMP
(
"record[1]"
,
(
const
char
*
)
table
->
record
[
1
],
table
->
s
->
reclength
);
switch
(
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