mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / sql / rpl_record_old.h
blobcddf461eb3e37860475971494e6c204e62f55187
1 /* Copyright (c) 2007 MySQL AB
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.
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.
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
14 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */
16 #ifndef RPL_RECORD_OLD_H
17 #define RPL_RECORD_OLD_H
19 #ifndef MYSQL_CLIENT
20 size_t pack_row_old(TABLE *table, MY_BITMAP const* cols,
21 uchar *row_data, const uchar *record);
23 #ifdef HAVE_REPLICATION
24 int unpack_row_old(Relay_log_info *rli,
25 TABLE *table, uint const colcnt, uchar *record,
26 uchar const *row, MY_BITMAP const *cols,
27 uchar const **row_end, ulong *master_reclength,
28 MY_BITMAP* const rw_set,
29 Log_event_type const event_type);
30 #endif
31 #endif
32 #endif