summaryrefslogtreecommitdiff
path: root/sql/share
diff options
context:
space:
mode:
authorvinchen <vinchen13@gmail.com>2016-10-08 12:07:26 +0800
committerKristian Nielsen <knielsen@knielsen-hq.org>2016-10-19 20:20:35 +0200
commit640051e06aa585b056671738a6614cd314074ac6 (patch)
tree540b46e17247011c429d184413ff4f957af64e42 /sql/share
parent27025221fe2ea17aa737ad2ad31011407c00dcc9 (diff)
downloadmariadb-git-640051e06aa585b056671738a6614cd314074ac6.tar.gz
Binlog compressed
Add some event types for the compressed event, there are: QUERY_COMPRESSED_EVENT, WRITE_ROWS_COMPRESSED_EVENT_V1, UPDATE_ROWS_COMPRESSED_EVENT_V1, DELETE_POWS_COMPRESSED_EVENT_V1, WRITE_ROWS_COMPRESSED_EVENT, UPDATE_ROWS_COMPRESSED_EVENT, DELETE_POWS_COMPRESSED_EVENT. These events inheritance the uncompressed editor events. One of their constructor functions and write function have been overridden for uncompressing and compressing. Anything but this is totally the same. On slave, The IO thread will uncompress and convert them When it receiving the events from the master. So the SQL and worker threads can be stay unchanged. Now we use zlib as compress algorithm. It maybe support other algorithm in the future.
Diffstat (limited to 'sql/share')
-rw-r--r--sql/share/errmsg-utf8.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/share/errmsg-utf8.txt b/sql/share/errmsg-utf8.txt
index d42611bfebe..4d1925e5d84 100644
--- a/sql/share/errmsg-utf8.txt
+++ b/sql/share/errmsg-utf8.txt
@@ -7232,3 +7232,5 @@ ER_PARTITION_DEFAULT_ERROR
ukr "Припустимо мати тільки один DEFAULT розділ"
ER_REFERENCED_TRG_DOES_NOT_EXIST
eng "Referenced trigger '%s' for the given action time and event type does not exist"
+ER_BINLOG_UNCOMPRESS_ERROR
+ eng "Uncompress the compressed binlog failed"