diff --git a/avro/maxavro.h b/avro/maxavro.h index 15469d51a..c1fae9470 100644 --- a/avro/maxavro.h +++ b/avro/maxavro.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/connectors/cdc-connector/cdc_connector.h b/connectors/cdc-connector/cdc_connector.h index fa01ac28b..477ec655b 100644 --- a/connectors/cdc-connector/cdc_connector.h +++ b/connectors/cdc-connector/cdc_connector.h @@ -1,4 +1,3 @@ -#pragma once /* Copyright (c) 2017, MariaDB Corporation. All rights reserved. * * This library is free software; you can redistribute it and/or @@ -16,6 +15,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301 USA */ +#pragma once #include #include diff --git a/examples/examplefilter.hh b/examples/examplefilter.hh index 235f1bd53..7df415c9a 100644 --- a/examples/examplefilter.hh +++ b/examples/examplefilter.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/examples/examplefiltersession.hh b/examples/examplefiltersession.hh index 1e63f9b6c..09194aa34 100644 --- a/examples/examplefiltersession.hh +++ b/examples/examplefiltersession.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/include/maxscale/alloc.h b/include/maxscale/alloc.h index 5876fe91b..7741ac746 100644 --- a/include/maxscale/alloc.h +++ b/include/maxscale/alloc.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/include/maxscale/authenticator.h b/include/maxscale/authenticator.h index 7482b7c6d..fa4b7542b 100644 --- a/include/maxscale/authenticator.h +++ b/include/maxscale/authenticator.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file authenticator.h diff --git a/include/maxscale/backend.hh b/include/maxscale/backend.hh index bf93d5aa8..d5a067609 100644 --- a/include/maxscale/backend.hh +++ b/include/maxscale/backend.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/include/maxscale/buffer.h b/include/maxscale/buffer.h index 69bb25717..a0fccdb26 100644 --- a/include/maxscale/buffer.h +++ b/include/maxscale/buffer.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file buffer.h Definitions relating the gateway buffer manipulation facilities. diff --git a/include/maxscale/buffer.hh b/include/maxscale/buffer.hh index 9524c9fa2..b6931e343 100644 --- a/include/maxscale/buffer.hh +++ b/include/maxscale/buffer.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/include/maxscale/ccdefs.hh b/include/maxscale/ccdefs.hh index 4834d82dd..ca5e43bfb 100644 --- a/include/maxscale/ccdefs.hh +++ b/include/maxscale/ccdefs.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file ccdefs.hh diff --git a/include/maxscale/cdefs.h b/include/maxscale/cdefs.h index b5870eda8..2d3d71652 100644 --- a/include/maxscale/cdefs.h +++ b/include/maxscale/cdefs.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file cdefs.h diff --git a/include/maxscale/clock.h b/include/maxscale/clock.h index 3713cbcc5..aef431247 100644 --- a/include/maxscale/clock.h +++ b/include/maxscale/clock.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/include/maxscale/config.h b/include/maxscale/config.h index ab86979c0..c2e2e31a7 100644 --- a/include/maxscale/config.h +++ b/include/maxscale/config.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file include/maxscale/config.h The configuration handling elements diff --git a/include/maxscale/config.hh b/include/maxscale/config.hh index 11c844419..3c144993a 100644 --- a/include/maxscale/config.hh +++ b/include/maxscale/config.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/include/maxscale/customparser.hh b/include/maxscale/customparser.hh index 76824ccf2..52163064f 100644 --- a/include/maxscale/customparser.hh +++ b/include/maxscale/customparser.hh @@ -1,16 +1,16 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * - * Change Date: 2019-07-01 + * Change Date: 2022-01-01 * * On the date above, in accordance with the Business Source License, use * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/include/maxscale/dcb.h b/include/maxscale/dcb.h index 92b355c32..6fccd8c1a 100644 --- a/include/maxscale/dcb.h +++ b/include/maxscale/dcb.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file dcb.h The Descriptor Control Block diff --git a/include/maxscale/debug.h b/include/maxscale/debug.h index a5d975c93..e927d1cf8 100644 --- a/include/maxscale/debug.h +++ b/include/maxscale/debug.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/include/maxscale/encryption.h b/include/maxscale/encryption.h index 23006e547..7c389f618 100644 --- a/include/maxscale/encryption.h +++ b/include/maxscale/encryption.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/include/maxscale/event.hh b/include/maxscale/event.hh index 1b778e98f..6bd4ffc68 100644 --- a/include/maxscale/event.hh +++ b/include/maxscale/event.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/include/maxscale/filter.h b/include/maxscale/filter.h index 4aa70b507..ff2ae2ae0 100644 --- a/include/maxscale/filter.h +++ b/include/maxscale/filter.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file include/maxscale/filter.h - The public filter interface diff --git a/include/maxscale/filter.hh b/include/maxscale/filter.hh index 98b70ec8c..367805ed1 100644 --- a/include/maxscale/filter.hh +++ b/include/maxscale/filter.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/include/maxscale/hashtable.h b/include/maxscale/hashtable.h index 24a590046..6061d7f78 100644 --- a/include/maxscale/hashtable.h +++ b/include/maxscale/hashtable.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file hashtable.h A general purpose hashtable mechanism for use within the diff --git a/include/maxscale/hint.h b/include/maxscale/hint.h index e44f59e08..355d79871 100644 --- a/include/maxscale/hint.h +++ b/include/maxscale/hint.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file hint.h The generic hint data that may be attached to buffers diff --git a/include/maxscale/housekeeper.h b/include/maxscale/housekeeper.h index 422da22a4..020db2f15 100644 --- a/include/maxscale/housekeeper.h +++ b/include/maxscale/housekeeper.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file housekeeper.h A mechanism to have task run periodically diff --git a/include/maxscale/http.hh b/include/maxscale/http.hh index fa60423d8..f0cabb0f6 100644 --- a/include/maxscale/http.hh +++ b/include/maxscale/http.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/include/maxscale/jansson.hh b/include/maxscale/jansson.hh index cf8aa56a9..f2856b0bc 100644 --- a/include/maxscale/jansson.hh +++ b/include/maxscale/jansson.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/include/maxscale/json_api.h b/include/maxscale/json_api.h index 952474c89..f63bb028a 100644 --- a/include/maxscale/json_api.h +++ b/include/maxscale/json_api.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file Helper functions for creating JSON API conforming objects diff --git a/include/maxscale/limits.h b/include/maxscale/limits.h index 7ba2cb16d..6e49420cd 100644 --- a/include/maxscale/limits.h +++ b/include/maxscale/limits.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file limits.h diff --git a/include/maxscale/listener.h b/include/maxscale/listener.h index 3d6bda8a7..97ff7657c 100644 --- a/include/maxscale/listener.h +++ b/include/maxscale/listener.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file listener.h diff --git a/include/maxscale/log.h b/include/maxscale/log.h index c8e3df96b..afc8e2ff7 100644 --- a/include/maxscale/log.h +++ b/include/maxscale/log.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/include/maxscale/mariadb.hh b/include/maxscale/mariadb.hh index 32b26a9ff..148530467 100644 --- a/include/maxscale/mariadb.hh +++ b/include/maxscale/mariadb.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/include/maxscale/maxadmin.h b/include/maxscale/maxadmin.h index e6bb8155a..df0a340e7 100644 --- a/include/maxscale/maxadmin.h +++ b/include/maxscale/maxadmin.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/include/maxscale/maxscale.h b/include/maxscale/maxscale.h index 260e2e752..b498f2e77 100644 --- a/include/maxscale/maxscale.h +++ b/include/maxscale/maxscale.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file include/maxscale/maxscale.h Some general definitions for MaxScale diff --git a/include/maxscale/modinfo.h b/include/maxscale/modinfo.h index b7f412cda..984d1b0c5 100644 --- a/include/maxscale/modinfo.h +++ b/include/maxscale/modinfo.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file modinfo.h The module information interface diff --git a/include/maxscale/modulecmd.h b/include/maxscale/modulecmd.h index d1303a402..52d21776a 100644 --- a/include/maxscale/modulecmd.h +++ b/include/maxscale/modulecmd.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file module_command.h Module driven commands diff --git a/include/maxscale/modutil.h b/include/maxscale/modutil.h index 8eef9c8d9..0ce2ff79c 100644 --- a/include/maxscale/modutil.h +++ b/include/maxscale/modutil.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file modutil.h A set of useful routines for module writers diff --git a/include/maxscale/modutil.hh b/include/maxscale/modutil.hh index 58b79f1b9..943869a1a 100644 --- a/include/maxscale/modutil.hh +++ b/include/maxscale/modutil.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file modutil.hh C++ additions/alternatives for modutil.h functions diff --git a/include/maxscale/monitor.h b/include/maxscale/monitor.h index d0b178161..f34290c25 100644 --- a/include/maxscale/monitor.h +++ b/include/maxscale/monitor.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file include/maxscale/monitor.h - The public monitor interface diff --git a/include/maxscale/monitor.hh b/include/maxscale/monitor.hh index 394e2804f..51e1ef4e2 100644 --- a/include/maxscale/monitor.hh +++ b/include/maxscale/monitor.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/include/maxscale/mysql_binlog.h b/include/maxscale/mysql_binlog.h index 469edfc85..b36c7e5a4 100644 --- a/include/maxscale/mysql_binlog.h +++ b/include/maxscale/mysql_binlog.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file mysql_binlog.h - Extracting information from binary logs diff --git a/include/maxscale/mysql_utils.h b/include/maxscale/mysql_utils.h index 2853b16da..98dbb8a14 100644 --- a/include/maxscale/mysql_utils.h +++ b/include/maxscale/mysql_utils.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/include/maxscale/pcre2.h b/include/maxscale/pcre2.h index 2524ea67e..57918dd79 100644 --- a/include/maxscale/pcre2.h +++ b/include/maxscale/pcre2.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -10,8 +9,8 @@ * On the date above, in accordance with the Business Source License, use * of this software will be governed by version 2 or later of the General * Public License. - * */ + #pragma once /** * @file pcre2.h - Utility functions for regular expression matching diff --git a/include/maxscale/pcre2.hh b/include/maxscale/pcre2.hh index 3bf4ffb8f..3c07aa0f0 100644 --- a/include/maxscale/pcre2.hh +++ b/include/maxscale/pcre2.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/include/maxscale/poll.h b/include/maxscale/poll.h index 9251ca6b2..bed5c2fa7 100644 --- a/include/maxscale/poll.h +++ b/include/maxscale/poll.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file include/maxscale/poll.h - The public poll interface diff --git a/include/maxscale/protocol.h b/include/maxscale/protocol.h index 7318ba038..7fe253068 100644 --- a/include/maxscale/protocol.h +++ b/include/maxscale/protocol.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file protocol.h diff --git a/include/maxscale/protocol/mariadb_client.hh b/include/maxscale/protocol/mariadb_client.hh index c83aa7995..9d99b7fb8 100644 --- a/include/maxscale/protocol/mariadb_client.hh +++ b/include/maxscale/protocol/mariadb_client.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/include/maxscale/protocol/mysql.h b/include/maxscale/protocol/mysql.h index 738be6107..447488298 100644 --- a/include/maxscale/protocol/mysql.h +++ b/include/maxscale/protocol/mysql.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/include/maxscale/query_classifier.h b/include/maxscale/query_classifier.h index 9ae21cfcc..866443a16 100644 --- a/include/maxscale/query_classifier.h +++ b/include/maxscale/query_classifier.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/include/maxscale/queryclassifier.hh b/include/maxscale/queryclassifier.hh index a95a73da3..95165ab1c 100644 --- a/include/maxscale/queryclassifier.hh +++ b/include/maxscale/queryclassifier.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/include/maxscale/random.h b/include/maxscale/random.h index 8b0afcb58..d272e5914 100644 --- a/include/maxscale/random.h +++ b/include/maxscale/random.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/include/maxscale/resultset.hh b/include/maxscale/resultset.hh index 0aa3f4022..8e1e672a2 100644 --- a/include/maxscale/resultset.hh +++ b/include/maxscale/resultset.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/include/maxscale/router.h b/include/maxscale/router.h index 659d8d121..3029e3c2a 100644 --- a/include/maxscale/router.h +++ b/include/maxscale/router.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file router.h - The query router public interface definition diff --git a/include/maxscale/router.hh b/include/maxscale/router.hh index c7156089b..b25115f72 100644 --- a/include/maxscale/router.hh +++ b/include/maxscale/router.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/include/maxscale/routing.h b/include/maxscale/routing.h index cb86b77f4..939410ab5 100644 --- a/include/maxscale/routing.h +++ b/include/maxscale/routing.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file routing.h - Common definitions and declarations for routers and filters. diff --git a/include/maxscale/routingworker.h b/include/maxscale/routingworker.h index 1adb14aa6..5c4225a2d 100644 --- a/include/maxscale/routingworker.h +++ b/include/maxscale/routingworker.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/include/maxscale/secrets.h b/include/maxscale/secrets.h index 2be7d6b09..d54056f0a 100644 --- a/include/maxscale/secrets.h +++ b/include/maxscale/secrets.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file include/maxscale/secrets.h - MaxScale config file password decryption diff --git a/include/maxscale/server.h b/include/maxscale/server.h index ddc8b18a9..daddecf65 100644 --- a/include/maxscale/server.h +++ b/include/maxscale/server.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file server.h diff --git a/include/maxscale/server.hh b/include/maxscale/server.hh index 8e7deb1da..d74247829 100644 --- a/include/maxscale/server.hh +++ b/include/maxscale/server.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/include/maxscale/service.h b/include/maxscale/service.h index a8d1304da..e7a011948 100644 --- a/include/maxscale/service.h +++ b/include/maxscale/service.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file service.h diff --git a/include/maxscale/session.h b/include/maxscale/session.h index f2be02949..07b3614f8 100644 --- a/include/maxscale/session.h +++ b/include/maxscale/session.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file include/maxscale/session.h - The public session interface diff --git a/include/maxscale/session_command.hh b/include/maxscale/session_command.hh index 4dee0f4d9..4dec4125f 100644 --- a/include/maxscale/session_command.hh +++ b/include/maxscale/session_command.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/include/maxscale/spinlock.h b/include/maxscale/spinlock.h index ff83a4060..19fd6a9aa 100644 --- a/include/maxscale/spinlock.h +++ b/include/maxscale/spinlock.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file spinlock.h diff --git a/include/maxscale/spinlock.hh b/include/maxscale/spinlock.hh index 1950e58e1..179d412f8 100644 --- a/include/maxscale/spinlock.hh +++ b/include/maxscale/spinlock.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/include/maxscale/sqlite3.h b/include/maxscale/sqlite3.h index 1899be366..da9e83508 100644 --- a/include/maxscale/sqlite3.h +++ b/include/maxscale/sqlite3.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file sqlite3.h diff --git a/include/maxscale/ssl.h b/include/maxscale/ssl.h index bd1587ed5..567a9ce5a 100644 --- a/include/maxscale/ssl.h +++ b/include/maxscale/ssl.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file ssl.h diff --git a/include/maxscale/statistics.h b/include/maxscale/statistics.h index cf760014f..8fd74139f 100644 --- a/include/maxscale/statistics.h +++ b/include/maxscale/statistics.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file statistics.h - Lock-free statistics gathering diff --git a/include/maxscale/users.h b/include/maxscale/users.h index fe74c9541..98180058b 100644 --- a/include/maxscale/users.h +++ b/include/maxscale/users.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file users.h The functions to manipulate a set of administrative users diff --git a/include/maxscale/utils.h b/include/maxscale/utils.h index ead6d2a5f..11fc66725 100644 --- a/include/maxscale/utils.h +++ b/include/maxscale/utils.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file utils.h Utility functions headers diff --git a/include/maxscale/utils.hh b/include/maxscale/utils.hh index 3a78ab53b..34821ad58 100644 --- a/include/maxscale/utils.hh +++ b/include/maxscale/utils.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/maxutils/maxbase/include/maxbase/assert.h b/maxutils/maxbase/include/maxbase/assert.h index 60e9203ca..53ec9a4af 100644 --- a/maxutils/maxbase/include/maxbase/assert.h +++ b/maxutils/maxbase/include/maxbase/assert.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/maxutils/maxbase/include/maxbase/atomic.h b/maxutils/maxbase/include/maxbase/atomic.h index 79847a30a..12141bc1d 100644 --- a/maxutils/maxbase/include/maxbase/atomic.h +++ b/maxutils/maxbase/include/maxbase/atomic.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file atomic.h Atomic operations on integers. diff --git a/maxutils/maxbase/include/maxbase/jansson.h b/maxutils/maxbase/include/maxbase/jansson.h index c296ac16b..d60625835 100644 --- a/maxutils/maxbase/include/maxbase/jansson.h +++ b/maxutils/maxbase/include/maxbase/jansson.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/maxutils/maxbase/include/maxbase/log.h b/maxutils/maxbase/include/maxbase/log.h index ee0524650..c6388cfc0 100644 --- a/maxutils/maxbase/include/maxbase/log.h +++ b/maxutils/maxbase/include/maxbase/log.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/maxutils/maxbase/include/maxbase/log.hh b/maxutils/maxbase/include/maxbase/log.hh index 13d37d04c..a6af0cf38 100644 --- a/maxutils/maxbase/include/maxbase/log.hh +++ b/maxutils/maxbase/include/maxbase/log.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/maxutils/maxbase/include/maxbase/logger.hh b/maxutils/maxbase/include/maxbase/logger.hh index 4c2e9f5b1..4d456edef 100644 --- a/maxutils/maxbase/include/maxbase/logger.hh +++ b/maxutils/maxbase/include/maxbase/logger.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/maxutils/maxbase/include/maxbase/maxbase.h b/maxutils/maxbase/include/maxbase/maxbase.h index 3247c7563..f542a4cd8 100644 --- a/maxutils/maxbase/include/maxbase/maxbase.h +++ b/maxutils/maxbase/include/maxbase/maxbase.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/maxutils/maxbase/include/maxbase/maxbase.hh b/maxutils/maxbase/include/maxbase/maxbase.hh index b866f3915..6c8154835 100644 --- a/maxutils/maxbase/include/maxbase/maxbase.hh +++ b/maxutils/maxbase/include/maxbase/maxbase.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/maxutils/maxbase/include/maxbase/messagequeue.hh b/maxutils/maxbase/include/maxbase/messagequeue.hh index f34ba4096..3cd6d63fb 100644 --- a/maxutils/maxbase/include/maxbase/messagequeue.hh +++ b/maxutils/maxbase/include/maxbase/messagequeue.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/maxutils/maxbase/include/maxbase/poll.h b/maxutils/maxbase/include/maxbase/poll.h index bf4e6e662..ae4221d82 100644 --- a/maxutils/maxbase/include/maxbase/poll.h +++ b/maxutils/maxbase/include/maxbase/poll.h @@ -1,9 +1,8 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file and at www.mariadb.com/bsl. + * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2022-01-01 * @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/maxutils/maxbase/include/maxbase/poll.hh b/maxutils/maxbase/include/maxbase/poll.hh index d1af60e4b..80efeef28 100644 --- a/maxutils/maxbase/include/maxbase/poll.hh +++ b/maxutils/maxbase/include/maxbase/poll.hh @@ -1,9 +1,8 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file and at www.mariadb.com/bsl. + * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2022-01-01 * @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/maxutils/maxbase/include/maxbase/semaphore.h b/maxutils/maxbase/include/maxbase/semaphore.h index 579f835d2..63a139ee3 100644 --- a/maxutils/maxbase/include/maxbase/semaphore.h +++ b/maxutils/maxbase/include/maxbase/semaphore.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file semaphore.h Semaphores used by MaxScale. diff --git a/maxutils/maxbase/include/maxbase/semaphore.hh b/maxutils/maxbase/include/maxbase/semaphore.hh index 6b72d9022..605213355 100644 --- a/maxutils/maxbase/include/maxbase/semaphore.hh +++ b/maxutils/maxbase/include/maxbase/semaphore.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/maxutils/maxbase/include/maxbase/stacktrace.hh b/maxutils/maxbase/include/maxbase/stacktrace.hh index 0d5391483..74de448ba 100644 --- a/maxutils/maxbase/include/maxbase/stacktrace.hh +++ b/maxutils/maxbase/include/maxbase/stacktrace.hh @@ -1,4 +1,3 @@ -#pragma once /* * Copyright (c) 2018 MariaDB Corporation Ab * @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/maxutils/maxbase/include/maxbase/string.h b/maxutils/maxbase/include/maxbase/string.h index 73436a64a..121d1a0a0 100644 --- a/maxutils/maxbase/include/maxbase/string.h +++ b/maxutils/maxbase/include/maxbase/string.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/maxutils/maxbase/include/maxbase/worker.h b/maxutils/maxbase/include/maxbase/worker.h index d601240ef..9674bd6d5 100644 --- a/maxutils/maxbase/include/maxbase/worker.h +++ b/maxutils/maxbase/include/maxbase/worker.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/maxutils/maxbase/include/maxbase/worker.hh b/maxutils/maxbase/include/maxbase/worker.hh index 3981fab22..53cb5c6e9 100644 --- a/maxutils/maxbase/include/maxbase/worker.hh +++ b/maxutils/maxbase/include/maxbase/worker.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/maxutils/maxbase/include/maxbase/workertask.hh b/maxutils/maxbase/include/maxbase/workertask.hh index e8f0450fc..5825ac435 100644 --- a/maxutils/maxbase/include/maxbase/workertask.hh +++ b/maxutils/maxbase/include/maxbase/workertask.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/query_classifier/qc_sqlite/builtin_functions.h b/query_classifier/qc_sqlite/builtin_functions.h index 070cb01b0..146c04f42 100644 --- a/query_classifier/qc_sqlite/builtin_functions.h +++ b/query_classifier/qc_sqlite/builtin_functions.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/core/internal/admin.hh b/server/core/internal/admin.hh index fc66cc926..6b06ec262 100644 --- a/server/core/internal/admin.hh +++ b/server/core/internal/admin.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/core/internal/config.hh b/server/core/internal/config.hh index d941bc1f7..a26685659 100644 --- a/server/core/internal/config.hh +++ b/server/core/internal/config.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file core/maxscale/config.h - The private config interface diff --git a/server/core/internal/config_runtime.h b/server/core/internal/config_runtime.h index b246689c6..d0c059031 100644 --- a/server/core/internal/config_runtime.h +++ b/server/core/internal/config_runtime.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file config_runtime.h - Functions for runtime configuration modifications diff --git a/server/core/internal/dcb.h b/server/core/internal/dcb.h index 798642165..11a4ad9d7 100644 --- a/server/core/internal/dcb.h +++ b/server/core/internal/dcb.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/core/internal/event.hh b/server/core/internal/event.hh index 8df5812d4..7d593098d 100644 --- a/server/core/internal/event.hh +++ b/server/core/internal/event.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/core/internal/externcmd.h b/server/core/internal/externcmd.h index aadc5fa92..ce4abd74c 100644 --- a/server/core/internal/externcmd.h +++ b/server/core/internal/externcmd.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/core/internal/filter.hh b/server/core/internal/filter.hh index e32c817cc..82d01de8f 100644 --- a/server/core/internal/filter.hh +++ b/server/core/internal/filter.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file core/maxscale/filter.h - The private filter interface diff --git a/server/core/internal/httprequest.hh b/server/core/internal/httprequest.hh index 9c93fed91..7740be628 100644 --- a/server/core/internal/httprequest.hh +++ b/server/core/internal/httprequest.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/core/internal/httpresponse.hh b/server/core/internal/httpresponse.hh index cecf4083d..a643e62c9 100644 --- a/server/core/internal/httpresponse.hh +++ b/server/core/internal/httpresponse.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/core/internal/maxscale.h b/server/core/internal/maxscale.h index 6a895e0af..e5bce6827 100644 --- a/server/core/internal/maxscale.h +++ b/server/core/internal/maxscale.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file core/maxscale/maxscale.h - The private maxscale general definitions diff --git a/server/core/internal/modules.h b/server/core/internal/modules.h index 01a040071..248052168 100644 --- a/server/core/internal/modules.h +++ b/server/core/internal/modules.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file modules.h Utilities for loading modules diff --git a/server/core/internal/modules.hh b/server/core/internal/modules.hh index 32e41bd4a..90b1cc5a9 100644 --- a/server/core/internal/modules.hh +++ b/server/core/internal/modules.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "modules.h" diff --git a/server/core/internal/monitor.h b/server/core/internal/monitor.h index e567636b3..01657ecba 100644 --- a/server/core/internal/monitor.h +++ b/server/core/internal/monitor.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file core/maxscale/monitor.h - The private monitor interface diff --git a/server/core/internal/monitor.hh b/server/core/internal/monitor.hh index 5bc96a358..3344f3fb5 100644 --- a/server/core/internal/monitor.hh +++ b/server/core/internal/monitor.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * Internal header for the monitor type diff --git a/server/core/internal/poll.hh b/server/core/internal/poll.hh index f877226ce..2b2f286ec 100644 --- a/server/core/internal/poll.hh +++ b/server/core/internal/poll.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * The private poll header diff --git a/server/core/internal/query_classifier.hh b/server/core/internal/query_classifier.hh index 3201997da..7c69c82ec 100644 --- a/server/core/internal/query_classifier.hh +++ b/server/core/internal/query_classifier.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/core/internal/resource.hh b/server/core/internal/resource.hh index 6fa76376f..fd2f76416 100644 --- a/server/core/internal/resource.hh +++ b/server/core/internal/resource.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** @file REST API resources */ diff --git a/server/core/internal/routingworker.hh b/server/core/internal/routingworker.hh index 309b63f4c..9c22ff537 100644 --- a/server/core/internal/routingworker.hh +++ b/server/core/internal/routingworker.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/core/internal/secrets.h b/server/core/internal/secrets.h index 6e7a64c05..d82f8d314 100644 --- a/server/core/internal/secrets.h +++ b/server/core/internal/secrets.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file core/maxscale/secrets.h - MaxScale config file password encryption/decryption diff --git a/server/core/internal/server.hh b/server/core/internal/server.hh index 4bf57a46a..96c31d5ff 100644 --- a/server/core/internal/server.hh +++ b/server/core/internal/server.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * Internal header for the server type diff --git a/server/core/internal/service.hh b/server/core/internal/service.hh index a9db0f51a..c13527a54 100644 --- a/server/core/internal/service.hh +++ b/server/core/internal/service.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/core/internal/session.h b/server/core/internal/session.h index c1339a26a..5fd609f9a 100644 --- a/server/core/internal/session.h +++ b/server/core/internal/session.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file core/maxscale/session.h - The private session interface diff --git a/server/core/internal/session.hh b/server/core/internal/session.hh index 534a3d396..1d3c90ce9 100644 --- a/server/core/internal/session.hh +++ b/server/core/internal/session.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/core/internal/statistics.h b/server/core/internal/statistics.h index 54eed906d..c4510029a 100644 --- a/server/core/internal/statistics.h +++ b/server/core/internal/statistics.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file diff --git a/server/core/internal/trxboundaryparser.hh b/server/core/internal/trxboundaryparser.hh index f2bb7f60f..4ed82e432 100644 --- a/server/core/internal/trxboundaryparser.hh +++ b/server/core/internal/trxboundaryparser.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/core/internal/worker.h b/server/core/internal/worker.h index 4280f02ba..e4b693efa 100644 --- a/server/core/internal/worker.h +++ b/server/core/internal/worker.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/modules/authenticator/MySQLAuth/mysql_auth.h b/server/modules/authenticator/MySQLAuth/mysql_auth.h index 877abf722..6588790a2 100644 --- a/server/modules/authenticator/MySQLAuth/mysql_auth.h +++ b/server/modules/authenticator/MySQLAuth/mysql_auth.h @@ -1,9 +1,8 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file and at www.mariadb.com/bsl. + * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2022-01-01 * @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /* * @verbatim diff --git a/server/modules/authenticator/PAM/PAMAuth/pam_auth.hh b/server/modules/authenticator/PAM/PAMAuth/pam_auth.hh index cf9c02f54..fa440d431 100644 --- a/server/modules/authenticator/PAM/PAMAuth/pam_auth.hh +++ b/server/modules/authenticator/PAM/PAMAuth/pam_auth.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /* * Common definitions and includes for PAM client authenticator diff --git a/server/modules/authenticator/PAM/PAMAuth/pam_client_session.hh b/server/modules/authenticator/PAM/PAMAuth/pam_client_session.hh index 25591f3a9..757ee85d7 100644 --- a/server/modules/authenticator/PAM/PAMAuth/pam_client_session.hh +++ b/server/modules/authenticator/PAM/PAMAuth/pam_client_session.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "pam_auth.hh" #include diff --git a/server/modules/authenticator/PAM/PAMAuth/pam_instance.hh b/server/modules/authenticator/PAM/PAMAuth/pam_instance.hh index 86df8edef..c717087c5 100644 --- a/server/modules/authenticator/PAM/PAMAuth/pam_instance.hh +++ b/server/modules/authenticator/PAM/PAMAuth/pam_instance.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "pam_auth.hh" #include diff --git a/server/modules/authenticator/PAM/PAMBackendAuth/pam_backend_auth.hh b/server/modules/authenticator/PAM/PAMBackendAuth/pam_backend_auth.hh index ea1fb823f..f1a2fb73a 100644 --- a/server/modules/authenticator/PAM/PAMBackendAuth/pam_backend_auth.hh +++ b/server/modules/authenticator/PAM/PAMBackendAuth/pam_backend_auth.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * Common definitions and includes for PAMBackendAuth diff --git a/server/modules/authenticator/PAM/PAMBackendAuth/pam_backend_session.hh b/server/modules/authenticator/PAM/PAMBackendAuth/pam_backend_session.hh index a7d1b7f2b..eab5fb8a6 100644 --- a/server/modules/authenticator/PAM/PAMBackendAuth/pam_backend_session.hh +++ b/server/modules/authenticator/PAM/PAMBackendAuth/pam_backend_session.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "pam_backend_auth.hh" #include diff --git a/server/modules/authenticator/PAM/pam_auth_common.hh b/server/modules/authenticator/PAM/pam_auth_common.hh index 1c24a051d..e9068f55d 100644 --- a/server/modules/authenticator/PAM/pam_auth_common.hh +++ b/server/modules/authenticator/PAM/pam_auth_common.hh @@ -1,7 +1,5 @@ -#pragma once - /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -12,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * Common declarations for both PAMAuth and PAMBackendAuth diff --git a/server/modules/filter/binlogfilter/binlogfilter.hh b/server/modules/filter/binlogfilter/binlogfilter.hh index 0c792b865..b8fcd93ff 100644 --- a/server/modules/filter/binlogfilter/binlogfilter.hh +++ b/server/modules/filter/binlogfilter/binlogfilter.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2017 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/binlogfilter/binlogfiltersession.hh b/server/modules/filter/binlogfilter/binlogfiltersession.hh index 9d2931008..f9195a729 100644 --- a/server/modules/filter/binlogfilter/binlogfiltersession.hh +++ b/server/modules/filter/binlogfilter/binlogfiltersession.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2017 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/cache/cache.hh b/server/modules/filter/cache/cache.hh index 2768fa498..f13b0615f 100644 --- a/server/modules/filter/cache/cache.hh +++ b/server/modules/filter/cache/cache.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/cache/cache_storage_api.h b/server/modules/filter/cache/cache_storage_api.h index 6cc263855..9b1e787b7 100644 --- a/server/modules/filter/cache/cache_storage_api.h +++ b/server/modules/filter/cache/cache_storage_api.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/cache/cache_storage_api.hh b/server/modules/filter/cache/cache_storage_api.hh index cc86666fe..cfcc6a0e7 100644 --- a/server/modules/filter/cache/cache_storage_api.hh +++ b/server/modules/filter/cache/cache_storage_api.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/cache/cachefilter.h b/server/modules/filter/cache/cachefilter.h index b2c6b30e6..e57df7853 100644 --- a/server/modules/filter/cache/cachefilter.h +++ b/server/modules/filter/cache/cachefilter.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/cache/cachefilter.hh b/server/modules/filter/cache/cachefilter.hh index 77904e0f7..c6a4562ff 100644 --- a/server/modules/filter/cache/cachefilter.hh +++ b/server/modules/filter/cache/cachefilter.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/cache/cachefiltersession.hh b/server/modules/filter/cache/cachefiltersession.hh index 8dde9b3a9..185594084 100644 --- a/server/modules/filter/cache/cachefiltersession.hh +++ b/server/modules/filter/cache/cachefiltersession.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/cache/cachemt.hh b/server/modules/filter/cache/cachemt.hh index f198e98e1..c7ff3cf07 100644 --- a/server/modules/filter/cache/cachemt.hh +++ b/server/modules/filter/cache/cachemt.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/cache/cachept.hh b/server/modules/filter/cache/cachept.hh index c82498f7c..b022dfe84 100644 --- a/server/modules/filter/cache/cachept.hh +++ b/server/modules/filter/cache/cachept.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/cache/cachesimple.hh b/server/modules/filter/cache/cachesimple.hh index 90572964f..3fb1f232d 100644 --- a/server/modules/filter/cache/cachesimple.hh +++ b/server/modules/filter/cache/cachesimple.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/cache/cachest.hh b/server/modules/filter/cache/cachest.hh index 4676b5eec..5f51cda56 100644 --- a/server/modules/filter/cache/cachest.hh +++ b/server/modules/filter/cache/cachest.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include "cachesimple.hh" diff --git a/server/modules/filter/cache/lrustorage.hh b/server/modules/filter/cache/lrustorage.hh index 9943efe99..772bc8b24 100644 --- a/server/modules/filter/cache/lrustorage.hh +++ b/server/modules/filter/cache/lrustorage.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/cache/lrustoragemt.hh b/server/modules/filter/cache/lrustoragemt.hh index 294e03db6..71003593d 100644 --- a/server/modules/filter/cache/lrustoragemt.hh +++ b/server/modules/filter/cache/lrustoragemt.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/cache/lrustoragest.hh b/server/modules/filter/cache/lrustoragest.hh index 103e105c9..a3aa6a7ee 100644 --- a/server/modules/filter/cache/lrustoragest.hh +++ b/server/modules/filter/cache/lrustoragest.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include "lrustorage.hh" diff --git a/server/modules/filter/cache/storage.hh b/server/modules/filter/cache/storage.hh index a7be4efa9..4d19408d9 100644 --- a/server/modules/filter/cache/storage.hh +++ b/server/modules/filter/cache/storage.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include "cache_storage_api.h" diff --git a/server/modules/filter/cache/storage/storage_inmemory/inmemorystorage.hh b/server/modules/filter/cache/storage/storage_inmemory/inmemorystorage.hh index f043f55bc..b7e4804aa 100644 --- a/server/modules/filter/cache/storage/storage_inmemory/inmemorystorage.hh +++ b/server/modules/filter/cache/storage/storage_inmemory/inmemorystorage.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/cache/storage/storage_inmemory/inmemorystoragemt.hh b/server/modules/filter/cache/storage/storage_inmemory/inmemorystoragemt.hh index 460ef7ebe..8ec3646a0 100644 --- a/server/modules/filter/cache/storage/storage_inmemory/inmemorystoragemt.hh +++ b/server/modules/filter/cache/storage/storage_inmemory/inmemorystoragemt.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/cache/storage/storage_inmemory/inmemorystoragest.hh b/server/modules/filter/cache/storage/storage_inmemory/inmemorystoragest.hh index 7ba950d04..6a87dafb2 100644 --- a/server/modules/filter/cache/storage/storage_inmemory/inmemorystoragest.hh +++ b/server/modules/filter/cache/storage/storage_inmemory/inmemorystoragest.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include "inmemorystorage.hh" diff --git a/server/modules/filter/cache/storage/storagemodule.hh b/server/modules/filter/cache/storage/storagemodule.hh index 6e8bd09a0..1437f54ab 100644 --- a/server/modules/filter/cache/storage/storagemodule.hh +++ b/server/modules/filter/cache/storage/storagemodule.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/modules/filter/cache/storagefactory.hh b/server/modules/filter/cache/storagefactory.hh index 40eeacf97..0feffbd6f 100644 --- a/server/modules/filter/cache/storagefactory.hh +++ b/server/modules/filter/cache/storagefactory.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include "cache_storage_api.h" diff --git a/server/modules/filter/cache/storagereal.hh b/server/modules/filter/cache/storagereal.hh index e6e7094a8..d70a3d7a6 100644 --- a/server/modules/filter/cache/storagereal.hh +++ b/server/modules/filter/cache/storagereal.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include "storage.hh" diff --git a/server/modules/filter/cache/test/tester.hh b/server/modules/filter/cache/test/tester.hh index 2a1831fb4..3448fad44 100644 --- a/server/modules/filter/cache/test/tester.hh +++ b/server/modules/filter/cache/test/tester.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/cache/test/testerrawstorage.hh b/server/modules/filter/cache/test/testerrawstorage.hh index fe2194a3f..f4c15d34e 100644 --- a/server/modules/filter/cache/test/testerrawstorage.hh +++ b/server/modules/filter/cache/test/testerrawstorage.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include "testerstorage.hh" diff --git a/server/modules/filter/cache/test/testerstorage.hh b/server/modules/filter/cache/test/testerstorage.hh index 51d0e6683..15589a44a 100644 --- a/server/modules/filter/cache/test/testerstorage.hh +++ b/server/modules/filter/cache/test/testerstorage.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include "tester.hh" diff --git a/server/modules/filter/cache/test/teststorage.hh b/server/modules/filter/cache/test/teststorage.hh index 105d5dd88..b6935e5e5 100644 --- a/server/modules/filter/cache/test/teststorage.hh +++ b/server/modules/filter/cache/test/teststorage.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/modules/filter/comment/commentfilter.hh b/server/modules/filter/comment/commentfilter.hh index 673207a47..5e5b1fea6 100644 --- a/server/modules/filter/comment/commentfilter.hh +++ b/server/modules/filter/comment/commentfilter.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/comment/commentfiltersession.hh b/server/modules/filter/comment/commentfiltersession.hh index 3f53ada40..1af8c133c 100644 --- a/server/modules/filter/comment/commentfiltersession.hh +++ b/server/modules/filter/comment/commentfiltersession.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/dbfwfilter/dbfwfilter.h b/server/modules/filter/dbfwfilter/dbfwfilter.h index 2f692edc5..3ab21f2e2 100644 --- a/server/modules/filter/dbfwfilter/dbfwfilter.h +++ b/server/modules/filter/dbfwfilter/dbfwfilter.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file dbfwfilter.h - Database firewall filter diff --git a/server/modules/filter/dbfwfilter/dbfwfilter.hh b/server/modules/filter/dbfwfilter/dbfwfilter.hh index 893dfa25f..4dcf60a3b 100644 --- a/server/modules/filter/dbfwfilter/dbfwfilter.hh +++ b/server/modules/filter/dbfwfilter/dbfwfilter.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #define MXS_MODULE_NAME "dbfwfilter" #include diff --git a/server/modules/filter/dbfwfilter/rules.hh b/server/modules/filter/dbfwfilter/rules.hh index 6f0aa1dd5..e1ec025dc 100644 --- a/server/modules/filter/dbfwfilter/rules.hh +++ b/server/modules/filter/dbfwfilter/rules.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "dbfwfilter.hh" diff --git a/server/modules/filter/dbfwfilter/test/tempfile.hh b/server/modules/filter/dbfwfilter/test/tempfile.hh index 31dbd463f..2432dd0ab 100644 --- a/server/modules/filter/dbfwfilter/test/tempfile.hh +++ b/server/modules/filter/dbfwfilter/test/tempfile.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/modules/filter/dbfwfilter/user.hh b/server/modules/filter/dbfwfilter/user.hh index c1dca944c..d942bff0f 100644 --- a/server/modules/filter/dbfwfilter/user.hh +++ b/server/modules/filter/dbfwfilter/user.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "dbfwfilter.hh" #include "rules.hh" diff --git a/server/modules/filter/masking/maskingfilter.hh b/server/modules/filter/masking/maskingfilter.hh index 1fcf62c8f..08c4c531e 100644 --- a/server/modules/filter/masking/maskingfilter.hh +++ b/server/modules/filter/masking/maskingfilter.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/masking/maskingfilterconfig.hh b/server/modules/filter/masking/maskingfilterconfig.hh index 476b120b0..265b25582 100644 --- a/server/modules/filter/masking/maskingfilterconfig.hh +++ b/server/modules/filter/masking/maskingfilterconfig.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/masking/maskingfiltersession.hh b/server/modules/filter/masking/maskingfiltersession.hh index 6182be7b4..30dbe3f33 100644 --- a/server/modules/filter/masking/maskingfiltersession.hh +++ b/server/modules/filter/masking/maskingfiltersession.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/masking/maskingrules.hh b/server/modules/filter/masking/maskingrules.hh index 563df9638..8aa7da16c 100644 --- a/server/modules/filter/masking/maskingrules.hh +++ b/server/modules/filter/masking/maskingrules.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/modules/filter/masking/mysql.hh b/server/modules/filter/masking/mysql.hh index d5212d0a2..20a1828c6 100644 --- a/server/modules/filter/masking/mysql.hh +++ b/server/modules/filter/masking/mysql.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/maxrows/maxrows.h b/server/modules/filter/maxrows/maxrows.h index 2a3d3bd48..f3f79f940 100644 --- a/server/modules/filter/maxrows/maxrows.h +++ b/server/modules/filter/maxrows/maxrows.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/modules/filter/namedserverfilter/namedserverfilter.hh b/server/modules/filter/namedserverfilter/namedserverfilter.hh index 91e2020c4..c34548a2d 100644 --- a/server/modules/filter/namedserverfilter/namedserverfilter.hh +++ b/server/modules/filter/namedserverfilter/namedserverfilter.hh @@ -1,9 +1,8 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file and at www.mariadb.com/bsl. + * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2022-01-01 * @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/modules/filter/nullfilter/nullfilter.hh b/server/modules/filter/nullfilter/nullfilter.hh index 2c27b5911..65b6af162 100644 --- a/server/modules/filter/nullfilter/nullfilter.hh +++ b/server/modules/filter/nullfilter/nullfilter.hh @@ -1,9 +1,8 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file and at www.mariadb.com/bsl. + * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2022-01-01 * @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/nullfilter/nullfiltersession.hh b/server/modules/filter/nullfilter/nullfiltersession.hh index 815fb0985..61c1a09d5 100644 --- a/server/modules/filter/nullfilter/nullfiltersession.hh +++ b/server/modules/filter/nullfilter/nullfiltersession.hh @@ -1,9 +1,8 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included - * in the LICENSE.TXT file and at www.mariadb.com/bsl. + * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2022-01-01 * @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/tee/tee.hh b/server/modules/filter/tee/tee.hh index c34e3dba5..4e22e7fea 100644 --- a/server/modules/filter/tee/tee.hh +++ b/server/modules/filter/tee/tee.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/modules/filter/tee/teesession.hh b/server/modules/filter/tee/teesession.hh index 7be2ffd04..816bd4d17 100644 --- a/server/modules/filter/tee/teesession.hh +++ b/server/modules/filter/tee/teesession.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/modules/filter/test/maxscale/filtermodule.hh b/server/modules/filter/test/maxscale/filtermodule.hh index 9399fc78b..cc9784622 100644 --- a/server/modules/filter/test/maxscale/filtermodule.hh +++ b/server/modules/filter/test/maxscale/filtermodule.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/test/maxscale/mock/backend.hh b/server/modules/filter/test/maxscale/mock/backend.hh index d79002869..b81d6b56b 100644 --- a/server/modules/filter/test/maxscale/mock/backend.hh +++ b/server/modules/filter/test/maxscale/mock/backend.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/test/maxscale/mock/client.hh b/server/modules/filter/test/maxscale/mock/client.hh index 5c97bfff8..2a843b64b 100644 --- a/server/modules/filter/test/maxscale/mock/client.hh +++ b/server/modules/filter/test/maxscale/mock/client.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/test/maxscale/mock/dcb.hh b/server/modules/filter/test/maxscale/mock/dcb.hh index 7394511ed..f1ab7ed47 100644 --- a/server/modules/filter/test/maxscale/mock/dcb.hh +++ b/server/modules/filter/test/maxscale/mock/dcb.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "mock.hh" #include diff --git a/server/modules/filter/test/maxscale/mock/mock.hh b/server/modules/filter/test/maxscale/mock/mock.hh index 5d3460228..5279cca56 100644 --- a/server/modules/filter/test/maxscale/mock/mock.hh +++ b/server/modules/filter/test/maxscale/mock/mock.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/test/maxscale/mock/routersession.hh b/server/modules/filter/test/maxscale/mock/routersession.hh index 6dc003696..1f736d332 100644 --- a/server/modules/filter/test/maxscale/mock/routersession.hh +++ b/server/modules/filter/test/maxscale/mock/routersession.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/test/maxscale/mock/session.hh b/server/modules/filter/test/maxscale/mock/session.hh index 69e109604..27348c98c 100644 --- a/server/modules/filter/test/maxscale/mock/session.hh +++ b/server/modules/filter/test/maxscale/mock/session.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "mock.hh" #include diff --git a/server/modules/filter/test/maxscale/module.hh b/server/modules/filter/test/maxscale/module.hh index 4362ca7eb..48077a6ca 100644 --- a/server/modules/filter/test/maxscale/module.hh +++ b/server/modules/filter/test/maxscale/module.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/filter/test/maxscale/queryclassifiermodule.hh b/server/modules/filter/test/maxscale/queryclassifiermodule.hh index 42aed282f..6224befed 100644 --- a/server/modules/filter/test/maxscale/queryclassifiermodule.hh +++ b/server/modules/filter/test/maxscale/queryclassifiermodule.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/monitor/auroramon/auroramon.hh b/server/modules/monitor/auroramon/auroramon.hh index 13d2f3d87..0fdb3f4ad 100644 --- a/server/modules/monitor/auroramon/auroramon.hh +++ b/server/modules/monitor/auroramon/auroramon.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/monitor/galeramon/galeramon.hh b/server/modules/monitor/galeramon/galeramon.hh index 4a815d193..9b92568ca 100644 --- a/server/modules/monitor/galeramon/galeramon.hh +++ b/server/modules/monitor/galeramon/galeramon.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file galeramon.hh - The Galera cluster monitor diff --git a/server/modules/monitor/grmon/grmon.hh b/server/modules/monitor/grmon/grmon.hh index 3bf4d24e7..c83c71549 100644 --- a/server/modules/monitor/grmon/grmon.hh +++ b/server/modules/monitor/grmon/grmon.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/monitor/mariadbmon/gtid.hh b/server/modules/monitor/mariadbmon/gtid.hh index 10c09dd09..add821d4f 100644 --- a/server/modules/monitor/mariadbmon/gtid.hh +++ b/server/modules/monitor/mariadbmon/gtid.hh @@ -1,5 +1,3 @@ -#pragma once - /* * Copyright (c) 2018 MariaDB Corporation Ab * @@ -12,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "mariadbmon_common.hh" #include #include diff --git a/server/modules/monitor/mariadbmon/mariadbmon.hh b/server/modules/monitor/mariadbmon/mariadbmon.hh index 89aedd2d8..01f9b5f84 100644 --- a/server/modules/monitor/mariadbmon/mariadbmon.hh +++ b/server/modules/monitor/mariadbmon/mariadbmon.hh @@ -1,7 +1,5 @@ -#pragma once - /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -12,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "mariadbmon_common.hh" #include #include diff --git a/server/modules/monitor/mariadbmon/mariadbmon_common.hh b/server/modules/monitor/mariadbmon/mariadbmon_common.hh index 5aa6e2caa..a72e9ac50 100644 --- a/server/modules/monitor/mariadbmon/mariadbmon_common.hh +++ b/server/modules/monitor/mariadbmon/mariadbmon_common.hh @@ -1,5 +1,3 @@ -#pragma once - /* * Copyright (c) 2018 MariaDB Corporation Ab * @@ -12,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * Common definitions for MariaDBMonitor module. Should be included in every header or source file. diff --git a/server/modules/monitor/mariadbmon/mariadbserver.hh b/server/modules/monitor/mariadbmon/mariadbserver.hh index 11ed9d3e4..b508bc8b4 100644 --- a/server/modules/monitor/mariadbmon/mariadbserver.hh +++ b/server/modules/monitor/mariadbmon/mariadbserver.hh @@ -1,7 +1,5 @@ -#pragma once - /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -12,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "mariadbmon_common.hh" #include #include diff --git a/server/modules/monitor/mmmon/mmmon.hh b/server/modules/monitor/mmmon/mmmon.hh index 62decc9cf..23748ad51 100644 --- a/server/modules/monitor/mmmon/mmmon.hh +++ b/server/modules/monitor/mmmon/mmmon.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/monitor/ndbclustermon/ndbclustermon.hh b/server/modules/monitor/ndbclustermon/ndbclustermon.hh index 8aa0837d0..f241ee68c 100644 --- a/server/modules/monitor/ndbclustermon/ndbclustermon.hh +++ b/server/modules/monitor/ndbclustermon/ndbclustermon.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/protocol/MySQL/mariadbclient/setparser.hh b/server/modules/protocol/MySQL/mariadbclient/setparser.hh index cec894d31..03917554e 100644 --- a/server/modules/protocol/MySQL/mariadbclient/setparser.hh +++ b/server/modules/protocol/MySQL/mariadbclient/setparser.hh @@ -1,16 +1,16 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * - * Change Date: 2019-07-01 + * Change Date: 2022-01-01 * * On the date above, in accordance with the Business Source License, use * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/protocol/MySQL/mariadbclient/setsqlmodeparser.hh b/server/modules/protocol/MySQL/mariadbclient/setsqlmodeparser.hh index d93110bd6..0cd11a302 100644 --- a/server/modules/protocol/MySQL/mariadbclient/setsqlmodeparser.hh +++ b/server/modules/protocol/MySQL/mariadbclient/setsqlmodeparser.hh @@ -1,16 +1,16 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * - * Change Date: 2019-07-01 + * Change Date: 2022-01-01 * * On the date above, in accordance with the Business Source License, use * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/protocol/MySQL/mariadbclient/sqlmodeparser.hh b/server/modules/protocol/MySQL/mariadbclient/sqlmodeparser.hh index 7fbfdf3cc..584164968 100644 --- a/server/modules/protocol/MySQL/mariadbclient/sqlmodeparser.hh +++ b/server/modules/protocol/MySQL/mariadbclient/sqlmodeparser.hh @@ -1,16 +1,16 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * - * Change Date: 2019-07-01 + * Change Date: 2022-01-01 * * On the date above, in accordance with the Business Source License, use * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/routing/avrorouter/avro_converter.hh b/server/modules/routing/avrorouter/avro_converter.hh index 73cafaa13..67648b8d3 100644 --- a/server/modules/routing/avrorouter/avro_converter.hh +++ b/server/modules/routing/avrorouter/avro_converter.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "avrorouter.hh" #include "rpl.hh" diff --git a/server/modules/routing/avrorouter/avrorouter.hh b/server/modules/routing/avrorouter/avrorouter.hh index 9f608b8d1..933441263 100644 --- a/server/modules/routing/avrorouter/avrorouter.hh +++ b/server/modules/routing/avrorouter/avrorouter.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #define MXS_MODULE_NAME "avrorouter" diff --git a/server/modules/routing/avrorouter/rpl.hh b/server/modules/routing/avrorouter/rpl.hh index 80c005d85..800071f3c 100644 --- a/server/modules/routing/avrorouter/rpl.hh +++ b/server/modules/routing/avrorouter/rpl.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include #include diff --git a/server/modules/routing/cat/cat.hh b/server/modules/routing/cat/cat.hh index 6175330df..fda74d912 100644 --- a/server/modules/routing/cat/cat.hh +++ b/server/modules/routing/cat/cat.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/modules/routing/cat/catsession.hh b/server/modules/routing/cat/catsession.hh index 65c71295d..f3cf21d88 100644 --- a/server/modules/routing/cat/catsession.hh +++ b/server/modules/routing/cat/catsession.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "cat.hh" diff --git a/server/modules/routing/hintrouter/dcb.hh b/server/modules/routing/hintrouter/dcb.hh index 4f1d7fe23..bca59258b 100644 --- a/server/modules/routing/hintrouter/dcb.hh +++ b/server/modules/routing/hintrouter/dcb.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "hintrouterdefs.hh" diff --git a/server/modules/routing/hintrouter/hintrouter.hh b/server/modules/routing/hintrouter/hintrouter.hh index ad11d17e7..0d1398ce4 100644 --- a/server/modules/routing/hintrouter/hintrouter.hh +++ b/server/modules/routing/hintrouter/hintrouter.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "hintrouterdefs.hh" diff --git a/server/modules/routing/hintrouter/hintrouterdefs.hh b/server/modules/routing/hintrouter/hintrouterdefs.hh index 458a02d47..cb270314b 100644 --- a/server/modules/routing/hintrouter/hintrouterdefs.hh +++ b/server/modules/routing/hintrouter/hintrouterdefs.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/modules/routing/hintrouter/hintroutersession.hh b/server/modules/routing/hintrouter/hintroutersession.hh index 2fd4fe6e6..18827194c 100644 --- a/server/modules/routing/hintrouter/hintroutersession.hh +++ b/server/modules/routing/hintrouter/hintroutersession.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "hintrouterdefs.hh" diff --git a/server/modules/routing/readconnroute/readconnection.h b/server/modules/routing/readconnroute/readconnection.h index 66b2323ee..8aa8c98b7 100644 --- a/server/modules/routing/readconnroute/readconnection.h +++ b/server/modules/routing/readconnroute/readconnection.h @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file readconnection.h - The read connection balancing query module heder file diff --git a/server/modules/routing/readwritesplit/readwritesplit.hh b/server/modules/routing/readwritesplit/readwritesplit.hh index 4b86f0d05..e5cea68ee 100644 --- a/server/modules/routing/readwritesplit/readwritesplit.hh +++ b/server/modules/routing/readwritesplit/readwritesplit.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file Readwritesplit common header diff --git a/server/modules/routing/readwritesplit/rwbackend.hh b/server/modules/routing/readwritesplit/rwbackend.hh index 01ff57d91..797c097ce 100644 --- a/server/modules/routing/readwritesplit/rwbackend.hh +++ b/server/modules/routing/readwritesplit/rwbackend.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/modules/routing/readwritesplit/rwsplitsession.hh b/server/modules/routing/readwritesplit/rwsplitsession.hh index ff2f6b792..d59b78990 100644 --- a/server/modules/routing/readwritesplit/rwsplitsession.hh +++ b/server/modules/routing/readwritesplit/rwsplitsession.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "readwritesplit.hh" #include "rwbackend.hh" diff --git a/server/modules/routing/readwritesplit/trx.hh b/server/modules/routing/readwritesplit/trx.hh index f88afdc2b..787e1f2fa 100644 --- a/server/modules/routing/readwritesplit/trx.hh +++ b/server/modules/routing/readwritesplit/trx.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include diff --git a/server/modules/routing/schemarouter/schemarouter.hh b/server/modules/routing/schemarouter/schemarouter.hh index 70941a669..5b6e2cd4f 100644 --- a/server/modules/routing/schemarouter/schemarouter.hh +++ b/server/modules/routing/schemarouter/schemarouter.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once /** * @file schemarouter.hh - Common schemarouter definitions diff --git a/server/modules/routing/schemarouter/schemarouterinstance.hh b/server/modules/routing/schemarouter/schemarouterinstance.hh index 47fd86a73..84303ed9e 100644 --- a/server/modules/routing/schemarouter/schemarouterinstance.hh +++ b/server/modules/routing/schemarouter/schemarouterinstance.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "schemarouter.hh" diff --git a/server/modules/routing/schemarouter/schemaroutersession.hh b/server/modules/routing/schemarouter/schemaroutersession.hh index 4e5ef91c4..3785c3ce4 100644 --- a/server/modules/routing/schemarouter/schemaroutersession.hh +++ b/server/modules/routing/schemarouter/schemaroutersession.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include "schemarouter.hh" diff --git a/server/modules/routing/schemarouter/shard_map.hh b/server/modules/routing/schemarouter/shard_map.hh index f343baa33..8e4021e99 100644 --- a/server/modules/routing/schemarouter/shard_map.hh +++ b/server/modules/routing/schemarouter/shard_map.hh @@ -1,6 +1,5 @@ -#pragma once /* - * Copyright (c) 2016 MariaDB Corporation Ab + * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. @@ -11,6 +10,7 @@ * of this software will be governed by version 2 or later of the General * Public License. */ + #pragma once #include