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
75be2a8b
Commit
75be2a8b
authored
Feb 26, 2007
by
mats@romeo.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eliminating compiler warnings in the sql/ directory.
parent
62f82309
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
sql/log.cc
sql/log.cc
+5
-5
sql/log_event.cc
sql/log_event.cc
+1
-2
sql/sql_insert.cc
sql/sql_insert.cc
+1
-1
No files found.
sql/log.cc
View file @
75be2a8b
...
...
@@ -138,8 +138,8 @@ class binlog_trx_data {
*/
void
truncate
(
my_off_t
pos
)
{
DBUG_PRINT
(
"info"
,
(
"truncating to position %l
d"
,
pos
));
DBUG_PRINT
(
"info"
,
(
"before_stmt_pos=%lu"
,
(
void
*
)
pos
));
DBUG_PRINT
(
"info"
,
(
"truncating to position %l
u"
,
(
ulong
)
pos
));
DBUG_PRINT
(
"info"
,
(
"before_stmt_pos=%lu"
,
(
ulong
)
pos
));
delete
pending
();
set_pending
(
0
);
reinit_io_cache
(
&
trans_log
,
WRITE_CACHE
,
pos
,
0
,
0
);
...
...
@@ -3466,10 +3466,10 @@ int THD::binlog_flush_transaction_cache()
{
DBUG_ENTER
(
"binlog_flush_transaction_cache"
);
binlog_trx_data
*
trx_data
=
(
binlog_trx_data
*
)
ha_data
[
binlog_hton
->
slot
];
DBUG_PRINT
(
"enter"
,
(
"trx_data=0x%lu"
,
(
void
*
)
trx_data
));
DBUG_PRINT
(
"enter"
,
(
"trx_data=0x%lu"
,
(
ulong
)
trx_data
));
if
(
trx_data
)
DBUG_PRINT
(
"enter"
,
(
"trx_data->before_stmt_pos=%
d
"
,
trx_data
->
before_stmt_pos
));
DBUG_PRINT
(
"enter"
,
(
"trx_data->before_stmt_pos=%
lu
"
,
(
ulong
)
trx_data
->
before_stmt_pos
));
/*
Write the transaction cache to the binary log. We don't flush and
...
...
sql/log_event.cc
View file @
75be2a8b
...
...
@@ -6402,8 +6402,7 @@ int Table_map_log_event::exec_event(st_relay_log_info *rli)
inside st_relay_log_info::clear_tables_to_lock() by calling the
table_def destructor explicitly.
*/
const
table_def
*
const
def
=
new
(
&
table_list
->
m_tabledef
)
table_def
(
m_coltype
,
m_colcnt
);
new
(
&
table_list
->
m_tabledef
)
table_def
(
m_coltype
,
m_colcnt
);
table_list
->
m_tabledef_valid
=
TRUE
;
/*
...
...
sql/sql_insert.cc
View file @
75be2a8b
...
...
@@ -3189,7 +3189,7 @@ void select_create::send_error(uint errcode,const char *err)
thd
->
current_stmt_binlog_row_based
?
"is"
:
"is NOT"
));
DBUG_PRINT
(
"info"
,
(
"Current table (at 0x%lu) %s a temporary (or non-existant) table"
,
(
void
*
)
table
,
(
ulong
)
table
,
table
&&
!
table
->
s
->
tmp_table
?
"is NOT"
:
"is"
));
DBUG_PRINT
(
"info"
,
(
"Table %s prior to executing this statement"
,
...
...
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