summaryrefslogtreecommitdiff
path: root/sql/rpl_record_old.h
diff options
context:
space:
mode:
authorunknown <mats@romeo.(none)>2007-04-13 14:55:28 +0200
committerunknown <mats@romeo.(none)>2007-04-13 14:55:28 +0200
commit0d3f926a1c21f3b760a18d5aa0e2587fe2136709 (patch)
treea6298adece79b18afd126eeb524928c260641fc1 /sql/rpl_record_old.h
parentdc125bb3a0b42c2d6aaf235631a3f14645c7e772 (diff)
downloadmariadb-git-0d3f926a1c21f3b760a18d5aa0e2587fe2136709.tar.gz
WL#2735: Refactor replication
Factoring out pack_row() and unpack_row() into new files rpl_record.{cc,h}. libmysqld/Makefile.am: Adding file rpl_record.cc sql/CMakeLists.txt: Adding file rpl_record.cc sql/Makefile.am: Adding file rpl_record.cc and rpl_record.h sql/log_event.cc: Moving implementation of unpack_row() into "rpl_record.cc". Adding inclusion of header file "rpl_record.h". sql/log_event_old.cc: Signature of do_prepare_row() changed. sql/log_event_old.h: Adding copyright. sql/rpl_record_old.cc: Signature of do_prepare_row() changed. sql/rpl_record_old.h: Adding copyright. Signature of do_prepare_row() changed. sql/sql_class.cc: Moving implementation THD::pack_row() into "rpl_record.cc" and rewriting it to be a global function. Adding inclusion of header file "rpl_record.h". sql/sql_class.h: Removing pack_row() as THD member function. sql/rpl_record.cc: New BitKeeper file ``sql/rpl_record.cc'' sql/rpl_record.h: New BitKeeper file ``sql/rpl_record.h''
Diffstat (limited to 'sql/rpl_record_old.h')
-rw-r--r--sql/rpl_record_old.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/sql/rpl_record_old.h b/sql/rpl_record_old.h
index 7249d98c7b1..6ddb01de07c 100644
--- a/sql/rpl_record_old.h
+++ b/sql/rpl_record_old.h
@@ -1,8 +1,23 @@
+/* Copyright 2007 MySQL AB. All rights reserved.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
#ifndef RPL_RECORD_OLD_H
#define RPL_RECORD_OLD_H
#ifndef MYSQL_CLIENT
-my_size_t pack_row_old(THD *thd, TABLE *table, MY_BITMAP const* cols,
+my_size_t pack_row_old(TABLE *table, MY_BITMAP const* cols,
byte *row_data, const byte *record);
#ifdef HAVE_REPLICATION