summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authorunknown <sven@riska.(none)>2008-02-04 14:37:34 +0100
committerunknown <sven@riska.(none)>2008-02-04 14:37:34 +0100
commitd4e3ab9cf6b1f6455687117e37ad4d8e61e65fbc (patch)
tree9de5c7f5f21dc8265df8c9c5eb07403492b762b2 /sql/log_event.h
parentc89590f15743c6a0fc9362cc031d2baf4373f5b3 (diff)
parented9e73077dd9562b77485fc034f5e3b7688b5dd0 (diff)
downloadmariadb-git-d4e3ab9cf6b1f6455687117e37ad4d8e61e65fbc.tar.gz
Merge riska.(none):/home/sven/bktip/5.1-new-rpl
into riska.(none):/home/sven/bk/b34141-mysqlbinlog_4.1_binlogs/5.1-new-rpl sql/log_event.cc: Auto merged sql/log_event.h: Auto merged
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index e0f7a0517c4..59d58d47bad 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -152,11 +152,11 @@ struct old_sql_ex
struct sql_ex_info
{
sql_ex_info() {} /* Remove gcc warning */
- char* field_term;
- char* enclosed;
- char* line_term;
- char* line_start;
- char* escaped;
+ const char* field_term;
+ const char* enclosed;
+ const char* line_term;
+ const char* line_start;
+ const char* escaped;
int cached_new_format;
uint8 field_term_len,enclosed_len,line_term_len,line_start_len, escaped_len;
char opt_flags;
@@ -171,7 +171,7 @@ struct sql_ex_info
line_start_len + escaped_len + 6 : 7);
}
bool write_data(IO_CACHE* file);
- char* init(char* buf,char* buf_end,bool use_new_format);
+ const char* init(const char* buf, const char* buf_end, bool use_new_format);
bool new_format()
{
return ((cached_new_format != -1) ? cached_new_format :