MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rpl_record_old.h
1 /* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
2 
3  This program is free software; you can redistribute it and/or modify
4  it under the terms of the GNU General Public License as published by
5  the Free Software Foundation; version 2 of the License.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  GNU General Public License for more details.
11 
12  You should have received a copy of the GNU General Public License
13  along with this program; if not, write to the Free Software Foundation,
14  51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA */
15 
16 #ifndef RPL_RECORD_OLD_H
17 #define RPL_RECORD_OLD_H
18 
19 #include "log_event.h" /* Log_event_type */
20 
21 #ifndef MYSQL_CLIENT
22 size_t pack_row_old(TABLE *table, MY_BITMAP const* cols,
23  uchar *row_data, const uchar *record);
24 
25 #ifdef HAVE_REPLICATION
26 int unpack_row_old(Relay_log_info *rli,
27  TABLE *table, uint const colcnt, uchar *record,
28  uchar const *row, MY_BITMAP const *cols,
29  uchar const **row_end, ulong *master_reclength,
30  MY_BITMAP* const rw_set,
31  Log_event_type const event_type);
32 #endif
33 #endif
34 #endif