MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
rpl_record.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_H
17
#define RPL_RECORD_H
18
19
#include <rpl_reporting.h>
20
#include "my_global.h"
/* uchar */
21
22
class
Relay_log_info
;
23
struct
TABLE
;
24
typedef
struct
st_bitmap
MY_BITMAP
;
25
26
#if !defined(MYSQL_CLIENT)
27
size_t
pack_row(
TABLE
*
table
,
MY_BITMAP
const
* cols,
28
uchar *row_data,
const
uchar *data);
29
#endif
30
31
#if !defined(MYSQL_CLIENT) && defined(HAVE_REPLICATION)
32
int
unpack_row(
Relay_log_info
const
*rli,
33
TABLE
*
table
, uint
const
colcnt,
34
uchar
const
*
const
row_data,
MY_BITMAP
const
*cols,
35
uchar
const
**
const
row_end, ulong *
const
master_reclength);
36
37
// Fill table's record[0] with default values.
38
int
prepare_record(
TABLE
*
const
table
,
const
MY_BITMAP
*cols,
const
bool
check);
39
#endif
40
41
#endif
sql
rpl_record.h
Generated on Sat Nov 9 2013 01:25:50 for MySQL 5.6.14 Source Code Document by
1.8.1.2