Updated replication_listener and table_replication_consistency with up-to-date licensing information.
This commit is contained in:
@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
||||||
reserved.
|
reserved.
|
||||||
Copyright (c) 2013, SkySQL Ab
|
Copyright (c) 2013, MariaDB Corporation Ab
|
||||||
|
|
||||||
Portions of this file contain modifications contributed and copyrighted by
|
Portions of this file contain modifications contributed and copyrighted by
|
||||||
SkySQL, Ab. Those modifications are gratefully acknowledged and are described
|
MariaDB Corporation, Ab. Those modifications are gratefully acknowledged and are described
|
||||||
briefly in the source code.
|
briefly in the source code.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or
|
This program is free software; you can redistribute it and/or
|
||||||
@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|||||||
02110-1301 USA
|
02110-1301 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
SkySQL change details:
|
MariaDB Corporation change details:
|
||||||
- Removed unnecessary file driver
|
- Removed unnecessary file driver
|
||||||
|
|
||||||
Author: Jan Lindström (jan.lindstrom@skysql.com
|
Author: Jan Lindström (jan.lindstrom@skysql.com
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
||||||
reserved.
|
reserved.
|
||||||
Copyright (c) 2013, SkySQL Ab
|
Copyright (c) 2013, MariaDB Corporation Ab
|
||||||
|
|
||||||
Portions of this file contain modifications contributed and copyrighted by
|
Portions of this file contain modifications contributed and copyrighted by
|
||||||
SkySQL, Ab. Those modifications are gratefully acknowledged and are described
|
MariaDB Corporation, Ab. Those modifications are gratefully acknowledged and are described
|
||||||
briefly in the source code.
|
briefly in the source code.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or
|
This program is free software; you can redistribute it and/or
|
||||||
@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|||||||
02110-1301 USA
|
02110-1301 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
SkySQL change details:
|
MariaDB Corporation change details:
|
||||||
- Added GTID event handler
|
- Added GTID event handler
|
||||||
|
|
||||||
Author: Jan Lindström (jan.lindstrom@skysql.com
|
Author: Jan Lindström (jan.lindstrom@skysql.com
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
||||||
reserved.
|
reserved.
|
||||||
Copyright (c) 2013, SkySQL Ab
|
Copyright (c) 2013, MariaDB Corporation Ab
|
||||||
|
|
||||||
Portions of this file contain modifications contributed and copyrighted by
|
Portions of this file contain modifications contributed and copyrighted by
|
||||||
SkySQL, Ab. Those modifications are gratefully acknowledged and are described
|
MariaDB Corporation, Ab. Those modifications are gratefully acknowledged and are described
|
||||||
briefly in the source code.
|
briefly in the source code.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or
|
This program is free software; you can redistribute it and/or
|
||||||
@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|||||||
02110-1301 USA
|
02110-1301 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
SkySQL change details:
|
MariaDB Corporation change details:
|
||||||
- Added support for setting binlog position based on GTID
|
- Added support for setting binlog position based on GTID
|
||||||
- Added support for MySQL and MariDB server types
|
- Added support for MySQL and MariDB server types
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
||||||
reserved.
|
reserved.
|
||||||
Copyright (c) 2013, SkySQL Ab
|
Copyright (c) 2013, MariaDB Corporation Ab
|
||||||
|
|
||||||
Portions of this file contain modifications contributed and copyrighted by
|
Portions of this file contain modifications contributed and copyrighted by
|
||||||
SkySQL, Ab. Those modifications are gratefully acknowledged and are described
|
MariaDB Corporation, Ab. Those modifications are gratefully acknowledged and are described
|
||||||
briefly in the source code.
|
briefly in the source code.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or
|
This program is free software; you can redistribute it and/or
|
||||||
@ -23,7 +23,7 @@
|
|||||||
02110-1301 USA
|
02110-1301 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
SkySQL change details:
|
MariaDB Corporation change details:
|
||||||
- Added support for GTID event handling for both MySQL and MariaDB
|
- Added support for GTID event handling for both MySQL and MariaDB
|
||||||
|
|
||||||
Author: Jan Lindström (jan.lindstrom@skysql.com
|
Author: Jan Lindström (jan.lindstrom@skysql.com
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
||||||
reserved.
|
reserved.
|
||||||
Copyright (c) 2013, SkySQL Ab
|
Copyright (c) 2013, MariaDB Corporation Ab
|
||||||
|
|
||||||
Portions of this file contain modifications contributed and copyrighted by
|
Portions of this file contain modifications contributed and copyrighted by
|
||||||
SkySQL, Ab. Those modifications are gratefully acknowledged and are described
|
MariaDB Corporation, Ab. Those modifications are gratefully acknowledged and are described
|
||||||
briefly in the source code.
|
briefly in the source code.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or
|
This program is free software; you can redistribute it and/or
|
||||||
@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|||||||
02110-1301 USA
|
02110-1301 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
SkySQL change details:
|
MariaDB Corporation change details:
|
||||||
- Added support for GTID event handling for both MySQL and MariaDB
|
- Added support for GTID event handling for both MySQL and MariaDB
|
||||||
|
|
||||||
Author: Jan Lindström (jan.lindstrom@skysql.com
|
Author: Jan Lindström (jan.lindstrom@skysql.com
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (C) 2013, SkySQL Ab
|
Copyright (C) 2013, MariaDB Corporation Ab
|
||||||
|
|
||||||
|
|
||||||
This file is distributed as part of the SkySQL Gateway. It is free
|
This file is distributed as part of the MariaDB Corporation MaxScale. It is free
|
||||||
software: you can redistribute it and/or modify it under the terms of the
|
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,
|
GNU General Public License as published by the Free Software Foundation,
|
||||||
version 2.
|
version 2.
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
||||||
reserved.
|
reserved.
|
||||||
Copyright (c) 2013, SkySQL Ab
|
Copyright (c) 2013, MariaDB Corporation Ab
|
||||||
|
|
||||||
Portions of this file contain modifications contributed and copyrighted by
|
Portions of this file contain modifications contributed and copyrighted by
|
||||||
SkySQL, Ab. Those modifications are gratefully acknowledged and are described
|
MariaDB Corporation, Ab. Those modifications are gratefully acknowledged and are described
|
||||||
briefly in the source code.
|
briefly in the source code.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or
|
This program is free software; you can redistribute it and/or
|
||||||
@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|||||||
02110-1301 USA
|
02110-1301 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
SkySQL change details:
|
MariaDB Corporation change details:
|
||||||
- Added support for GTID event handling for both MySQL and MariaDB
|
- Added support for GTID event handling for both MySQL and MariaDB
|
||||||
|
|
||||||
Author: Jan Lindström (jan.lindstrom@skysql.com
|
Author: Jan Lindström (jan.lindstrom@skysql.com
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
||||||
reserved.
|
reserved.
|
||||||
Copyright (c) 2013, SkySQL Ab
|
Copyright (c) 2013, MariaDB Corporation Ab
|
||||||
|
|
||||||
Portions of this file contain modifications contributed and copyrighted by
|
Portions of this file contain modifications contributed and copyrighted by
|
||||||
SkySQL, Ab. Those modifications are gratefully acknowledged and are described
|
MariaDB Corporation, Ab. Those modifications are gratefully acknowledged and are described
|
||||||
briefly in the source code.
|
briefly in the source code.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or
|
This program is free software; you can redistribute it and/or
|
||||||
@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|||||||
02110-1301 USA
|
02110-1301 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
SkySQL change details:
|
MariaDB Corporation change details:
|
||||||
- Added support for GTID event handling for both MySQL and MariaDB
|
- Added support for GTID event handling for both MySQL and MariaDB
|
||||||
- Added support for starting binlog dump from GTID position
|
- Added support for starting binlog dump from GTID position
|
||||||
- Added error handling using exceptions
|
- Added error handling using exceptions
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (C) 2013, SkySQL Ab
|
Copyright (C) 2013, MariaDB Corporation Ab
|
||||||
|
|
||||||
|
|
||||||
This file is distributed as part of the SkySQL Gateway. It is free
|
This file is distributed as part of the MariaDB Corporation MaxScale. It is free
|
||||||
software: you can redistribute it and/or modify it under the terms of the
|
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,
|
GNU General Public License as published by the Free Software Foundation,
|
||||||
version 2.
|
version 2.
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (C) 2013, SkySQL Ab
|
Copyright (C) 2013, MariaDB Corporation Ab
|
||||||
|
|
||||||
|
|
||||||
This file is distributed as part of the SkySQL Gateway. It is free
|
This file is distributed as part of the MariaDB Corporation MaxScale. It is free
|
||||||
software: you can redistribute it and/or modify it under the terms of the
|
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,
|
GNU General Public License as published by the Free Software Foundation,
|
||||||
version 2.
|
version 2.
|
||||||
@ -76,7 +76,7 @@ tb_replication_consistency_init(
|
|||||||
replication_listener_t *rpl, /*!< in: Server
|
replication_listener_t *rpl, /*!< in: Server
|
||||||
definition. */
|
definition. */
|
||||||
size_t n_servers, /*!< in: Number of servers */
|
size_t n_servers, /*!< in: Number of servers */
|
||||||
unsigned int gateway_server_id, /*!< in: Gateway slave
|
unsigned int gateway_server_id, /*!< in: MaxScale slave
|
||||||
server id. */
|
server id. */
|
||||||
int trace_level) /*!< in: Trace level */
|
int trace_level) /*!< in: Trace level */
|
||||||
{
|
{
|
||||||
@ -288,7 +288,7 @@ int
|
|||||||
tb_replication_consistency_reconnect(
|
tb_replication_consistency_reconnect(
|
||||||
/*=================================*/
|
/*=================================*/
|
||||||
replication_listener_t* rpl, /*!< in: Server definition.*/
|
replication_listener_t* rpl, /*!< in: Server definition.*/
|
||||||
unsigned int gateway_server_id) /*!< in: Gateway slave
|
unsigned int gateway_server_id) /*!< in: MaxScale slave
|
||||||
server id. */
|
server id. */
|
||||||
{
|
{
|
||||||
std::string errmsg ="";
|
std::string errmsg ="";
|
||||||
|
@ -116,7 +116,7 @@ tb_replication_consistency_init(
|
|||||||
replication_listener_t *rpl, /*!< in: Server
|
replication_listener_t *rpl, /*!< in: Server
|
||||||
definition. */
|
definition. */
|
||||||
size_t n_servers, /*!< in: Number of servers */
|
size_t n_servers, /*!< in: Number of servers */
|
||||||
unsigned int gateway_server_id, /*!< in: Gateway slave
|
unsigned int gateway_server_id, /*!< in: MaxScale slave
|
||||||
server id. */
|
server id. */
|
||||||
int trace_level); /*!< in: trace level */
|
int trace_level); /*!< in: trace level */
|
||||||
|
|
||||||
@ -148,7 +148,7 @@ int
|
|||||||
tb_replication_consistency_reconnect(
|
tb_replication_consistency_reconnect(
|
||||||
/*=================================*/
|
/*=================================*/
|
||||||
replication_listener_t* rpl, /*!< in: Server definition.*/
|
replication_listener_t* rpl, /*!< in: Server definition.*/
|
||||||
unsigned int gateway_server_id); /*!< in: Gateway slave
|
unsigned int gateway_server_id); /*!< in: MaxScale slave
|
||||||
server id. */
|
server id. */
|
||||||
|
|
||||||
/***********************************************************************//**
|
/***********************************************************************//**
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (C) 2013, SkySQL Ab
|
Copyright (C) 2013, MariaDB Corporation Ab
|
||||||
|
|
||||||
|
|
||||||
This file is distributed as part of the SkySQL Gateway. It is free
|
This file is distributed as part of the MariaDB Corporation MaxScale. It is free
|
||||||
software: you can redistribute it and/or modify it under the terms of the
|
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,
|
GNU General Public License as published by the Free Software Foundation,
|
||||||
version 2.
|
version 2.
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (C) 2013, SkySQL Ab
|
Copyright (C) 2013, MariaDB Corporation Ab
|
||||||
|
|
||||||
|
|
||||||
This file is distributed as part of the SkySQL Gateway. It is free
|
This file is distributed as part of the MariaDB Corporation MaxScale. It is free
|
||||||
software: you can redistribute it and/or modify it under the terms of the
|
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,
|
GNU General Public License as published by the Free Software Foundation,
|
||||||
version 2.
|
version 2.
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (C) 2013, SkySQL Ab
|
Copyright (C) 2013, MariaDB Corporation Ab
|
||||||
|
|
||||||
|
|
||||||
This file is distributed as part of the SkySQL Gateway. It is free
|
This file is distributed as part of the MariaDB Corporation MaxScale. It is free
|
||||||
software: you can redistribute it and/or modify it under the terms of the
|
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,
|
GNU General Public License as published by the Free Software Foundation,
|
||||||
version 2.
|
version 2.
|
||||||
|
Reference in New Issue
Block a user