My Project
rpl_record_old.h
00001 /* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
00002 
00003    This program is free software; you can redistribute it and/or modify
00004    it under the terms of the GNU General Public License as published by
00005    the Free Software Foundation; version 2 of the License.
00006 
00007    This program is distributed in the hope that it will be useful,
00008    but WITHOUT ANY WARRANTY; without even the implied warranty of
00009    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00010    GNU General Public License for more details.
00011 
00012    You should have received a copy of the GNU General Public License
00013    along with this program; if not, write to the Free Software Foundation,
00014    51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA */
00015 
00016 #ifndef RPL_RECORD_OLD_H
00017 #define RPL_RECORD_OLD_H
00018 
00019 #include "log_event.h"                          /* Log_event_type */
00020 
00021 #ifndef MYSQL_CLIENT
00022 size_t pack_row_old(TABLE *table, MY_BITMAP const* cols,
00023                     uchar *row_data, const uchar *record);
00024 
00025 #ifdef HAVE_REPLICATION
00026 int unpack_row_old(Relay_log_info *rli,
00027                    TABLE *table, uint const colcnt, uchar *record,
00028                    uchar const *row, MY_BITMAP const *cols,
00029                    uchar const **row_end, ulong *master_reclength,
00030                    MY_BITMAP* const rw_set,
00031                    Log_event_type const event_type);
00032 #endif
00033 #endif
00034 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines