My Project
|
00001 /* 00002 Copyright (C) 2000-2003 MySQL AB 00003 All rights reserved. Use is subject to license terms. 00004 00005 This program is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation; version 2 of the License. 00008 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with this program; if not, write to the Free Software 00016 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00017 */ 00018 00019 #define NDB_REP_DB "mysql" 00020 #define NDB_REP_TABLE "ndb_binlog_index" 00021 #define NDB_APPLY_TABLE "ndb_apply_status" 00022 #define NDB_SCHEMA_TABLE "ndb_schema" 00023 #define NDB_REPLICATION_TABLE "ndb_replication" 00024 00025 enum Ndb_binlog_type 00026 { 00027 NBT_DEFAULT = 0 00028 ,NBT_NO_LOGGING = 1 00029 ,NBT_UPDATED_ONLY = 2 00030 ,NBT_FULL = 3 00031 ,NBT_USE_UPDATE = 4 /* bit 0x4 indicates USE_UPDATE */ 00032 ,NBT_UPDATED_ONLY_USE_UPDATE = NBT_UPDATED_ONLY | NBT_USE_UPDATE 00033 ,NBT_FULL_USE_UPDATE = NBT_FULL | NBT_USE_UPDATE 00034 };