1 /* Copyright (C) 2007 Google Inc. 2 Copyright (C) 2008 MySQL AB 3 Use is subject to license terms 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; version 2 of the License. 8 9 This program is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 GNU General Public License for more details. 13 14 You should have received a copy of the GNU General Public License 15 along with this program; if not, write to the Free Software 16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */ 17 18 19 #include <my_global.h> 20 #include "semisync.h" 21 22 const unsigned char Repl_semi_sync_base::k_packet_magic_num= 0xef; 23 const unsigned char Repl_semi_sync_base::k_packet_flag_sync= 0x01; 24 25 26 const unsigned long Trace::k_trace_general= 0x0001; 27 const unsigned long Trace::k_trace_detail= 0x0010; 28 const unsigned long Trace::k_trace_net_wait= 0x0020; 29 const unsigned long Trace::k_trace_function= 0x0040; 30 31 const unsigned char Repl_semi_sync_base::k_sync_header[2]= 32 {Repl_semi_sync_base::k_packet_magic_num, 0}; 33