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
37fdb93d
Commit
37fdb93d
authored
Jan 31, 2003
by
bar@bar.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gluh asked me to do it
parent
c7485119
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
client/mysqlbinlog.cc
client/mysqlbinlog.cc
+1
-0
sql/log_event.cc
sql/log_event.cc
+3
-4
No files found.
client/mysqlbinlog.cc
View file @
37fdb93d
...
...
@@ -18,6 +18,7 @@
#undef MYSQL_SERVER
#include "client_priv.h"
#include <time.h>
#include <assert.h>
#include "log_event.h"
#define BIN_LOG_HEADER_SIZE 4
...
...
sql/log_event.cc
View file @
37fdb93d
...
...
@@ -1999,7 +1999,7 @@ int Rand_log_event::exec_event(struct st_relay_log_info* rli)
User_var_log_event::pack_info()
****************************************************************************/
#if
ndef MYSQL_CLIENT
#if
defined(HAVE_REPLICATION) && !defined(MYSQL_CLIENT)
void
User_var_log_event
::
pack_info
(
Protocol
*
protocol
)
{
char
*
buf
=
0
;
...
...
@@ -2112,9 +2112,7 @@ int User_var_log_event::write_data(IO_CACHE* file)
pos
=
val
;
break
;
case
ROW_RESULT
:
#ifndef MYSQL_CLIENT
DBUG_ASSERT
(
1
);
#endif
return
0
;
}
return
(
my_b_safe_write
(
file
,
(
byte
*
)
buf
,
sizeof
(
buf
))
||
...
...
@@ -2166,6 +2164,7 @@ void User_var_log_event::print(FILE* file, bool short_form, char* last_db)
fprintf
(
file
,
":='%s';
\n
"
,
val
);
break
;
case
ROW_RESULT
:
DBUG_ASSERT
(
1
);
return
;
}
}
...
...
@@ -2178,7 +2177,7 @@ void User_var_log_event::print(FILE* file, bool short_form, char* last_db)
User_var_log_event::exec_event()
****************************************************************************/
#if
ndef MYSQL_CLIENT
#if
defined(HAVE_REPLICATION) && !defined(MYSQL_CLIENT)
int
User_var_log_event
::
exec_event
(
struct
st_relay_log_info
*
rli
)
{
Item
*
it
=
0
;
...
...
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