diff -Nru mysql-5.7-5.7.23/client/CMakeLists.txt mysql-5.7-5.7.24/client/CMakeLists.txt --- mysql-5.7-5.7.23/client/CMakeLists.txt 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/client/CMakeLists.txt 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2006, 2017, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2018, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -17,7 +17,6 @@ ${CMAKE_SOURCE_DIR}/client ${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/mysys_ssl - ${ZLIB_INCLUDE_DIR} ${LZ4_INCLUDE_DIR} ${SSL_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/libmysql diff -Nru mysql-5.7-5.7.23/client/mysql.cc mysql-5.7-5.7.24/client/mysql.cc --- mysql-5.7-5.7.23/client/mysql.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/client/mysql.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1660,7 +1660,7 @@ {"bind-address", 0, "IP address to bind to.", (uchar**) &opt_bind_addr, (uchar**) &opt_bind_addr, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, - {"binary-as-hex", 'b', "Print binary data as hex", &opt_binhex, &opt_binhex, + {"binary-as-hex", 0, "Print binary data as hex", &opt_binhex, &opt_binhex, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0}, {"character-sets-dir", OPT_CHARSETS_DIR, "Directory for character set files.", &charsets_dir, diff -Nru mysql-5.7-5.7.23/client/mysqldump.c mysql-5.7-5.7.24/client/mysqldump.c --- mysql-5.7-5.7.23/client/mysqldump.c 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/client/mysqldump.c 2018-10-04 05:48:22.000000000 +0000 @@ -1372,6 +1372,37 @@ (const char *) delimiter); } +/* + This function will remove specific sql mode. + + @param[in] sql_mode Original sql mode from where input mode needs to + be removed. + @param[in] replace_mode sql mode which needs to be removed from original + sql mode. + @param[in] replace_len length of sql mode which needs to be removed. + + @retval 1 replace_mode is not present + 0 replace_mode is removed successfully +*/ +static int remove_sql_mode(char* sql_mode, const char* replace_mode, + size_t replace_len) { + char *start = strstr(sql_mode, replace_mode); + /* nothing to replace */ + if (!start) + return 1; + /* sql mode to replace is the only sql mode present or the last one */ + if (strlen(start) == replace_len) { + if (start == sql_mode) + *start = 0; + else + start[-1] = 0; + } + else { + const char *next = start + replace_len + 1; + memmove(start, next, strlen(next) + 1); + } + return 0; +} static void switch_sql_mode(FILE *sql_file, const char *delimiter, @@ -2417,7 +2448,7 @@ "The following dump may be incomplete.\n" "--\n"); } - + remove_sql_mode(row[1], C_STRING_WITH_LEN("NO_AUTO_CREATE_USER")); switch_sql_mode(sql_file, delimiter, row[1]); switch_time_zone(sql_file, delimiter, row[2]); @@ -2652,7 +2683,7 @@ "--\n"); } - + remove_sql_mode(row[1], C_STRING_WITH_LEN("NO_AUTO_CREATE_USER")); switch_sql_mode(sql_file, ";", row[1]); fprintf(sql_file, @@ -3466,6 +3497,7 @@ row[3], /* character_set_results */ row[4]); /* collation_connection */ + remove_sql_mode(row[1], C_STRING_WITH_LEN("NO_AUTO_CREATE_USER")); switch_sql_mode(sql_file, ";", row[1]); if (opt_drop_trigger) diff -Nru mysql-5.7-5.7.23/cmake/os/Windows.cmake mysql-5.7-5.7.24/cmake/os/Windows.cmake --- mysql-5.7-5.7.23/cmake/os/Windows.cmake 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/cmake/os/Windows.cmake 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -114,10 +114,11 @@ SET("${flag}" "${${flag}} /EHsc") ENDFOREACH() - # Fix CMake's predefined huge stack size FOREACH(type EXE SHARED MODULE) - STRING(REGEX REPLACE "/STACK:([^ ]+)" "" CMAKE_${type}_LINKER_FLAGS "${CMAKE_${type}_LINKER_FLAGS}") - STRING(REGEX REPLACE "/INCREMENTAL:([^ ]+)" "" CMAKE_${type}_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_${type}_LINKER_FLAGS_RELWITHDEBINFO}") + SET(CMAKE_${type}_LINKER_FLAGS_DEBUG + "${CMAKE_${type}_LINKER_FLAGS_DEBUG} /INCREMENTAL:NO") + SET(CMAKE_${type}_LINKER_FLAGS_RELWITHDEBINFO + "${CMAKE_${type}_LINKER_FLAGS_RELWITHDEBINFO} /INCREMENTAL:NO") ENDFOREACH() # Mark 32 bit executables large address aware so they can diff -Nru mysql-5.7-5.7.23/cmake/plugin.cmake mysql-5.7-5.7.24/cmake/plugin.cmake --- mysql-5.7-5.7.23/cmake/plugin.cmake 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/cmake/plugin.cmake 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -63,7 +63,7 @@ ${CMAKE_SOURCE_DIR}/sql/auth ${CMAKE_SOURCE_DIR}/regex ${SSL_INCLUDE_DIRS} - ${ZLIB_INCLUDE_DIR}) + ) LIST(GET ARG_DEFAULT_ARGS 0 plugin) SET(SOURCES ${ARG_DEFAULT_ARGS}) diff -Nru mysql-5.7-5.7.23/cmake/sasl.cmake mysql-5.7-5.7.24/cmake/sasl.cmake --- mysql-5.7-5.7.23/cmake/sasl.cmake 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/cmake/sasl.cmake 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,62 @@ +# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License, version 2.0, +# as published by the Free Software Foundation. +# +# This program is also distributed with certain software (including +# but not limited to OpenSSL) that is licensed under separate terms, +# as designated in a particular file or component or in included license +# documentation. The authors of MySQL hereby grant you an additional +# permission to link the program and your derivative works with the +# separately licensed software that they have included with MySQL. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License, version 2.0, for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +# cmake -DWITH_SASL=system|path +# system is the default +# +# Sets SASL_LIBRARY. If not found, SASL_LIBRARY="". + +MACRO (FIND_SYSTEM_SASL) + FIND_LIBRARY(SASL_SYSTEM_LIBRARY NAMES "sasl2" "sasl") + IF (SASL_SYSTEM_LIBRARY) + SET(SYSTEM_SASL_FOUND 1) + SET(SASL_LIBRARY ${SASL_SYSTEM_LIBRARY}) + MESSAGE(STATUS "SASL_LIBRARY ${SASL_LIBRARY}") + ENDIF() +ENDMACRO() + +IF (NOT WITH_SASL) + SET(WITH_SASL "system" CACHE STRING "By default use system sasl library") +ENDIF() + +MACRO (MYSQL_CHECK_SASL) + IF (NOT WITH_SASL OR WITH_SASL STREQUAL "system") + FIND_SYSTEM_SASL() + IF (NOT SYSTEM_SASL_FOUND) + MESSAGE(STATUS "Cannot find system sasl libraries.") + SET(SASL_LIBRARY "") + ENDIF() + ELSE() + FIND_LIBRARY(SASL_LIBRARY + NAMES "sasl2" "sasl" "libsasl" + PATHS ${WITH_SASL} ${WITH_SASL}/lib + NO_DEFAULT_PATH + NO_CMAKE_ENVIRONMENT_PATH + NO_SYSTEM_ENVIRONMENT_PATH) + IF (NOT SASL_LIBRARY) + MESSAGE(STATUS "Cannot find sasl libraries in ${WITH_SASL}.") + SET(SASL_LIBRARY "") + ELSE() + MESSAGE(STATUS "SASL_LIBRARY ${SASL_LIBRARY}") + ENDIF() + ENDIF() +ENDMACRO() diff -Nru mysql-5.7-5.7.23/cmake/tags.cmake mysql-5.7-5.7.24/cmake/tags.cmake --- mysql-5.7-5.7.23/cmake/tags.cmake 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/cmake/tags.cmake 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -15,12 +15,29 @@ # Generate tag files IF(UNIX) - ADD_CUSTOM_TARGET (tags - COMMAND support-files/build-tags - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} - ) - ADD_CUSTOM_TARGET (ctags - COMMAND ctags -R -f CTAGS - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} - ) + FIND_PROGRAM(CTAGS_EXECUTABLE ctags) + IF(NOT CTAGS_EXECUTABLE) + RETURN() + ENDIF() + EXEC_PROGRAM(${CTAGS_EXECUTABLE} ARGS --version OUTPUT_VARIABLE CTAGS_VERSION) + + IF(CTAGS_VERSION MATCHES "Exuberant") + ADD_CUSTOM_TARGET(tags + COMMAND support-files/build-tags + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} + ) + ADD_CUSTOM_TARGET(ctags + COMMAND support-files/build-tags ctags + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} + ) + ELSE() + ADD_CUSTOM_TARGET (tags + COMMAND exit 1 + COMMENT "Please install Exuberant Ctags" + ) + ADD_CUSTOM_TARGET (ctags + COMMAND exit 1 + COMMENT "Please install Exuberant Ctags" + ) + ENDIF() ENDIF() diff -Nru mysql-5.7-5.7.23/cmake/zlib.cmake mysql-5.7-5.7.24/cmake/zlib.cmake --- mysql-5.7-5.7.23/cmake/zlib.cmake 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/cmake/zlib.cmake 2018-10-04 05:48:22.000000000 +0000 @@ -14,15 +14,11 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA MACRO (MYSQL_USE_BUNDLED_ZLIB) + SET(BUILD_BUNDLED_ZLIB 1) SET(ZLIB_LIBRARY zlib CACHE INTERNAL "Bundled zlib library") - SET(ZLIB_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/zlib) SET(ZLIB_FOUND TRUE) SET(WITH_ZLIB "bundled" CACHE STRING "Use bundled zlib") ADD_SUBDIRECTORY(zlib) - GET_TARGET_PROPERTY(src zlib SOURCES) - FOREACH(file ${src}) - SET(ZLIB_SOURCES ${ZLIB_SOURCES} ${CMAKE_SOURCE_DIR}/zlib/${file}) - ENDFOREACH() ENDMACRO() # MYSQL_CHECK_ZLIB_WITH_COMPRESS diff -Nru mysql-5.7-5.7.23/CMakeLists.txt mysql-5.7-5.7.24/CMakeLists.txt --- mysql-5.7-5.7.23/CMakeLists.txt 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/CMakeLists.txt 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2006, 2017, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2018, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -203,6 +203,7 @@ INCLUDE(lz4) INCLUDE(libevent) INCLUDE(ssl) +INCLUDE(sasl) INCLUDE(readline) INCLUDE(protobuf) INCLUDE(mysql_version) @@ -528,6 +529,12 @@ ${CMAKE_SOURCE_DIR}/libbinlogevents/export) # Add bundled or system zlib. MYSQL_CHECK_ZLIB_WITH_COMPRESS() +IF(BUILD_BUNDLED_ZLIB) + INCLUDE_DIRECTORIES(SYSTEM + ${CMAKE_CURRENT_SOURCE_DIR}/zlib + ${CMAKE_CURRENT_BINARY_DIR}/zlib + ) +ENDIF() # Add bundled yassl/taocrypt or system openssl. MYSQL_CHECK_SSL() # Add system/bundled editline. @@ -536,6 +543,8 @@ MYSQL_CHECK_LIBEVENT() # Add lz4 library MYSQL_CHECK_LZ4() +# Add SASL library +MYSQL_CHECK_SASL() # Add protoc and libprotobuf IF(NOT WITHOUT_SERVER) MYSQL_CHECK_PROTOBUF() diff -Nru mysql-5.7-5.7.23/debian/changelog mysql-5.7-5.7.24/debian/changelog --- mysql-5.7-5.7.23/debian/changelog 2018-09-21 13:11:55.000000000 +0000 +++ mysql-5.7-5.7.24/debian/changelog 2018-10-22 19:25:38.000000000 +0000 @@ -1,3 +1,17 @@ +mysql-5.7 (5.7.24-0ubuntu0.18.10.1) cosmic-security; urgency=medium + + * SECURITY UPDATE: Update to 5.7.24 to fix security issues + - CVE-2018-3133, CVE-2018-3143, CVE-2018-3144, CVE-2018-3155, + CVE-2018-3156, CVE-2018-3161, CVE-2018-3162, CVE-2018-3171, + CVE-2018-3173, CVE-2018-3174, CVE-2018-3185, CVE-2018-3187, + CVE-2018-3200, CVE-2018-3247, CVE-2018-3251, CVE-2018-3276, + CVE-2018-3277, CVE-2018-3278, CVE-2018-3282, CVE-2018-3283, + CVE-2018-3284 + * Removed patches included in new version: + - debian/patches/mysql-test-run.patch + + -- Marc Deslauriers Mon, 22 Oct 2018 15:25:38 -0400 + mysql-5.7 (5.7.23-2ubuntu1) cosmic; urgency=medium * Merge from Debian. diff -Nru mysql-5.7-5.7.23/debian/patches/mysql-test-run.patch mysql-5.7-5.7.24/debian/patches/mysql-test-run.patch --- mysql-5.7-5.7.23/debian/patches/mysql-test-run.patch 2018-09-14 13:08:54.000000000 +0000 +++ mysql-5.7-5.7.24/debian/patches/mysql-test-run.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -Description: Make test runner look in bindir setting for mysql_client_test - To avoid polluting system bin directory, the internal test client binaries - have been moved to mysql-testsuite's home directory. It has a setting - to pick where to find its binaries, but doesn't correctly check this - location for the mysql_client_test binary -Author: Lars Tangvald -Bug: https://bugs.mysql.com/bug.php?id=91854 -Last-Update: 2018-08-01 - ---- mysql-5.7-5.7.23.orig/mysql-test/mysql-test-run.pl -+++ mysql-5.7-5.7.23/mysql-test/mysql-test-run.pl -@@ -2358,6 +2358,7 @@ sub mysql_client_test_arguments(){ - my $exe; - # mysql_client_test executable may _not_ exist - $exe= mtr_exe_maybe_exists(vs_config_dirs('testclients', 'mysql_client_test'), -+ "$path_client_bindir/mysql_client_test", - "$basedir/testclients/mysql_client_test", - "$basedir/bin/mysql_client_test"); - return "" unless $exe; diff -Nru mysql-5.7-5.7.23/debian/patches/series mysql-5.7-5.7.24/debian/patches/series --- mysql-5.7-5.7.23/debian/patches/series 2018-09-14 13:08:54.000000000 +0000 +++ mysql-5.7-5.7.24/debian/patches/series 2018-10-22 19:24:43.000000000 +0000 @@ -2,5 +2,5 @@ mips64el.patch mysql-test-run-paths fix_grant_user_lock_as_root.patch -mysql-test-run.patch +#mysql-test-run.patch fix_tests_ppc64el.patch diff -Nru mysql-5.7-5.7.23/Docs/INFO_SRC mysql-5.7-5.7.24/Docs/INFO_SRC --- mysql-5.7-5.7.23/Docs/INFO_SRC 2018-06-08 10:07:56.000000000 +0000 +++ mysql-5.7-5.7.24/Docs/INFO_SRC 2018-10-04 05:59:51.000000000 +0000 @@ -1,7 +1,7 @@ -commit: 0e7361b225055945d74cef67c838faa03d634137 -date: 2018-06-08 15:28:05 +0530 -build-date: 2018-06-08 11:56:42 +0200 -short: 0e7361b -branch: mysql-5.7.23-release +commit: ee9e038d0618e9baab499cead3dcd513a87820f8 +date: 2018-10-04 11:18:36 +0530 +build-date: 2018-10-04 07:48:35 +0200 +short: ee9e038 +branch: mysql-5.7.24-release -MySQL source 5.7.23 +MySQL source 5.7.24 diff -Nru mysql-5.7-5.7.23/extra/CMakeLists.txt mysql-5.7-5.7.24/extra/CMakeLists.txt --- mysql-5.7-5.7.23/extra/CMakeLists.txt 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/extra/CMakeLists.txt 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2018, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -15,7 +15,6 @@ INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/include -${ZLIB_INCLUDE_DIR} ${LZ4_INCLUDE_DIR} # Following is for perror, in case NDB is compiled in. ${CMAKE_SOURCE_DIR}/storage/ndb/include diff -Nru mysql-5.7-5.7.23/extra/protobuf/CMakeLists.txt mysql-5.7-5.7.24/extra/protobuf/CMakeLists.txt --- mysql-5.7-5.7.23/extra/protobuf/CMakeLists.txt 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/extra/protobuf/CMakeLists.txt 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -71,7 +71,6 @@ INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR}/protobuf-2.6.1/src - ${ZLIB_INCLUDE_DIR} ) SET(PROTO_SRC_DIR diff -Nru mysql-5.7-5.7.23/include/mysql/group_replication_priv.h mysql-5.7-5.7.24/include/mysql/group_replication_priv.h --- mysql-5.7-5.7.23/include/mysql/group_replication_priv.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/include/mysql/group_replication_priv.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -37,12 +37,9 @@ /** - Server side initializations and cleanup. + Server side initializations. */ -int group_replication_init(const char* plugin_name); -int group_replication_cleanup(); -int group_replication_start(); -int group_replication_stop(); +int group_replication_init(); /** diff -Nru mysql-5.7-5.7.23/libbinlogevents/CMakeLists.txt mysql-5.7-5.7.24/libbinlogevents/CMakeLists.txt --- mysql-5.7-5.7.23/libbinlogevents/CMakeLists.txt 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/libbinlogevents/CMakeLists.txt 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,11 +18,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/libbinlogevents/include - ${CMAKE_SOURCE_DIR}/libbinlogevents/export - # ZLIB_INCLUDE_DIR points to ${CMAKE_SOURCE_DIR}/zlib, - # when compiled with MySQL server version (< 5.7). - # It is NULL otherwise. - ${ZLIB_INCLUDE_DIR}) + ${CMAKE_SOURCE_DIR}/libbinlogevents/export) CONFIGURE_FILE(binlog_config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/include/binlog_config.h) diff -Nru mysql-5.7-5.7.23/libbinlogstandalone/CMakeLists.txt mysql-5.7-5.7.24/libbinlogstandalone/CMakeLists.txt --- mysql-5.7-5.7.23/libbinlogstandalone/CMakeLists.txt 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/libbinlogstandalone/CMakeLists.txt 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -27,18 +27,11 @@ # INCLUDE_DIRECTORIES(${GTEST_INCLUDE_DIRS}) #ENDIF() -FIND_PACKAGE(ZLIB REQUIRED) - - INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/libbinlogevents/include ${CMAKE_CURRENT_BINARY_DIR}/../libbinlogevents/include ${CMAKE_SOURCE_DIR}/libbinlogevents/export - ${CMAKE_CURRENT_BINARY_DIR}/libbinlogevents/export - # ZLIB_INCLUDE_DIR points to ${CMAKE_SOURCE_DIR}/zlib, - # when compiled with MySQL server version (< 5.7). - # It is NULL otherwise. - ${ZLIB_INCLUDE_DIR}) + ${CMAKE_CURRENT_BINARY_DIR}/libbinlogevents/export) ADD_SUBDIRECTORY(src) diff -Nru mysql-5.7-5.7.23/libbinlogstandalone/src/CMakeLists.txt mysql-5.7-5.7.24/libbinlogstandalone/src/CMakeLists.txt --- mysql-5.7-5.7.23/libbinlogstandalone/src/CMakeLists.txt 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/libbinlogstandalone/src/CMakeLists.txt 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ # Configure for building static library ADD_LIBRARY(binlogstandalone_static STATIC ${REPLICATION_SOURCES}) -TARGET_LINK_LIBRARIES(binlogstandalone_static ${ZLIB_LIBRARIES}) +TARGET_LINK_LIBRARIES(binlogstandalone_static ${ZLIB_LIBRARY}) SET_TARGET_PROPERTIES(binlogstandalone_static PROPERTIES OUTPUT_NAME "binlogstandalone") @@ -38,7 +38,7 @@ IF (NOT DISABLE_SHARED) # Configure for building shared library ADD_LIBRARY(binlogstandalone_shared SHARED ${REPLICATION_SOURCES}) - TARGET_LINK_LIBRARIES(binlogstandalone_shared ${ZLIB_LIBRARIES}) + TARGET_LINK_LIBRARIES(binlogstandalone_shared ${ZLIB_LIBRARY}) SET_TARGET_PROPERTIES(binlogstandalone_shared PROPERTIES OUTPUT_NAME "binlogstandalone") SET_TARGET_PROPERTIES(binlogstandalone_shared diff -Nru mysql-5.7-5.7.23/libmysql/authentication_ldap/auth_ldap_sasl_client.cc mysql-5.7-5.7.24/libmysql/authentication_ldap/auth_ldap_sasl_client.cc --- mysql-5.7-5.7.23/libmysql/authentication_ldap/auth_ldap_sasl_client.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/libmysql/authentication_ldap/auth_ldap_sasl_client.cc 2018-10-04 05:48:22.000000000 +0000 @@ -128,6 +128,36 @@ { std::stringstream log_stream; int rc_sasl= SASL_FAIL; +#ifdef _WIN32 + char sasl_plugin_dir[MAX_PATH]= ""; + int ret_executable_path= 0; + /** + Getting the current executable path, SASL SCRAM dll will be copied in executable path. + Using/Setting the path from cmake file may not work as during installation SASL SCRAM DLL may be + copied to any path based on installable path. + */ + ret_executable_path= GetModuleFileName(NULL, sasl_plugin_dir, sizeof(sasl_plugin_dir)); + if ((ret_executable_path == 0) || (ret_executable_path == sizeof(sasl_plugin_dir))) + { + log_error("sasl client initilize: failed to find executable path or buffer size for path is too small."); + goto EXIT; + } + char *pos= strrchr(sasl_plugin_dir, '\\'); + if (pos != NULL) + { + *pos = '\0'; + } + /** + Sasl SCRAM dll default search path is C:\CMU2, + This is the reason we have copied in the executable folder and setting the same + from the code. + */ + sasl_set_path(SASL_PATH_TYPE_PLUGIN, sasl_plugin_dir); + log_stream << "Sasl_client::initilize sasl scrum plug-in path : " + << sasl_plugin_dir; + log_dbg(log_stream.str()); + log_stream.clear(); +#endif strncpy(m_service_name, SASL_SERVICE_NAME, sizeof(m_service_name)-1); m_service_name[sizeof(m_service_name)-1]= '\0'; /** Initialize client-side of SASL. */ diff -Nru mysql-5.7-5.7.23/libmysql/authentication_ldap/CMakeLists.txt mysql-5.7-5.7.24/libmysql/authentication_ldap/CMakeLists.txt --- mysql-5.7-5.7.23/libmysql/authentication_ldap/CMakeLists.txt 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/libmysql/authentication_ldap/CMakeLists.txt 2018-10-04 05:48:22.000000000 +0000 @@ -1,9 +1,9 @@ -# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. -# +# Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. +# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -19,14 +19,6 @@ INCLUDE(CheckIncludeFiles) -IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") - INCLUDE_DIRECTORIES(SYSTEM /usr/local/include) - LIST(APPEND CMAKE_REQUIRED_INCLUDES "/usr/local/include") -ENDIF() - -CHECK_INCLUDE_FILES(sasl/sasl.h HAVE_SASL_H) -CHECK_INCLUDE_FILES(lber.h HAVE_LBER_H) - # If cmake was invoked with -DWITH_AUTHENTICATION_LDAP=1 # then fail if we are unable to build the LDAP plugin. MACRO(CROAK_AND_RETURN) @@ -38,29 +30,111 @@ ENDIF() ENDMACRO() -IF(HAVE_SASL_H) - SET(CMAKE_EXTRA_INCLUDE_FILES sasl/sasl.h) -ELSE() - CROAK_AND_RETURN("Required SASL library is missing.") -ENDIF() -IF(HAVE_LBER_H) - SET(CMAKE_EXTRA_INCLUDE_FILES lber.h) -ELSE() - CROAK_AND_RETURN("Required LBER library is missing.") -ENDIF() +IF(NOT WIN32) + IF(DEFINED WITH_SASL) + MESSAGE(STATUS ${ARGV} "Currently LDAP SASL client authentication plug-in is build with only system installed cyrus SASL library.") + ENDIF() + + IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") + INCLUDE_DIRECTORIES(SYSTEM /usr/local/include) + LIST(APPEND CMAKE_REQUIRED_INCLUDES "/usr/local/include") + ENDIF() + + CHECK_INCLUDE_FILES(sasl/sasl.h HAVE_SASL_H) + CHECK_INCLUDE_FILES(lber.h HAVE_LBER_H) -# LDAP authentication SASL client will not build on windows, as windows don't have cyrus sasl. -# IF someone like can build the cyrus sasl library on windows and build LDAP authentication sasl client as well. -IF (CMAKE_SYSTEM_NAME MATCHES "SunOS") - SET(SASL_LIBRARY "sasl") -ELSEIF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") - SET(SASL_LIBRARY "-L/usr/local/lib -R/usr/local/lib -lsasl2") + IF(HAVE_SASL_H) + SET(CMAKE_EXTRA_INCLUDE_FILES sasl/sasl.h) + ELSE() + CROAK_AND_RETURN("Required SASL library is missing.") + ENDIF() + IF(HAVE_LBER_H) + SET(CMAKE_EXTRA_INCLUDE_FILES lber.h) + ELSE() + CROAK_AND_RETURN("Required LBER library is missing.") + ENDIF() ELSE() - SET(SASL_LIBRARY "sasl2") -ENDIF () + # There is no system installed SASL library on Windows + SET(WITH_SASL "" CACHE PATH "Location of the SASL install") + + IF(NOT WITH_SASL OR WITH_SASL STREQUAL "system") + # This plug-in is only compulsory for the enterprise MySQL. + # For MySQL community/Dev's user can build without this plug-in. + MESSAGE(STATUS ${ARGV} " You need to set WITH_SASL path to build LDAP SASL client authentication plugin.") + RETURN() + ENDIF() + + # Use forward slashes from CMake code + FILE(TO_CMAKE_PATH "${WITH_SASL}" SASL_ROOT_DIR) + + FIND_PATH(SASL_INCLUDE_DIR + NAMES sasl/sasl.h + NO_CMAKE_PATH + NO_CMAKE_ENVIRONMENT_PATH + PATHS ${SASL_ROOT_DIR}/include + ) + + FIND_FILE(SASL_LIBRARY_DLL + NAMES libsasl.dll + NO_CMAKE_PATH + NO_CMAKE_ENVIRONMENT_PATH + PATHS ${SASL_ROOT_DIR}/lib + ) + + FIND_FILE(SASL_SCRAM_PLUGIN + NAMES saslSCRAM.dll + NO_CMAKE_PATH + NO_CMAKE_ENVIRONMENT_PATH + PATHS ${SASL_ROOT_DIR}/lib + ) + + IF(SASL_INCLUDE_DIR AND + SASL_LIBRARY AND + SASL_LIBRARY_DLL AND + SASL_SCRAM_PLUGIN) + SET(SASL_FOUND TRUE) + ELSE() + SET(SASL_FOUND FALSE) + ENDIF() + + INCLUDE_DIRECTORIES(${SASL_INCLUDE_DIR}) + + MESSAGE(STATUS "SASL_INCLUDE_DIR = ${SASL_INCLUDE_DIR}") + MESSAGE(STATUS "SASL_LIBRARY_DLL = ${SASL_LIBRARY_DLL}") + MESSAGE(STATUS "SASL_SCRAM_PLUGIN = ${SASL_SCRAM_PLUGIN}") + +ENDIF() +MESSAGE(STATUS "SASL_LIBRARY = ${SASL_LIBRARY}") MYSQL_ADD_PLUGIN(authentication_ldap_sasl_client auth_ldap_sasl_client.cc log_client.cc LINK_LIBRARIES ${SASL_LIBRARY} CLIENT_ONLY MODULE_ONLY MODULE_OUTPUT_NAME "authentication_ldap_sasl_client") + +IF(WIN32) + GET_FILENAME_COMPONENT(SASL_DLL_NAME ${SASL_LIBRARY_DLL} NAME) + GET_FILENAME_COMPONENT(SASL_SCRAM_PLUGIN_NAME "${SASL_SCRAM_PLUGIN}" NAME) + + # Note that "libsasl.dll" and "saslSCRAM.dll" go into the "bin" directory where + # "mysql.exe" and other client executables are located. + INSTALL(FILES "${SASL_LIBRARY_DLL}" + DESTINATION ${INSTALL_BINDIR} + COMPONENT SharedLibraries) + INSTALL(FILES "${SASL_SCRAM_PLUGIN}" + DESTINATION ${INSTALL_BINDIR} + COMPONENT SharedLibraries) + + # To run client executables that load the plug-in from the build tree we need + # to copy the SASL library DLL and SASL SCRAM library DLL to the same directory as the client executables. + ADD_CUSTOM_COMMAND(TARGET authentication_ldap_sasl_client POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy_if_different + "${SASL_LIBRARY_DLL}" + "${CMAKE_BINARY_DIR}/client/${CMAKE_CFG_INTDIR}/${SASL_DLL_NAME}" + COMMAND ${CMAKE_COMMAND} -E copy_if_different + "${SASL_SCRAM_PLUGIN}" + "${CMAKE_BINARY_DIR}/client/${CMAKE_CFG_INTDIR}/${SASL_SCRAM_PLUGIN_NAME}" + ) + ADD_DEPENDENCIES(authentication_ldap_sasl_client mysqltest) + +ENDIF() diff -Nru mysql-5.7-5.7.23/libmysql/CMakeLists.txt mysql-5.7-5.7.24/libmysql/CMakeLists.txt --- mysql-5.7-5.7.23/libmysql/CMakeLists.txt 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/libmysql/CMakeLists.txt 2018-10-04 05:48:22.000000000 +0000 @@ -20,8 +20,7 @@ ${CMAKE_SOURCE_DIR}/sql ${CMAKE_SOURCE_DIR}/strings ${SSL_INCLUDE_DIRS} - ${SSL_INTERNAL_INCLUDE_DIRS} - ${ZLIB_INCLUDE_DIR}) + ${SSL_INTERNAL_INCLUDE_DIRS}) ADD_DEFINITIONS(${SSL_DEFINES}) SET(CLIENT_API_FUNCTIONS diff -Nru mysql-5.7-5.7.23/libmysqld/CMakeLists.txt mysql-5.7-5.7.24/libmysqld/CMakeLists.txt --- mysql-5.7-5.7.23/libmysqld/CMakeLists.txt 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/libmysqld/CMakeLists.txt 2018-10-04 05:48:22.000000000 +0000 @@ -27,7 +27,6 @@ ${CMAKE_BINARY_DIR}/libmysqld ${CMAKE_BINARY_DIR}/sql ${CMAKE_SOURCE_DIR}/regex - ${ZLIB_INCLUDE_DIR} ${SSL_INCLUDE_DIRS} ${SSL_INTERNAL_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/sql/backup diff -Nru mysql-5.7-5.7.23/man/comp_err.1 mysql-5.7-5.7.24/man/comp_err.1 --- mysql-5.7-5.7.23/man/comp_err.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/comp_err.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBcomp_err\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBCOMP_ERR\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBCOMP_ERR\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -253,7 +253,7 @@ .IP " 1." 4 MySQL Internals Manual .RS 4 -\%http://dev.mysql.com/doc/internals/en +\%https://dev.mysql.com/doc/internals/en .RE .SH "SEE ALSO" For more information, please refer to the MySQL Reference Manual, diff -Nru mysql-5.7-5.7.23/man/innochecksum.1 mysql-5.7-5.7.24/man/innochecksum.1 --- mysql-5.7-5.7.23/man/innochecksum.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/innochecksum.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBinnochecksum\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBINNOCHECKSUM\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBINNOCHECKSUM\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -41,15 +41,7 @@ InnoDB tablespace file, calculates the checksum for each page, compares the calculated checksum to the stored checksum, and reports mismatches, which indicate damaged pages\&. It was originally developed to speed up verifying the integrity of tablespace files after power outages but can also be used after file copies\&. Because checksum mismatches cause InnoDB -to deliberately shut down a running server, it may be preferable to use this tool rather than waiting for an in\-production server to encounter the damaged pages\&. As of MySQL 5\&.7\&.2, -\fBinnochecksum\fR -supports files greater than 2GB in size\&. Previously, -\fBinnochecksum\fR -only supported files up to 2GB in size\&. -.PP -As of MySQL 5\&.7\&.2, -\fBinnochecksum\fR -supports tablespaces that contain compressed pages\&. +to deliberately shut down a running server, it may be preferable to use this tool rather than waiting for an in\-production server to encounter the damaged pages\&. .PP \fBinnochecksum\fR cannot be used on tablespace files that the server already has open\&. For such files, you should use diff -Nru mysql-5.7-5.7.23/man/lz4_decompress.1 mysql-5.7-5.7.24/man/lz4_decompress.1 --- mysql-5.7-5.7.23/man/lz4_decompress.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/lz4_decompress.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBlz4_decompress\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBLZ4_DECOMPRESS\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBLZ4_DECOMPRESS\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/myisamchk.1 mysql-5.7-5.7.24/man/myisamchk.1 --- mysql-5.7-5.7.23/man/myisamchk.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/myisamchk.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmyisamchk\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYISAMCHK\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYISAMCHK\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/myisam_ftdump.1 mysql-5.7-5.7.24/man/myisam_ftdump.1 --- mysql-5.7-5.7.23/man/myisam_ftdump.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/myisam_ftdump.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmyisam_ftdump\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYISAM_FTDUMP\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYISAM_FTDUMP\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/myisamlog.1 mysql-5.7-5.7.24/man/myisamlog.1 --- mysql-5.7-5.7.23/man/myisamlog.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/myisamlog.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmyisamlog\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYISAMLOG\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYISAMLOG\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/myisampack.1 mysql-5.7-5.7.24/man/myisampack.1 --- mysql-5.7-5.7.23/man/myisampack.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/myisampack.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmyisampack\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYISAMPACK\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYISAMPACK\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/my_print_defaults.1 mysql-5.7-5.7.24/man/my_print_defaults.1 --- mysql-5.7-5.7.23/man/my_print_defaults.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/my_print_defaults.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmy_print_defaults\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMY_PRINT_DEFAULTS\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMY_PRINT_DEFAULTS\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/mysql.1 mysql-5.7-5.7.24/man/mysql.1 --- mysql-5.7-5.7.23/man/mysql.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysql.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysql\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQL\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQL\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -59,7 +59,7 @@ .br .PP Alternatively, MySQL Shell offers access to the X DevAPI\&. For details, see -Chapter\ \&18, MySQL Shell User Guide\&. +\m[blue]\fBMySQL Shell 8\&.0 (part of MySQL 8\&.0)\fR\m[]\&\s-2\u[1]\d\s+2\&. .sp .5v .RE .PP @@ -228,8 +228,7 @@ .sp -1 .IP \(bu 2.3 .\} -\fB\-\-binary\-as\-hex\fR, -\fB\-b\fR +\fB\-\-binary\-as\-hex\fR .sp When this option is given, \fBmysql\fR @@ -1218,14 +1217,20 @@ \fB\-\-i\-am\-a\-dummy\fR, \fB\-U\fR .sp -Permit only those +If this option is enabled, UPDATE and DELETE -statements that specify which rows to modify by using key values\&. If you have set this option in an option file, you can override it by using -\fB\-\-safe\-updates\fR -on the command line\&. See -the section called \(lqMYSQL TIPS\(rq, for more information about this option\&. +statements that do not use a key in the +WHERE +clause or a +LIMIT +clause produce an error\&. In addition, restrictions are placed on +SELECT +statements that produce (or are estimated to produce) very large result sets\&. If you have set this option in an option file, you can use +\fB\-\-skip\-safe\-updates\fR +on the command line to override it\&. For more information about this option, see +the section called \(lqUsing Safe\-Updates Mode (\-\-safe\-updates)\(rq\&. .RE .sp .RS 4 @@ -2198,6 +2203,8 @@ / or \e\e\&. +.sp +Quote characters are taken as part of the file name itself\&. For best results, the name should not include space characters\&. .RE .sp .RS 4 @@ -2211,9 +2218,9 @@ status, \es .sp -Provide status information about the connection and the server you are using\&. If you are running in +Provide status information about the connection and the server you are using\&. If you are running with \fB\-\-safe\-updates\fR -mode, +enabled, status also prints the values for the \fBmysql\fR @@ -2827,6 +2834,39 @@ .RE .PP The following discussion describes characteristics that apply to all logging types and provides information specific to each logging type\&. +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +How Logging Occurs +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +Controlling the History File +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +syslog Logging Characteristics +.RE How Logging Occurs.PP For each enabled logging destination, statement logging occurs as follows: .sp @@ -3179,7 +3219,7 @@ uses it as a search string to access server\-side help from the contents of the MySQL Reference Manual\&. The proper operation of this command requires that the help tables in the mysql database be initialized with help topic information (see -Section\ \&5.1.13, \(lqServer-Side Help\(rq)\&. +Section\ \&5.1.14, \(lqServer-Side Help\(rq)\&. .PP If there is no match for the search string, the search fails: .sp @@ -3528,7 +3568,8 @@ (or utf8mb4) option\&. This option is necessary because utf16le -is not supported as a connection character set\&. +is one of the character sets that cannot be used as the client character set\&. See +the section called \(lqImpermissible Client Character Sets\(rq\&. .RE .PP With those changes, @@ -3590,23 +3631,33 @@ .if n \{\ .RE .\} -.SS "Using the \-\-safe\-updates Option" +.SS "Using Safe\-Updates Mode (\-\-safe\-updates)" .PP For beginners, a useful startup option is \fB\-\-safe\-updates\fR (or -\fB\-\-i\-am\-a\-dummy\fR, which has the same effect)\&. It is helpful for cases when you might have issued a -DELETE FROM \fItbl_name\fR +\fB\-\-i\-am\-a\-dummy\fR, which has the same effect)\&. Safe\-updates mode is helpful for cases when you might have issued an +UPDATE +or +DELETE statement but forgotten the WHERE -clause\&. Normally, such a statement deletes all rows from the table\&. With -\fB\-\-safe\-updates\fR, you can delete rows only by specifying the key values that identify them\&. This helps prevent accidents\&. +clause indicating which rows to modify\&. Normally, such statements update or delete all rows in the table\&. With +\fB\-\-safe\-updates\fR, you can modify rows only by specifying the key values that identify them, or a +LIMIT +clause, or both\&. This helps prevent accidents\&. Safe\-updates mode also restricts +SELECT +statements that produce (or are estimated to produce) very large result sets\&. .PP -When you use the +The \fB\-\-safe\-updates\fR -option, +option causes \fBmysql\fR -issues the following statement when it connects to the MySQL server: +to execute the following statement when it connects to the MySQL server, to set the session values of the +sql_safe_updates, +sql_select_limit, and +max_join_size +system variables: .sp .if n \{\ .RS 4 @@ -3618,12 +3669,9 @@ .RE .\} .PP -See -Section\ \&5.1.7, \(lqServer System Variables\(rq\&. -.PP The SET -statement has the following effects: +statement affects statement processing as follows: .sp .RS 4 .ie n \{\ @@ -3633,15 +3681,17 @@ .sp -1 .IP \(bu 2.3 .\} -You are not permitted to execute an +Enabling +sql_safe_updates +causes UPDATE -or +and DELETE -statement unless you specify a key constraint in the +statements to produce an error if they do not specify a key constraint in the WHERE -clause or provide a +clause, or provide a LIMIT -clause (or both)\&. For example: +clause, or both\&. For example: .sp .if n \{\ .RS 4 @@ -3663,9 +3713,11 @@ .sp -1 .IP \(bu 2.3 .\} -The server limits all large +Setting +sql_select_limit +to 1,000 causes the server to limit all SELECT -results to 1,000 rows unless the statement includes a +result sets to 1,000 rows unless the statement includes a LIMIT clause\&. .RE @@ -3678,26 +3730,117 @@ .sp -1 .IP \(bu 2.3 .\} -The server aborts multiple\-table +Setting +max_join_size +to 1,000,000 causes multiple\-table SELECT -statements that probably need to examine more than 1,000,000 row combinations\&. +statements to produce an error if the server estimates it must examine more than 1,000,000 row combinations\&. .RE .PP -To specify limits different from 1,000 and 1,000,000, you can override the defaults by using the +To specify result set limits different from 1,000 and 1,000,000, you can override the defaults by using the \fB\-\-select_limit\fR and \fB\-\-max_join_size\fR -options: +options when you invoke +\fBmysql\fR: .sp .if n \{\ .RS 4 .\} .nf -shell> \fBmysql \-\-safe\-updates \-\-select_limit=500 \-\-max_join_size=10000\fR +mysql \-\-safe\-updates \-\-select_limit=500 \-\-max_join_size=10000 .fi .if n \{\ .RE .\} +.PP +It is possible for +UPDATE +and +DELETE +statements to produce an error in safe\-updates mode even with a key specified in the +WHERE +clause, if the optimizer decides not to use the index on the key column: +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +Range access on the index cannot be used if memory usage exceeds that permitted by the +range_optimizer_max_mem_size +system variable\&. The optimizer then falls back to a table scan\&. See +the section called \(lqLimiting Memory Use for Range Optimization\(rq\&. +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +If key comparisons require type conversion, the index may not be used (see +Section\ \&8.3.1, \(lqHow MySQL Uses Indexes\(rq)\&. Suppose that an indexed string column +c1 +is compared to a numeric value using +WHERE c1 = 2222\&. For such comparisons, the string value is converted to a number and the operands are compared numerically (see +Section\ \&12.2, \(lqType Conversion in Expression Evaluation\(rq), preventing use of the index\&. If safe\-updates mode is enabled, an error occurs\&. +.RE +.PP +As of MySQL 5\&.7\&.25, safe\-updates mode includes these behaviors: +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +EXPLAIN +with +UPDATE +and +DELETE +statements does not produce safe\-updates errors\&. This enables use of +EXPLAIN +plus +SHOW WARNINGS +to see why an index is not used, which can be helpful in cases such as when a +range_optimizer_max_mem_size +violation or type conversion occurs and the optimizer does not use an index even though a key column was specified in the +WHERE +clause\&. +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +When a safe\-updates error occurs, the error message includes the first diagnostic that was produced, to provide information about the reason for failure\&. For example, the message may indicate that the +range_optimizer_max_mem_size +value was exceeded or type conversion occurred, either of which can preclude use of an index\&. +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +For multiple\-table deletes and updates, an error is produced with safe updates enabled only if any target table uses a table scan\&. +.RE .SS "Disabling mysql Auto\-Reconnect" .PP If the @@ -3753,6 +3896,12 @@ .PP You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. .sp +.SH "NOTES" +.IP " 1." 4 +MySQL Shell 8.0 (part of MySQL 8.0) +.RS 4 +\%http://dev.mysql.com/doc/mysql-shell/8.0/en/ +.RE .SH "SEE ALSO" For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available diff -Nru mysql-5.7-5.7.23/man/mysqladmin.1 mysql-5.7-5.7.24/man/mysqladmin.1 --- mysql-5.7-5.7.23/man/mysqladmin.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysqladmin.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysqladmin\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQLADMIN\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQLADMIN\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/mysqlbinlog.1 mysql-5.7-5.7.24/man/mysqlbinlog.1 --- mysql-5.7-5.7.23/man/mysqlbinlog.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysqlbinlog.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysqlbinlog\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQLBINLOG\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQLBINLOG\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -314,22 +314,22 @@ --binlog-row-event-max-size=# T} T{ -\fBType\fR (64-bit platforms) +\fBType\fR T}:T{ -numeric +Numeric T} T{ -\fBDefault Value\fR (64-bit platforms) +\fBDefault Value\fR T}:T{ 4294967040 T} T{ -\fBMinimum Value\fR (64-bit platforms) +\fBMinimum Value\fR T}:T{ 256 T} T{ -\fBMaximum Value\fR (64-bit platforms) +\fBMaximum Value\fR T}:T{ 18446744073709547520 T} @@ -364,15 +364,13 @@ .sp This option is used to test a MySQL server for support of the BINLOG_DUMP_NON_BLOCK -connection flag, which was inadvertently removed in MySQL 5\&.6\&.5, and restored in MySQL 5\&.7\&.5 (Bug #18000079, Bug #71178)\&. It is not required for normal operations\&. +connection flag\&. It is not required for normal operations\&. .sp The effective default and minimum values for this option depend on whether \fBmysqlbinlog\fR is run in blocking mode or non\-blocking mode\&. When \fBmysqlbinlog\fR is run in blocking mode, the default (and minimum) value is 1; when run in non\-blocking mode, the default (and minimum) value is 0\&. -.sp -This option was added in MySQL 5\&.7\&.5 .RE .sp .RS 4 @@ -520,13 +518,9 @@ option, you must ensure that tables that are modified are in the database selected by USE\&. (In particular, no cross\-database updates should be used\&.) .sp -Prior to MySQL 5\&.7\&.1, the -\fB\-\-database\fR -option did not work correctly with a log written by a GTID\-enabled MySQL server\&. (Bug #15912728) -.sp When used together with the \fB\-\-rewrite\-db\fR -option (available in MySQL 5\&.7\&.1 and later), the +option, the \fB\-\-rewrite\-db\fR option is applied first; then the \fB\-\-database\fR @@ -668,17 +662,14 @@ \fB\-\-to\-last\-log\fR option and are sending the output to the same MySQL server\&. This option also is useful when restoring after a crash to avoid duplication of the statements you have logged\&. .sp -This option requires that you have the -SUPER -privilege\&. It causes +This option causes \fBmysqlbinlog\fR to include a SET sql_log_bin = 0 -statement in its output to disable binary logging of the remaining output\&. The -SET -statement is ineffective unless you have the -SUPER -privilege\&. +statement in its output to disable binary logging of the remaining output\&. Manipulating the session value of the +sql_log_bin +system variable is a restricted operation, so this option requires that you have privileges sufficient to set restricted session variables\&. See +Section\ \&5.1.8.1, \(lqSystem Variable Privileges\(rq\&. .RE .sp .RS 4 @@ -800,10 +791,6 @@ The scope of effect for this option includes the current \fBmysqlbinlog\fR client and session only\&. -.sp -The -\fB\-\-idempotent\fR -option was introduced in MySQL 5\&.7\&.0\&. .RE .sp .RS 4 @@ -1118,7 +1105,7 @@ .\} \fB\-\-rewrite\-db=\*(Aq\fR\fB\fIfrom_name\fR\fR\fB\->\fR\fB\fIto_name\fR\fR\fB\*(Aq\fR .sp -In MySQL 5\&.7\&.8 and later, when reading from a row\-based or statement\-based log, rewrite all occurrences of +When reading from a row\-based or statement\-based log, rewrite all occurrences of \fIfrom_name\fR to \fIto_name\fR\&. Rewriting is done on the rows, for row\-based logs, as well as on the @@ -1181,8 +1168,6 @@ \fB\-\-database\fR option, there remain no updates that match \fB\-\-database=mydb\fR\&. -.sp -This option was added in MySQL 5\&.7\&.1\&. .RE .sp .RS 4 @@ -1195,7 +1180,7 @@ .\} \fB\-\-secure\-auth\fR .sp -Do not send passwords to the server in old (pre\-4\&.1) format\&. This prevents connections except for servers that use the newer password format\&. This option was added in MySQL 5\&.7\&.4\&. +Do not send passwords to the server in old (pre\-4\&.1) format\&. This prevents connections except for servers that use the newer password format\&. .sp As of MySQL 5\&.7\&.5, this option is deprecated and will be removed in a future MySQL release\&. It is always enabled and attempting to disable it (\fB\-\-skip\-secure\-auth\fR, \fB\-\-secure\-auth=0\fR) produces an error\&. Before MySQL 5\&.7\&.5, this option is enabled by default but can be disabled\&. @@ -1862,7 +1847,7 @@ .RE .\} .PP -Hex dump output currently contains the elements in the following list\&. This format is subject to change\&. (For more information about binary log format, see +Hex dump output currently contains the elements in the following list\&. This format is subject to change\&. For more information about binary log format, see \m[blue]\fBMySQL Internals: The Binary Log\fR\m[]\&\s-2\u[1]\d\s+2\&. .sp .RS 4 @@ -1899,265 +1884,7 @@ .sp -1 .IP \(bu 2.3 .\} -Type: The event type code\&. In the example shown, -\*(Aq0f\*(Aq -indicates a -FORMAT_DESCRIPTION_EVENT\&. The following table lists the possible type codes\&. -.TS -allbox tab(:); -lB lB lB. -T{ -Type -T}:T{ -Name -T}:T{ -Meaning -T} -.T& -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l. -T{ -00 -T}:T{ -UNKNOWN_EVENT -T}:T{ -This event should never be present in the log. -T} -T{ -01 -T}:T{ -START_EVENT_V3 -T}:T{ -This indicates the start of a log file written by MySQL 4 or earlier. -T} -T{ -02 -T}:T{ -QUERY_EVENT -T}:T{ -The most common type of events. These contain statements executed on the - master. -T} -T{ -03 -T}:T{ -STOP_EVENT -T}:T{ -Indicates that master has stopped. -T} -T{ -04 -T}:T{ -ROTATE_EVENT -T}:T{ -Written when the master switches to a new log file. -T} -T{ -05 -T}:T{ -INTVAR_EVENT -T}:T{ -Used for AUTO_INCREMENT values or when the - LAST_INSERT_ID() - function is used in the statement. -T} -T{ -06 -T}:T{ -LOAD_EVENT -T}:T{ -Used for LOAD DATA - INFILE in MySQL 3.23. -T} -T{ -07 -T}:T{ -SLAVE_EVENT -T}:T{ -Reserved for future use. -T} -T{ -08 -T}:T{ -CREATE_FILE_EVENT -T}:T{ -Used for LOAD DATA - INFILE statements. This indicates the start - of execution of such a statement. A temporary file is - created on the slave. Used in MySQL 4 only. -T} -T{ -09 -T}:T{ -APPEND_BLOCK_EVENT -T}:T{ -Contains data for use in a - LOAD DATA - INFILE statement. The data is stored in the - temporary file on the slave. -T} -T{ -0a -T}:T{ -EXEC_LOAD_EVENT -T}:T{ -Used for LOAD DATA - INFILE statements. The contents of the - temporary file is stored in the table on the slave. - Used in MySQL 4 only. -T} -T{ -0b -T}:T{ -DELETE_FILE_EVENT -T}:T{ -Rollback of a LOAD DATA - INFILE statement. The temporary file should - be deleted on the slave. -T} -T{ -0c -T}:T{ -NEW_LOAD_EVENT -T}:T{ -Used for LOAD DATA - INFILE in MySQL 4 and earlier. -T} -T{ -0d -T}:T{ -RAND_EVENT -T}:T{ -Used to send information about random values if the - RAND() function is used - in the statement. -T} -T{ -0e -T}:T{ -USER_VAR_EVENT -T}:T{ -Used to replicate user variables. -T} -T{ -0f -T}:T{ -FORMAT_DESCRIPTION_EVENT -T}:T{ -This indicates the start of a log file written by MySQL 5 or later. -T} -T{ -10 -T}:T{ -XID_EVENT -T}:T{ -Event indicating commit of an XA transaction. -T} -T{ -11 -T}:T{ -BEGIN_LOAD_QUERY_EVENT -T}:T{ -Used for LOAD DATA - INFILE statements in MySQL 5 and later. -T} -T{ -12 -T}:T{ -EXECUTE_LOAD_QUERY_EVENT -T}:T{ -Used for LOAD DATA - INFILE statements in MySQL 5 and later. -T} -T{ -13 -T}:T{ -TABLE_MAP_EVENT -T}:T{ -Information about a table definition. Used in MySQL 5.1.5 and later. -T} -T{ -14 -T}:T{ -PRE_GA_WRITE_ROWS_EVENT -T}:T{ -Row data for a single table that should be created. Used in MySQL 5.1.5 - to 5.1.17. -T} -T{ -15 -T}:T{ -PRE_GA_UPDATE_ROWS_EVENT -T}:T{ -Row data for a single table that needs to be updated. Used in MySQL - 5.1.5 to 5.1.17. -T} -T{ -16 -T}:T{ -PRE_GA_DELETE_ROWS_EVENT -T}:T{ -Row data for a single table that should be deleted. Used in MySQL 5.1.5 - to 5.1.17. -T} -T{ -17 -T}:T{ -WRITE_ROWS_EVENT -T}:T{ -Row data for a single table that should be created. Used in MySQL 5.1.18 - and later. -T} -T{ -18 -T}:T{ -UPDATE_ROWS_EVENT -T}:T{ -Row data for a single table that needs to be updated. Used in MySQL - 5.1.18 and later. -T} -T{ -19 -T}:T{ -DELETE_ROWS_EVENT -T}:T{ -Row data for a single table that should be deleted. Used in MySQL 5.1.18 - and later. -T} -T{ -1a -T}:T{ -INCIDENT_EVENT -T}:T{ -Something out of the ordinary happened. Added in MySQL 5.1.18. -T} -.TE -.sp 1 +Type: The event type code\&. .RE .sp .RS 4 @@ -2201,61 +1928,7 @@ .sp -1 .IP \(bu 2.3 .\} -Flags: 16 flags\&. The following flags are used\&. The others are reserved for future use\&. -.TS -allbox tab(:); -lB lB lB. -T{ -Flag -T}:T{ -Name -T}:T{ -Meaning -T} -.T& -l l l -l l l -l l l -l l l. -T{ -01 -T}:T{ -LOG_EVENT_BINLOG_IN_USE_F -T}:T{ -Log file correctly closed. (Used only in - FORMAT_DESCRIPTION_EVENT.) If this - flag is set (if the flags are, for example, - '01 00') in a - FORMAT_DESCRIPTION_EVENT, the log - file has not been properly closed. Most probably this - is because of a master crash (for example, due to - power failure). -T} -T{ -02 -T}:T{ -T}:T{ -Reserved for future use. -T} -T{ -04 -T}:T{ -LOG_EVENT_THREAD_SPECIFIC_F -T}:T{ -Set if the event is dependent on the connection it was executed in (for - example, '04 00'), for example, if - the event uses temporary tables. -T} -T{ -08 -T}:T{ -LOG_EVENT_SUPPRESS_USE_F -T}:T{ -Set in some circumstances when the event is not dependent on the default - database. -T} -.TE -.sp 1 +Flags: Event flag values\&. .RE .SH "MYSQLBINLOG ROW EVENT DISPLAY" .PP @@ -3075,7 +2748,7 @@ .IP " 1." 4 MySQL Internals: The Binary Log .RS 4 -\%http://dev.mysql.com/doc/internals/en/binary-log.html +\%https://dev.mysql.com/doc/internals/en/binary-log.html .RE .SH "SEE ALSO" For more information, please refer to the MySQL Reference Manual, diff -Nru mysql-5.7-5.7.23/man/mysqlcheck.1 mysql-5.7-5.7.24/man/mysqlcheck.1 --- mysql-5.7-5.7.23/man/mysqlcheck.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysqlcheck.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysqlcheck\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQLCHECK\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQLCHECK\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -219,7 +219,7 @@ option and naming all the databases on the command line, except that the INFORMATION_SCHEMA and -performace_schema +performance_schema databases are not checked\&. They can be checked by explicitly naming them with the \fB\-\-databases\fR option\&. diff -Nru mysql-5.7-5.7.23/man/mysql_config.1 mysql-5.7-5.7.24/man/mysql_config.1 --- mysql-5.7-5.7.23/man/mysql_config.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysql_config.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysql_config\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQL_CONFIG\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQL_CONFIG\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/mysql_config_editor.1 mysql-5.7-5.7.24/man/mysql_config_editor.1 --- mysql-5.7-5.7.23/man/mysql_config_editor.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysql_config_editor.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysql_config_editor\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQL_CONFIG_EDITOR\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQL_CONFIG_EDITOR\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -36,12 +36,12 @@ .PP The \fBmysql_config_editor\fR -utility enables you to store authentication credentials in an encrypted login path file named +utility enables you to store authentication credentials in an obfuscated login path file named \&.mylogin\&.cnf\&. The file location is the %APPDATA%\eMySQL directory on Windows and the current user\*(Aqs home directory on non\-Windows systems\&. The file can be read later by MySQL client programs to obtain authentication credentials for connecting to MySQL Server\&. .PP -The unencrypted format of the +The unobfuscated format of the \&.mylogin\&.cnf login path file consists of option groups, similar to other option files\&. Each option group in \&.mylogin\&.cnf @@ -53,7 +53,7 @@ \fBpassword\fR, \fBport\fR and -\fBsocket\fR\&. Think of a login path option group as a set of options that specify which MySQL server to connect to and which account to authenticate as\&. Here is an unencrypted example: +\fBsocket\fR\&. Think of a login path option group as a set of options that specify which MySQL server to connect to and which account to authenticate as\&. Here is an unobfuscated example: .sp .if n \{\ .RS 4 @@ -185,22 +185,22 @@ .RE .PP \fBmysql_config_editor\fR -encrypts the +obfuscates the \&.mylogin\&.cnf -file so it cannot be read as cleartext, and its contents when decrypted by client programs are used only in memory\&. In this way, passwords can be stored in a file in non\-cleartext format and used later without ever needing to be exposed on the command line or in an environment variable\&. +file so it cannot be read as cleartext, and its contents when unobfuscated by client programs are used only in memory\&. In this way, passwords can be stored in a file in non\-cleartext format and used later without ever needing to be exposed on the command line or in an environment variable\&. \fBmysql_config_editor\fR provides a print command for displaying the login path file contents, but even in this case, password values are masked so as never to appear in a way that other users can see them\&. .PP -The encryption used by +The obfuscation used by \fBmysql_config_editor\fR prevents passwords from appearing in \&.mylogin\&.cnf -as cleartext and provides a measure of security by preventing inadvertent password exposure\&. For example, if you display a regular unencrypted +as cleartext and provides a measure of security by preventing inadvertent password exposure\&. For example, if you display a regular unobfuscated my\&.cnf option file on the screen, any passwords it contains are visible for anyone to see\&. With -\&.mylogin\&.cnf, that is not true\&. But the encryption used will not deter a determined attacker and you should not consider it unbreakable\&. A user who can gain system administration privileges on your machine to access your files could decrypt the +\&.mylogin\&.cnf, that is not true\&. But the obfuscation used will not deter a determined attacker and you should not consider it unbreakable\&. A user who can gain system administration privileges on your machine to access your files could unobfuscate the \&.mylogin\&.cnf file with some effort\&. .PP @@ -629,7 +629,7 @@ .\} print [\fIoptions\fR] .sp -Print the contents of the login path file in unencrypted form, with the exception that passwords are displayed as +Print the contents of the login path file in unobfuscated form, with the exception that passwords are displayed as *****\&. .sp The default login path name is @@ -823,7 +823,7 @@ \fB\-\-port\fR, \fB\-P\fR .sp -Remove the TCP/IP port number from the login path\&. This option was added in MySQL 5\&.7\&.1\&. +Remove the TCP/IP port number from the login path\&. .RE .sp .RS 4 @@ -837,7 +837,7 @@ \fB\-\-socket\fR, \fB\-S\fR .sp -Remove the Unix socket file name from the login path\&. This option was added in MySQL 5\&.7\&.1\&. +Remove the Unix socket file name from the login path\&. .RE .sp .RS 4 @@ -1025,7 +1025,7 @@ \fB\-\-port=\fR\fB\fIport_num\fR\fR, \fB\-P \fR\fB\fIport_num\fR\fR .sp -The TCP/IP port number to write to the login path\&. This option was added in MySQL 5\&.7\&.1\&. +The TCP/IP port number to write to the login path\&. .RE .sp .RS 4 @@ -1039,7 +1039,7 @@ \fB\-\-socket=\fR\fB\fIfile_name\fR\fR, \fB\-S \fR\fB\fIfile_name\fR\fR .sp -The Unix socket file name to write to the login path\&. This option was added in MySQL 5\&.7\&.1\&. +The Unix socket file name to write to the login path\&. .RE .sp .RS 4 diff -Nru mysql-5.7-5.7.23/man/mysqld.8 mysql-5.7-5.7.24/man/mysqld.8 --- mysql-5.7-5.7.23/man/mysqld.8 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysqld.8 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysqld\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQLD\FR" "8" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQLD\FR" "8" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/mysqld_multi.1 mysql-5.7-5.7.24/man/mysqld_multi.1 --- mysql-5.7-5.7.23/man/mysqld_multi.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysqld_multi.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysqld_multi\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQLD_MULTI\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQLD_MULTI\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/mysqld_safe.1 mysql-5.7-5.7.24/man/mysqld_safe.1 --- mysql-5.7-5.7.23/man/mysqld_safe.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysqld_safe.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysqld_safe\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQLD_SAFE\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQLD_SAFE\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -733,7 +733,7 @@ .sp When syslog -is used, the +is used for error logging, the daemon\&.err facility/severity is used for all log messages\&. .sp @@ -744,7 +744,7 @@ system variable instead\&. To control the facility, use the server log_syslog_facility system variable\&. See -Section\ \&5.4.2, \(lqThe Error Log\(rq\&. +Section\ \&5.4.2.3, \(lqError Logging to the System Log\(rq\&. .RE .sp .RS 4 @@ -776,7 +776,7 @@ logging is deprecated as of MySQL 5\&.7\&.5\&. Use the server log_syslog_tag system variable instead\&. See -Section\ \&5.4.2, \(lqThe Error Log\(rq\&. +Section\ \&5.4.2.3, \(lqError Logging to the System Log\(rq\&. .RE .sp .RS 4 @@ -1010,7 +1010,7 @@ is deprecated as of MySQL 5\&.7\&.5\&. Use the server\*(Aqs native syslog support instead\&. For more information, see -Section\ \&5.4.2, \(lqThe Error Log\(rq\&. +Section\ \&5.4.2.3, \(lqError Logging to the System Log\(rq\&. .sp .5v .RE .SH "COPYRIGHT" diff -Nru mysql-5.7-5.7.23/man/mysqldump.1 mysql-5.7-5.7.24/man/mysqldump.1 --- mysql-5.7-5.7.23/man/mysqldump.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysqldump.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysqldump\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQLDUMP\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQLDUMP\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -299,7 +299,7 @@ .\} .PP However, UTF\-16 is not permitted as a connection character set (see -Section\ \&10.4, \(lqConnection Character Sets and Collations\(rq), so the dump file will not load correctly\&. To work around this issue, use the +the section called \(lqImpermissible Client Character Sets\(rq), so the dump file will not load correctly\&. To work around this issue, use the \fB\-\-result\-file\fR option, which creates the output in ASCII format: .sp @@ -2088,7 +2088,7 @@ This option may be used to dump the INFORMATION_SCHEMA and -performace_schema +performance_schema databases, which normally are not dumped even with the \fB\-\-all\-databases\fR option\&. (Also use the @@ -2247,7 +2247,7 @@ dumps triggers in activation order so that when the dump file is reloaded, triggers are created in the same activation order\&. However, if a \fBmysqldump\fR dump file contains multiple triggers for a table that have the same trigger event and action time, an error occurs for attempts to load the dump file into an older server that does not support multiple triggers\&. (For a workaround, see -Section\ \&2.11.2.1, \(lqChanges Affecting Downgrades from MySQL 5.7\(rq; you can convert triggers to be compatible with older servers\&.) +Section\ \&2.11.2.3, \(lqDowngrade Notes\(rq; you can convert triggers to be compatible with older servers\&.) .RE .sp .RS 4 @@ -2489,7 +2489,7 @@ .br For upgrades to MySQL 5\&.7 or higher from older versions, do not use \fB\-\-flush\-privileges\fR\&. For upgrade instructions in this case, see -Section\ \&2.11.1.2, \(lqChanges Affecting Upgrades to MySQL 5.7\(rq\&. +Section\ \&2.11.1.3, \(lqChanges in MySQL 5.7\(rq\&. .sp .5v .RE .RE @@ -2888,10 +2888,16 @@ ndbinfo information database\&. .PP +\fBmysqldump\fR +does not dump +InnoDB +CREATE TABLESPACE +statements\&. +.PP It is not recommended to restore from a dump made using \fBmysqldump\fR to a MySQL 5\&.6\&.9 or earlier server that has GTIDs enabled\&. See -Section\ \&16.1.3.4, \(lqRestrictions on Replication with GTIDs\(rq\&. +Section\ \&16.1.3.6, \(lqRestrictions on Replication with GTIDs\(rq\&. .PP \fBmysqldump\fR includes statements to recreate the diff -Nru mysql-5.7-5.7.23/man/mysqldumpslow.1 mysql-5.7-5.7.24/man/mysqldumpslow.1 --- mysql-5.7-5.7.23/man/mysqldumpslow.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysqldumpslow.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysqldumpslow\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQLDUMPSLOW\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQLDUMPSLOW\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/mysqlimport.1 mysql-5.7-5.7.24/man/mysqlimport.1 --- mysql-5.7-5.7.23/man/mysqlimport.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysqlimport.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysqlimport\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQLIMPORT\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQLIMPORT\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/mysql_install_db.1 mysql-5.7-5.7.24/man/mysql_install_db.1 --- mysql-5.7-5.7.23/man/mysql_install_db.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysql_install_db.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysql_install_db\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQL_INSTALL_DB\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQL_INSTALL_DB\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/mysql_plugin.1 mysql-5.7-5.7.24/man/mysql_plugin.1 --- mysql-5.7-5.7.23/man/mysql_plugin.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysql_plugin.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysql_plugin\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQL_PLUGIN\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQL_PLUGIN\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/mysqlpump.1 mysql-5.7-5.7.24/man/mysqlpump.1 --- mysql-5.7-5.7.23/man/mysqlpump.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysqlpump.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysqlpump\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQLPUMP\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQLPUMP\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -2346,6 +2346,12 @@ option\&. .PP \fBmysqlpump\fR +does not dump +InnoDB +CREATE TABLESPACE +statements\&. +.PP +\fBmysqlpump\fR dumps user accounts in logical form using CREATE USER and diff -Nru mysql-5.7-5.7.23/man/mysql_secure_installation.1 mysql-5.7-5.7.24/man/mysql_secure_installation.1 --- mysql-5.7-5.7.23/man/mysql_secure_installation.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysql_secure_installation.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysql_secure_installation\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQL_SECURE_INSTALLATION\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQL_SECURE_INSTALLATION\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/mysql.server.1 mysql-5.7-5.7.24/man/mysql.server.1 --- mysql-5.7-5.7.23/man/mysql.server.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysql.server.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysql.server\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQL\&.SERVER\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQL\&.SERVER\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -312,28 +312,28 @@ T}:T{ Path to MySQL installation directory T}:T{ -directory name +Directory name T} T{ datadir T}:T{ Path to MySQL data directory T}:T{ -directory name +Directory name T} T{ pid-file T}:T{ File in which server should write its process ID T}:T{ -file name +File name T} T{ service-startup-timeout T}:T{ How long to wait for server startup T}:T{ -integer +Integer T} .TE .sp 1 diff -Nru mysql-5.7-5.7.23/man/mysqlshow.1 mysql-5.7-5.7.24/man/mysqlshow.1 --- mysql-5.7-5.7.23/man/mysqlshow.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysqlshow.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysqlshow\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQLSHOW\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQLSHOW\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/mysqlslap.1 mysql-5.7-5.7.24/man/mysqlslap.1 --- mysql-5.7-5.7.23/man/mysqlslap.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysqlslap.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysqlslap\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQLSLAP\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQLSLAP\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/mysql_ssl_rsa_setup.1 mysql-5.7-5.7.24/man/mysql_ssl_rsa_setup.1 --- mysql-5.7-5.7.23/man/mysql_ssl_rsa_setup.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysql_ssl_rsa_setup.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysql_ssl_rsa_setup\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQL_SSL_RSA_SETUP\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQL_SSL_RSA_SETUP\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -403,7 +403,7 @@ .\} \fB\-\-suffix=\fR\fB\fIstr\fR\fR .sp -The suffix for the Common Name attribute in X509 certificates\&. The suffix value is limited to 17 characters\&. The default is based on the MySQL version number\&. +The suffix for the Common Name attribute in X\&.509 certificates\&. The suffix value is limited to 17 characters\&. The default is based on the MySQL version number\&. .RE .sp .RS 4 diff -Nru mysql-5.7-5.7.23/man/mysql_tzinfo_to_sql.1 mysql-5.7-5.7.24/man/mysql_tzinfo_to_sql.1 --- mysql-5.7-5.7.23/man/mysql_tzinfo_to_sql.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysql_tzinfo_to_sql.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysql_tzinfo_to_sql\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQL_TZINFO_TO_SQL\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQL_TZINFO_TO_SQL\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/mysql_upgrade.1 mysql-5.7-5.7.24/man/mysql_upgrade.1 --- mysql-5.7-5.7.23/man/mysql_upgrade.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/mysql_upgrade.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBmysql_upgrade\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBMYSQL_UPGRADE\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBMYSQL_UPGRADE\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -120,7 +120,7 @@ mysql\&.user table requires a special sequence of steps to perform an upgrade using \fBmysql_upgrade\fR\&. For details, see -Section\ \&2.11.1.2, \(lqChanges Affecting Upgrades to MySQL 5.7\(rq\&. +Section\ \&2.11.1.3, \(lqChanges in MySQL 5.7\(rq\&. .sp .5v .RE .if n \{\ @@ -136,7 +136,7 @@ .ps -1 .br .PP -On Windows Server 2008, Vista, and newer, you must run +On Windows, you must run \fBmysql_upgrade\fR with administrator privileges\&. You can do this by running a Command Prompt as Administrator and running the command\&. Failure to do so may result in the upgrade failing to execute correctly\&. .sp .5v @@ -200,6 +200,46 @@ For local host connections on Unix, the \fB\-\-protocol=tcp\fR option forces a connection using TCP/IP rather than the Unix socket file\&. +.if n \{\ +.sp +.\} +.RS 4 +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +.ps +1 +\fBNote\fR +.ps -1 +.br +.PP +If you run the server with the +disabled_storage_engines +system variable set to disable certain storage engines (for example, +MyISAM), +\fBmysql_upgrade\fR +might fail with an error like this: +.sp +.if n \{\ +.RS 4 +.\} +.nf +mysql_upgrade: [ERROR] 3161: Storage engine MyISAM is disabled +(Table creation is disallowed)\&. +.fi +.if n \{\ +.RE +.\} +.PP +To handle this, restart the server with +disabled_storage_engines +disabled\&. Then you should be able to run +\fBmysql_upgrade\fR +successfully\&. After that, restart the server with +disabled_storage_engines +set to its original value\&. +.sp .5v +.RE .PP \fBmysql_upgrade\fR processes all tables in all databases, which might take a long time to complete\&. Each table is locked and therefore unavailable to other sessions while it is being processed\&. Check and repair operations can be time\-consuming, particularly for large tables\&. @@ -247,7 +287,7 @@ .PP \fBmysql_upgrade\fR does not upgrade the contents of the help tables\&. For upgrade instructions, see -Section\ \&5.1.13, \(lqServer-Side Help\(rq\&. +Section\ \&5.1.14, \(lqServer-Side Help\(rq\&. .PP As of MySQL 5\&.7\&.7, unless invoked with the \fB\-\-skip\-sys\-schema\fR diff -Nru mysql-5.7-5.7.23/man/ndb_blob_tool.1 mysql-5.7-5.7.24/man/ndb_blob_tool.1 --- mysql-5.7-5.7.23/man/ndb_blob_tool.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_blob_tool.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,480 +0,0 @@ -'\" t -.\" Title: \fBndb_blob_tool\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_BLOB_TOOL\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_blob_tool \- check and repair BLOB and TEXT columns of NDB Cluster tables -.SH "SYNOPSIS" -.HP \w'\fBndb_blob_tool\ \fR\fB\fIoptions\fR\fR\fB\ \fR\fB\fItable\fR\fR\fB\ [\fR\fB\fIcolumn\fR\fR\fB,\ \&.\&.\&.]\fR\ 'u -\fBndb_blob_tool \fR\fB\fIoptions\fR\fR\fB \fR\fB\fItable\fR\fR\fB [\fR\fB\fIcolumn\fR\fR\fB, \&.\&.\&.]\fR -.SH "DESCRIPTION" -.PP -This tool can be used to check for and remove orphaned BLOB column parts from -NDB -tables, as well as to generate a file listing any orphaned parts\&. It is sometimes useful in diagnosing and repairing corrupted or damaged -NDB -tables containing -BLOB -or -TEXT -columns\&. -.PP -The basic syntax for -\fBndb_blob_tool\fR -is shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_blob_tool [\fIoptions\fR] \fItable\fR [\fIcolumn\fR, \&.\&.\&.] -.fi -.if n \{\ -.RE -.\} -.PP -Unless you use the -\fB\-\-help\fR -option, you must specify an action to be performed by including one or more of the options -\fB\-\-check\-orphans\fR, -\fB\-\-delete\-orphans\fR, or -\fB\-\-dump\-file\fR\&. These options cause -\fBndb_blob_tool\fR -to check for orphaned BLOB parts, remove any orphaned BLOB parts, and generate a dump file listing orphaned BLOB parts, respectively, and are described in more detail later in this section\&. -.PP -You must also specify the name of a table when invoking -\fBndb_blob_tool\fR\&. In addition, you can optionally follow the table name with the (comma\-separated) names of one or more -BLOB -or -TEXT -columns from that table\&. If no columns are listed, the tool works on all of the table\*(Aqs -BLOB -and -TEXT -columns\&. If you need to specify a database, use the -\fB\-\-database\fR -(\fB\-d\fR) option\&. -.PP -The -\fB\-\-verbose\fR -option provides additional information in the output about the tool\*(Aqs progress\&. -.PP -The following table includes options that are specific to -\fBndb_blob_tool\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndb_blob_tool\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.318.\ \&Command\-line options for the ndb_blob_tool program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l -l l l. -T{ -.PP ---check-orphans -T}:T{ -Check for orphan blob parts -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---database=db_name, -.PP --d -T}:T{ -Database to find the table in. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---delete-orphans -T}:T{ -Delete orphan blob parts -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---dump-file=file -T}:T{ -Write orphan keys to specified file -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---verbose, -.PP --v -T}:T{ -Verbose output -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-check\-orphans\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---check-orphans -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Check for orphaned BLOB parts in NDB Cluster tables\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-database=\fR\fB\fIdb_name\fR\fR, -\fB\-d\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---database=db_name -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -[none] -T} -.TE -.sp 1 -Specify the database to find the table in\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-delete\-orphans\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---delete-orphans -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Remove orphaned BLOB parts from NDB Cluster tables\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-dump\-file=\fR\fB\fIfile\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---dump-file=file -T} -T{ -\fBType\fR -T}:T{ -file name -T} -T{ -\fBDefault Value\fR -T}:T{ -[none] -T} -.TE -.sp 1 -Writes a list of orphaned BLOB column parts to -\fIfile\fR\&. The information written to the file includes the table key and BLOB part number for each orphaned BLOB part\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-verbose\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---verbose -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Provide extra information in the tool\*(Aqs output regarding its progress\&. -.RE -Example.PP -First we create an -NDB -table in the -test -database, using the -CREATE TABLE -statement shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -USE test; -CREATE TABLE btest ( - c0 BIGINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, - c1 TEXT, - c2 BLOB -) ENGINE=NDB; -.fi -.if n \{\ -.RE -.\} -.PP -Then we insert a few rows into this table, using a series of statements similar to this one: -.sp -.if n \{\ -.RS 4 -.\} -.nf -INSERT INTO btest VALUES (NULL, \*(Aqx\*(Aq, REPEAT(\*(Aqx\*(Aq, 1000)); -.fi -.if n \{\ -.RE -.\} -.PP -When run with -\fB\-\-check\-orphans\fR -against this table, -\fBndb_blob_tool\fR -generates the following output: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_blob_tool \-\-check\-orphans \-\-verbose \-d test btest\fR -connected -processing 2 blobs -processing blob #0 c1 NDB$BLOB_19_1 -NDB$BLOB_19_1: nextResult: res=1 -total parts: 0 -orphan parts: 0 -processing blob #1 c2 NDB$BLOB_19_2 -NDB$BLOB_19_2: nextResult: res=0 -NDB$BLOB_19_2: nextResult: res=0 -NDB$BLOB_19_2: nextResult: res=0 -NDB$BLOB_19_2: nextResult: res=0 -NDB$BLOB_19_2: nextResult: res=0 -NDB$BLOB_19_2: nextResult: res=0 -NDB$BLOB_19_2: nextResult: res=0 -NDB$BLOB_19_2: nextResult: res=0 -NDB$BLOB_19_2: nextResult: res=0 -NDB$BLOB_19_2: nextResult: res=0 -NDB$BLOB_19_2: nextResult: res=1 -total parts: 10 -orphan parts: 0 -disconnected -NDBT_ProgramExit: 0 \- OK -.fi -.if n \{\ -.RE -.\} -.PP -The tool reports that there are no -NDB -BLOB column parts associated with column -c1, even though -c1 -is a -TEXT -column\&. This is due to the fact that, in an -NDB -table, only the first 256 bytes of a -BLOB -or -TEXT -column value are stored inline, and only the excess, if any, is stored separately; thus, if there are no values using more than 256 bytes in a given column of one of these types, no -BLOB -column parts are created by -NDB -for this column\&. See -Section\ \&11.8, \(lqData Type Storage Requirements\(rq, for more information\&. -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb-common-options.1 mysql-5.7-5.7.24/man/ndb-common-options.1 --- mysql-5.7-5.7.23/man/ndb-common-options.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb-common-options.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,1114 +0,0 @@ -'\" t -.\" Title: Options Common to NDB Cluster Programs -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "OPTIONS COMMON TO NDB CLUSTER PROGRAMS" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb-common-options \- NDB Cluster Common Program Options -.SH "DESCRIPTION" -.PP -All NDB Cluster programs accept the options described in this section, with the following exceptions: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fBmysqld\fR -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fBndb_print_backup_file\fR -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fBndb_print_schema_file\fR -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fBndb_print_sys_file\fR -.RE -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -.PP -Users of earlier NDB Cluster versions should note that some of these options have been changed to make them consistent with one another, and also with -\fBmysqld\fR\&. You can use the -\fB\-\-help\fR -option with any NDB Cluster program\(emwith the exception of -\fBndb_print_backup_file\fR, -\fBndb_print_schema_file\fR, and -\fBndb_print_sys_file\fR\(emto view a list of the options which the program supports\&. -.sp .5v -.RE -.PP -The options in the following table are common to all NDB Cluster executables (except those noted previously in this section)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.340.\ \&Command\-line options common to all MySQL NDB Cluster programs -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l. -T{ -.PP ---character-sets-dir=dir_name -T}:T{ -Directory where character sets are installed -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---connect-retries=# -T}:T{ -Set the number of times to retry a connection before giving up -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---connect-retry-delay=# -T}:T{ -Time to wait between attempts to contact a management server, in seconds -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---core-file -T}:T{ -Write core on errors (defaults to TRUE in debug builds) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---debug=options -T}:T{ -Enable output from debug calls. Can be used only for versions compiled - with debugging enabled -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---defaults-extra-file=filename -T}:T{ -Read this file after global option files are read -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---defaults-file=filename -T}:T{ -Read default options from this file -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---defaults-group-suffix -T}:T{ -Also read groups with names ending in this suffix -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---help, -.PP ---usage, -.PP --? -T}:T{ -Display help message and exit -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---login-path=path -T}:T{ -Read this path from the login file -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---ndb-connectstring=connectstring, -.PP ---connect-string=connectstring, -.PP --c -T}:T{ -Set connection string for connecting to ndb_mgmd. Syntax: - [nodeid=;][host=][:]. - Overrides entries specified in NDB_CONNECTSTRING or - my.cnf. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---ndb-mgmd-host=host[:port] -T}:T{ -Set the host (and port, if desired) for connecting to management server -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---ndb-nodeid=# -T}:T{ -Set node id for this node -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---ndb-optimized-node-selection -T}:T{ -Select nodes for transactions in a more optimal way -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---no-defaults -T}:T{ -Do not read default options from any option file other than login file -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---print-defaults -T}:T{ -Print the program argument list and exit -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---version, -.PP --V -T}:T{ -Output version information and exit -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -.PP -For options specific to individual NDB Cluster programs, see -Section\ \&21.4, \(lqNDB Cluster Programs\(rq\&. -.PP -See -Section\ \&21.3.3.9.1, \(lqMySQL Server Options for NDB Cluster\(rq, for -\fBmysqld\fR -options relating to NDB Cluster\&. -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-character\-sets\-dir=\fR\fB\fIname\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---character-sets-dir=dir_name -T} -T{ -\fBType\fR -T}:T{ -directory name -T} -T{ -\fBDefault Value\fR -T}:T{ -T} -.TE -.sp 1 -Tells the program where to find character set information\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-connect\-retries=\fR\fB\fI#\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---connect-retries=# -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -12 -T} -T{ -\fBMinimum Value\fR -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR -T}:T{ -4294967295 -T} -.TE -.sp 1 -This option specifies the number of times following the first attempt to retry a connection before giving up (the client always tries the connection at least once)\&. The length of time to wait per attempt is set using -\fB\-\-connect\-retry\-delay\fR\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -When used with -\fBndb_mgm\fR, this option has 3 as its default\&. See -\fBndb_mgm\fR(1), for more information\&. -.sp .5v -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-connect\-retry\-delay=\fR\fB\fI#\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---connect-retry-delay=# -T} -T{ -\fBType\fR (>= 5.7.10-ndb-7.5.0) -T}:T{ -numeric -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR (>= 5.7.10-ndb-7.5.0) -T}:T{ -5 -T} -T{ -\fBDefault Value\fR -T}:T{ -5 -T} -T{ -\fBMinimum Value\fR (>= 5.7.10-ndb-7.5.0) -T}:T{ -1 -T} -T{ -\fBMinimum Value\fR -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR (>= 5.7.10-ndb-7.5.0) -T}:T{ -4294967295 -T} -T{ -\fBMaximum Value\fR -T}:T{ -4294967295 -T} -.TE -.sp 1 -This option specifies the length of time to wait per attempt a connection before giving up\&. The number of times to try connecting is set by -\fB\-\-connect\-retries\fR\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-core\-file\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---core-file -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Write a core file if the program dies\&. The name and location of the core file are system\-dependent\&. (For NDB Cluster programs nodes running on Linux, the default location is the program\*(Aqs working directory\(emfor a data node, this is the node\*(Aqs -DataDir\&.) For some systems, there may be restrictions or limitations; for example, it might be necessary to execute -\fBulimit \-c unlimited\fR -before starting the server\&. Consult your system documentation for detailed information\&. -.sp -If NDB Cluster was built using the -\fB\-\-debug\fR -option for -\fBconfigure\fR, then -\fB\-\-core\-file\fR -is enabled by default\&. For regular builds, -\fB\-\-core\-file\fR -is disabled by default\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-debug[=\fR\fB\fIoptions\fR\fR\fB]\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---debug=options -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -d:t:O,/tmp/ndb_restore.trace -T} -.TE -.sp 1 -This option can be used only for versions compiled with debugging enabled\&. It is used to enable output from debug calls in the same manner as for the -\fBmysqld\fR -process\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-defaults\-extra\-file\fR=\fIfilename\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---defaults-extra-file=filename -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -[none] -T} -.TE -.sp 1 -Read this file after global option files are read\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-defaults\-file\fR=\fIfilename\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---defaults-file=filename -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -[none] -T} -.TE -.sp 1 -Read default options from this file\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-defaults\-group\-suffix\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---defaults-group-suffix -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -[none] -T} -.TE -.sp 1 -Also read groups with names ending in this suffix\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-help\fR, -\fB\-\-usage\fR, -\fB\-?\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ -.PP ---help -.PP ---usage -T} -.TE -.sp 1 -Prints a short list with descriptions of the available command options\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-login\-path\fR=\fIpath\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---login-path=path -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -[none] -T} -.TE -.sp 1 -Read this path from the login file\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-ndb\-connectstring=\fR\fB\fIconnection_string\fR\fR, -\fB\-\-connect\-string=\fR\fB\fIconnection_string\fR\fR, -\fB\-c \fR\fB\fIconnection_string\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ -.PP ---ndb-connectstring=connectstring -.PP ---connect-string=connectstring -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -localhost:1186 -T} -.TE -.sp 1 -This option takes an NDB Cluster connection string that specifies the management server for the application to connect to, as shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndbd \-\-ndb\-connectstring="nodeid=2;host=ndb_mgmd\&.mysql\&.com:1186"\fR -.fi -.if n \{\ -.RE -.\} -.sp -For more information, see -Section\ \&21.3.3.3, \(lqNDB Cluster Connection Strings\(rq\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-ndb\-mgmd\-host=\fR\fB\fIhost\fR\fR\fB[:\fR\fB\fIport\fR\fR\fB]\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---ndb-mgmd-host=host[:port] -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -localhost:1186 -T} -.TE -.sp 1 -Can be used to set the host and port number of a single management server for the program to connect to\&. If the program requires node IDs or references to multiple management servers (or both) in its connection information, use the -\fB\-\-ndb\-connectstring\fR -option instead\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-ndb\-nodeid=\fR\fB\fI#\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---ndb-nodeid=# -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -0 -T} -.TE -.sp 1 -Sets this node\*(Aqs NDB Cluster node ID\&. -\fIThe range of permitted values depends on the node\*(Aqs type (data, management, or API) and the NDB Cluster software version\fR\&. See -Section\ \&21.1.6.2, \(lqLimits and Differences of NDB Cluster from Standard MySQL Limits\(rq, for more information\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-no\-defaults\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---no-defaults -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -TRUE -T} -.TE -.sp 1 -Do not read default options from any option file other than login file\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-ndb\-optimized\-node\-selection\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---ndb-optimized-node-selection -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -TRUE -T} -.TE -.sp 1 -Optimize selection of nodes for transactions\&. Enabled by default\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-print\-defaults\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---print-defaults -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -TRUE -T} -.TE -.sp 1 -Print the program argument list and exit\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-version\fR, -\fB\-V\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---version -T} -.TE -.sp 1 -Prints the NDB Cluster version number of the executable\&. The version number is relevant because not all versions can be used together, and the NDB Cluster startup process verifies that the versions of the binaries being used can co\-exist in the same cluster\&. This is also important when performing an online (rolling) software upgrade or downgrade of NDB Cluster\&. -.sp -See -Section\ \&21.5.5, \(lqPerforming a Rolling Restart of an NDB Cluster\(rq), for more information\&. -.RE -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_config.1 mysql-5.7-5.7.24/man/ndb_config.1 --- mysql-5.7-5.7.23/man/ndb_config.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_config.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,1699 +0,0 @@ -'\" t -.\" Title: \fBndb_config\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_CONFIG\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_config \- extract NDB Cluster configuration information -.SH "SYNOPSIS" -.HP \w'\fBndb_config\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndb_config \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -This tool extracts current configuration information for data nodes, SQL nodes, and API nodes from one of a number of sources: an NDB Cluster management node, or its -config\&.ini -or -my\&.cnf -file\&. By default, the management node is the source for the configuration data; to override the default, execute ndb_config with the -\fB\-\-config\-file\fR -or -\fB\-\-mycnf\fR -option\&. It is also possible to use a data node as the source by specifying its node ID with -\fB\-\-config_from_node=\fR\fB\fInode_id\fR\fR\&. -.PP -\fBndb_config\fR -can also provide an offline dump of all configuration parameters which can be used, along with their default, maximum, and minimum values and other information\&. The dump can be produced in either text or XML format; for more information, see the discussion of the -\fB\-\-configinfo\fR -and -\fB\-\-xml\fR -options later in this section)\&. -.PP -You can filter the results by section (DB, -SYSTEM, or -CONNECTIONS) using one of the options -\fB\-\-nodes\fR, -\fB\-\-system\fR, or -\fB\-\-connections\fR\&. -.PP -The following table includes options that are specific to -\fBndb_config\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndb_config\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.319.\ \&Command\-line options for the ndb_config program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l. -T{ -.PP ---config-file=file_name -T}:T{ -Set the path to config.ini file -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---config_from_node=# -T}:T{ -Obtain configuration data from the node having this ID (must be a data - node). -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---configinfo -T}:T{ -Dumps information about all NDB configuration parameters in text format - with default, maximum, and minimum values. Use with --xml - to obtain XML output. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---connections -T}:T{ -Print connections information ([tcp], [tcp default], [sci], [sci - default], [shm], or [shm default] sections of cluster - configuration file) only. Cannot be used with --system or - --nodes. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---diff-default -T}:T{ -Print only configuration parameters that have non-default values -T}:T{ -.PP -ADDED: NDB 7.5.7, NDB 7.6.3 -T} -T{ -.PP ---fields=string, -.PP --f -T}:T{ -Field separator -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---host=name -T}:T{ -Specify host -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---mycnf -T}:T{ -Read configuration data from my.cnf file -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---nodeid, -.PP ---id -T}:T{ -Get configuration of node with this ID -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---nodes -T}:T{ -Print node information ([ndbd] or [ndbd default] section of cluster - configuration file) only. Cannot be used with --system or - --connections. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP --c -T}:T{ -Short form for --ndb-connectstring -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---query=string, -.PP --q -T}:T{ -One or more query options (attributes) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---query-all, -.PP --a -T}:T{ -Dumps all parameters and values to a single comma-delimited string. -T}:T{ -.PP -ADDED: NDB 7.4.16, NDB 7.5.7 -T} -T{ -.PP ---rows=string, -.PP --r -T}:T{ -Row separator -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---system -T}:T{ -Print SYSTEM section information only (see ndb_config --configinfo - output). Cannot be used with --nodes or --connections. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---type=name -T}:T{ -Specify node type -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---configinfo --xml -T}:T{ -Use --xml with --configinfo to obtain a dump of all NDB configuration - parameters in XML format with default, maximum, and - minimum values. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-configinfo\fR -.sp -The -\fB\-\-configinfo\fR -option causes -\fBndb_config\fR -to dump a list of each NDB Cluster configuration parameter supported by the NDB Cluster distribution of which -\fBndb_config\fR -is a part, including the following information: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -A brief description of each parameter\*(Aqs purpose, effects, and usage -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -The section of the -config\&.ini -file where the parameter may be used -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -The parameter\*(Aqs data type or unit of measurement -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -Where applicable, the parameter\*(Aqs default, minimum, and maximum values -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -NDB Cluster release version and build information -.RE -.sp -By default, this output is in text format\&. Part of this output is shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_config \-\-configinfo\fR -****** SYSTEM ****** -Name (String) -Name of system (NDB Cluster) -MANDATORY -PrimaryMGMNode (Non\-negative Integer) -Node id of Primary ndb_mgmd(MGM) node -Default: 0 (Min: 0, Max: 4294967039) -ConfigGenerationNumber (Non\-negative Integer) -Configuration generation number -Default: 0 (Min: 0, Max: 4294967039) -****** DB ****** -MaxNoOfSubscriptions (Non\-negative Integer) -Max no of subscriptions (default 0 == MaxNoOfTables) -Default: 0 (Min: 0, Max: 4294967039) -MaxNoOfSubscribers (Non\-negative Integer) -Max no of subscribers (default 0 == 2 * MaxNoOfTables) -Default: 0 (Min: 0, Max: 4294967039) -\&... -.fi -.if n \{\ -.RE -.\} -.sp -Use this option together with the -\fB\-\-xml\fR -option to obtain output in XML format\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-config\-file=\fR\fB\fIpath\-to\-file\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---config-file=file_name -T} -T{ -\fBType\fR -T}:T{ -file name -T} -T{ -\fBDefault Value\fR -T}:T{ -T} -.TE -.sp 1 -Gives the path to the management server\*(Aqs configuration file (config\&.ini)\&. This may be a relative or absolute path\&. If the management node resides on a different host from the one on which -\fBndb_config\fR -is invoked, then an absolute path must be used\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-config_from_node=#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---config-from-node=# -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -none -T} -T{ -\fBMinimum Value\fR -T}:T{ -1 -T} -T{ -\fBMaximum Value\fR -T}:T{ -48 -T} -.TE -.sp 1 -Obtain the cluster\*(Aqs configuration data from the data node that has this ID\&. -.sp -If the node having this ID is not a data node, -\fBndb_config\fR -fails with an error\&. (To obtain configuration data from the management node instead, simply omit this option\&.) -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-connections\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---connections -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Tells -\fBndb_config\fR -to print -CONNECTIONS -information only\(emthat is, information about parameters found in the -[tcp], -[tcp default], -[sci], -[sci default], -[shm], or -[shm default] -sections of the cluster configuration file (see -Section\ \&21.3.3.10, \(lqNDB Cluster TCP/IP Connections\(rq, -Section\ \&21.3.3.13, \(lqSCI Transport Connections in NDB Cluster\(rq, and -Section\ \&21.3.3.12, \(lqNDB Cluster Shared-Memory Connections\(rq, for more information)\&. -.sp -This option is mutually exclusive with -\fB\-\-nodes\fR -and -\fB\-\-system\fR; only one of these 3 options can be used\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-diff\-default\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---diff-default -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.3 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.3) -T}:T{ -boolean -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.5.7) -T}:T{ -boolean -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.3) -T}:T{ -FALSE -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.5.7) -T}:T{ -FALSE -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Print only configuration parameters that have non\-default values\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-fields=\fR\fB\fIdelimiter\fR\fR, -\fB\-f\fR -\fIdelimiter\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---fields=string -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -T} -.TE -.sp 1 -Specifies a -\fIdelimiter\fR -string used to separate the fields in the result\&. The default is -, -(the comma character)\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -If the -\fIdelimiter\fR -contains spaces or escapes (such as -\en -for the linefeed character), then it must be quoted\&. -.sp .5v -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-host=\fR\fB\fIhostname\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---host=name -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -T} -.TE -.sp 1 -Specifies the host name of the node for which configuration information is to be obtained\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -While the hostname -localhost -usually resolves to the IP address -127\&.0\&.0\&.1, this may not necessarily be true for all operating platforms and configurations\&. This means that it is possible, when -localhost -is used in -config\&.ini, for -\fBndb_config \fR\fB\fB\-\-host=localhost\fR\fR -to fail if -\fBndb_config\fR -is run on a different host where -localhost -resolves to a different address (for example, on some versions of SUSE Linux, this is -127\&.0\&.0\&.2)\&. In general, for best results, you should use numeric IP addresses for all NDB Cluster configuration values relating to hosts, or verify that all NDB Cluster hosts handle -localhost -in the same fashion\&. -.sp .5v -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-mycnf\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---mycnf -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Read configuration data from the -my\&.cnf -file\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-ndb\-connectstring=\fR\fB\fIconnection_string\fR\fR, -\fB\-c \fR\fB\fIconnection_string\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ -.PP ---ndb-connectstring=connectstring -.PP ---connect-string=connectstring -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -localhost:1186 -T} -.TE -.sp 1 -Specifies the connection string to use in connecting to the management server\&. The format for the connection string is the same as described in -Section\ \&21.3.3.3, \(lqNDB Cluster Connection Strings\(rq, and defaults to -localhost:1186\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-nodeid=\fR\fB\fInode_id\fR\fR, -\fB\-\-id=\fR\fB\fInode_id\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---ndb-nodeid=# -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -0 -T} -.TE -.sp 1 -Specify the node ID of the node for which configuration information is to be obtained\&. -\fB\-\-nodeid\fR -is the preferred form\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-nodes\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---nodes -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Tells -\fBndb_config\fR -to print information relating only to parameters defined in an -[ndbd] -or -[ndbd default] -section of the cluster configuration file (see -Section\ \&21.3.3.6, \(lqDefining NDB Cluster Data Nodes\(rq)\&. -.sp -This option is mutually exclusive with -\fB\-\-connections\fR -and -\fB\-\-system\fR; only one of these 3 options can be used\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-query=\fR\fB\fIquery\-options\fR\fR, -\fB\-q\fR -\fIquery\-options\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---query=string -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -T} -.TE -.sp 1 -This is a comma\-delimited list of -\fIquery options\fR\(emthat is, a list of one or more node attributes to be returned\&. These include -id -(node ID), type (node type\(emthat is, -ndbd, -mysqld, or -ndb_mgmd), and any configuration parameters whose values are to be obtained\&. -.sp -For example, -\fB\-\-query=nodeid,type,indexmemory,datamemory\fR -returns the node ID, node type, -DataMemory, and -IndexMemory -for each node\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -If a given parameter is not applicable to a certain type of node, than an empty string is returned for the corresponding value\&. See the examples later in this section for more information\&. -.sp .5v -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-query\-all\fR, -\fB\-a\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---query-all -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.5.7 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.4.16,5.7.18-ndb-7.5.7) -T}:T{ -string -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.4.16,5.7.18-ndb-7.5.7) -T}:T{ -T} -.TE -.sp 1 -Returns a comma\-delimited list of all query options (node attributes; note that this list is a single string\&. -.sp -This option was introduced in NDB 7\&.5\&.7 (Bug #60095, Bug #11766869)\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-rows=\fR\fB\fIseparator\fR\fR, -\fB\-r\fR -\fIseparator\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---rows=string -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -T} -.TE -.sp 1 -Specifies a -\fIseparator\fR -string used to separate the rows in the result\&. The default is a space character\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -If the -\fIseparator\fR -contains spaces or escapes (such as -\en -for the linefeed character), then it must be quoted\&. -.sp .5v -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-system\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---system -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Tells -\fBndb_config\fR -to print -SYSTEM -information only\&. This consists of system variables that cannot be changed at run time; thus, there is no corresponding section of the cluster configuration file for them\&. They can be seen (prefixed with -****** SYSTEM ******) in the output of -\fBndb_config\fR -\fB\-\-configinfo\fR\&. -.sp -This option is mutually exclusive with -\fB\-\-nodes\fR -and -\fB\-\-connections\fR; only one of these 3 options can be used\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-type=\fR\fB\fInode_type\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---type=name -T} -T{ -\fBType\fR -T}:T{ -enumeration -T} -T{ -\fBDefault Value\fR -T}:T{ -[none] -T} -T{ -\fBValid Values\fR -T}:T{ -.PP -ndbd -.PP -mysqld -.PP -ndb_mgmd -T} -.TE -.sp 1 -Filters results so that only configuration values applying to nodes of the specified -\fInode_type\fR -(ndbd, -mysqld, or -ndb_mgmd) are returned\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-usage\fR, -\fB\-\-help\fR, or -\fB\-?\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ -.PP ---help -.PP ---usage -T} -.TE -.sp 1 -Causes -\fBndb_config\fR -to print a list of available options, and then exit\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-version\fR, -\fB\-V\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---version -T} -.TE -.sp 1 -Causes -\fBndb_config\fR -to print a version information string, and then exit\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-configinfo\fR -\fB\-\-xml\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---configinfo --xml -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -false -T} -.TE -.sp 1 -Cause -\fBndb_config\fR -\fB\-\-configinfo\fR -to provide output as XML by adding this option\&. A portion of such output is shown in this example: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_config \-\-configinfo \-\-xml\fR - -
- - - -
-
- - - - - - \&... -
- \&... -
-.fi -.if n \{\ -.RE -.\} -.sp -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -Normally, the XML output produced by -\fBndb_config\fR -\fB\-\-configinfo\fR -\fB\-\-xml\fR -is formatted using one line per element; we have added extra whitespace in the previous example, as well as the next one, for reasons of legibility\&. This should not make any difference to applications using this output, since most XML processors either ignore nonessential whitespace as a matter of course, or can be instructed to do so\&. -.sp .5v -.RE -The XML output also indicates when changing a given parameter requires that data nodes be restarted using the -\fB\-\-initial\fR -option\&. This is shown by the presence of an -initial="true" -attribute in the corresponding - -element\&. In addition, the restart type (system -or -node) is also shown; if a given parameter requires a system restart, this is indicated by the presence of a -restart="system" -attribute in the corresponding - -element\&. For example, changing the value set for the -Diskless -parameter requires a system initial restart, as shown here (with the -restart -and -initial -attributes highlighted for visibility): -.sp -.if n \{\ -.RS 4 -.\} -.nf - -.fi -.if n \{\ -.RE -.\} -.sp -Currently, no -initial -attribute is included in the XML output for - -elements corresponding to parameters which do not require initial restarts; in other words, -initial="false" -is the default, and the value -false -should be assumed if the attribute is not present\&. Similarly, the default restart type is -node -(that is, an online or -\(lqrolling\(rq -restart of the cluster), but the -restart -attribute is included only if the restart type is -system -(meaning that all cluster nodes must be shut down at the same time, then restarted)\&. -.sp -Deprecated parameters are indicated in the XML output by the -deprecated -attribute, as shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf - -.fi -.if n \{\ -.RE -.\} -.sp -In such cases, the -comment -refers to one or more parameters that supersede the deprecated parameter\&. Similarly to -initial, the -deprecated -attribute is indicated only when the parameter is deprecated, with -deprecated="true", and does not appear at all for parameters which are not deprecated\&. (Bug #21127135) -.sp -Beginning with NDB 7\&.5\&.0, parameters that are required are indicated with -mandatory="true", as shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf - -.fi -.if n \{\ -.RE -.\} -.sp -In much the same way that the -initial -or -deprecated -attribute is displayed only for a parameter that requires an intial restart or that is deprecated, the -mandatory -attribute is included only if the given parameter is actually required\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBImportant\fR -.ps -1 -.br -The -\fB\-\-xml\fR -option can be used only with the -\fB\-\-configinfo\fR -option\&. Using -\fB\-\-xml\fR -without -\fB\-\-configinfo\fR -fails with an error\&. -.sp .5v -.RE -Unlike the options used with this program to obtain current configuration data, -\fB\-\-configinfo\fR -and -\fB\-\-xml\fR -use information obtained from the NDB Cluster sources when -\fBndb_config\fR -was compiled\&. For this reason, no connection to a running NDB Cluster or access to a -config\&.ini -or -my\&.cnf -file is required for these two options\&. -.RE -.PP -Combining other -\fBndb_config\fR -options (such as -\fB\-\-query\fR -or -\fB\-\-type\fR) with -\fB\-\-configinfo\fR -(with or without the -\fB\-\-xml\fR -option is not supported\&. Currently, if you attempt to do so, the usual result is that all other options besides -\fB\-\-configinfo\fR -or -\fB\-\-xml\fR -are simply ignored\&. -\fIHowever, this behavior is not guaranteed and is subject to change at any time\fR\&. In addition, since -\fBndb_config\fR, when used with the -\fB\-\-configinfo\fR -option, does not access the NDB Cluster or read any files, trying to specify additional options such as -\fB\-\-ndb\-connectstring\fR -or -\fB\-\-config\-file\fR -with -\fB\-\-configinfo\fR -serves no purpose\&. -Examples -.sp -.RS 4 -.ie n \{\ -\h'-04' 1.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 1." 4.2 -.\} -To obtain the node ID and type of each node in the cluster: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fB\&./ndb_config \-\-query=id,type \-\-fields=\*(Aq:\*(Aq \-\-rows=\*(Aq\en\*(Aq\fR -1:ndbd -2:ndbd -3:ndbd -4:ndbd -5:ndb_mgmd -6:mysqld -7:mysqld -8:mysqld -9:mysqld -.fi -.if n \{\ -.RE -.\} -.sp -In this example, we used the -\fB\-\-fields\fR -options to separate the ID and type of each node with a colon character (:), and the -\fB\-\-rows\fR -options to place the values for each node on a new line in the output\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04' 2.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 2." 4.2 -.\} -To produce a connection string that can be used by data, SQL, and API nodes to connect to the management server: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fB\&./ndb_config \-\-config\-file=usr/local/mysql/cluster\-data/config\&.ini \e -\-\-query=hostname,portnumber \-\-fields=: \-\-rows=, \-\-type=ndb_mgmd\fR -198\&.51\&.100\&.179:1186 -.fi -.if n \{\ -.RE -.\} -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04' 3.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 3." 4.2 -.\} -This invocation of -\fBndb_config\fR -checks only data nodes (using the -\fB\-\-type\fR -option), and shows the values for each node\*(Aqs ID and host name, as well as the values set for its -DataMemory, -IndexMemory, and -DataDir -parameters: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fB\&./ndb_config \-\-type=ndbd \-\-query=id,host,datamemory,indexmemory,datadir \-f \*(Aq : \*(Aq \-r \*(Aq\en\*(Aq\fR -1 : 198\&.51\&.100\&.193 : 83886080 : 18874368 : /usr/local/mysql/cluster\-data -2 : 198\&.51\&.100\&.112 : 83886080 : 18874368 : /usr/local/mysql/cluster\-data -3 : 198\&.51\&.100\&.176 : 83886080 : 18874368 : /usr/local/mysql/cluster\-data -4 : 198\&.51\&.100\&.119 : 83886080 : 18874368 : /usr/local/mysql/cluster\-data -.fi -.if n \{\ -.RE -.\} -.sp -In this example, we used the short options -\fB\-f\fR -and -\fB\-r\fR -for setting the field delimiter and row separator, respectively\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04' 4.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 4." 4.2 -.\} -To exclude results from any host except one in particular, use the -\fB\-\-host\fR -option: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fB\&./ndb_config \-\-host=198\&.51\&.100\&.176 \-f : \-r \*(Aq\en\*(Aq \-q id,type\fR -3:ndbd -5:ndb_mgmd -.fi -.if n \{\ -.RE -.\} -.sp -In this example, we also used the short form -\fB\-q\fR -to determine the attributes to be queried\&. -.sp -Similarly, you can limit results to a node with a specific ID using the -\fB\-\-nodeid\fR -option\&. -.RE -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_cpcd.1 mysql-5.7-5.7.24/man/ndb_cpcd.1 --- mysql-5.7-5.7.23/man/ndb_cpcd.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_cpcd.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,54 +0,0 @@ -'\" t -.\" Title: \fBndb_cpcd\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_CPCD\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_cpcd \- automate testing of NDB (development use only) -.SH "SYNOPSIS" -.HP \w'\fBndb_cpcd\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndb_cpcd \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -A utility having this name was formerly part of an internal automated test framework used in testing and debugging NDB Cluster\&. It is no longer included in NDB Cluster distributions provided by Oracle\&. -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndbd.8 mysql-5.7-5.7.24/man/ndbd.8 --- mysql-5.7-5.7.23/man/ndbd.8 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndbd.8 1970-01-01 00:00:00.000000000 +0000 @@ -1,1402 +0,0 @@ -'\" t -.\" Title: \fBndbd\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDBD\FR" "8" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndbd \- the NDB Cluster data node daemon -.SH "SYNOPSIS" -.HP \w'\fBndbd\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndbd \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -\fBndbd\fR -is the process that is used to handle all the data in tables using the NDB Cluster storage engine\&. This is the process that empowers a data node to accomplish distributed transaction handling, node recovery, checkpointing to disk, online backup, and related tasks\&. -.PP -In an NDB Cluster, a set of -\fBndbd\fR -processes cooperate in handling data\&. These processes can execute on the same computer (host) or on different computers\&. The correspondences between data nodes and Cluster hosts is completely configurable\&. -.PP -The following table includes command options specific to the NDB Cluster data node program -\fBndbd\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndbd\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.314.\ \&Command\-line options for the ndbd program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l. -T{ -.PP ---bind-address=name -T}:T{ -Local bind address -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---connect-delay=# -T}:T{ -Time to wait between attempts to contact a management server, in - seconds; 0 means do not wait between attempts -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---connect-retries=# -T}:T{ -Set the number of times to retry a connection before giving up; 0 means - 1 attempt only (and no retries) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---connect-retry-delay=# -T}:T{ -Time to wait between attempts to contact a management server, in - seconds; 0 means do not wait between attempts -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---daemon, -.PP --d -T}:T{ -Start ndbd as daemon (default); override with --nodaemon -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---foreground -T}:T{ -Run ndbd in foreground, provided for debugging purposes (implies - --nodaemon) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---initial -T}:T{ -Perform initial start of ndbd, including cleaning the file system. - Consult the documentation before using this option -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---initial-start -T}:T{ -Perform partial initial start (requires --nowait-nodes) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---install[=name] -T}:T{ -Used to install the data node process as a Windows service. Does not - apply on non-Windows platforms. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---logbuffer-size=# -T}:T{ -Control size of log buffer. For use when debugging with many log - messages being generated; default is sufficient for normal - operations. -T}:T{ -.PP -ADDED: NDB 7.6.6 -T} -T{ -.PP ---nostart, -.PP --n -T}:T{ -Don't start ndbd immediately; ndbd waits for command to start from - ndb_mgmd -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---nodaemon -T}:T{ -Do not start ndbd as daemon; provided for testing purposes -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---nowait-nodes=list -T}:T{ -Do not wait for these data nodes to start (takes comma-separated list of - node IDs). Also requires --ndb-nodeid to be used. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---remove[=name] -T}:T{ -Used to remove a data node process that was previously installed as a - Windows service. Does not apply on non-Windows platforms. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---verbose, -.PP --v -T}:T{ -Causes the data log to write extra debugging information to the node - log. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -.PP -All of these options also apply to the multithreaded version of this program (\fBndbmtd\fR) and you may substitute -\(lq\fBndbmtd\fR\(rq -for -\(lq\fBndbd\fR\(rq -wherever the latter occurs in this section\&. -.sp .5v -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-bind\-address\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---bind-address=name -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -T} -.TE -.sp 1 -Causes -\fBndbd\fR -to bind to a specific network interface (host name or IP address)\&. This option has no default value\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-connect\-delay=\fR\fB\fI#\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---connect-delay=# -T} -T{ -\fBDeprecated\fR -T}:T{ -5.6.28-ndb-7.4.9 -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -5 -T} -T{ -\fBMinimum Value\fR -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR -T}:T{ -3600 -T} -.TE -.sp 1 -Determines the time to wait between attempts to contact a management server when starting (the number of attempts is controlled by the -\fB\-\-connect\-retries\fR -option)\&. The default is 5 seconds\&. -.sp -This option is deprecated, and is subject to removal in a future release of NDB Cluster\&. Use -\fB\-\-connect\-retry\-delay\fR -instead\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-connect\-retries=\fR\fB\fI#\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---connect-retries=# -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -12 -T} -T{ -\fBMinimum Value\fR -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR -T}:T{ -65535 -T} -.TE -.sp 1 -Set the number of times to retry a connection before giving up; 0 means 1 attempt only (and no retries)\&. The default is 12 attempts\&. The time to wait between attempts is controlled by the -\fB\-\-connect\-retry\-delay\fR -option\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-connect\-retry\-delay=\fR\fB\fI#\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---connect-retry-delay=# -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -5 -T} -T{ -\fBMinimum Value\fR -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR -T}:T{ -4294967295 -T} -.TE -.sp 1 -Determines the time to wait between attempts to contact a management server when starting (the time between attempts is controlled by the -\fB\-\-connect\-retries\fR -option)\&. The default is 5 seconds\&. -.sp -This option takes the place of the -\fB\-\-connect\-delay\fR -option, which is now deprecated and subject to removal in a future release of NDB Cluster\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-daemon\fR, -\fB\-d\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---daemon -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -TRUE -T} -.TE -.sp 1 -Instructs -\fBndbd\fR -or -\fBndbmtd\fR -to execute as a daemon process\&. This is the default behavior\&. -\fB\-\-nodaemon\fR -can be used to prevent the process from running as a daemon\&. -.sp -This option has no effect when running -\fBndbd\fR -or -\fBndbmtd\fR -on Windows platforms\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-foreground\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---foreground -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Causes -\fBndbd\fR -or -\fBndbmtd\fR -to execute as a foreground process, primarily for debugging purposes\&. This option implies the -\fB\-\-nodaemon\fR -option\&. -.sp -This option has no effect when running -\fBndbd\fR -or -\fBndbmtd\fR -on Windows platforms\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-initial\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---initial -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Instructs -\fBndbd\fR -to perform an initial start\&. An initial start erases any files created for recovery purposes by earlier instances of -\fBndbd\fR\&. It also re\-creates recovery log files\&. On some operating systems, this process can take a substantial amount of time\&. -.sp -An -\fB\-\-initial\fR -start is to be used -\fIonly\fR -when starting the -\fBndbd\fR -process under very special circumstances; this is because this option causes all files to be removed from the NDB Cluster file system and all redo log files to be re\-created\&. These circumstances are listed here: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -When performing a software upgrade which has changed the contents of any files\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -When restarting the node with a new version of -\fBndbd\fR\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -As a measure of last resort when for some reason the node restart or system restart repeatedly fails\&. In this case, be aware that this node can no longer be used to restore data due to the destruction of the data files\&. -.RE -.sp -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBWarning\fR -.ps -1 -.br -To avoid the possibility of eventual data loss, it is recommended that you -\fInot\fR -use the -\fB\-\-initial\fR -option together with -StopOnError = 0\&. Instead, set -StopOnError -to 0 in -config\&.ini -only after the cluster has been started, then restart the data nodes normally\(emthat is, without the -\fB\-\-initial\fR -option\&. See the description of the -StopOnError -parameter for a detailed explanation of this issue\&. (Bug #24945638) -.sp .5v -.RE -Use of this option prevents the -StartPartialTimeout -and -StartPartitionedTimeout -configuration parameters from having any effect\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBImportant\fR -.ps -1 -.br -This option does -\fInot\fR -affect either of the following types of files: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -Backup files that have already been created by the affected node -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -NDB Cluster Disk Data files (see -Section\ \&21.5.13, \(lqNDB Cluster Disk Data Tables\(rq)\&. -.RE -.sp -This option also has no effect on recovery of data by a data node that is just starting (or restarting) from data nodes that are already running\&. This recovery of data occurs automatically, and requires no user intervention in an NDB Cluster that is running normally\&. -.sp .5v -.RE -It is permissible to use this option when starting the cluster for the very first time (that is, before any data node files have been created); however, it is -\fInot\fR -necessary to do so\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-initial\-start\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---initial-start -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -This option is used when performing a partial initial start of the cluster\&. Each node should be started with this option, as well as -\fB\-\-nowait\-nodes\fR\&. -.sp -Suppose that you have a 4\-node cluster whose data nodes have the IDs 2, 3, 4, and 5, and you wish to perform a partial initial start using only nodes 2, 4, and 5\(emthat is, omitting node 3: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndbd \-\-ndb\-nodeid=2 \-\-nowait\-nodes=3 \-\-initial\-start\fR -shell> \fBndbd \-\-ndb\-nodeid=4 \-\-nowait\-nodes=3 \-\-initial\-start\fR -shell> \fBndbd \-\-ndb\-nodeid=5 \-\-nowait\-nodes=3 \-\-initial\-start\fR -.fi -.if n \{\ -.RE -.\} -.sp -When using this option, you must also specify the node ID for the data node being started with the -\fB\-\-ndb\-nodeid\fR -option\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBImportant\fR -.ps -1 -.br -Do not confuse this option with the -\fB\-\-nowait\-nodes\fR -option for -\fBndb_mgmd\fR, which can be used to enable a cluster configured with multiple management servers to be started without all management servers being online\&. -.sp .5v -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-install[=\fR\fB\fIname\fR\fR\fB]\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---install[=name] -T} -T{ -\fBPlatform Specific\fR -T}:T{ -Windows -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -ndbd -T} -.TE -.sp 1 -Causes -\fBndbd\fR -to be installed as a Windows service\&. Optionally, you can specify a name for the service; if not set, the service name defaults to -ndbd\&. Although it is preferable to specify other -\fBndbd\fR -program options in a -my\&.ini -or -my\&.cnf -configuration file, it is possible to use together with -\fB\-\-install\fR\&. However, in such cases, the -\fB\-\-install\fR -option must be specified first, before any other options are given, for the Windows service installation to succeed\&. -.sp -It is generally not advisable to use this option together with the -\fB\-\-initial\fR -option, since this causes the data node file system to be wiped and rebuilt every time the service is stopped and started\&. Extreme care should also be taken if you intend to use any of the other -\fBndbd\fR -options that affect the starting of data nodes\(emincluding -\fB\-\-initial\-start\fR, -\fB\-\-nostart\fR, and -\fB\-\-nowait\-nodes\fR\(emtogether with -\fB\-\-install\fR, and you should make absolutely certain you fully understand and allow for any possible consequences of doing so\&. -.sp -The -\fB\-\-install\fR -option has no effect on non\-Windows platforms\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-logbuffer\-size=\fR\fB\fI#\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---logbuffer-size=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.22-ndb-7.6.6 -T} -T{ -\fBType\fR -T}:T{ -integer -T} -T{ -\fBDefault Value\fR -T}:T{ -32768 -T} -T{ -\fBMinimum Value\fR -T}:T{ -2048 -T} -T{ -\fBMaximum Value\fR -T}:T{ -4294967295 -T} -.TE -.sp 1 -Sets the size of the data node log buffer\&. When debugging with high amounts of extra logging, it is possible for the log buffer to run out of space if there are too many log messages, in which case some log messages can be lost\&. This should not occur during normal operations\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-nodaemon\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---nodaemon -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Prevents -\fBndbd\fR -or -\fBndbmtd\fR -from executing as a daemon process\&. This option overrides the -\fB\-\-daemon\fR -option\&. This is useful for redirecting output to the screen when debugging the binary\&. -.sp -The default behavior for -\fBndbd\fR -and -\fBndbmtd\fR -on Windows is to run in the foreground, making this option unnecessary on Windows platforms, where it has no effect\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-nostart\fR, -\fB\-n\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---nostart -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Instructs -\fBndbd\fR -not to start automatically\&. When this option is used, -\fBndbd\fR -connects to the management server, obtains configuration data from it, and initializes communication objects\&. However, it does not actually start the execution engine until specifically requested to do so by the management server\&. This can be accomplished by issuing the proper -START -command in the management client (see -Section\ \&21.5.2, \(lqCommands in the NDB Cluster Management Client\(rq)\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-nowait\-nodes=\fR\fB\fInode_id_1\fR\fR\fB[, \fR\fB\fInode_id_2\fR\fR\fB[, \&.\&.\&.]]\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---nowait-nodes=list -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -T} -.TE -.sp 1 -This option takes a list of data nodes which for which the cluster will not wait for before starting\&. -.sp -This can be used to start the cluster in a partitioned state\&. For example, to start the cluster with only half of the data nodes (nodes 2, 3, 4, and 5) running in a 4\-node cluster, you can start each -\fBndbd\fR -process with -\fB\-\-nowait\-nodes=3,5\fR\&. In this case, the cluster starts as soon as nodes 2 and 4 connect, and does -\fInot\fR -wait -StartPartitionedTimeout -milliseconds for nodes 3 and 5 to connect as it would otherwise\&. -.sp -If you wanted to start up the same cluster as in the previous example without one -\fBndbd\fR -(say, for example, that the host machine for node 3 has suffered a hardware failure) then start nodes 2, 4, and 5 with -\fB\-\-nowait\-nodes=3\fR\&. Then the cluster will start as soon as nodes 2, 4, and 5 connect and will not wait for node 3 to start\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-remove[=\fR\fB\fIname\fR\fR\fB]\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---remove[=name] -T} -T{ -\fBPlatform Specific\fR -T}:T{ -Windows -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -ndbd -T} -.TE -.sp 1 -Causes an -\fBndbd\fR -process that was previously installed as a Windows service to be removed\&. Optionally, you can specify a name for the service to be uninstalled; if not set, the service name defaults to -ndbd\&. -.sp -The -\fB\-\-remove\fR -option has no effect on non\-Windows platforms\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-verbose\fR, -\fB\-v\fR -.sp -Causes extra debug output to be written to the node log\&. -.sp -In NDB 7\&.6\&.4 and later, you can also use -NODELOG DEBUG ON -and -NODELOG DEBUG OFF -to enable and disable this extra logging while the data node is running\&. -.RE -.PP -\fBndbd\fR -generates a set of log files which are placed in the directory specified by -DataDir -in the -config\&.ini -configuration file\&. -.PP -These log files are listed below\&. -\fInode_id\fR -is and represents the node\*(Aqs unique identifier\&. For example, -ndb_2_error\&.log -is the error log generated by the data node whose node ID is -2\&. -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ndb_\fInode_id\fR_error\&.log -is a file containing records of all crashes which the referenced -\fBndbd\fR -process has encountered\&. Each record in this file contains a brief error string and a reference to a trace file for this crash\&. A typical entry in this file might appear as shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -Date/Time: Saturday 30 July 2004 \- 00:20:01 -Type of error: error -Message: Internal program error (failed ndbrequire) -Fault ID: 2341 -Problem data: DbtupFixAlloc\&.cpp -Object of reference: DBTUP (Line: 173) -ProgramName: NDB Kernel -ProcessID: 14909 -TraceFile: ndb_2_trace\&.log\&.2 -***EOM*** -.fi -.if n \{\ -.RE -.\} -.sp -Listings of possible -\fBndbd\fR -exit codes and messages generated when a data node process shuts down prematurely can be found in -\m[blue]\fBData Node Error Messages\fR\m[]\&\s-2\u[1]\d\s+2\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBImportant\fR -.ps -1 -.br -\fIThe last entry in the error log file is not necessarily the newest one\fR -(nor is it likely to be)\&. Entries in the error log are -\fInot\fR -listed in chronological order; rather, they correspond to the order of the trace files as determined in the -ndb_\fInode_id\fR_trace\&.log\&.next -file (see below)\&. Error log entries are thus overwritten in a cyclical and not sequential fashion\&. -.sp .5v -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ndb_\fInode_id\fR_trace\&.log\&.\fItrace_id\fR -is a trace file describing exactly what happened just before the error occurred\&. This information is useful for analysis by the NDB Cluster development team\&. -.sp -It is possible to configure the number of these trace files that will be created before old files are overwritten\&. -\fItrace_id\fR -is a number which is incremented for each successive trace file\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ndb_\fInode_id\fR_trace\&.log\&.next -is the file that keeps track of the next trace file number to be assigned\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ndb_\fInode_id\fR_out\&.log -is a file containing any data output by the -\fBndbd\fR -process\&. This file is created only if -\fBndbd\fR -is started as a daemon, which is the default behavior\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ndb_\fInode_id\fR\&.pid -is a file containing the process ID of the -\fBndbd\fR -process when started as a daemon\&. It also functions as a lock file to avoid the starting of nodes with the same identifier\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ndb_\fInode_id\fR_signal\&.log -is a file used only in debug versions of -\fBndbd\fR, where it is possible to trace all incoming, outgoing, and internal messages with their data in the -\fBndbd\fR -process\&. -.RE -.PP -It is recommended not to use a directory mounted through NFS because in some environments this can cause problems whereby the lock on the -\&.pid -file remains in effect even after the process has terminated\&. -.PP -To start -\fBndbd\fR, it may also be necessary to specify the host name of the management server and the port on which it is listening\&. Optionally, one may also specify the node ID that the process is to use\&. -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndbd \-\-connect\-string="nodeid=2;host=ndb_mgmd\&.mysql\&.com:1186"\fR -.fi -.if n \{\ -.RE -.\} -.PP -See -Section\ \&21.3.3.3, \(lqNDB Cluster Connection Strings\(rq, for additional information about this issue\&. -Options Common to NDB Cluster Programs(1), describes other command\-line options which can be used with -\fBndbd\fR\&. For information about data node configuration parameters, see -Section\ \&21.3.3.6, \(lqDefining NDB Cluster Data Nodes\(rq\&. -.PP -When -\fBndbd\fR -starts, it actually initiates two processes\&. The first of these is called the -\(lqangel process\(rq; its only job is to discover when the execution process has been completed, and then to restart the -\fBndbd\fR -process if it is configured to do so\&. Thus, if you attempt to kill -\fBndbd\fR -using the Unix -\fBkill\fR -command, it is necessary to kill both processes, beginning with the angel process\&. The preferred method of terminating an -\fBndbd\fR -process is to use the management client and stop the process from there\&. -.PP -The execution process uses one thread for reading, writing, and scanning data, as well as all other activities\&. This thread is implemented asynchronously so that it can easily handle thousands of concurrent actions\&. In addition, a watch\-dog thread supervises the execution thread to make sure that it does not hang in an endless loop\&. A pool of threads handles file I/O, with each thread able to handle one open file\&. Threads can also be used for transporter connections by the transporters in the -\fBndbd\fR -process\&. In a multi\-processor system performing a large number of operations (including updates), the -\fBndbd\fR -process can consume up to 2 CPUs if permitted to do so\&. -.PP -For a machine with many CPUs it is possible to use several -\fBndbd\fR -processes which belong to different node groups; however, such a configuration is still considered experimental and is not supported for MySQL 5\&.7 in a production setting\&. See -Section\ \&21.1.6, \(lqKnown Limitations of NDB Cluster\(rq\&. -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "NOTES" -.IP " 1." 4 -Data Node Error Messages -.RS 4 -\%http://dev.mysql.com/doc/ndb-internals/en/ndb-node-error-messages.html -.RE -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_delete_all.1 mysql-5.7-5.7.24/man/ndb_delete_all.1 --- mysql-5.7-5.7.23/man/ndb_delete_all.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_delete_all.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,175 +0,0 @@ -'\" t -.\" Title: \fBndb_delete_all\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_DELETE_ALL\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_delete_all \- delete all rows from an NDB table -.SH "SYNOPSIS" -.HP \w'\fBndb_delete_all\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndb_delete_all \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -\fBndb_delete_all\fR -deletes all rows from the given -NDB -table\&. In some cases, this can be much faster than -DELETE -or even -TRUNCATE TABLE\&. -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_delete_all \-c \fIconnection_string\fR \fItbl_name\fR \-d \fIdb_name\fR -.fi -.if n \{\ -.RE -.\} -.PP -This deletes all rows from the table named -\fItbl_name\fR -in the database named -\fIdb_name\fR\&. It is exactly equivalent to executing -TRUNCATE \fIdb_name\fR\&.\fItbl_name\fR -in MySQL\&. -.PP -The following table includes options that are specific to -\fBndb_delete_all\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndb_delete_all\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.320.\ \&Command\-line options for the ndb_delete_all program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l. -T{ -.PP ---database=dbname, -.PP --d -T}:T{ -Name of the database in which the table is found -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---transactional, -.PP --t -T}:T{ -Perform the delete in a single transaction (may run out of operations) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---tupscan -T}:T{ -Run tup scan -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---diskscan -T}:T{ -Run disk scan -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-transactional\fR, -\fB\-t\fR -.sp -Use of this option causes the delete operation to be performed as a single transaction\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBWarning\fR -.ps -1 -.br -With very large tables, using this option may cause the number of operations available to the cluster to be exceeded\&. -.sp .5v -.RE -.RE -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_desc.1 mysql-5.7-5.7.24/man/ndb_desc.1 --- mysql-5.7-5.7.23/man/ndb_desc.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_desc.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,717 +0,0 @@ -'\" t -.\" Title: \fBndb_desc\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_DESC\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_desc \- describe NDB tables -.SH "SYNOPSIS" -.HP \w'\fBndb_desc\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndb_desc \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -\fBndb_desc\fR -provides a detailed description of one or more -NDB -tables\&. -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_desc \-c \fIconnection_string\fR \fItbl_name\fR \-d \fIdb_name\fR [\fIoptions\fR] -ndb_desc \-c \fIconnection_string\fR \fIindex_name\fR \-d \fIdb_name\fR \-t \fItbl_name\fR -.fi -.if n \{\ -.RE -.\} -.PP -Additional options that can be used with -\fBndb_desc\fR -are listed later in this section\&. -Sample Output.PP -MySQL table creation and population statements: -.sp -.if n \{\ -.RS 4 -.\} -.nf -USE test; -CREATE TABLE fish ( - id INT(11) NOT NULL AUTO_INCREMENT, - name VARCHAR(20) NOT NULL, - length_mm INT(11) NOT NULL, - weight_gm INT(11) NOT NULL, - PRIMARY KEY pk (id), - UNIQUE KEY uk (name) -) ENGINE=NDB; -INSERT INTO fish VALUES - (NULL, \*(Aqguppy\*(Aq, 35, 2), (NULL, \*(Aqtuna\*(Aq, 2500, 150000), - (NULL, \*(Aqshark\*(Aq, 3000, 110000), (NULL, \*(Aqmanta ray\*(Aq, 1500, 50000), - (NULL, \*(Aqgrouper\*(Aq, 900, 125000), (NULL ,\*(Aqpuffer\*(Aq, 250, 2500); -.fi -.if n \{\ -.RE -.\} -.PP -Output from -\fBndb_desc\fR: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fB\&./ndb_desc \-c localhost fish \-d test \-p\fR -\-\- fish \-\- -Version: 2 -Fragment type: HashMapPartition -K Value: 6 -Min load factor: 78 -Max load factor: 80 -Temporary table: no -Number of attributes: 4 -Number of primary keys: 1 -Length of frm data: 337 -Max Rows: 0 -Row Checksum: 1 -Row GCI: 1 -SingleUserMode: 0 -ForceVarPart: 1 -PartitionCount: 2 -FragmentCount: 2 -PartitionBalance: FOR_RP_BY_LDM -ExtraRowGciBits: 0 -ExtraRowAuthorBits: 0 -TableStatus: Retrieved -Table options: -HashMap: DEFAULT\-HASHMAP\-3840\-2 -\-\- Attributes \-\- -id Int PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY AUTO_INCR -name Varchar(20;latin1_swedish_ci) NOT NULL AT=SHORT_VAR ST=MEMORY DYNAMIC -length_mm Int NOT NULL AT=FIXED ST=MEMORY DYNAMIC -weight_gm Int NOT NULL AT=FIXED ST=MEMORY DYNAMIC -\-\- Indexes \-\- -PRIMARY KEY(id) \- UniqueHashIndex -PRIMARY(id) \- OrderedIndex -uk(name) \- OrderedIndex -uk$unique(name) \- UniqueHashIndex -\-\- Per partition info \-\- -Partition Row count Commit count Frag fixed memory Frag varsized memory Extent_space Free extent_space -0 2 2 32768 32768 0 0 -1 4 4 32768 32768 0 0 -NDBT_ProgramExit: 0 \- OK -.fi -.if n \{\ -.RE -.\} -.PP -Information about multiple tables can be obtained in a single invocation of -\fBndb_desc\fR -by using their names, separated by spaces\&. All of the tables must be in the same database\&. -.PP -You can obtain additional information about a specific index using the -\fB\-\-table\fR -(short form: -\fB\-t\fR) option and supplying the name of the index as the first argument to -\fBndb_desc\fR, as shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fB\&./ndb_desc uk \-d test \-t fish\fR -\-\- uk \-\- -Version: 2 -Base table: fish -Number of attributes: 1 -Logging: 0 -Index type: OrderedIndex -Index status: Retrieved -\-\- Attributes \-\- -name Varchar(20;latin1_swedish_ci) NOT NULL AT=SHORT_VAR ST=MEMORY -\-\- IndexTable 10/uk \-\- -Version: 2 -Fragment type: FragUndefined -K Value: 6 -Min load factor: 78 -Max load factor: 80 -Temporary table: yes -Number of attributes: 2 -Number of primary keys: 1 -Length of frm data: 0 -Max Rows: 0 -Row Checksum: 1 -Row GCI: 1 -SingleUserMode: 2 -ForceVarPart: 0 -PartitionCount: 2 -FragmentCount: 2 -FragmentCountType: ONE_PER_LDM_PER_NODE -ExtraRowGciBits: 0 -ExtraRowAuthorBits: 0 -TableStatus: Retrieved -Table options: -\-\- Attributes \-\- -name Varchar(20;latin1_swedish_ci) NOT NULL AT=SHORT_VAR ST=MEMORY -NDB$TNODE Unsigned [64] PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY -\-\- Indexes \-\- -PRIMARY KEY(NDB$TNODE) \- UniqueHashIndex -NDBT_ProgramExit: 0 \- OK -.fi -.if n \{\ -.RE -.\} -.PP -When an index is specified in this way, the -\fB\-\-extra\-partition\-info\fR -and -\fB\-\-extra\-node\-info\fR -options have no effect\&. -.PP -The -Version -column in the output contains the table\*(Aqs schema object version\&. For information about interpreting this value, see -\m[blue]\fBNDB Schema Object Versions\fR\m[]\&\s-2\u[1]\d\s+2\&. -.PP -Three of the table properties that can be set using -NDB_TABLE -comments embedded in -CREATE TABLE -and -ALTER TABLE -statements are also visible in -\fBndb_desc\fR -output\&. The table\*(Aqs -FRAGMENT_COUNT_TYPE -is always shown in the -FragmentCountType -column\&. -READ_ONLY -and -FULLY_REPLICATED, if set to 1, are shown in the -Table options -column\&. You can see this after executing the following -ALTER TABLE -statement in the -\fBmysql\fR -client: -.sp -.if n \{\ -.RS 4 -.\} -.nf -mysql> \fBALTER TABLE fish COMMENT=\*(AqNDB_TABLE=READ_ONLY=1,FULLY_REPLICATED=1\*(Aq;\fR -1 row in set, 1 warning (0\&.00 sec) -mysql> \fBSHOW WARNINGS\eG\fR -+\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ -| Level | Code | Message | -+\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ -| Warning | 1296 | Got error 4503 \*(AqTable property is FRAGMENT_COUNT_TYPE=ONE_PER_LDM_PER_NODE but not in comment\*(Aq from NDB | -+\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ -1 row in set (0\&.00 sec) -.fi -.if n \{\ -.RE -.\} -.PP -The warning is issued because -READ_ONLY=1 -requires that the table\*(Aqs fragment count type is (or be set to) -ONE_PER_LDM_PER_NODE_GROUP; -NDB -sets this automatically in such cases\&. You can check that the -ALTER TABLE -statement has the desired effect using -SHOW CREATE TABLE: -.sp -.if n \{\ -.RS 4 -.\} -.nf -mysql> \fBSHOW CREATE TABLE fish\eG\fR -*************************** 1\&. row *************************** - Table: fish -Create Table: CREATE TABLE `fish` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `name` varchar(20) NOT NULL, - `length_mm` int(11) NOT NULL, - `weight_gm` int(11) NOT NULL, - PRIMARY KEY (`id`), - UNIQUE KEY `uk` (`name`) -) ENGINE=ndbcluster DEFAULT CHARSET=latin1 -COMMENT=\*(AqNDB_TABLE=READ_BACKUP=1,FULLY_REPLICATED=1\*(Aq -1 row in set (0\&.01 sec) -.fi -.if n \{\ -.RE -.\} -.PP -Because -FRAGMENT_COUNT_TYPE -was not set explicitly, its value is not shown in the comment text printed by -SHOW CREATE TABLE\&. -\fBndb_desc\fR, however, displays the updated value for this attribute\&. The -Table options -column shows the binary properties just enabled\&. You can see this in the output shown here (emphasized text): -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fB\&./ndb_desc \-c localhost fish \-d test \-p\fR -\-\- fish \-\- -Version: 4 -Fragment type: HashMapPartition -K Value: 6 -Min load factor: 78 -Max load factor: 80 -Temporary table: no -Number of attributes: 4 -Number of primary keys: 1 -Length of frm data: 380 -Max Rows: 0 -Row Checksum: 1 -Row GCI: 1 -SingleUserMode: 0 -ForceVarPart: 1 -PartitionCount: 1 -FragmentCount: 1 -\fIFragmentCountType: ONE_PER_LDM_PER_NODE_GROUP\fR -ExtraRowGciBits: 0 -ExtraRowAuthorBits: 0 -TableStatus: Retrieved -\fITable options: readbackup, fullyreplicated\fR -HashMap: DEFAULT\-HASHMAP\-3840\-1 -\-\- Attributes \-\- -id Int PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY AUTO_INCR -name Varchar(20;latin1_swedish_ci) NOT NULL AT=SHORT_VAR ST=MEMORY DYNAMIC -length_mm Int NOT NULL AT=FIXED ST=MEMORY DYNAMIC -weight_gm Int NOT NULL AT=FIXED ST=MEMORY DYNAMIC -\-\- Indexes \-\- -PRIMARY KEY(id) \- UniqueHashIndex -PRIMARY(id) \- OrderedIndex -uk(name) \- OrderedIndex -uk$unique(name) \- UniqueHashIndex -\-\- Per partition info \-\- -Partition Row count Commit count Frag fixed memory Frag varsized memory Extent_space Free extent_space -NDBT_ProgramExit: 0 \- OK -.fi -.if n \{\ -.RE -.\} -.PP -For more information about these table properties, see -Section\ \&13.1.18.10, \(lqSetting NDB_TABLE Options\(rq\&. -.PP -The -Extent_space -and -Free extent_space -columns are applicable only to -NDB -tables having columns on disk; for tables having only in\-memory columns, these columns always contain the value -0\&. -.PP -To illustrate their use, we modify the previous example\&. First, we must create the necessary Disk Data objects, as shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -CREATE LOGFILE GROUP lg_1 - ADD UNDOFILE \*(Aqundo_1\&.log\*(Aq - INITIAL_SIZE 16M - UNDO_BUFFER_SIZE 2M - ENGINE NDB; -ALTER LOGFILE GROUP lg_1 - ADD UNDOFILE \*(Aqundo_2\&.log\*(Aq - INITIAL_SIZE 12M - ENGINE NDB; -CREATE TABLESPACE ts_1 - ADD DATAFILE \*(Aqdata_1\&.dat\*(Aq - USE LOGFILE GROUP lg_1 - INITIAL_SIZE 32M - ENGINE NDB; -ALTER TABLESPACE ts_1 - ADD DATAFILE \*(Aqdata_2\&.dat\*(Aq - INITIAL_SIZE 48M - ENGINE NDB; -.fi -.if n \{\ -.RE -.\} -.PP -(For more information on the statements just shown and the objects created by them, see -Section\ \&21.5.13.1, \(lqNDB Cluster Disk Data Objects\(rq, as well as -Section\ \&13.1.15, \(lqCREATE LOGFILE GROUP Syntax\(rq, and -Section\ \&13.1.19, \(lqCREATE TABLESPACE Syntax\(rq\&.) -.PP -Now we can create and populate a version of the -fish -table that stores 2 of its columns on disk (deleting the previous version of the table first, if it already exists): -.sp -.if n \{\ -.RS 4 -.\} -.nf -CREATE TABLE fish ( - id INT(11) NOT NULL AUTO_INCREMENT, - name VARCHAR(20) NOT NULL, - length_mm INT(11) NOT NULL, - weight_gm INT(11) NOT NULL, - PRIMARY KEY pk (id), - UNIQUE KEY uk (name) -) TABLESPACE ts_1 STORAGE DISK -ENGINE=NDB; -INSERT INTO fish VALUES - (NULL, \*(Aqguppy\*(Aq, 35, 2), (NULL, \*(Aqtuna\*(Aq, 2500, 150000), - (NULL, \*(Aqshark\*(Aq, 3000, 110000), (NULL, \*(Aqmanta ray\*(Aq, 1500, 50000), - (NULL, \*(Aqgrouper\*(Aq, 900, 125000), (NULL ,\*(Aqpuffer\*(Aq, 250, 2500); -.fi -.if n \{\ -.RE -.\} -.PP -When run against this version of the table, -\fBndb_desc\fR -displays the following output: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fB\&./ndb_desc \-c localhost fish \-d test \-p\fR -\-\- fish \-\- -Version: 1 -Fragment type: HashMapPartition -K Value: 6 -Min load factor: 78 -Max load factor: 80 -Temporary table: no -Number of attributes: 4 -Number of primary keys: 1 -Length of frm data: 346 -Max Rows: 0 -Row Checksum: 1 -Row GCI: 1 -SingleUserMode: 0 -ForceVarPart: 1 -PartitionCount: 2 -FragmentCount: 2 -FragmentCountType: ONE_PER_LDM_PER_NODE -ExtraRowGciBits: 0 -ExtraRowAuthorBits: 0 -TableStatus: Retrieved -Table options: -HashMap: DEFAULT\-HASHMAP\-3840\-2 -\-\- Attributes \-\- -id Int PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY AUTO_INCR -name Varchar(20;latin1_swedish_ci) NOT NULL AT=SHORT_VAR ST=MEMORY -length_mm Int NOT NULL AT=FIXED ST=DISK -weight_gm Int NOT NULL AT=FIXED ST=DISK -\-\- Indexes \-\- -PRIMARY KEY(id) \- UniqueHashIndex -PRIMARY(id) \- OrderedIndex -uk(name) \- OrderedIndex -uk$unique(name) \- UniqueHashIndex -\-\- Per partition info \-\- -Partition Row count Commit count Frag fixed memory Frag varsized memory Extent_space Free extent_space -0 2 2 32768 32768 1048576 1044440 -1 4 4 32768 32768 1048576 1044400 -NDBT_ProgramExit: 0 \- OK -.fi -.if n \{\ -.RE -.\} -.PP -This means that 1048576 bytes are allocated from the tablespace for this table on each partition, of which 1044440 bytes remain free for additional storage\&. In other words, 1048576 \- 1044440 = 4136 bytes per partition is currently being used to store the data from this table\*(Aqs disk\-based columns\&. The number of bytes shown as -Free extent_space -is available for storing on\-disk column data from the -fish -table only; for this reason, it is not visible when selecting from the -INFORMATION_SCHEMA\&.FILES -table\&. -.PP -For fully replicated tables, -\fBndb_desc\fR -shows only the nodes holding primary partition fragment replicas; nodes with copy fragment replicas (only) are ignored\&. Beginning with NDB 7\&.5\&.4, you can obtain such information, using the -\fBmysql\fR -client, from the -table_distribution_status, -table_fragments, -table_info, and -table_replicas -tables in the -ndbinfo -database\&. -.PP -The following table includes options that are specific to -\fBndb_desc\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndb_desc\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.321.\ \&Command\-line options for the ndb_desc program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l -l l l -l l l -l l l. -T{ -.PP ---blob-info, -.PP --b -T}:T{ -Include partition information for BLOB tables in output. Requires that - the -p option also be used -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---database=dbname, -.PP --d -T}:T{ -Name of database containing table -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---extra-node-info, -.PP --n -T}:T{ -Include partition-to-data-node mappings in output. Requires that the -p - option also be used -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---extra-partition-info, -.PP --p -T}:T{ -Display information about partitions -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---retries=#, -.PP --r -T}:T{ -Number of times to retry the connection (once per second) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---table=tbl_name, -.PP --t -T}:T{ -Specify the table in which to find an index. When this option is used, - -p and -n have no effect and are ignored. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---unqualified, -.PP --u -T}:T{ -Use unqualified table names -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-blob\-info\fR, -\fB\-b\fR -.sp -Include information about subordinate -BLOB -and -TEXT -columns\&. -.sp -Use of this option also requires the use of the -\fB\-\-extra\-partition\-info\fR -(\fB\-p\fR) option\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-database=\fR\fB\fIdb_name\fR\fR, -\fB\-d\fR -.sp -Specify the database in which the table should be found\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-extra\-node\-info\fR, -\fB\-n\fR -.sp -Include information about the mappings between table partitions and the data nodes upon which they reside\&. This information can be useful for verifying distribution awareness mechanisms and supporting more efficient application access to the data stored in NDB Cluster\&. -.sp -Use of this option also requires the use of the -\fB\-\-extra\-partition\-info\fR -(\fB\-p\fR) option\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-extra\-partition\-info\fR, -\fB\-p\fR -.sp -Print additional information about the table\*(Aqs partitions\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-retries=\fR\fB\fI#\fR\fR, -\fB\-r\fR -.sp -Try to connect this many times before giving up\&. One connect attempt is made per second\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-table=\fR\fB\fItbl_name\fR\fR, -\fB\-t\fR -.sp -Specify the table in which to look for an index\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-unqualified\fR, -\fB\-u\fR -.sp -Use unqualified table names\&. -.RE -.PP -In NDB 7\&.5\&.3 and later, table indexes listed in the output are ordered by ID\&. Previously, this was not deterministic and could vary between platforms\&. (Bug #81763, Bug #23547742) -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "NOTES" -.IP " 1." 4 -NDB Schema Object Versions -.RS 4 -\%http://dev.mysql.com/doc/ndb-internals/en/ndb-internals-schema-object-versions.html -.RE -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_drop_index.1 mysql-5.7-5.7.24/man/ndb_drop_index.1 --- mysql-5.7-5.7.23/man/ndb_drop_index.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_drop_index.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,169 +0,0 @@ -'\" t -.\" Title: \fBndb_drop_index\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_DROP_INDEX\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_drop_index \- drop index from an NDB table -.SH "SYNOPSIS" -.HP \w'\fBndb_drop_index\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndb_drop_index \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -\fBndb_drop_index\fR -drops the specified index from an -NDB -table\&. -\fIIt is recommended that you use this utility only as an example for writing NDB API applications\fR\(emsee the Warning later in this section for details\&. -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_drop_index \-c \fIconnection_string\fR \fItable_name\fR \fIindex\fR \-d \fIdb_name\fR -.fi -.if n \{\ -.RE -.\} -.PP -The statement shown above drops the index named -\fIindex\fR -from the -\fItable\fR -in the -\fIdatabase\fR\&. -.PP -The following table includes options that are specific to -\fBndb_drop_index\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndb_drop_index\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.322.\ \&Command\-line options for the ndb_drop_index program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l. -T{ -.PP ---database=dbname, -.PP --d -T}:T{ -Name of the database in which the table is found -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBWarning\fR -.ps -1 -.br -.PP -\fIOperations performed on Cluster table indexes using the NDB API are not visible to MySQL and make the table unusable by a MySQL server\fR\&. If you use this program to drop an index, then try to access the table from an SQL node, an error results, as shown here: -.sp .5v -.RE -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fB\&./ndb_drop_index \-c localhost dogs ix \-d ctest1\fR -Dropping index dogs/idx\&.\&.\&.OK -NDBT_ProgramExit: 0 \- OK -shell> \fB\&./mysql \-u jon \-p ctest1\fR -Enter password: ******* -Reading table information for completion of table and column names -You can turn off this feature to get a quicker startup with \-A -Welcome to the MySQL monitor\&. Commands end with ; or \eg\&. -Your MySQL connection id is 7 to server version: 5\&.7\&.23\-ndb\-7\&.5\&.11 -Type \*(Aqhelp;\*(Aq or \*(Aq\eh\*(Aq for help\&. Type \*(Aq\ec\*(Aq to clear the buffer\&. -mysql> \fBSHOW TABLES;\fR -+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ -| Tables_in_ctest1 | -+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ -| a | -| bt1 | -| bt2 | -| dogs | -| employees | -| fish | -+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ -6 rows in set (0\&.00 sec) -mysql> \fBSELECT * FROM dogs;\fR -ERROR 1296 (HY000): Got error 4243 \*(AqIndex not found\*(Aq from NDBCLUSTER -.fi -.if n \{\ -.RE -.\} -.PP -In such a case, your -\fIonly\fR -option for making the table available to MySQL again is to drop the table and re\-create it\&. You can use either the SQL statementDROP TABLE -or the -\fBndb_drop_table\fR -utility (see -\fBndb_drop_table\fR(1)) to drop the table\&. -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_drop_table.1 mysql-5.7-5.7.24/man/ndb_drop_table.1 --- mysql-5.7-5.7.23/man/ndb_drop_table.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_drop_table.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,110 +0,0 @@ -'\" t -.\" Title: \fBndb_drop_table\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_DROP_TABLE\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_drop_table \- drop an NDB table -.SH "SYNOPSIS" -.HP \w'\fBndb_drop_table\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndb_drop_table \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -\fBndb_drop_table\fR -drops the specified -NDB -table\&. (If you try to use this on a table created with a storage engine other than -NDB, the attempt fails with the error -723: No such table exists\&.) This operation is extremely fast; in some cases, it can be an order of magnitude faster than using a MySQL -DROP TABLE -statement on an -NDB -table\&. -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_drop_table \-c \fIconnection_string\fR \fItbl_name\fR \-d \fIdb_name\fR -.fi -.if n \{\ -.RE -.\} -.PP -The following table includes options that are specific to -\fBndb_drop_table\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndb_drop_table\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.323.\ \&Command\-line options for the ndb_drop_table program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l. -T{ -.PP ---database=dbname, -.PP --d -T}:T{ -Name of the database in which the table is found -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_error_reporter.1 mysql-5.7-5.7.24/man/ndb_error_reporter.1 --- mysql-5.7-5.7.23/man/ndb_error_reporter.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_error_reporter.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,313 +0,0 @@ -'\" t -.\" Title: \fBndb_error_reporter\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_ERROR_REPORTER\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_error_reporter \- NDB error\-reporting utility -.SH "SYNOPSIS" -.HP \w'\fBndb_error_reporter\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndb_error_reporter \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -\fBndb_error_reporter\fR -creates an archive from data node and management node log files that can be used to help diagnose bugs or other problems with a cluster\&. -\fIIt is highly recommended that you make use of this utility when filing reports of bugs in NDB Cluster\fR\&. -.PP -The following table includes command options specific to the NDB Cluster program -\fBndb_error_reporter\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndb_error_reporter\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.324.\ \&Command\-line options for the ndb_error_reporter program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l. -T{ -.PP ---connection-timeout=timeout -T}:T{ -Number of seconds to wait when connecting to nodes before timing out. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---dry-scp -T}:T{ -Disable scp with remote hosts; used only for testing. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---fs -T}:T{ -Include file system data in error report; can use a large amount of disk - space -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---skip-nodegroup=nodegroup_id -T}:T{ -Skip all nodes in the node group having this ID. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_error_reporter \fIpath/to/config\-file\fR [\fIusername\fR] [\fIoptions\fR] -.fi -.if n \{\ -.RE -.\} -.PP -This utility is intended for use on a management node host, and requires the path to the management host configuration file (usually named -config\&.ini)\&. Optionally, you can supply the name of a user that is able to access the cluster\*(Aqs data nodes using SSH, to copy the data node log files\&. -\fBndb_error_reporter\fR -then includes all of these files in archive that is created in the same directory in which it is run\&. The archive is named -ndb_error_report_\fIYYYYMMDDHHMMSS\fR\&.tar\&.bz2, where -\fIYYYYMMDDHHMMSS\fR -is a datetime string\&. -.PP -\fBndb_error_reporter\fR -also accepts the options listed here: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-connection\-timeout=\fR\fB\fItimeout\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---connection-timeout=timeout -T} -T{ -\fBType\fR -T}:T{ -integer -T} -T{ -\fBDefault Value\fR -T}:T{ -0 -T} -.TE -.sp 1 -Wait this many seconds when trying to connect to nodes before timing out\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-dry\-scp\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---dry-scp -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -TRUE -T} -.TE -.sp 1 -Run -\fBndb_error_reporter\fR -without using scp from remote hosts\&. Used for testing only\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-fs\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---fs -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Copy the data node file systems to the management host and include them in the archive\&. -.sp -Because data node file systems can be extremely large, even after being compressed, we ask that you please do -\fInot\fR -send archives created using this option to Oracle unless you are specifically requested to do so\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-skip\-nodegroup=\fR\fB\fInodegroup_id\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---connection-timeout=timeout -T} -T{ -\fBType\fR -T}:T{ -integer -T} -T{ -\fBDefault Value\fR -T}:T{ -0 -T} -.TE -.sp 1 -Skip all nodes belong to the node group having the supplied node group ID\&. -.RE -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_import.1 mysql-5.7-5.7.24/man/ndb_import.1 --- mysql-5.7-5.7.23/man/ndb_import.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_import.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,2784 +0,0 @@ -'\" t -.\" Title: \fBndb_import\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_IMPORT\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_import \- Import CSV data into NDB -.SH "SYNOPSIS" -.HP \w'\fBndb_import\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndb_import \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -\fBndb_import\fR -imports CSV\-formatted data into -NDB -using the NDB API, which requires a connection to an NDB management server\&. A connection to a MySQL Server is not required\&. -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_import \fIdb_name\fR \fIfile_name\fR \fIoptions\fR -.fi -.if n \{\ -.RE -.\} -.PP -\fBndb_import\fR -requires two arguments\&. -\fIdb_name\fR -is the name of the database in which the database where the table into which to import the data is found; -\fIfile_name\fR -is the name of the CSV file from which to read the data, including the path to this file if it is not in the current directory\&. The name of the file must match the name of the table; the file\*(Aqs extention, if any, is not taken into consdieration\&. Additional arguments (described later in this section) are supported, including options for specifying field separators, escapes, and line terminators\&. -\fBndb_import\fR -must be able to connect to an NDB Cluster management server; for this reason, there must be an unused -[api] -slot in the -config\&.ini -file\&. -.PP -To duplicate an existing table that uses a different storage engine, such as -InnoDB, as an -NDB -table, use the -\fBmysql\fR -client to perform a -SELECT INTO OUTFILE -statement to export the existing table to a CSV file, then to execute a -CREATE TABLE LIKE -statement to create a new table having the same structure as the existing table, then perform -ALTER TABLE \&.\&.\&. ENGINE=NDB -on the new table; after this, from the system shell, invoke -\fBndb_import\fR -to load the data into the new -NDB -table\&. For example, an existing -InnoDB -table named -myinnodb_table -in a database named -myinnodb -can be exported into an -NDB -table named -myndb_table -in a database named -myndb -as shown here, assuming that you are already logged in as a MySQL user with the appropriate privileges: -.sp -.RS 4 -.ie n \{\ -\h'-04' 1.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 1." 4.2 -.\} -In the -\fBmysql\fR -client: -.sp -.if n \{\ -.RS 4 -.\} -.nf -mysql> \fBUSE myinnodb;\fR -mysql> \fBSELECT * INTO OUTFILE \*(Aq/tmp/myndb_table\&.csv\*(Aq\fR - > \fBFIELDS TERMINATED BY \*(Aq,\*(Aq OPTIONALLY ENCLOSED BY \*(Aq"\*(Aq ESCAPED BY \*(Aq\e\e\*(Aq\fR - > \fBLINES TERMINATED BY \*(Aq\en\*(Aq\fR - > \fBFROM myinnodbtable;\fR -mysql> \fBCREATE DATABASE myndb;\fR -mysql> \fBUSE myndb;\fR -mysql> \fBCREATE TABLE myndb_table LIKE myinnodb\&.myinnodb_table;\fR -mysql> \fBALTER TABLE myndb_table ENGINE=NDB;\fR -mysql> \fBEXIT;\fR -Bye -shell> -.fi -.if n \{\ -.RE -.\} -.sp -Once the target database and table have been created, a running -\fBmysqld\fR -is no longer required\&. You can stop it using -\fBmysqladmin shutdown\fR -or another method before proceeding, if you wish\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04' 2.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 2." 4.2 -.\} -In the system shell: -.sp -.if n \{\ -.RS 4 -.\} -.nf -# if you are not already in the MySQL bin directory: -shell> \fBcd \fR\fB\fIpath\-to\-mysql\-bin\-dir\fR\fR -shell> \fBndb_import myndb /tmp/myndb_table\&.csv \-\-fields\-optionally\-enclosed\-by=\*(Aq"\*(Aq \e\fR - \fB\-\-fields\-terminated\-by="," \-\-fields\-escaped\-by=\*(Aq\e\e\*(Aq\fR -.fi -.if n \{\ -.RE -.\} -.sp -The output should resemble what is shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -job\-1 import myndb\&.myndb_table from /tmp/myndb_table\&.csv -job\-1 [running] import myndb\&.myndb_table from /tmp/myndb_table\&.csv -job\-1 [success] import myndb\&.myndb_table from /tmp/myndb_table\&.csv -job\-1 imported 19984 rows in 0h0m9s at 2277 rows/s -jobs summary: defined: 1 run: 1 with success: 1 with failure: 0 -shell> -.fi -.if n \{\ -.RE -.\} -.RE -.PP -The following table includes options that are specific to -\fBndb_import\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndb_import\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.325.\ \&Command\-line options for the ndb_import program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l. -T{ -.PP ---abort-on-error -T}:T{ -Dump core on any fatal error; used for debugging -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---ai-increment=# -T}:T{ -For table with hidden PK, specify autoincrement increment. See mysqld -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---ai-offset=# -T}:T{ -For table with hidden PK, specify autoincrement offset. See mysqld -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---ai-prefetch-sz=# -T}:T{ -For table with hidden PK, specify number of autoincrement values that - are prefetched. See mysqld -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---connections=# -T}:T{ -Number of cluster connections to create -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---continue -T}:T{ -When job fails, continue to next job -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---db-workers=# -T}:T{ -Number of threads, per data node, executing database operations -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---errins-type=name -T}:T{ -Error insert type, for testing purposes; use "list" to obtain all - possible values -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---errins-delay=# -T}:T{ -Error insert delay in milliseconds; random variation is added -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---fields-enclosed-by=char -T}:T{ -Same as FIELDS ENCLOSED BY option for LOAD DATA statements. For CSV - input this is same as using - --fields-optionally-enclosed-by -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---fields-escaped-by=name -T}:T{ -Same as FIELDS ESCAPED BY option for LOAD DATA statements -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---fields-optionally-enclosed-by=char -T}:T{ -Same as FIELDS OPTIONALLY ENCLOSED BY option for LOAD DATA statements -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---fields-terminated-by=char -T}:T{ -Same as FIELDS TERMINATED BY option for LOAD DATA statements. -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---idlesleep=# -T}:T{ -Number of milliseconds to sleep waiting for more to do -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---idlespin=# -T}:T{ -Number of times to re-try before idlesleep -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---ignore-lines=# -T}:T{ -Ignore first # lines in input file. Used to skip a non-data header. -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---input-type=name -T}:T{ -Input type: random or csv -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---input-workers=# -T}:T{ -Number of threads processing input. Must be 2 or more if --input-type is - csv. -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---lines-terminated-by=name -T}:T{ -Same as LINES TERMINATED BY option for LOAD DATA statements -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---max-rows=# -T}:T{ -Import only this number of input data rows; default is 0, which imports - all rows -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---monitor=# -T}:T{ -Periodically print status of running job if something has changed - (status, rejected rows, temporary errors). Value 0 - disables. Value 1 prints any change seen. Higher values - reduce status printing exponentially up to some - pre-defined limit. -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---no-asynch -T}:T{ -Run database operations as batches, in single transactions -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---no-hint -T}:T{ -Do not use distribution key hint to select data node (TC) -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---opbatch=# -T}:T{ -A db execution batch is a set of transactions and operations sent to NDB - kernel. This option limits NDB operations (including blob - operations) in a db execution batch. Therefore it also - limits number of asynch transactions. Value 0 is not valid -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---opbytes=# -T}:T{ -Limit bytes in execution batch (default 0 = no limit) -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---output-type=name -T}:T{ -Output type: ndb is default, null used for testing -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---output-workers=# -T}:T{ -Number of threads processing output or relaying database operations -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---pagesize=# -T}:T{ -Align I/O buffers to given size -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---pagecnt=# -T}:T{ -Size of I/O buffers as multiple of page size. CSV input worker allocates - a double-sized buffer -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---polltimeout=# -T}:T{ -Timeout per poll for completed asynchonous transactions; polling - continues until all polls are completed, or error occurs -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---rejects=# -T}:T{ -Limit number of rejected rows (rows with permanent error) in data load. - Default is 0 which means that any rejected row causes a - fatal error. The row exceeding the limit is also added to - *.rej -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---resume -T}:T{ -If job aborted (temporary error, user interrupt), resume with rows not - yet processed -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---rowbatch=# -T}:T{ -Limit rows in row queues (default 0 = no limit); must be 1 or more if - --input-type is random -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---rowbytes=# -T}:T{ -Limit bytes in row queues (0 = no limit) -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---state-dir=name -T}:T{ -Where to write state files; currect directory is default -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---tempdelay=# -T}:T{ -Number of milliseconds to sleep between temporary errors -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---temperrors=# -T}:T{ -Number of times a transaction can fail due to a temporary error, per - execution batch; 0 means any temporary error is fatal. - Such errors do not cause any rows to be written to .rej - file -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -T{ -.PP ---verbose=#, -.PP --v -T}:T{ -Verbosity level for debug messages (maximum is 4 for debug builds) -T}:T{ -.PP -ADDED: NDB 7.6.2 -T} -.TE -.sp 1 -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-abort\-on\-error\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---abort-on-error -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -FALSE -T} -.TE -.sp 1 -Dump core on any fatal error; used for debugging only\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-ai\-increment\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---ai-increment=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -For a table with a hidden primary key, specify the autoincrement increment, like the the -auto_increment_increment -system variable does in the MySQL Server\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-ai\-offset\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---ai-offset=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -For a table with hidden primary key, specify the autoincrement offset\&. Similar to the -auto_increment_offset -system variable\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-ai\-prefetch\-sz\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---ai-prefetch-sz=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1024 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -For a table with a hidden primary key, specify the number of autoincrement values that are prefetched\&. Behaves like the -ndb_autoincrement_prefetch_sz -system variable does in the MySQL Server\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-connections\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---connections=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Number of cluster connections to create\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-continue\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---continue -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -FALSE -T} -.TE -.sp 1 -When a job fails, continue to the next job\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-db\-workers\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---db-workers=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Number of threads, per data node, executing database operations\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-errins\-type\fR=\fIname\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---errins-type=name -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -enumeration -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -[none] -T} -T{ -\fBValid Values\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -.PP -stopjob -.PP -stopall -.PP -sighup -.PP -sigint -.PP -list -T} -.TE -.sp 1 -Error insert type; use -list -as the -\fIname\fR -value to obtain all possible values\&. This option is used for testing purposes only\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-errins\-delay\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---errins-delay=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1000 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Error insert delay in milliseconds; random variation is added\&. This option is used for testing purposes only\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-fields\-enclosed\-by\fR=\fIchar\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---fields-enclosed-by=char -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -string -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -[none] -T} -.TE -.sp 1 -This works in the same way as the -FIELDS ENCLOSED BY -option does for the -LOAD DATA -statement, specifying a character to be interpeted as quoting field values\&. For CSV input, this is the same as -\fB\-\-fields\-optionally\-enclosed\-by\fR\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-fields\-escaped\-by\fR=\fIname\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---fields-escaped-by=name -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -string -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -\ -T} -.TE -.sp 1 -Specify an escape character in the same way as the -FIELDS ESCAPED BY -option does for the SQL -LOAD DATA -statement\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-fields\-optionally\-enclosed\-by\fR=\fIchar\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---fields-optionally-enclosed-by=char -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -string -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -[none] -T} -.TE -.sp 1 -This works in the same way as the -FIELDS OPTIONALLY ENCLOSED BY -option does for the -LOAD DATA -statement, specifying a character to be interpeted as optionally quoting field values\&. For CSV input, this is the same as -\fB\-\-fields\-enclosed\-by\fR\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-fields\-terminated\-by\fR=\fIchar\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---fields-terminated-by=char -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -string -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -\t -T} -.TE -.sp 1 -This works in the same way as the -FIELDS TERMINATED BY -option does for the -LOAD DATA -statement, specifying a character to be interpeted as the field separator\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-idlesleep\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---idlesleep=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Number of milliseconds to sleep waiting for more work to perform\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-idlespin\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---idlespin=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Number of times to retry before sleeping\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-ignore\-lines\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---ignore-lines=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Cause ndb_import to ignore the first -\fI#\fR -lines of the input file\&. This can be employed to skip a file header that does not contain any data\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-input\-type\fR=\fIname\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---input-type=name -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -enumeration -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -csv -T} -T{ -\fBValid Values\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -.PP -random -.PP -csv -T} -.TE -.sp 1 -Set the type of input type\&. The default is -csv; -random -is intended for testing purposes only\&. \&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-input\-workers\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---input-workers=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -2 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Set the number of threads processing input\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-lines\-terminated\-by\fR=\fIname\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---lines-terminated-by=name -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -string -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -\n -T} -.TE -.sp 1 -This works in the same way as the -LINES TERMINATED BY -option does for the -LOAD DATA -statement, specifying a character to be interpeted as end\-of\-line\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-max\-rows\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---max-rows=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Import only this number of input data rows; the default is 0, which imports all rows\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-monitor\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---monitor=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -2 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Periodically print the status of a running job if something has changed (status, rejected rows, temporary errors)\&. Set to 0 to disable this reporting\&. Setting to 1 prints any change that is seen\&. Higher values reduce the frequency of this status reporting\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-no\-asynch\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---no-asynch -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -FALSE -T} -.TE -.sp 1 -Run database operations as batches, in single transactions\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-no\-hint\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---no-hint -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -FALSE -T} -.TE -.sp 1 -Do not use distribution key hinting to select a data node\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-opbatch\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---opbatch=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -256 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Set a limit on the number of operations (including blob operations), and thus the number of asynchronous transactions, per execution batch\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-opbytes\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---opbytes=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Set a limit on the number of bytes per execution batch\&. Use 0 for no limit\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-output\-type\fR=\fIname\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---output-type=name -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -enumeration -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -ndb -T} -T{ -\fBValid Values\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -null -T} -.TE -.sp 1 -Set the output type\&. -ndb -is the default\&. -null -is used only for testing\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-output\-workers\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---output-workers=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -2 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Set the number of threads processing output or relaying database operations\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-pagesize\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---pagesize=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4096 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Align I/O buffers to the given size\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-pagecnt\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---pagecnt=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -64 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Set the size of I/O buffers as multiple of page size\&. The CSV input worker allocates buffer that is doubled in size\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-polltimeout\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---polltimeout=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1000 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -1 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Set a timeout per poll for completed asynchonous transactions; polling continues until all polls are completed, or until an error occurs\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-rejects\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---rejects=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Limit the number of rejected rows (rows with permanent errors) in the data load\&. The default is 0, which means that any rejected row causes a fatal error\&. The row causing the limit to be exceeded is added to the -\&.rej -file\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-resume\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---resume -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -FALSE -T} -.TE -.sp 1 -If a job is aborted (due to a temporary db error or when interrupted by the user), resume with any rows not yet processed\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-rowbatch\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---rowbatch=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Set a limit on the number of rows per row queue\&. Use 0 for no limit\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-rowbytes\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---rowbytes=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -262144 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Set a limit on the number of bytes per row queue\&. Use 0 for no limit\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB \-\-state\-dir\fR=\fIname\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---state-dir=name -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -string -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -. -T} -.TE -.sp 1 -Where to write the state files (\fItbl_name\fR\&.map, -\fItbl_name\fR\&.rej, -\fItbl_name\fR\&.res, and -\fItbl_name\fR\&.stt) produced by a run of the program; the default is the current directory\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-tempdelay\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---tempdelay=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -10 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Number of milliseconds to sleep between temporary errors\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-temperrors\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---temperrors=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -4294967295 -T} -.TE -.sp 1 -Number of times a transaction can fail due to a temporary error, per execution batch\&. The default is 0, which means that any temporary error is fatal\&. Temporary errors do not cause any rows to be added to the -\&.rej -file\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-verbose\fR=\fI#\fR, -\fB\-v\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---verbose=# -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.18-ndb-7.6.2 -T} -T{ -\fBType\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMinimum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR (>= 5.7.18-ndb-7.6.2) -T}:T{ -2 -T} -.TE -.sp 1 -Verbosity level for debugging messages\&. -.RE -.PP -As with -LOAD DATA INFILE, options for field and line formatting much match those used to create the CSV file, whether this was done using -SELECT INTO OUTFILE, or by some other means\&. There is no equivalent to the -LOAD DATA INFILE -statement\*(Aqs -STARTING WITH -option\&. -.PP -\fBndb_import\fR -was added in NDB 7\&.6\&.2\&. -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_index_stat.1 mysql-5.7-5.7.24/man/ndb_index_stat.1 --- mysql-5.7-5.7.23/man/ndb_index_stat.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_index_stat.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,1090 +0,0 @@ -'\" t -.\" Title: \fBndb_index_stat\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_INDEX_STAT\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_index_stat \- NDB index statistics utility -.SH "SYNOPSIS" -.HP \w'\fBndb_index_stat\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndb_index_stat \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -\fBndb_index_stat\fR -provides per\-fragment statistical information about indexes on -NDB -tables\&. This includes cache version and age, number of index entries per partition, and memory consumption by indexes\&. -Usage.PP -To obtain basic index statistics about a given -NDB -table, invoke -\fBndb_index_stat\fR -as shown here, with the name of the table as the first argument and the name of the database containing this table specified immediately following it, using the -\fB\-\-database\fR -(\fB\-d\fR) option: -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_index_stat \fItable\fR \-d \fIdatabase\fR -.fi -.if n \{\ -.RE -.\} -.PP -In this example, we use -\fBndb_index_stat\fR -to obtain such information about an -NDB -table named -mytable -in the -test -database: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_index_stat \-d test mytable\fR -table:City index:PRIMARY fragCount:2 -sampleVersion:3 loadTime:1399585986 sampleCount:1994 keyBytes:7976 -query cache: valid:1 sampleCount:1994 totalBytes:27916 -times in ms: save: 7\&.133 sort: 1\&.974 sort per sample: 0\&.000 -NDBT_ProgramExit: 0 \- OK -.fi -.if n \{\ -.RE -.\} -.PP -sampleVersion -is the version number of the cache from which the statistics data is taken\&. Running -\fBndb_index_stat\fR -with the -\fB\-\-update\fR -option causes sampleVersion to be incremented\&. -.PP -loadTime -shows when the cache was last updated\&. This is expressed as seconds since the Unix Epoch\&. -.PP -sampleCount -is the number of index entries found per partition\&. You can estimate the total number of entries by multiplying this by the number of fragments (shown as -fragCount)\&. -.PP -sampleCount -can be compared with the cardinality of -SHOW INDEX -or -INFORMATION_SCHEMA\&.STATISTICS, although the latter two provide a view of the table as a whole, while -\fBndb_index_stat\fR -provides a per\-fragment average\&. -.PP -keyBytes -is the number of bytes used by the index\&. In this example, the primary key is an integer, which requires four bytes for each index, so -keyBytes -can be calculated in this case as shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf - keyBytes = sampleCount * (4 bytes per index) = 1994 * 4 = 7976 -.fi -.if n \{\ -.RE -.\} -.PP -This information can also be obtained using the corresponding column definitions from -INFORMATION_SCHEMA\&.COLUMNS -(this requires a MySQL Server and a MySQL client application)\&. -.PP -totalBytes -is the total memory consumed by all indexes on the table, in bytes\&. -.PP -Timings shown in the preceding examples are specific to each invocation of -\fBndb_index_stat\fR\&. -.PP -The -\fB\-\-verbose\fR -option provides some additional output, as shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_index_stat \-d test mytable \-\-verbose\fR -random seed 1337010518 -connected -loop 1 of 1 -table:mytable index:PRIMARY fragCount:4 -sampleVersion:2 loadTime:1336751773 sampleCount:0 keyBytes:0 -read stats -query cache created -query cache: valid:1 sampleCount:0 totalBytes:0 -times in ms: save: 20\&.766 sort: 0\&.001 -disconnected -NDBT_ProgramExit: 0 \- OK -shell> -.fi -.if n \{\ -.RE -.\} -.PP -If the only output from the program is -NDBT_ProgramExit: 0 \- OK, this may indicate that no statistics yet exist\&. To force them to be created (or updated if they already exist), invoke -\fBndb_index_stat\fR -with the -\fB\-\-update\fR -option, or execute -ANALYZE TABLE -on the table in the -\fBmysql\fR -client\&. -Options.PP -The following table includes options that are specific to the NDB Cluster -\fBndb_index_stat\fR -utility\&. Additional descriptions are listed following the table\&. For options common to most NDB Cluster programs (including -\fBndb_index_stat\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.326.\ \&Command\-line options for the ndb_index_stat program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l. -T{ -.PP ---database=name, -.PP --d -T}:T{ -Name of the database containing the table. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---delete -T}:T{ -Delete index statistics for the given table, stopping any auto-update - previously configured. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---update -T}:T{ -Update index statistics for the given table, restarting any auto-update - previously configured. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---dump -T}:T{ -Print the query cache. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---query=# -T}:T{ -Perform a number of random range queries on first key attr (must be int - unsigned). -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---sys-drop -T}:T{ -Drop any statistics tables and events in NDB kernel (all statistics are - lost) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---sys-create -T}:T{ -Create all statistics tables and events in NDB kernel, if none of them - already exist -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---sys-create-if-not-exist -T}:T{ -Create any statistics tables and events in NDB kernel that do not - already exist. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---sys-create-if-not-valid -T}:T{ -Create any statistics tables or events that do not already exist in the - NDB kernel. after dropping any that are invalid. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---sys-check -T}:T{ -Verify that NDB system index statistics and event tables exist. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---sys-skip-tables -T}:T{ -Do not apply sys-* options to tables. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---sys-skip-events -T}:T{ -Do not apply sys-* options to events. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---verbose, -.PP --v -T}:T{ -Turn on verbose output -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---loops=# -T}:T{ -Set the number of times to perform a given command. Default is 0. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -.PP -\fBndb_index_stat statistics options\fR. The following options are used to generate index statistics\&. They work with a given table and database\&. They cannot be mixed with system options (see -ndb_index_stat system options)\&. -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-database=\fR\fB\fIname\fR\fR, -\fB\-d \fR\fB\fIname\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---database=name -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -[none] -T} -T{ -\fBMinimum Value\fR -T}:T{ -T} -T{ -\fBMaximum Value\fR -T}:T{ -T} -.TE -.sp 1 -The name of the database that contains the table being queried\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-delete\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---delete -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -false -T} -T{ -\fBMinimum Value\fR -T}:T{ -T} -T{ -\fBMaximum Value\fR -T}:T{ -T} -.TE -.sp 1 -Delete the index statistics for the given table, stopping any auto\-update that was previously configured\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-update\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---update -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -false -T} -T{ -\fBMinimum Value\fR -T}:T{ -T} -T{ -\fBMaximum Value\fR -T}:T{ -T} -.TE -.sp 1 -Update the index statistics for the given table, and restart any auto\-update that was previously configured\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-dump\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---dump -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -false -T} -T{ -\fBMinimum Value\fR -T}:T{ -T} -T{ -\fBMaximum Value\fR -T}:T{ -T} -.TE -.sp 1 -Dump the contents of the query cache\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-query=\fR\fB\fI#\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---query=# -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -0 -T} -T{ -\fBMinimum Value\fR -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR -T}:T{ -MAX_INT -T} -.TE -.sp 1 -Perform random range queries on first key attribute (must be int unsigned)\&. -.RE -.PP -\fBndb_index_stat system options\fR. The following options are used to generate and update the statistics tables in the NDB kernel\&. None of these options can be mixed with statistics options (see -ndb_index_stat statistics options)\&. -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-sys\-drop\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---sys-drop -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -false -T} -T{ -\fBMinimum Value\fR -T}:T{ -T} -T{ -\fBMaximum Value\fR -T}:T{ -T} -.TE -.sp 1 -Drop all statistics tables and events in the NDB kernel\&. -\fIThis causes all statistics to be lost\fR\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-sys\-create\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---sys-create -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -false -T} -T{ -\fBMinimum Value\fR -T}:T{ -T} -T{ -\fBMaximum Value\fR -T}:T{ -T} -.TE -.sp 1 -Create all statistics tables and events in the NDB kernel\&. This works only if none of them exist previously\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fBsys\-create\-if\-not\-exist\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---sys-create-if-not-exist -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -false -T} -T{ -\fBMinimum Value\fR -T}:T{ -T} -T{ -\fBMaximum Value\fR -T}:T{ -T} -.TE -.sp 1 -Create any NDB system statistics tables or events (or both) that do not already exist when the program is invoked\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-sys\-create\-if\-not\-valid\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---sys-create-if-not-valid -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -false -T} -T{ -\fBMinimum Value\fR -T}:T{ -T} -T{ -\fBMaximum Value\fR -T}:T{ -T} -.TE -.sp 1 -Create any NDB system statistics tables or events that do not already exist, after dropping any that are invalid\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-sys\-check\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---sys-check -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -false -T} -T{ -\fBMinimum Value\fR -T}:T{ -T} -T{ -\fBMaximum Value\fR -T}:T{ -T} -.TE -.sp 1 -Verify that all required system statistics tables and events exist in the NDB kernel\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-sys\-skip\-tables\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---sys-skip-tables -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -false -T} -T{ -\fBMinimum Value\fR -T}:T{ -T} -T{ -\fBMaximum Value\fR -T}:T{ -T} -.TE -.sp 1 -Do not apply any -\fB\-\-sys\-*\fR -options to any statistics tables\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-sys\-skip\-events\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---sys-skip-events -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -false -T} -T{ -\fBMinimum Value\fR -T}:T{ -T} -T{ -\fBMaximum Value\fR -T}:T{ -T} -.TE -.sp 1 -Do not apply any -\fB\-\-sys\-*\fR -options to any events\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-verbose\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---verbose -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -false -T} -T{ -\fBMinimum Value\fR -T}:T{ -T} -T{ -\fBMaximum Value\fR -T}:T{ -T} -.TE -.sp 1 -Turn on verbose output\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-loops=\fR\fB\fI#\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---loops=# -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -0 -T} -T{ -\fBMinimum Value\fR -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR -T}:T{ -MAX_INT -T} -.TE -.sp 1 -Repeat commands this number of times (for use in testing)\&. -.RE -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndbinfo_select_all.1 mysql-5.7-5.7.24/man/ndbinfo_select_all.1 --- mysql-5.7-5.7.23/man/ndbinfo_select_all.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndbinfo_select_all.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,304 +0,0 @@ -'\" t -.\" Title: \fBndbinfo_select_all\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDBINFO_SELECT_ALL\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndbinfo_select_all \- select from ndbinfo tables -.SH "SYNOPSIS" -.HP \w'\fBndbinfo_select_all\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndbinfo_select_all \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -\fBndbinfo_select_all\fR -is a client program that selects all rows and columns from one or more tables in the -ndbinfo -database -.PP -Not all -ndbinfo -tables available in the -\fBmysql\fR -client can be read by this program\&. In addition, -\fBndbinfo_select_all\fR -can show information about some tables internal to -ndbinfo -which cannot be accessed using SQL, including the -tables -and -columns -metadata tables\&. -.PP -To select from one or more -ndbinfo -tables using -\fBndbinfo_select_all\fR, it is necessary to supply the names of the tables when invoking the program as shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndbinfo_select_all \fR\fB\fItable_name1\fR\fR\fB [\fR\fB\fItable_name2\fR\fR\fB] [\&.\&.\&.]\fR -.fi -.if n \{\ -.RE -.\} -.PP -For example: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndbinfo_select_all logbuffers logspaces\fR -== logbuffers == -node_id log_type log_id log_part total used high -5 0 0 0 33554432 262144 0 -6 0 0 0 33554432 262144 0 -7 0 0 0 33554432 262144 0 -8 0 0 0 33554432 262144 0 -== logspaces == -node_id log_type log_id log_part total used high -5 0 0 0 268435456 0 0 -5 0 0 1 268435456 0 0 -5 0 0 2 268435456 0 0 -5 0 0 3 268435456 0 0 -6 0 0 0 268435456 0 0 -6 0 0 1 268435456 0 0 -6 0 0 2 268435456 0 0 -6 0 0 3 268435456 0 0 -7 0 0 0 268435456 0 0 -7 0 0 1 268435456 0 0 -7 0 0 2 268435456 0 0 -7 0 0 3 268435456 0 0 -8 0 0 0 268435456 0 0 -8 0 0 1 268435456 0 0 -8 0 0 2 268435456 0 0 -8 0 0 3 268435456 0 0 -shell> -.fi -.if n \{\ -.RE -.\} -.PP -The following table includes options that are specific to -\fBndbinfo_select_all\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndbinfo_select_all\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.315.\ \&Command\-line options for the ndbinfo_select_all program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l. -T{ -.PP ---delay=# -T}:T{ -Set the delay in seconds between loops. Default is 5. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---loops=#, -.PP --l -T}:T{ -Set the number of times to perform the select. Default is 1. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---database=db_name, -.PP --d -T}:T{ -Name of the database where the table located. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---parallelism=#, -.PP --p -T}:T{ -Set the degree of parallelism. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-delay=\fR\fBseconds\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---delay=# -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -5 -T} -T{ -\fBMinimum Value\fR -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR -T}:T{ -MAX_INT -T} -.TE -.sp 1 -This option sets the number of seconds to wait between executing loops\&. Has no effect if -\fB\-\-loops\fR -is set to 0 or 1\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-loops=\fR\fBnumber\fR, -\fB\-l \fR\fB\fInumber\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---loops=# -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -1 -T} -T{ -\fBMinimum Value\fR -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR -T}:T{ -MAX_INT -T} -.TE -.sp 1 -This option sets the number of times to execute the select\&. Use -\fB\-\-delay\fR -to set the time between loops\&. -.RE -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_mgm.1 mysql-5.7-5.7.24/man/ndb_mgm.1 --- mysql-5.7-5.7.23/man/ndb_mgm.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_mgm.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,359 +0,0 @@ -'\" t -.\" Title: \fBndb_mgm\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_MGM\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_mgm \- the NDB Cluster management client -.SH "SYNOPSIS" -.HP \w'\fBndb_mgm\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndb_mgm \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -The -\fBndb_mgm\fR -management client process is actually not needed to run the cluster\&. Its value lies in providing a set of commands for checking the cluster\*(Aqs status, starting backups, and performing other administrative functions\&. The management client accesses the management server using a C API\&. Advanced users can also employ this API for programming dedicated management processes to perform tasks similar to those performed by -\fBndb_mgm\fR\&. -.PP -To start the management client, it is necessary to supply the host name and port number of the management server: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_mgm [\fR\fB\fIhost_name\fR\fR\fB [\fR\fB\fIport_num\fR\fR\fB]]\fR -.fi -.if n \{\ -.RE -.\} -.PP -For example: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_mgm ndb_mgmd\&.mysql\&.com 1186\fR -.fi -.if n \{\ -.RE -.\} -.PP -The default host name and port number are -localhost -and 1186, respectively\&. -.PP -The following table includes options that are specific to the NDB Cluster management client program -\fBndb_mgm\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndb_mgm\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.317.\ \&Command\-line options for the ndb_mgm program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l. -T{ -.PP ---try-reconnect=#, -.PP --t -T}:T{ -Set the number of times to retry a connection before giving up; synonym - for --connect-retries -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---execute=name, -.PP --e -T}:T{ -Execute command and exit -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-connect\-retries=\fR\fB\fI#\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---connect-retries=# -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -3 -T} -T{ -\fBMinimum Value\fR -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR -T}:T{ -4294967295 -T} -.TE -.sp 1 -This option specifies the number of times following the first attempt to retry a connection before giving up (the client always tries the connection at least once)\&. The length of time to wait per attempt is set using -\fB\-\-connect\-retry\-delay\fR\&. -.sp -This option is synonymous with the -\fB\-\-try\-reconnect\fR -option, which is now deprecated\&. -.sp -The default for this option this option differs from its default when used with other -NDB -programs\&. See -Options Common to NDB Cluster Programs(1), for more information\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-execute=\fR\fBcommand\fR, -\fB\-e \fR\fBcommand\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---execute=name -T} -.TE -.sp 1 -This option can be used to send a command to the NDB Cluster management client from the system shell\&. For example, either of the following is equivalent to executing -SHOW -in the management client: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_mgm \-e "SHOW"\fR -shell> \fBndb_mgm \-\-execute="SHOW"\fR -.fi -.if n \{\ -.RE -.\} -.sp -This is analogous to how the -\fB\-\-execute\fR -or -\fB\-e\fR -option works with the -\fBmysql\fR -command\-line client\&. See -Section\ \&4.2.4, \(lqUsing Options on the Command Line\(rq\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -If the management client command to be passed using this option contains any space characters, then the command -\fImust\fR -be enclosed in quotation marks\&. Either single or double quotation marks may be used\&. If the management client command contains no space characters, the quotation marks are optional\&. -.sp .5v -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-try\-reconnect=\fR\fB\fInumber\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---try-reconnect=# -T} -T{ -\fBDeprecated\fR -T}:T{ -5.6.28-ndb-7.4.9 -T} -T{ -\fBType\fR (>= 5.7.10-ndb-7.5.0) -T}:T{ -numeric -T} -T{ -\fBType\fR -T}:T{ -integer -T} -T{ -\fBDefault Value\fR (>= 5.7.10-ndb-7.5.0) -T}:T{ -12 -T} -T{ -\fBDefault Value\fR -T}:T{ -3 -T} -T{ -\fBMinimum Value\fR (>= 5.7.10-ndb-7.5.0) -T}:T{ -0 -T} -T{ -\fBMinimum Value\fR -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR (>= 5.7.10-ndb-7.5.0) -T}:T{ -4294967295 -T} -T{ -\fBMaximum Value\fR -T}:T{ -4294967295 -T} -.TE -.sp 1 -If the connection to the management server is broken, the node tries to reconnect to it every 5 seconds until it succeeds\&. By using this option, it is possible to limit the number of attempts to -\fInumber\fR -before giving up and reporting an error instead\&. -.sp -This option is deprecated and subject to removal in a future release\&. Use -\fB\-\-connect\-retries\fR, instead\&. -.RE -.PP -Additional information about using -\fBndb_mgm\fR -can be found in -Section\ \&21.5.2, \(lqCommands in the NDB Cluster Management Client\(rq\&. -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_mgmd.8 mysql-5.7-5.7.24/man/ndb_mgmd.8 --- mysql-5.7-5.7.23/man/ndb_mgmd.8 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_mgmd.8 1970-01-01 00:00:00.000000000 +0000 @@ -1,1408 +0,0 @@ -'\" t -.\" Title: \fBndb_mgmd\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_MGMD\FR" "8" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_mgmd \- the NDB Cluster management server daemon -.SH "SYNOPSIS" -.HP \w'\fBndb_mgmd\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndb_mgmd \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -The management server is the process that reads the cluster configuration file and distributes this information to all nodes in the cluster that request it\&. It also maintains a log of cluster activities\&. Management clients can connect to the management server and check the cluster\*(Aqs status\&. -.PP -The following table includes options that are specific to the NDB Cluster management server program -\fBndb_mgmd\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndb_mgmd\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.316.\ \&Command\-line options for the ndb_mgmd program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l. -T{ -.PP -\fB \fR\fB--bind-address=host\fR\fB \fR -T}:T{ -Local bind address -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP -\fB \fR\fB--config-cache[=TRUE|FALSE]\fR\fB \fR -T}:T{ -Enable the management server configuration cache; TRUE by default. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP -\fB--config-file=file\fR -(>=), -.PP -\fB-f\fR -(>=) -T}:T{ -Specify the cluster configuration file; in NDB-6.4.0 and later, needs - --reload or --initial to override configuration cache if - present -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP -\fB--configdir=directory\fR, -.PP -\fB--config-dir=directory\fR -(>=7.0.8) -T}:T{ -Specify the cluster management server's configuration cache directory -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP -\fB--daemon\fR, -.PP -\fB \fR\fB-d\fR\fB \fR -T}:T{ -Run ndb_mgmd in daemon mode (default) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP -\fB \fR\fB--initial\fR\fB \fR -T}:T{ -Causes the management server reload its configuration data from the - configuration file, bypassing the configuration cache -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP -\fB \fR\fB--install[=name]\fR\fB \fR -T}:T{ -Used to install the management server process as a Windows service. Does - not apply on non-Windows platforms. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP -\fB \fR\fB--interactive\fR\fB \fR -T}:T{ -Run ndb_mgmd in interactive mode (not officially supported in - production; for testing purposes only) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP -\fB \fR\fB--log-name=name\fR\fB \fR -T}:T{ -A name to use when writing messages applying to this node in the cluster - log. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP -\fB \fR\fB--mycnf\fR\fB \fR -T}:T{ -Read cluster configuration data from the my.cnf file -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP -\fB \fR\fB--no-nodeid-checks\fR\fB \fR -T}:T{ -Do not provide any node id checks -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP -\fB \fR\fB--nodaemon\fR\fB \fR -T}:T{ -Do not run ndb_mgmd as a daemon -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP -\fB \fR\fB--nowait-nodes=list\fR\fB \fR -T}:T{ -Do not wait for these management nodes when starting this management - server. Also requires --ndb-nodeid to be used. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP -\fB--print-full-config\fR, -.PP -\fB \fR\fB-P\fR\fB \fR -T}:T{ -Print full configuration and exit -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP -\fB \fR\fB--reload\fR\fB \fR -T}:T{ -Causes the management server to compare the configuration file with its - configuration cache -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP -\fB \fR\fB--remove[=name]\fR\fB \fR -T}:T{ -Used to remove a management server process that was previously installed - as a Windows service, optionally specifying the name of - the service to be removed. Does not apply on non-Windows - platforms. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP -\fB--verbose\fR, -.PP -\fB \fR\fB-v\fR\fB \fR -T}:T{ -Write additional information to the log. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-bind\-address=\fR\fB\fIhost\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---bind-address=host -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -[none] -T} -.TE -.sp 1 -Causes the management server to bind to a specific network interface (host name or IP address)\&. This option has no default value\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-config\-cache\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---config-cache[=TRUE|FALSE] -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -TRUE -T} -.TE -.sp 1 -This option, whose default value is -1 -(or -TRUE, or -ON), can be used to disable the management server\*(Aqs configuration cache, so that it reads its configuration from -config\&.ini -every time it starts (see -Section\ \&21.3.3, \(lqNDB Cluster Configuration Files\(rq)\&. You can do this by starting the -\fBndb_mgmd\fR -process with any one of the following options: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-config\-cache=0\fR -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-config\-cache=FALSE\fR -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-config\-cache=OFF\fR -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-skip\-config\-cache\fR -.RE -.sp -Using one of the options just listed is effective only if the management server has no stored configuration at the time it is started\&. If the management server finds any configuration cache files, then the -\fB\-\-config\-cache\fR -option or the -\fB\-\-skip\-config\-cache\fR -option is ignored\&. Therefore, to disable configuration caching, the option should be used the -\fIfirst\fR -time that the management server is started\&. Otherwise\(emthat is, if you wish to disable configuration caching for a management server that has -\fIalready\fR -created a configuration cache\(emyou must stop the management server, delete any existing configuration cache files manually, then restart the management server with -\fB\-\-skip\-config\-cache\fR -(or with -\fB\-\-config\-cache\fR -set equal to 0, -OFF, or -FALSE)\&. -.sp -Configuration cache files are normally created in a directory named -mysql\-cluster -under the installation directory (unless this location has been overridden using the -\fB\-\-configdir\fR -option)\&. Each time the management server updates its configuration data, it writes a new cache file\&. The files are named sequentially in order of creation using the following format: -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_\fInode\-id\fR_config\&.bin\&.\fIseq\-number\fR -.fi -.if n \{\ -.RE -.\} -.sp -\fInode\-id\fR -is the management server\*(Aqs node ID; -\fIseq\-number\fR -is a sequence number, beginning with 1\&. For example, if the management server\*(Aqs node ID is 5, then the first three configuration cache files would, when they are created, be named -ndb_5_config\&.bin\&.1, -ndb_5_config\&.bin\&.2, and -ndb_5_config\&.bin\&.3\&. -.sp -If your intent is to purge or reload the configuration cache without actually disabling caching, you should start -\fBndb_mgmd\fR -with one of the options -\fB\-\-reload\fR -or -\fB\-\-initial\fR -instead of -\fB\-\-skip\-config\-cache\fR\&. -.sp -To re\-enable the configuration cache, simply restart the management server, but without the -\fB\-\-config\-cache\fR -or -\fB\-\-skip\-config\-cache\fR -option that was used previously to disable the configuration cache\&. -.sp -\fBndb_mgmd\fR -does not check for the configuration directory (\fB\-\-configdir\fR) or attempts to create one when -\fB\-\-skip\-config\-cache\fR -is used\&. (Bug #13428853) -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-config\-file=\fR\fB\fIfilename\fR\fR, -\fB\-f \fR\fB\fIfilename\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---config-file=file -T} -T{ -\fBType\fR -T}:T{ -file name -T} -T{ -\fBDefault Value\fR -T}:T{ -[none] -T} -.TE -.sp 1 -Instructs the management server as to which file it should use for its configuration file\&. By default, the management server looks for a file named -config\&.ini -in the same directory as the -\fBndb_mgmd\fR -executable; otherwise the file name and location must be specified explicitly\&. -.sp -This option has no default value, and is ignored unless the management server is forced to read the configuration file, either because -\fBndb_mgmd\fR -was started with the -\fB\-\-reload\fR -or -\fB\-\-initial\fR -option, or because the management server could not find any configuration cache\&. This option is also read if -\fBndb_mgmd\fR -was started with -\fB\-\-config\-cache=OFF\fR\&. See -Section\ \&21.3.3, \(lqNDB Cluster Configuration Files\(rq, for more information\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-configdir=\fR\fB\fIdir_name\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ -.PP ---configdir=directory -.PP ---config-dir=directory -T} -T{ -\fBType\fR -T}:T{ -file name -T} -T{ -\fBDefault Value\fR -T}:T{ -$INSTALLDIR/mysql-cluster -T} -.TE -.sp 1 -Specifies the cluster management server\*(Aqs configuration cache directory\&. -\fB\-\-config\-dir\fR -is an alias for this option\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-daemon\fR, -\fB\-d\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---daemon -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -TRUE -T} -.TE -.sp 1 -Instructs -\fBndb_mgmd\fR -to start as a daemon process\&. This is the default behavior\&. -.sp -This option has no effect when running -\fBndb_mgmd\fR -on Windows platforms\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-initial\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---initial -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Configuration data is cached internally, rather than being read from the cluster global configuration file each time the management server is started (see -Section\ \&21.3.3, \(lqNDB Cluster Configuration Files\(rq)\&. Using the -\fB\-\-initial\fR -option overrides this behavior, by forcing the management server to delete any existing cache files, and then to re\-read the configuration data from the cluster configuration file and to build a new cache\&. -.sp -This differs in two ways from the -\fB\-\-reload\fR -option\&. First, -\fB\-\-reload\fR -forces the server to check the configuration file against the cache and reload its data only if the contents of the file are different from the cache\&. Second, -\fB\-\-reload\fR -does not delete any existing cache files\&. -.sp -If -\fBndb_mgmd\fR -is invoked with -\fB\-\-initial\fR -but cannot find a global configuration file, the management server cannot start\&. -.sp -When a management server starts, it checks for another management server in the same NDB Cluster and tries to use the other management server\*(Aqs configuration data; -\fBndb_mgmd\fR -ignores -\fB\-\-initial\fR -unless it is the only management server running\&. This behavior also has implications when performing a rolling restart of an NDB Cluster with multiple management nodes\&. See -Section\ \&21.5.5, \(lqPerforming a Rolling Restart of an NDB Cluster\(rq, for more information\&. -.sp -When used together with the -\fB\-\-config\-file\fR -option, the cache is cleared only if the configuration file is actually found\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-install[=\fR\fB\fIname\fR\fR\fB]\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---install[=name] -T} -T{ -\fBPlatform Specific\fR -T}:T{ -Windows -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -ndb_mgmd -T} -.TE -.sp 1 -Causes -\fBndb_mgmd\fR -to be installed as a Windows service\&. Optionally, you can specify a name for the service; if not set, the service name defaults to -ndb_mgmd\&. Although it is preferable to specify other -\fBndb_mgmd\fR -program options in a -my\&.ini -or -my\&.cnf -configuration file, it is possible to use them together with -\fB\-\-install\fR\&. However, in such cases, the -\fB\-\-install\fR -option must be specified first, before any other options are given, for the Windows service installation to succeed\&. -.sp -It is generally not advisable to use this option together with the -\fB\-\-initial\fR -option, since this causes the configuration cache to be wiped and rebuilt every time the service is stopped and started\&. Care should also be taken if you intend to use any other -\fBndb_mgmd\fR -options that affect the starting of the management server, and you should make absolutely certain you fully understand and allow for any possible consequences of doing so\&. -.sp -The -\fB\-\-install\fR -option has no effect on non\-Windows platforms\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-interactive\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---interactive -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Starts -\fBndb_mgmd\fR -in interactive mode; that is, an -\fBndb_mgm\fR -client session is started as soon as the management server is running\&. This option does not start any other NDB Cluster nodes\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-log\-name=\fR\fB\fIname\fR\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---log-name=name -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -MgmtSrvr -T} -.TE -.sp 1 -Provides a name to be used for this node in the cluster log\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-mycnf\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---mycnf -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Read configuration data from the -my\&.cnf -file\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-no\-nodeid\-checks\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---no-nodeid-checks -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Do not perform any checks of node IDs\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-nodaemon\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---nodaemon -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Instructs -\fBndb_mgmd\fR -not to start as a daemon process\&. -.sp -The default behavior for -\fBndb_mgmd\fR -on Windows is to run in the foreground, making this option unnecessary on Windows platforms\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-nowait\-nodes\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---nowait-nodes=list -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -T} -T{ -\fBMinimum Value\fR -T}:T{ -1 -T} -T{ -\fBMaximum Value\fR -T}:T{ -255 -T} -.TE -.sp 1 -When starting an NDB Cluster is configured with two management nodes, each management server normally checks to see whether the other -\fBndb_mgmd\fR -is also operational and whether the other management server\*(Aqs configuration is identical to its own\&. However, it is sometimes desirable to start the cluster with only one management node (and perhaps to allow the other -\fBndb_mgmd\fR -to be started later)\&. This option causes the management node to bypass any checks for any other management nodes whose node IDs are passed to this option, permitting the cluster to start as though configured to use only the management node that was started\&. -.sp -For purposes of illustration, consider the following portion of a -config\&.ini -file (where we have omitted most of the configuration parameters that are not relevant to this example): -.sp -.if n \{\ -.RS 4 -.\} -.nf -[ndbd] -NodeId = 1 -HostName = 198\&.51\&.100\&.101 -[ndbd] -NodeId = 2 -HostName = 198\&.51\&.100\&.102 -[ndbd] -NodeId = 3 -HostName = 198\&.51\&.100\&.103 -[ndbd] -NodeId = 4 -HostName = 198\&.51\&.100\&.104 -[ndb_mgmd] -NodeId = 10 -HostName = 198\&.51\&.100\&.150 -[ndb_mgmd] -NodeId = 11 -HostName = 198\&.51\&.100\&.151 -[api] -NodeId = 20 -HostName = 198\&.51\&.100\&.200 -[api] -NodeId = 21 -HostName = 198\&.51\&.100\&.201 -.fi -.if n \{\ -.RE -.\} -.sp -Assume that you wish to start this cluster using only the management server having node ID -10 -and running on the host having the IP address 198\&.51\&.100\&.150\&. (Suppose, for example, that the host computer on which you intend to the other management server is temporarily unavailable due to a hardware failure, and you are waiting for it to be repaired\&.) To start the cluster in this way, use a command line on the machine at 198\&.51\&.100\&.150 to enter the following command: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_mgmd \-\-ndb\-nodeid=10 \-\-nowait\-nodes=11\fR -.fi -.if n \{\ -.RE -.\} -.sp -As shown in the preceding example, when using -\fB\-\-nowait\-nodes\fR, you must also use the -\fB\-\-ndb\-nodeid\fR -option to specify the node ID of this -\fBndb_mgmd\fR -process\&. -.sp -You can then start each of the cluster\*(Aqs data nodes in the usual way\&. If you wish to start and use the second management server in addition to the first management server at a later time without restarting the data nodes, you must start each data node with a connection string that references both management servers, like this: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndbd \-c 198\&.51\&.100\&.150,198\&.51\&.100\&.151\fR -.fi -.if n \{\ -.RE -.\} -.sp -The same is true with regard to the connection string used with any -\fBmysqld\fR -processes that you wish to start as NDB Cluster SQL nodes connected to this cluster\&. See -Section\ \&21.3.3.3, \(lqNDB Cluster Connection Strings\(rq, for more information\&. -.sp -When used with -\fBndb_mgmd\fR, this option affects the behavior of the management node with regard to other management nodes only\&. Do not confuse it with the -\fB\-\-nowait\-nodes\fR -option used with -\fBndbd\fR -or -\fBndbmtd\fR -to permit a cluster to start with fewer than its full complement of data nodes; when used with data nodes, this option affects their behavior only with regard to other data nodes\&. -.sp -Multiple management node IDs may be passed to this option as a comma\-separated list\&. Each node ID must be no less than 1 and no greater than 255\&. In practice, it is quite rare to use more than two management servers for the same NDB Cluster (or to have any need for doing so); in most cases you need to pass to this option only the single node ID for the one management server that you do not wish to use when starting the cluster\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -When you later start the -\(lqmissing\(rq -management server, its configuration must match that of the management server that is already in use by the cluster\&. Otherwise, it fails the configuration check performed by the existing management server, and does not start\&. -.sp .5v -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-print\-full\-config\fR, -\fB\-P\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---print-full-config -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Shows extended information regarding the configuration of the cluster\&. With this option on the command line the -\fBndb_mgmd\fR -process prints information about the cluster setup including an extensive list of the cluster configuration sections as well as parameters and their values\&. Normally used together with the -\fB\-\-config\-file\fR -(\fB\-f\fR) option\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-reload\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---reload -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -NDB Cluster configuration data is stored internally rather than being read from the cluster global configuration file each time the management server is started (see -Section\ \&21.3.3, \(lqNDB Cluster Configuration Files\(rq)\&. Using this option forces the management server to check its internal data store against the cluster configuration file and to reload the configuration if it finds that the configuration file does not match the cache\&. Existing configuration cache files are preserved, but not used\&. -.sp -This differs in two ways from the -\fB\-\-initial\fR -option\&. First, -\fB\-\-initial\fR -causes all cache files to be deleted\&. Second, -\fB\-\-initial\fR -forces the management server to re\-read the global configuration file and construct a new cache\&. -.sp -If the management server cannot find a global configuration file, then the -\fB\-\-reload\fR -option is ignored\&. -.sp -When a management server starts, it checks for another management server in the same NDB Cluster and tries to use the other management server\*(Aqs configuration data; -\fBndb_mgmd\fR -ignores -\fB\-\-reload\fR -unless it is the only management server running\&. This behavior also has implications when performing a rolling restart of an NDB Cluster with multiple management nodes\&. See -Section\ \&21.5.5, \(lqPerforming a Rolling Restart of an NDB Cluster\(rq, for more information\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-remove{=name]\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---remove[=name] -T} -T{ -\fBPlatform Specific\fR -T}:T{ -Windows -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -ndb_mgmd -T} -.TE -.sp 1 -Remove a management server process that has been installed as a Windows service, optionally specifying the name of the service to be removed\&. Applies only to Windows platforms\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-verbose\fR, -\fB\-v\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---verbose -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Remove a management server process that has been installed as a Windows service, optionally specifying the name of the service to be removed\&. Applies only to Windows platforms\&. -.RE -.PP -It is not strictly necessary to specify a connection string when starting the management server\&. However, if you are using more than one management server, a connection string should be provided and each node in the cluster should specify its node ID explicitly\&. -.PP -See -Section\ \&21.3.3.3, \(lqNDB Cluster Connection Strings\(rq, for information about using connection strings\&. -\fBndb_mgmd\fR(8), describes other options for -\fBndb_mgmd\fR\&. -.PP -The following files are created or used by -\fBndb_mgmd\fR -in its starting directory, and are placed in the -DataDir -as specified in the -config\&.ini -configuration file\&. In the list that follows, -\fInode_id\fR -is the unique node identifier\&. -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -config\&.ini -is the configuration file for the cluster as a whole\&. This file is created by the user and read by the management server\&. -Section\ \&21.3, \(lqConfiguration of NDB Cluster\(rq, discusses how to set up this file\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ndb_\fInode_id\fR_cluster\&.log -is the cluster events log file\&. Examples of such events include checkpoint startup and completion, node startup events, node failures, and levels of memory usage\&. A complete listing of cluster events with descriptions may be found in -Section\ \&21.5, \(lqManagement of NDB Cluster\(rq\&. -.sp -By default, when the size of the cluster log reaches one million bytes, the file is renamed to -ndb_\fInode_id\fR_cluster\&.log\&.\fIseq_id\fR, where -\fIseq_id\fR -is the sequence number of the cluster log file\&. (For example: If files with the sequence numbers 1, 2, and 3 already exist, the next log file is named using the number -4\&.) You can change the size and number of files, and other characteristics of the cluster log, using the -LogDestination -configuration parameter\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ndb_\fInode_id\fR_out\&.log -is the file used for -stdout -and -stderr -when running the management server as a daemon\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ndb_\fInode_id\fR\&.pid -is the process ID file used when running the management server as a daemon\&. -.RE -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_move_data.1 mysql-5.7-5.7.24/man/ndb_move_data.1 --- mysql-5.7-5.7.23/man/ndb_move_data.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_move_data.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,611 +0,0 @@ -'\" t -.\" Title: \fBndb_move_data\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_MOVE_DATA\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_move_data \- NDB data copy utility -.SH "SYNOPSIS" -.HP \w'\fBndb_move_data\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndb_move_data \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -\fBndb_move_data\fR -copies data from one NDB table to another\&. -Usage.PP -The program is invoked with the names of the source and target tables; either or both of these may be qualified optionally with the database name\&. Both tables must use the NDB storage engine\&. -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_move_data \fIoptions\fR \fIsource\fR \fItarget\fR -.fi -.if n \{\ -.RE -.\} -.PP -The following table includes options that are specific to -\fBndb_move_data\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndb_move_data\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.327.\ \&Command\-line options for the ndb_move_data program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l. -T{ -.PP ---abort-on-error -T}:T{ -Dump core on permanent error (debug option) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---character-sets-dir=name -T}:T{ -Directory where character sets are -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---database=dbname, -.PP --d -T}:T{ -Name of the database in which the table is found -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---drop-source -T}:T{ -Drop source table after all rows have been moved -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---error-insert -T}:T{ -Insert random temporary errors (testing option) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---exclude-missing-columns -T}:T{ -Ignore extra columns in source or target table -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---lossy-conversions, -.PP --l -T}:T{ -Allow attribute data to be truncated when converted to a smaller type -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---promote-attributes, -.PP --A -T}:T{ -Allow attribute data to be converted to a larger type -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---staging-tries=x[,y[,z]] -T}:T{ -Specify tries on temporary errors. Format is x[,y[,z]] where x=max tries - (0=no limit), y=min delay (ms), z=max delay (ms) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---verbose -T}:T{ -Enable verbose messages -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-abort\-on\-error\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---abort-on-error -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Dump core on permanent error (debug option)\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-character\-sets\-dir\fR=\fIname\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---character-sets-dir=name -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -[none] -T} -.TE -.sp 1 -Directory where character sets are\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-database\fR=\fIdbname\fR, -\fB\-d\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---database=dbname -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -TEST_DB -T} -.TE -.sp 1 -Name of the database in which the table is found\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-drop\-source\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---drop-source -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Drop source table after all rows have been moved\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-error\-insert\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---error-insert -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Insert random temporary errors (testing option)\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-exclude\-missing\-columns\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---exclude-missing-columns -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Ignore extra columns in source or target table\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-lossy\-conversions\fR, -\fB\-l\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---lossy-conversions -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Allow attribute data to be truncated when converted to a smaller type\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-promote\-attributes\fR, -\fB\-A\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---promote-attributes -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Allow attribute data to be converted to a larger type\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-staging\-tries\fR=\fIx[,y[,z]]\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---staging-tries=x[,y[,z]] -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -0,1000,60000 -T} -.TE -.sp 1 -Specify tries on temporary errors\&. Format is x[,y[,z]] where x=max tries (0=no limit), y=min delay (ms), z=max delay (ms)\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-verbose\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---verbose -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Enable verbose messages\&. -.RE -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndbmtd.8 mysql-5.7-5.7.24/man/ndbmtd.8 --- mysql-5.7-5.7.23/man/ndbmtd.8 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndbmtd.8 1970-01-01 00:00:00.000000000 +0000 @@ -1,215 +0,0 @@ -'\" t -.\" Title: \fBndbmtd\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDBMTD\FR" "8" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndbmtd \- the NDB Cluster data node daemon (multithreaded version) -.SH "SYNOPSIS" -.HP \w'\fBndbmtd\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndbmtd \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -\fBndbmtd\fR -is a multithreaded version of -\fBndbd\fR, the process that is used to handle all the data in tables using the -NDBCLUSTER -storage engine\&. -\fBndbmtd\fR -is intended for use on host computers having multiple CPU cores\&. Except where otherwise noted, -\fBndbmtd\fR -functions in the same way as -\fBndbd\fR; therefore, in this section, we concentrate on the ways in which -\fBndbmtd\fR -differs from -\fBndbd\fR, and you should consult -\fBndbd\fR(8), for additional information about running NDB Cluster data nodes that apply to both the single\-threaded and multithreaded versions of the data node process\&. -.PP -Command\-line options and configuration parameters used with -\fBndbd\fR -also apply to -\fBndbmtd\fR\&. For more information about these options and parameters, see -\fBndbd\fR(8), and -Section\ \&21.3.3.6, \(lqDefining NDB Cluster Data Nodes\(rq, respectively\&. -.PP -\fBndbmtd\fR -is also file system\-compatible with -\fBndbd\fR\&. In other words, a data node running -\fBndbd\fR -can be stopped, the binary replaced with -\fBndbmtd\fR, and then restarted without any loss of data\&. (However, when doing this, you must make sure that -MaxNoOfExecutionThreads -is set to an apppriate value before restarting the node if you wish for -\fBndbmtd\fR -to run in multithreaded fashion\&.) Similarly, an -\fBndbmtd\fR -binary can be replaced with -\fBndbd\fR -simply by stopping the node and then starting -\fBndbd\fR -in place of the multithreaded binary\&. It is not necessary when switching between the two to start the data node binary using -\fB\-\-initial\fR\&. -.PP -Using -\fBndbmtd\fR -differs from using -\fBndbd\fR -in two key respects: -.sp -.RS 4 -.ie n \{\ -\h'-04' 1.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 1." 4.2 -.\} -Because -\fBndbmtd\fR -runs by default in single\-threaded mode (that is, it behaves like -\fBndbd\fR), you must configure it to use multiple threads\&. This can be done by setting an appropriate value in the -config\&.ini -file for the -MaxNoOfExecutionThreads -configuration parameter or the -ThreadConfig -configuration parameter\&. Using -MaxNoOfExecutionThreads -is simpler, but -ThreadConfig -offers more flexibility\&. For more information about these configuration parameters and their use, see -Multi-Threading Configuration Parameters (ndbmtd)\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04' 2.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 2." 4.2 -.\} -Trace files are generated by critical errors in -\fBndbmtd\fR -processes in a somewhat different fashion from how these are generated by -\fBndbd\fR -failures\&. These differences are discussed in more detail in the next few paragraphs\&. -.RE -.PP -Like -\fBndbd\fR, -\fBndbmtd\fR -generates a set of log files which are placed in the directory specified by -DataDir -in the -config\&.ini -configuration file\&. Except for trace files, these are generated in the same way and have the same names as those generated by -\fBndbd\fR\&. -.PP -In the event of a critical error, -\fBndbmtd\fR -generates trace files describing what happened just prior to the error\*(Aq occurrence\&. These files, which can be found in the data node\*(Aqs -DataDir, are useful for analysis of problems by the NDB Cluster Development and Support teams\&. One trace file is generated for each -\fBndbmtd\fR -thread\&. The names of these files have the following pattern: -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_\fInode_id\fR_trace\&.log\&.\fItrace_id\fR_t\fIthread_id\fR, -.fi -.if n \{\ -.RE -.\} -.PP -In this pattern, -\fInode_id\fR -stands for the data node\*(Aqs unique node ID in the cluster, -\fItrace_id\fR -is a trace sequence number, and -\fIthread_id\fR -is the thread ID\&. For example, in the event of the failure of an -\fBndbmtd\fR -process running as an NDB Cluster data node having the node ID 3 and with -MaxNoOfExecutionThreads -equal to 4, four trace files are generated in the data node\*(Aqs data directory\&. If the is the first time this node has failed, then these files are named -ndb_3_trace\&.log\&.1_t1, -ndb_3_trace\&.log\&.1_t2, -ndb_3_trace\&.log\&.1_t3, and -ndb_3_trace\&.log\&.1_t4\&. Internally, these trace files follow the same format as -\fBndbd\fR -trace files\&. -.PP -The -\fBndbd\fR -exit codes and messages that are generated when a data node process shuts down prematurely are also used by -\fBndbmtd\fR\&. See -\m[blue]\fBData Node Error Messages\fR\m[]\&\s-2\u[1]\d\s+2, for a listing of these\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -.PP -It is possible to use -\fBndbd\fR -and -\fBndbmtd\fR -concurrently on different data nodes in the same NDB Cluster\&. However, such configurations have not been tested extensively; thus, we cannot recommend doing so in a production setting at this time\&. -.sp .5v -.RE -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "NOTES" -.IP " 1." 4 -Data Node Error Messages -.RS 4 -\%http://dev.mysql.com/doc/ndb-internals/en/ndb-node-error-messages.html -.RE -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_perror.1 mysql-5.7-5.7.24/man/ndb_perror.1 --- mysql-5.7-5.7.23/man/ndb_perror.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_perror.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,461 +0,0 @@ -'\" t -.\" Title: \fBndb_perror\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_PERROR\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_perror \- Obtain NDB error message information -.SH "SYNOPSIS" -.HP \w'\fBndb_perror\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndb_perror \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -\fBndb_perror\fR -shows information about an NDB error, given its error code\&. This includes the error message, the type of error, and whether the error is permanent or temporary\&. Added to the MySQL NDB Cluster distribution in NDB 7\&.6\&.4, it is intended as a drop\-in replacement for -\fBperror\fR -\fB\-\-ndb\fR\&. -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_perror [\fIoptions\fR] \fIerror_code\fR -.fi -.if n \{\ -.RE -.\} -.PP -\fBndb_perror\fR -does not need to access a running NDB Cluster, or any nodes (including SQL nodes)\&. To view information about a given NDB error, invoke the program, using the error code as an argument, like this: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_perror 323\fR -NDB error code 323: Invalid nodegroup id, nodegroup already existing: Permanent error: Application error -.fi -.if n \{\ -.RE -.\} -.PP -To display only the error message, invoke -\fBndb_perror\fR -with the -\fB\-\-silent\fR -option (short form -\fB\-s\fR), as shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_perror \-s 323\fR -Invalid nodegroup id, nodegroup already existing: Permanent error: Application error -.fi -.if n \{\ -.RE -.\} -.PP -Like -\fBperror\fR, -\fBndb_perror\fR -accepts multiple error codes: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_perror 321 1001\fR -NDB error code 321: Invalid nodegroup id: Permanent error: Application error -NDB error code 1001: Illegal connect string -.fi -.if n \{\ -.RE -.\} -.PP -Additional program options for -\fBndb_perror\fR -are described later in this section\&. -.PP -\fBndb_perror\fR -replaces -\fBperror\fR -\fB\-\-ndb\fR, which is deprecated as of NDB 7\&.6\&.4 and subject to removal in a future release of MySQL NDB Cluster\&. To make substitution easier in scripts and other applications that might depend on -\fBperror\fR -for obtaining NDB error information, -\fBndb_perror\fR -supports its own -\(lqdummy\(rq -\fB\-\-ndb\fR -option, which does nothing\&. -.PP -The following table includes all options that are specific to the NDB Cluster program -\fBndb_perror\fR\&. Additional descriptions follow the table\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.328.\ \&Command\-line options for the ndb_perror program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l -l l l. -T{ -.PP ---help, -.PP --? -T}:T{ -Display help text -T}:T{ -.PP -ADDED: NDB 7.6.4 -T} -T{ -.PP ---ndb -T}:T{ -For compatibility with applications depending on old versions of perror; - does nothing -T}:T{ -.PP -ADDED: NDB 7.6.4 -T} -T{ -.PP ---silent, -.PP --s -T}:T{ -Show error message only -T}:T{ -.PP -ADDED: NDB 7.6.4 -T} -T{ -.PP ---version, -.PP --V -T}:T{ -Print program version information and exit -T}:T{ -.PP -ADDED: NDB 7.6.4 -T} -T{ -.PP ---verbose, -.PP --v -T}:T{ -Verbose output; disable with --silent -T}:T{ -.PP -ADDED: NDB 7.6.4 -T} -.TE -.sp 1 -Additional Options -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-help\fR, -\fB\-?\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---help -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.19-ndb-7.6.4 -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -TRUE -T} -.TE -.sp 1 -Display program help text and exit\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-ndb\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---ndb -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.19-ndb-7.6.4 -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -TRUE -T} -.TE -.sp 1 -For compatibility with applications depending on old versions of -\fBperror\fR -that use that program\*(Aqs -\fB\-\-ndb\fR -option\&. The option when used with -\fBndb_perror\fR -does nothing, and is ignored by it\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-silent\fR, -\fB\-s\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---silent -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.19-ndb-7.6.4 -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -TRUE -T} -.TE -.sp 1 -Show error message only\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-version\fR, -\fB\-V\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---version -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.19-ndb-7.6.4 -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -TRUE -T} -.TE -.sp 1 -Print program version information and exit\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-verbose\fR, -\fB\-v\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---verbose -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.19-ndb-7.6.4 -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -TRUE -T} -.TE -.sp 1 -Verbose output; disable with -\fB\-\-silent\fR\&. -.RE -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_print_backup_file.1 mysql-5.7-5.7.24/man/ndb_print_backup_file.1 --- mysql-5.7-5.7.23/man/ndb_print_backup_file.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_print_backup_file.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,88 +0,0 @@ -'\" t -.\" Title: \fBndb_print_backup_file\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_PRINT_BACKUP_FILE\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_print_backup_file \- print NDB backup file contents -.SH "SYNOPSIS" -.HP \w'\fBndb_print_backup_file\ \fR\fB\fIfile_name\fR\fR\ 'u -\fBndb_print_backup_file \fR\fB\fIfile_name\fR\fR -.SH "DESCRIPTION" -.PP -\fBndb_print_backup_file\fR -obtains diagnostic information from a cluster backup file\&. -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_print_backup_file \fIfile_name\fR -.fi -.if n \{\ -.RE -.\} -.PP -\fIfile_name\fR -is the name of a cluster backup file\&. This can be any of the files (\&.Data, -\&.ctl, or -\&.log -file) found in a cluster backup directory\&. These files are found in the data node\*(Aqs backup directory under the subdirectory -BACKUP\-\fI#\fR, where -\fI#\fR -is the sequence number for the backup\&. For more information about cluster backup files and their contents, see -Section\ \&21.5.3.1, \(lqNDB Cluster Backup Concepts\(rq\&. -.PP -Like -\fBndb_print_schema_file\fR -and -\fBndb_print_sys_file\fR -(and unlike most of the other -NDB -utilities that are intended to be run on a management server host or to connect to a management server) -\fBndb_print_backup_file\fR -must be run on a cluster data node, since it accesses the data node file system directly\&. Because it does not make use of the management server, this utility can be used when the management server is not running, and even when the cluster has been completely shut down\&. -Additional Options.PP -None\&. -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_print_file.1 mysql-5.7-5.7.24/man/ndb_print_file.1 --- mysql-5.7-5.7.23/man/ndb_print_file.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_print_file.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,120 +0,0 @@ -'\" t -.\" Title: \fBndb_print_file\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_PRINT_FILE\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_print_file \- print NDB Disk Data file contents -.SH "SYNOPSIS" -.HP \w'\fBndb_print_file\ [\-v]\ [\-q]\ \fR\fB\fIfile_name\fR\fR\fB+\fR\ 'u -\fBndb_print_file [\-v] [\-q] \fR\fB\fIfile_name\fR\fR\fB+\fR -.SH "DESCRIPTION" -.PP -\fBndb_print_file\fR -obtains information from an NDB Cluster Disk Data file\&. -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_print_file [\-v] [\-q] \fIfile_name\fR+ -.fi -.if n \{\ -.RE -.\} -.PP -\fIfile_name\fR -is the name of an NDB Cluster Disk Data file\&. Multiple filenames are accepted, separated by spaces\&. -.PP -Like -\fBndb_print_schema_file\fR -and -\fBndb_print_sys_file\fR -(and unlike most of the other -NDB -utilities that are intended to be run on a management server host or to connect to a management server) -\fBndb_print_file\fR -must be run on an NDB Cluster data node, since it accesses the data node file system directly\&. Because it does not make use of the management server, this utility can be used when the management server is not running, and even when the cluster has been completely shut down\&. -Additional Options.PP -\fBndb_print_file\fR -supports the following options: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-v\fR: Make output verbose\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-q\fR: Suppress output (quiet mode)\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-help\fR, -\fB\-h\fR, -\fB\-?\fR: Print help message\&. -.RE -.PP -For more information, see -Section\ \&21.5.13, \(lqNDB Cluster Disk Data Tables\(rq\&. -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_print_frag_file.1 mysql-5.7-5.7.24/man/ndb_print_frag_file.1 --- mysql-5.7-5.7.23/man/ndb_print_frag_file.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_print_frag_file.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,138 +0,0 @@ -'\" t -.\" Title: \fBndb_print_frag_file\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_PRINT_FRAG_FILE\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_print_frag_file \- print NDB Fragment List File contents -.SH "SYNOPSIS" -.HP \w'\fBndb_print_frag_file\ \fR\fB\fIfile_name\fR\fR\ 'u -\fBndb_print_frag_file \fR\fB\fIfile_name\fR\fR -.SH "DESCRIPTION" -.PP -\fBndb_print_frag_file\fR -obtains information from a cluster fragment list file\&. It is intended for use in helping to diagnose issues with data node restarts\&. -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_print_frag_file \fIfile_name\fR -.fi -.if n \{\ -.RE -.\} -.PP -\fIfile_name\fR -is the name of a cluster fragment list file, which matches the pattern -S\fIX\fR\&.FragList, where -\fIX\fR -is a digit in the range 2\-9 inclusive, and are found in the data node file system of the data node having the node ID -\fInodeid\fR, in directories named -ndb_\fInodeid\fR_fs/D\fIN\fR/DBDIH/, where -\fIN\fR -is -1 -or -2\&. Each fragment file contains records of the fragments belonging to each -NDB -table\&. For more information about cluster fragment files, see -\m[blue]\fBNDB Cluster Data Node File System Directory Files\fR\m[]\&\s-2\u[1]\d\s+2\&. -.PP -Like -\fBndb_print_backup_file\fR, -\fBndb_print_sys_file\fR, and -\fBndb_print_schema_file\fR -(and unlike most of the other -NDB -utilities that are intended to be run on a management server host or to connect to a management server), -\fBndb_print_frag_file\fR -must be run on a cluster data node, since it accesses the data node file system directly\&. Because it does not make use of the management server, this utility can be used when the management server is not running, and even when the cluster has been completely shut down\&. -Additional Options.PP -None\&. -Sample Output -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_print_frag_file /usr/local/mysqld/data/ndb_3_fs/D1/DBDIH/S2\&.FragList\fR -Filename: /usr/local/mysqld/data/ndb_3_fs/D1/DBDIH/S2\&.FragList with size 8192 -noOfPages = 1 noOfWords = 182 -Table Data -\-\-\-\-\-\-\-\-\-\- -Num Frags: 2 NoOfReplicas: 2 hashpointer: 4294967040 -kvalue: 6 mask: 0x00000000 method: HashMap -Storage is on Logged and checkpointed, survives SR -\-\-\-\-\-\- Fragment with FragId: 0 \-\-\-\-\-\-\-\- -Preferred Primary: 2 numStoredReplicas: 2 numOldStoredReplicas: 0 distKey: 0 LogPartId: 0 -\-\-\-\-\-\-\-Stored Replica\-\-\-\-\-\-\-\-\-\- -Replica node is: 2 initialGci: 2 numCrashedReplicas = 0 nextLcpNo = 1 -LcpNo[0]: maxGciCompleted: 1 maxGciStarted: 2 lcpId: 1 lcpStatus: valid -LcpNo[1]: maxGciCompleted: 0 maxGciStarted: 0 lcpId: 0 lcpStatus: invalid -\-\-\-\-\-\-\-Stored Replica\-\-\-\-\-\-\-\-\-\- -Replica node is: 3 initialGci: 2 numCrashedReplicas = 0 nextLcpNo = 1 -LcpNo[0]: maxGciCompleted: 1 maxGciStarted: 2 lcpId: 1 lcpStatus: valid -LcpNo[1]: maxGciCompleted: 0 maxGciStarted: 0 lcpId: 0 lcpStatus: invalid -\-\-\-\-\-\- Fragment with FragId: 1 \-\-\-\-\-\-\-\- -Preferred Primary: 3 numStoredReplicas: 2 numOldStoredReplicas: 0 distKey: 0 LogPartId: 1 -\-\-\-\-\-\-\-Stored Replica\-\-\-\-\-\-\-\-\-\- -Replica node is: 3 initialGci: 2 numCrashedReplicas = 0 nextLcpNo = 1 -LcpNo[0]: maxGciCompleted: 1 maxGciStarted: 2 lcpId: 1 lcpStatus: valid -LcpNo[1]: maxGciCompleted: 0 maxGciStarted: 0 lcpId: 0 lcpStatus: invalid -\-\-\-\-\-\-\-Stored Replica\-\-\-\-\-\-\-\-\-\- -Replica node is: 2 initialGci: 2 numCrashedReplicas = 0 nextLcpNo = 1 -LcpNo[0]: maxGciCompleted: 1 maxGciStarted: 2 lcpId: 1 lcpStatus: valid -LcpNo[1]: maxGciCompleted: 0 maxGciStarted: 0 lcpId: 0 lcpStatus: invalid -.fi -.if n \{\ -.RE -.\} -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "NOTES" -.IP " 1." 4 -NDB Cluster Data Node File System Directory Files -.RS 4 -\%http://dev.mysql.com/doc/ndb-internals/en/ndb-internals-ndbd-filesystemdir-files.html -.RE -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_print_schema_file.1 mysql-5.7-5.7.24/man/ndb_print_schema_file.1 --- mysql-5.7-5.7.23/man/ndb_print_schema_file.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_print_schema_file.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,88 +0,0 @@ -'\" t -.\" Title: \fBndb_print_schema_file\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_PRINT_SCHEMA_FILE\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_print_schema_file \- print NDB schema file contents -.SH "SYNOPSIS" -.HP \w'\fBndb_print_schema_file\ \fR\fB\fIfile_name\fR\fR\ 'u -\fBndb_print_schema_file \fR\fB\fIfile_name\fR\fR -.SH "DESCRIPTION" -.PP -\fBndb_print_schema_file\fR -obtains diagnostic information from a cluster schema file\&. -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_print_schema_file \fIfile_name\fR -.fi -.if n \{\ -.RE -.\} -.PP -\fIfile_name\fR -is the name of a cluster schema file\&. For more information about cluster schema files, see -\m[blue]\fBNDB Cluster Data Node File System Directory Files\fR\m[]\&\s-2\u[1]\d\s+2\&. -.PP -Like -\fBndb_print_backup_file\fR -and -\fBndb_print_sys_file\fR -(and unlike most of the other -NDB -utilities that are intended to be run on a management server host or to connect to a management server) -\fBndb_print_schema_file\fR -must be run on a cluster data node, since it accesses the data node file system directly\&. Because it does not make use of the management server, this utility can be used when the management server is not running, and even when the cluster has been completely shut down\&. -Additional Options.PP -None\&. -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "NOTES" -.IP " 1." 4 -NDB Cluster Data Node File System Directory Files -.RS 4 -\%http://dev.mysql.com/doc/ndb-internals/en/ndb-internals-ndbd-filesystemdir-files.html -.RE -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_print_sys_file.1 mysql-5.7-5.7.24/man/ndb_print_sys_file.1 --- mysql-5.7-5.7.23/man/ndb_print_sys_file.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_print_sys_file.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,91 +0,0 @@ -'\" t -.\" Title: \fBndb_print_sys_file\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_PRINT_SYS_FILE\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_print_sys_file \- print NDB system file contents -.SH "SYNOPSIS" -.HP \w'\fBndb_print_sys_file\ \fR\fB\fIfile_name\fR\fR\ 'u -\fBndb_print_sys_file \fR\fB\fIfile_name\fR\fR -.SH "DESCRIPTION" -.PP -\fBndb_print_sys_file\fR -obtains diagnostic information from an NDB Cluster system file\&. -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_print_sys_file \fIfile_name\fR -.fi -.if n \{\ -.RE -.\} -.PP -\fIfile_name\fR -is the name of a cluster system file (sysfile)\&. Cluster system files are located in a data node\*(Aqs data directory (DataDir); the path under this directory to system files matches the pattern -ndb_\fI#\fR_fs/D\fI#\fR/DBDIH/P\fI#\fR\&.sysfile\&. In each case, the -\fI#\fR -represents a number (not necessarily the same number)\&. For more information, see -\m[blue]\fBNDB Cluster Data Node File System Directory Files\fR\m[]\&\s-2\u[1]\d\s+2\&. -.PP -Like -\fBndb_print_backup_file\fR -and -\fBndb_print_schema_file\fR -(and unlike most of the other -NDB -utilities that are intended to be run on a management server host or to connect to a management server) -\fBndb_print_backup_file\fR -must be run on a cluster data node, since it accesses the data node file system directly\&. Because it does not make use of the management server, this utility can be used when the management server is not running, and even when the cluster has been completely shut down\&. -Additional Options.PP -None\&. -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "NOTES" -.IP " 1." 4 -NDB Cluster Data Node File System Directory Files -.RS 4 -\%http://dev.mysql.com/doc/ndb-internals/en/ndb-internals-ndbd-filesystemdir-files.html -.RE -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_redo_log_reader.1 mysql-5.7-5.7.24/man/ndb_redo_log_reader.1 --- mysql-5.7-5.7.23/man/ndb_redo_log_reader.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_redo_log_reader.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,784 +0,0 @@ -'\" t -.\" Title: \fBndb_redo_log_reader\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_REDO_LOG_READER\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_redo_log_reader \- check and print content of cluster redo log -.SH "SYNOPSIS" -.HP \w'\fBndb_redo_log_reader\ \fR\fB\fIfile_name\fR\fR\fB\ [\fR\fB\fIoptions\fR\fR\fB]\fR\ 'u -\fBndb_redo_log_reader \fR\fB\fIfile_name\fR\fR\fB [\fR\fB\fIoptions\fR\fR\fB]\fR -.SH "DESCRIPTION" -.PP -Reads a redo log file, checking it for errors, printing its contents in a human\-readable format, or both\&. -\fBndb_redo_log_reader\fR -is intended for use primarily by NDB Cluster developers and Support personnel in debugging and diagnosing problems\&. -.PP -This utility remains under development, and its syntax and behavior are subject to change in future NDB Cluster releases\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -.PP -Prior to NDB 7\&.2, this utility was named -\fBndbd_redo_log_reader\fR\&. -.sp .5v -.RE -.PP -The C++ source files for -\fBndb_redo_log_reader\fR -can be found in the directory -/storage/ndb/src/kernel/blocks/dblqh/redoLogReader\&. -.PP -The following table includes options that are specific to the NDB Cluster program -\fBndb_redo_log_reader\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndb_redo_log_reader\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.329.\ \&Command\-line options for the ndb_redo_log_reader program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l. -T{ -.PP --dump -T}:T{ -Print dump info -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP --filedescriptors -T}:T{ -Print file descriptors only -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---help -T}:T{ -Print usage information -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP --lap -T}:T{ -Provide lap info, with max GCI started and completed -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP --mbyte # -T}:T{ -Starting megabyte -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP --mbyteheaders -T}:T{ -Show only the first page header of every megabyte in the file -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP --nocheck -T}:T{ -Do not check records for errors -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP --noprint -T}:T{ -Do not print records -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP --page # -T}:T{ -Start with this page -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP --pageheaders -T}:T{ -Show page headers only -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP --pageindex # -T}:T{ -Start with this page index -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP --twiddle -T}:T{ -Bit-shifted dump -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_redo_log_reader \fIfile_name\fR [\fIoptions\fR] -.fi -.if n \{\ -.RE -.\} -.PP -\fIfile_name\fR -is the name of a cluster redo log file\&. redo log files are located in the numbered directories under the data node\*(Aqs data directory (DataDir); the path under this directory to the redo log files matches the pattern -ndb_\fInodeid\fR_fs/D\fI#\fR/DBLQH/S\fI#\fR\&.FragLog\&. -\fInodeid\fR -is the data node\*(Aqs node ID\&. The two instances of -\fI#\fR -each represent a number (not necessarily the same number); the number following -D -is in the range 8\-39 inclusive; the range of the number following -S -varies according to the value of the -NoOfFragmentLogFiles -configuration parameter, whose default value is 16; thus, the default range of the number in the file name is 0\-15 inclusive\&. For more information, see -\m[blue]\fBNDB Cluster Data Node File System Directory Files\fR\m[]\&\s-2\u[1]\d\s+2\&. -.PP -The name of the file to be read may be followed by one or more of the options listed here: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-dump\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ --dump -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Print dump info\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ --filedescriptors -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -\fB\-filedescriptors\fR: Print file descriptors only\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---help -T} -.TE -.sp 1 -\fB\-\-help\fR: Print usage information\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-lap\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ --lap -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Provide lap info, with max GCI started and completed\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ --mbyte # -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -0 -T} -T{ -\fBMinimum Value\fR -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR -T}:T{ -15 -T} -.TE -.sp 1 -\fB\-mbyte \fR\fB\fI#\fR\fR: Starting megabyte\&. -.sp -\fI#\fR -is an integer in the range 0 to 15, inclusive\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ --mbyteheaders -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -\fB\-mbyteheaders\fR: Show only the first page header of every megabyte in the file\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ --noprint -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -\fB\-noprint\fR: Do not print the contents of the log file\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ --nocheck -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -\fB\-nocheck\fR: Do not check the log file for errors\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ --page # -T} -T{ -\fBType\fR -T}:T{ -integer -T} -T{ -\fBDefault Value\fR -T}:T{ -0 -T} -T{ -\fBMinimum Value\fR -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR -T}:T{ -31 -T} -.TE -.sp 1 -\fB\-page \fR\fB\fI#\fR\fR: Start at this page\&. -.sp -\fI#\fR -is an integer in the range 0 to 31, inclusive\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ --pageheaders -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -\fB\-pageheaders\fR: Show page headers only\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ --pageindex # -T} -T{ -\fBType\fR -T}:T{ -integer -T} -T{ -\fBDefault Value\fR -T}:T{ -12 -T} -T{ -\fBMinimum Value\fR -T}:T{ -12 -T} -T{ -\fBMaximum Value\fR -T}:T{ -8191 -T} -.TE -.sp 1 -\fB\-pageindex \fR\fB\fI#\fR\fR: Start at this page index\&. -.sp -\fI#\fR -is an integer between 12 and 8191, inclusive\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-twiddle\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ --twiddle -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Bit\-shifted dump\&. -.RE -.PP -Like -\fBndb_print_backup_file\fR -and -\fBndb_print_schema_file\fR -(and unlike most of the -NDB -utilities that are intended to be run on a management server host or to connect to a management server) -\fBndb_redo_log_reader\fR -must be run on a cluster data node, since it accesses the data node file system directly\&. Because it does not make use of the management server, this utility can be used when the management server is not running, and even when the cluster has been completely shut down\&. -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "NOTES" -.IP " 1." 4 -NDB Cluster Data Node File System Directory Files -.RS 4 -\%http://dev.mysql.com/doc/ndb-internals/en/ndb-internals-ndbd-filesystemdir-files.html -.RE -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_restore.1 mysql-5.7-5.7.24/man/ndb_restore.1 --- mysql-5.7-5.7.23/man/ndb_restore.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_restore.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,3843 +0,0 @@ -'\" t -.\" Title: \fBndb_restore\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_RESTORE\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_restore \- restore an NDB Cluster backup -.SH "SYNOPSIS" -.HP \w'\fBndb_restore\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndb_restore \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -The cluster restoration program is implemented as a separate command\-line utility -\fBndb_restore\fR, which can normally be found in the MySQL -bin -directory\&. This program reads the files created as a result of the backup and inserts the stored information into the database\&. -.PP -\fBndb_restore\fR -must be executed once for each of the backup files that were created by the -START BACKUP -command used to create the backup (see -Section\ \&21.5.3.2, \(lqUsing The NDB Cluster Management Client to Create a Backup\(rq)\&. This is equal to the number of data nodes in the cluster at the time that the backup was created\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -.PP -Before using -\fBndb_restore\fR, it is recommended that the cluster be running in single user mode, unless you are restoring multiple data nodes in parallel\&. See -Section\ \&21.5.8, \(lqNDB Cluster Single User Mode\(rq, for more information\&. -.sp .5v -.RE -.PP -The following table includes options that are specific to the NDB Cluster native backup restoration program -\fBndb_restore\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndb_restore\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.330.\ \&Command\-line options for the ndb_restore program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l. -T{ -.PP ---append -T}:T{ -Append data to a tab-delimited file -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---backup_path=dir_name -T}:T{ -Path to backup files directory -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---backupid=#, -.PP --b -T}:T{ -Restore from the backup with the given ID -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---connect, -.PP --c -T}:T{ -Alias for --connectstring. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---disable-indexes -T}:T{ -Causes indexes from a backup to be ignored; may decrease time needed to - restore data. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---dont_ignore_systab_0, -.PP --f -T}:T{ -Do not ignore system table during restore. Experimental only; not for - production use -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---exclude-databases=db-list -T}:T{ -List of one or more databases to exclude (includes those not named) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---exclude-intermediate-sql-tables[=TRUE|FALSE] -T}:T{ -If TRUE (the default), do not restore any intermediate tables (having - names prefixed with '#sql-') that were left over from - copying ALTER TABLE operations. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---exclude-missing-columns -T}:T{ -Causes columns from the backup version of a table that are missing from - the version of the table in the database to be ignored. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---exclude-missing-tables -T}:T{ -Causes tables from the backup that are missing from the database to be - ignored. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---exclude-tables=table-list -T}:T{ -List of one or more tables to exclude (includes those in the same - database that are not named); each table reference must - include the database name -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---fields-enclosed-by=char -T}:T{ -Fields are enclosed with the indicated character -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---fields-optionally-enclosed-by -T}:T{ -Fields are optionally enclosed with the indicated character -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---fields-terminated-by=char -T}:T{ -Fields are terminated by the indicated character -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---hex -T}:T{ -Print binary types in hexadecimal format -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---include-databases=db-list -T}:T{ -List of one or more databases to restore (excludes those not named) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---include-tables=table-list -T}:T{ -List of one or more tables to restore (excludes those in same database - that are not named); each table reference must include the - database name -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---lines-terminated-by=char -T}:T{ -Lines are terminated by the indicated character -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---lossy-conversions, -.PP --L -T}:T{ -Allow lossy conversions of column values (type demotions or changes in - sign) when restoring data from backup -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---no-binlog -T}:T{ -If a mysqld is connected and using binary logging, do not log the - restored data -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---no-restore-disk-objects, -.PP --d -T}:T{ -Do not restore objects relating to Disk Data -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---no-upgrade, -.PP --u -T}:T{ -Do not upgrade array type for varsize attributes which do not already - resize VAR data, and do not change column attributes -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---ndb-nodegroup-map=map, -.PP --z -T}:T{ -Nodegroup map for NDBCLUSTER storage engine. Syntax: list of - (source_nodegroup, destination_nodegroup) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---nodeid=#, -.PP --n -T}:T{ -ID of node where backup was taken -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---parallelism=#, -.PP --p -T}:T{ -Number of parallel transactions to use while restoring data -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---preserve-trailing-spaces, -.PP --P -T}:T{ -Allow preservation of trailing spaces (including padding) when promoting - fixed-width string types to variable-width types -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---print -T}:T{ -Print metadata, data and log to stdout (equivalent to --print_meta - --print_data --print_log) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---print_data -T}:T{ -Print data to stdout -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---print_log -T}:T{ -Print to stdout -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---print_meta -T}:T{ -Print metadata to stdout -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP -print-sql-log -T}:T{ -Write SQL log to stdout; default is FALSE -T}:T{ -.PP -ADDED: NDB 7.5.4 -T} -T{ -.PP ---progress-frequency=# -T}:T{ -Print status of restoration each given number of seconds -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---promote-attributes, -.PP --A -T}:T{ -Allow attributes to be promoted when restoring data from backup -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---rebuild-indexes -T}:T{ -Causes multithreaded rebuilding of ordered indexes found in the backup. - Number of threads used is determined by setting - BuildIndexThreads parameter. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---restore_data, -.PP --r -T}:T{ -Restore table data and logs into NDB Cluster using the NDB API -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---restore_epoch, -.PP --e -T}:T{ -Restore epoch info into the status table. Convenient on a MySQL Cluster - replication slave for starting replication. The row in - mysql.ndb_apply_status with id 0 will be updated/inserted. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---restore_meta, -.PP --m -T}:T{ -Restore metadata to NDB Cluster using the NDB API -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---restore-privilege-tables -T}:T{ -Restore MySQL privilege tables that were previously moved to NDB. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---rewrite-database=olddb,newdb -T}:T{ -Restores to a database with a different name than the original -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---skip-broken-objects -T}:T{ -Causes missing blob tables in the backup file to be ignored. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---skip-table-check, -.PP --s -T}:T{ -Skip table structure check during restoring of data -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---skip-unknown-objects -T}:T{ -Causes schema objects not recognized by ndb_restore to be ignored when - restoring a backup made from a newer MySQL Cluster version - to an older version. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---tab=dir_name, -.PP --T dir_name -T}:T{ -Creates a tab-separated .txt file for each table in the given path -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---verbose=# -T}:T{ -Level of verbosity in output -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -.PP -Typical options for this utility are shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_restore [\-c \fIconnection_string\fR] \-n \fInode_id\fR \-b \fIbackup_id\fR \e - [\-m] \-r \-\-backup_path=\fI/path/to/backup/files\fR -.fi -.if n \{\ -.RE -.\} -.PP -Normally, when restoring from an NDB Cluster backup, -\fBndb_restore\fR -requires at a minimum the -\fB\-\-nodeid\fR -(short form: -\fB\-n\fR), -\fB\-\-backupid\fR -(short form: -\fB\-b\fR), and -\fB\-\-backup_path\fR -options\&. In addition, when -\fBndb_restore\fR -is used to restore any tables containing unique indexes, you must include -\fB\-\-disable\-indexes\fR -or -\fB\-\-rebuild\-indexes\fR\&. (Bug #57782, Bug #11764893) -.PP -The -\fB\-c\fR -option is used to specify a connection string which tells -ndb_restore -where to locate the cluster management server (see -Section\ \&21.3.3.3, \(lqNDB Cluster Connection Strings\(rq)\&. If this option is not used, then -\fBndb_restore\fR -attempts to connect to a management server on -localhost:1186\&. This utility acts as a cluster API node, and so requires a free connection -\(lqslot\(rq -to connect to the cluster management server\&. This means that there must be at least one -[api] -or -[mysqld] -section that can be used by it in the cluster -config\&.ini -file\&. It is a good idea to keep at least one empty -[api] -or -[mysqld] -section in -config\&.ini -that is not being used for a MySQL server or other application for this reason (see -Section\ \&21.3.3.7, \(lqDefining SQL and Other API Nodes in an NDB Cluster\(rq)\&. -.PP -You can verify that -\fBndb_restore\fR -is connected to the cluster by using the -\fBSHOW\fR -command in the -\fBndb_mgm\fR -management client\&. You can also accomplish this from a system shell, as shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_mgm \-e "SHOW"\fR -.fi -.if n \{\ -.RE -.\} -.PP -More detailed information about all options used by ndb_restore can be found in the following list: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-append\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---append -T} -.TE -.sp 1 -When used with the -\fB\-\-tab\fR -and -\fB\-\-print_data\fR -options, this causes the data to be appended to any existing files having the same names\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-backup_path\fR=\fIdir_name\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---backup-path=dir_name -T} -T{ -\fBType\fR -T}:T{ -directory name -T} -T{ -\fBDefault Value\fR -T}:T{ -./ -T} -.TE -.sp 1 -The path to the backup directory is required; this is supplied to -\fBndb_restore\fR -using the -\fB\-\-backup_path\fR -option, and must include the subdirectory corresponding to the ID backup of the backup to be restored\&. For example, if the data node\*(Aqs -DataDir -is -/var/lib/mysql\-cluster, then the backup directory is -/var/lib/mysql\-cluster/BACKUP, and the backup files for the backup with the ID 3 can be found in -/var/lib/mysql\-cluster/BACKUP/BACKUP\-3\&. The path may be absolute or relative to the directory in which the -\fBndb_restore\fR -executable is located, and may be optionally prefixed with -\fBbackup_path=\fR\&. -.sp -It is possible to restore a backup to a database with a different configuration than it was created from\&. For example, suppose that a backup with backup ID -12, created in a cluster with two storage nodes having the node IDs -2 -and -3, is to be restored to a cluster with four nodes\&. Then -\fBndb_restore\fR -must be run twice\(emonce for each storage node in the cluster where the backup was taken\&. However, -\fBndb_restore\fR -cannot always restore backups made from a cluster running one version of MySQL to a cluster running a different MySQL version\&. See -Section\ \&21.2.8, \(lqUpgrading and Downgrading NDB Cluster\(rq, for more information\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBImportant\fR -.ps -1 -.br -It is not possible to restore a backup made from a newer version of NDB Cluster using an older version of -\fBndb_restore\fR\&. You can restore a backup made from a newer version of MySQL to an older cluster, but you must use a copy of -\fBndb_restore\fR -from the newer NDB Cluster version to do so\&. -.sp -For example, to restore a cluster backup taken from a cluster running NDB Cluster 7\&.5\&.11 to a cluster running NDB Cluster 7\&.4\&.21, you must use the -\fBndb_restore\fR -that comes with the NDB Cluster 7\&.5\&.11 distribution\&. -.sp .5v -.RE -For more rapid restoration, the data may be restored in parallel, provided that there is a sufficient number of cluster connections available\&. That is, when restoring to multiple nodes in parallel, you must have an -[api] -or -[mysqld] -section in the cluster -config\&.ini -file available for each concurrent -\fBndb_restore\fR -process\&. However, the data files must always be applied before the logs\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-backupid\fR=\fI#\fR, -\fB\-b\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---backupid=# -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -none -T} -.TE -.sp 1 -This option is used to specify the ID or sequence number of the backup, and is the same number shown by the management client in the -Backup \fIbackup_id\fR completed -message displayed upon completion of a backup\&. (See -Section\ \&21.5.3.2, \(lqUsing The NDB Cluster Management Client to Create a Backup\(rq\&.) -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBImportant\fR -.ps -1 -.br -When restoring cluster backups, you must be sure to restore all data nodes from backups having the same backup ID\&. Using files from different backups will at best result in restoring the cluster to an inconsistent state, and may fail altogether\&. -.sp .5v -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-connect\fR, -\fB\-c\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---connect -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -localhost:1186 -T} -.TE -.sp 1 -Alias for -\fB\-\-ndb\-connectstring\fR\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-disable\-indexes\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---disable-indexes -T} -.TE -.sp 1 -Disable restoration of indexes during restoration of the data from a native -NDB -backup\&. Afterwards, you can restore indexes for all tables at once with multithreaded building of indexes using -\fB\-\-rebuild\-indexes\fR, which should be faster than rebuilding indexes concurrently for very large tables\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-dont_ignore_systab_0\fR, -\fB\-f\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---dont-ignore-systab-0 -T} -.TE -.sp 1 -Normally, when restoring table data and metadata, -\fBndb_restore\fR -ignores the copy of the -NDB -system table that is present in the backup\&. -\fB\-\-dont_ignore_systab_0\fR -causes the system table to be restored\&. -\fIThis option is intended for experimental and development use only, and is not recommended in a production environment\fR\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-exclude\-databases\fR=\fIdb\-list\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---exclude-databases=db-list -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -T} -.TE -.sp 1 -Comma\-delimited list of one or more databases which should not be restored\&. -.sp -This option is often used in combination with -\fB\-\-exclude\-tables\fR; see that option\*(Aqs description for further information and examples\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-exclude\-intermediate\-sql\-tables[\fR=\fITRUE|FALSE]\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---exclude-intermediate-sql-tables[=TRUE|FALSE] -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -TRUE -T} -.TE -.sp 1 -When performing copying -ALTER TABLE -operations, -\fBmysqld\fR -creates intermediate tables (whose names are prefixed with -#sql\-)\&. When -TRUE, the -\fB\-\-exclude\-intermediate\-sql\-tables\fR -option keeps -\fBndb_restore\fR -from restoring such tables that may have been left over from these operations\&. This option is -TRUE -by default\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-exclude\-missing\-columns\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---exclude-missing-columns -T} -.TE -.sp 1 -It is possible to restore only selected table columns using this option, which causes -\fBndb_restore\fR -to ignore any columns missing from tables being restored as compared to the versions of those tables found in the backup\&. This option applies to all tables being restored\&. If you wish to apply this option only to selected tables or databases, you can use it in combination with one or more of the -\fB\-\-include\-*\fR -or -\fB\-\-exclude\-*\fR -options described elsewhere in this section to do so, then restore data to the remaining tables using a complementary set of these options\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-exclude\-missing\-tables\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---exclude-missing-tables -T} -.TE -.sp 1 -It is possible to restore only selected tables using this option, which causes -\fBndb_restore\fR -to ignore any tables from the backup that are not found in the target database\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-exclude\-tables\fR=\fItable\-list\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---exclude-tables=table-list -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -T} -.TE -.sp 1 -List of one or more tables to exclude; each table reference must include the database name\&. Often used together with -\fB\-\-exclude\-databases\fR\&. -.sp -When -\fB\-\-exclude\-databases\fR -or -\fB\-\-exclude\-tables\fR -is used, only those databases or tables named by the option are excluded; all other databases and tables are restored by -\fBndb_restore\fR\&. -.sp -This table shows several invocations of -\fBndb_restore\fR -usng -\fB\-\-exclude\-*\fR -options (other options possibly required have been omitted for clarity), and the effects these options have on restoring from an NDB Cluster backup: -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.331.\ \&Several invocations of ndb_restore using \-\-exclude\-* options, and the effects these options have on restoring from an NDB Cluster backup\&. -.TS -allbox tab(:); -lB lB. -T{ -Option -T}:T{ -Result -T} -.T& -l l -l l -l l -l l. -T{ -\fB--exclude-databases=db1\fR -T}:T{ -All tables in all databases except db1 are restored; - no tables in db1 are restored -T} -T{ -\fB--exclude-databases=db1,db2\fR (or - \fB--exclude-databases=db1\fR - \fB--exclude-databases=db2\fR) -T}:T{ -All tables in all databases except db1 and - db2 are restored; no tables in - db1 or db2 are - restored -T} -T{ -\fB--exclude-tables=db1.t1\fR -T}:T{ -All tables except t1 in database - db1 are restored; all other tables - in db1 are restored; all tables in - all other databases are restored -T} -T{ -\fB--exclude-tables=db1.t2,db2.t1\fR (or - \fB--exclude-tables=db1.t2\fR - \fB--exclude-tables=db2.t1)\fR -T}:T{ -All tables in database db1 except for - t2 and all tables in database - db2 except for table - t1 are restored; no other tables in - db1 or db2 are - restored; all tables in all other databases are - restored -T} -.TE -.sp 1 -You can use these two options together\&. For example, the following causes all tables in all databases -\fIexcept for\fR -databases -db1 -and -db2, and tables -t1 -and -t2 -in database -db3, to be restored: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_restore [\&.\&.\&.] \-\-exclude\-databases=db1,db2 \-\-exclude\-tables=db3\&.t1,db3\&.t2\fR -.fi -.if n \{\ -.RE -.\} -.sp -(Again, we have omitted other possibly necessary options in the interest of clarity and brevity from the example just shown\&.) -.sp -You can use -\fB\-\-include\-*\fR -and -\fB\-\-exclude\-*\fR -options together, subject to the following rules: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -The actions of all -\fB\-\-include\-*\fR -and -\fB\-\-exclude\-*\fR -options are cumulative\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -All -\fB\-\-include\-*\fR -and -\fB\-\-exclude\-*\fR -options are evaluated in the order passed to ndb_restore, from right to left\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -In the event of conflicting options, the first (rightmost) option takes precedence\&. In other words, the first option (going from right to left) that matches against a given database or table -\(lqwins\(rq\&. -.RE -.sp -For example, the following set of options causes -\fBndb_restore\fR -to restore all tables from database -db1 -except -db1\&.t1, while restoring no other tables from any other databases: -.sp -.if n \{\ -.RS 4 -.\} -.nf -\-\-include\-databases=db1 \-\-exclude\-tables=db1\&.t1 -.fi -.if n \{\ -.RE -.\} -.sp -However, reversing the order of the options just given simply causes all tables from database -db1 -to be restored (including -db1\&.t1, but no tables from any other database), because the -\fB\-\-include\-databases\fR -option, being farthest to the right, is the first match against database -db1 -and thus takes precedence over any other option that matches -db1 -or any tables in -db1: -.sp -.if n \{\ -.RS 4 -.\} -.nf -\-\-exclude\-tables=db1\&.t1 \-\-include\-databases=db1 -.fi -.if n \{\ -.RE -.\} -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-fields\-enclosed\-by\fR=\fIchar\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---fields-enclosed-by=char -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -T} -.TE -.sp 1 -Each column value is enclosed by the string passed to this option (regardless of data type; see the description of -\fB\-\-fields\-optionally\-enclosed\-by\fR)\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-fields\-optionally\-enclosed\-by\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---fields-optionally-enclosed-by -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -T} -.TE -.sp 1 -The string passed to this option is used to enclose column values containing character data (such as -CHAR, -VARCHAR, -BINARY, -TEXT, or -ENUM)\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-fields\-terminated\-by\fR=\fIchar\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---fields-terminated-by=char -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -\t (tab) -T} -.TE -.sp 1 -The string passed to this option is used to separate column values\&. The default value is a tab character (\et)\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-hex\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---hex -T} -.TE -.sp 1 -If this option is used, all binary values are output in hexadecimal format\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-include\-databases\fR=\fIdb\-list\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---include-databases=db-list -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -T} -.TE -.sp 1 -Comma\-delimited list of one or more databases to restore\&. Often used together with -\fB\-\-include\-tables\fR; see the description of that option for further information and examples\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-include\-tables\fR=\fItable\-list\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---include-tables=table-list -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -T} -.TE -.sp 1 -Comma\-delimited list of tables to restore; each table reference must include the database name\&. -.sp -When -\fB\-\-include\-databases\fR -or -\fB\-\-include\-tables\fR -is used, only those databases or tables named by the option are restored; all other databases and tables are excluded by -\fBndb_restore\fR, and are not restored\&. -.sp -The following table shows several invocations of -\fBndb_restore\fR -using -\fB\-\-include\-*\fR -options (other options possibly required have been omitted for clarity), and the effects these have on restoring from an NDB Cluster backup: -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.332.\ \&Several invocations of ndb_restore using \-\-include\-* options, and their effects on restoring from an NDB Cluster backup\&. -.TS -allbox tab(:); -lB lB. -T{ -Option -T}:T{ -Result -T} -.T& -l l -l l -l l -l l. -T{ -\fB--include-databases=db1\fR -T}:T{ -Only tables in database db1 are restored; all tables - in all other databases are ignored -T} -T{ -\fB--include-databases=db1,db2\fR (or - \fB--include-databases=db1\fR - \fB--include-databases=db2\fR) -T}:T{ -Only tables in databases db1 and - db2 are restored; all tables in all - other databases are ignored -T} -T{ -\fB--include-tables=db1.t1\fR -T}:T{ -Only table t1 in database db1 is - restored; no other tables in db1 or - in any other database are restored -T} -T{ -\fB--include-tables=db1.t2,db2.t1\fR (or - \fB--include-tables=db1.t2\fR - \fB--include-tables=db2.t1\fR) -T}:T{ -Only the table t2 in database db1 - and the table t1 in database - db2 are restored; no other tables - in db1, db2, or - any other database are restored -T} -.TE -.sp 1 -You can also use these two options together\&. For example, the following causes all tables in databases -db1 -and -db2, together with the tables -t1 -and -t2 -in database -db3, to be restored (and no other databases or tables): -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_restore [\&.\&.\&.] \-\-include\-databases=db1,db2 \-\-include\-tables=db3\&.t1,db3\&.t2\fR -.fi -.if n \{\ -.RE -.\} -.sp -(Again we have omitted other, possibly required, options in the example just shown\&.) -.sp -It also possible to restore only selected databases, or selected tables from a single database, without any -\fB\-\-include\-*\fR -(or -\fB\-\-exclude\-*\fR) options, using the syntax shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_restore \fIother_options\fR \fIdb_name\fR,[\fIdb_name\fR[,\&.\&.\&.] | \fItbl_name\fR[,\fItbl_name\fR][,\&.\&.\&.]] -.fi -.if n \{\ -.RE -.\} -.sp -In other words, you can specify either of the following to be restored: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -All tables from one or more databases -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -One or more tables from a single database -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-lines\-terminated\-by\fR=\fIchar\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---lines-terminated-by=char -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -\n (linebreak) -T} -.TE -.sp 1 -Specifies the string used to end each line of output\&. The default is a linefeed character (\en)\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-lossy\-conversions\fR, -\fB\-L\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---lossy-conversions -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE (If option is not used) -T} -.TE -.sp 1 -This option is intended to complement the -\fB\-\-promote\-attributes\fR -option\&. Using -\fB\-\-lossy\-conversions\fR -allows lossy conversions of column values (type demotions or changes in sign) when restoring data from backup\&. With some exceptions, the rules governing demotion are the same as for MySQL replication; see -Section\ \&16.4.1.10.2, \(lqReplication of Columns Having Different Data Types\(rq, for information about specific type conversions currently supported by attribute demotion\&. -.sp -\fBndb_restore\fR -reports any truncation of data that it performs during lossy conversions once per attribute and column\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-no\-binlog\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---no-binlog -T} -.TE -.sp 1 -This option prevents any connected SQL nodes from writing data restored by -\fBndb_restore\fR -to their binary logs\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-no\-restore\-disk\-objects\fR, -\fB\-d\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---no-restore-disk-objects -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -This option stops -\fBndb_restore\fR -from restoring any NDB Cluster Disk Data objects, such as tablespaces and log file groups; see -Section\ \&21.5.13, \(lqNDB Cluster Disk Data Tables\(rq, for more information about these\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-no\-upgrade\fR, -\fB\-u\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---no-upgrade -T} -.TE -.sp 1 -When using -\fBndb_restore\fR -to restore a backup, -VARCHAR -columns created using the old fixed format are resized and recreated using the variable\-width format now employed\&. This behavior can be overridden by specifying -\fB\-\-no\-upgrade\fR\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-ndb\-nodegroup\-map\fR=\fImap\fR, -\fB\-z\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---ndb-nodegroup-map=map -T} -.TE -.sp 1 -This option can be used to restore a backup taken from one node group to a different node group\&. Its argument is a list of the form -\fIsource_node_group\fR, \fItarget_node_group\fR\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-nodeid\fR=\fI#\fR, -\fB\-n\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---nodeid=# -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -none -T} -.TE -.sp 1 -Specify the node ID of the data node on which the backup was taken\&. -.sp -When restoring to a cluster with different number of data nodes from that where the backup was taken, this information helps identify the correct set or sets of files to be restored to a given node\&. (In such cases, multiple files usually need to be restored to a single data node\&.) See -the section called \(lqRestoring to a different number of data nodes\(rq, for additional information and examples\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-parallelism\fR=\fI#\fR, -\fB\-p\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---parallelism=# -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -128 -T} -T{ -\fBMinimum Value\fR -T}:T{ -1 -T} -T{ -\fBMaximum Value\fR -T}:T{ -1024 -T} -.TE -.sp 1 -\fBndb_restore\fR -uses single\-row transactions to apply many rows concurrently\&. This parameter determines the number of parallel transactions (concurrent rows) that an instance of -\fBndb_restore\fR -tries to use\&. By default, this is 128; the minimum is 1, and the maximum is 1024\&. -.sp -The work of performing the inserts is parallelized across the threads in the data nodes involved\&. This mechanism is employed for restoring bulk data from the -\&.Data -file\(emthat is, the fuzzy snapshot of the data; it is not used for building or rebuilding indexes\&. The change log is applied serially; index drops and builds are DDL operations and handled separately\&. There is no thread\-level parallelism on the client side of the restore\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-preserve\-trailing\-spaces\fR, -\fB\-P\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---preserve-trailing-spaces -T} -.TE -.sp 1 -Cause trailing spaces to be preserved when promoting a fixed\-width character data type to its variable\-width equivalent\(emthat is, when promoting a -CHAR -column value to -VARCHAR, or a -BINARY -column value to -VARBINARY\&. Otherwise, any trailing spaces are dropped from such column values when they are inserted into the new columns\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -Although you can promote -CHAR -columns to -VARCHAR -and -BINARY -columns to -VARBINARY, you cannot promote -VARCHAR -columns to -CHAR -or -VARBINARY -columns to -BINARY\&. -.sp .5v -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-print\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---print -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Causes -\fBndb_restore\fR -to print all data, metadata, and logs to -stdout\&. Equivalent to using the -\fB\-\-print_data\fR, -\fB\-\-print_meta\fR, and -\fB\-\-print_log\fR -options together\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -Use of -\fB\-\-print\fR -or any of the -\fB\-\-print_*\fR -options is in effect performing a dry run\&. Including one or more of these options causes any output to be redirected to -stdout; in such cases, -\fBndb_restore\fR -makes no attempt to restore data or metadata to an NDB Cluster\&. -.sp .5v -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-print_data\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---print-data -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Cause -\fBndb_restore\fR -to direct its output to -stdout\&. Often used together with one or more of -\fB\-\-tab\fR, -\fB\-\-fields\-enclosed\-by\fR, -\fB\-\-fields\-optionally\-enclosed\-by\fR, -\fB\-\-fields\-terminated\-by\fR, -\fB\-\-hex\fR, and -\fB\-\-append\fR\&. -.sp -TEXT -and -BLOB -column values are always truncated\&. Such values are truncated to the first 256 bytes in the output\&. This cannot currently be overridden when using -\fB\-\-print_data\fR\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-print_log\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---print-log -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Cause -\fBndb_restore\fR -to output its log to -stdout\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-print_meta\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---print-meta -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Print all metadata to -stdout\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fBprint\-sql\-log\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ -print-sql-log -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.16-ndb-7.5.4 -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Log SQL statements to -stdout\&. Use the option to enable; normally this behavior is disabled\&. The option checks before attempting to log whether all the tables being restored have explicitly defined primary keys; queries on a table having only the hidden primary key implemented by -NDB -cannot be converted to valid SQL\&. -.sp -The -\fB\-\-print\-sql\-log\fR -option was added in NDB 7\&.5\&.4\&. (Bug #13511949) -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-progress\-frequency\fR=\fIN\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---progress-frequency=# -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -0 -T} -T{ -\fBMinimum Value\fR -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR -T}:T{ -65535 -T} -.TE -.sp 1 -Print a status report each -\fIN\fR -seconds while the backup is in progress\&. 0 (the default) causes no status reports to be printed\&. The maximum is 65535\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-promote\-attributes\fR, -\fB\-A\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---promote-attributes -T} -.TE -.sp 1 -\fBndb_restore\fR -supports limited -\fIattribute promotion\fR -in much the same way that it is supported by MySQL replication; that is, data backed up from a column of a given type can generally be restored to a column using a -\(lqlarger, similar\(rq -type\&. For example, data from a -CHAR(20) -column can be restored to a column declared as -VARCHAR(20), -VARCHAR(30), or -CHAR(30); data from a -MEDIUMINT -column can be restored to a column of type -INT -or -BIGINT\&. See -Section\ \&16.4.1.10.2, \(lqReplication of Columns Having Different Data Types\(rq, for a table of type conversions currently supported by attribute promotion\&. -.sp -Attribute promotion by -\fBndb_restore\fR -must be enabled explicitly, as follows: -.sp -.RS 4 -.ie n \{\ -\h'-04' 1.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 1." 4.2 -.\} -Prepare the table to which the backup is to be restored\&. -\fBndb_restore\fR -cannot be used to re\-create the table with a different definition from the original; this means that you must either create the table manually, or alter the columns which you wish to promote using -ALTER TABLE -after restoring the table metadata but before restoring the data\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04' 2.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 2." 4.2 -.\} -Invoke -\fBndb_restore\fR -with the -\fB\-\-promote\-attributes\fR -option (short form -\fB\-A\fR) when restoring the table data\&. Attribute promotion does not occur if this option is not used; instead, the restore operation fails with an error\&. -.RE -.sp -When converting between character data types and -TEXT -or -BLOB, only conversions between character types (CHAR -and -VARCHAR) and binary types (BINARY -and -VARBINARY) can be performed at the same time\&. For example, you cannot promote an -INT -column to -BIGINT -while promoting a -VARCHAR -column to -TEXT -in the same invocation of -\fBndb_restore\fR\&. -.sp -Converting between -TEXT -columns using different character sets is not supported, and is expressly disallowed\&. -.sp -When performing conversions of character or binary types to -TEXT -or -BLOB -with -\fBndb_restore\fR, you may notice that it creates and uses one or more staging tables named -\fItable_name\fR$ST\fInode_id\fR\&. These tables are not needed afterwards, and are normally deleted by -\fBndb_restore\fR -following a successful restoration\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-rebuild\-indexes\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---rebuild-indexes -T} -.TE -.sp 1 -Enable multithreaded rebuilding of the ordered indexes while restoring a native -NDB -backup\&. The number of threads used for building ordered indexes by -\fBndb_restore\fR -with this option is controlled by the -BuildIndexThreads -data node configuration parameter and the number of LDMs\&. -It is necessary to use this option only for the first run of -\fBndb_restore\fR; this causes all ordered indexes to be rebuilt without using -\fB\-\-rebuild\-indexes\fR -again when restoring subsequent nodes\&. You should use this option prior to inserting new rows into the database; otherwise, it is possible for a row to be inserted that later causes a unique constraint violation when trying to rebuild the indexes\&. -.sp -Building of ordered indices is parallelized with the number of LDMs by default\&. Offline index builds performed during node and system restarts can be made faster using the -BuildIndexThreads -data node configuration parameter; this parameter has no effect on dropping and rebuilding of indexes by -\fBndb_restore\fR, which is performed online\&. -.sp -Rebuilding of unique indexes uses disk write bandwidth for redo logging and local checkpointing\&. An insufficient amount of this bandwith can lead to redo buffer overload or log overload errors\&. In such cases you can run -\fBndb_restore\fR -\fB\-\-rebuild\-indexes\fR -again; the process resumes at the point where the error occurred\&. You can also do this when you have encountered temporary errors\&. You can repeat execution of -\fBndb_restore\fR -\fB\-\-rebuild\-indexes\fR -indefinitely; you may be able to stop such errors by reducing the value of -\fB\-\-parallelism\fR\&. If the problem is insufficient space, you can increase the size of the redo log (FragmentLogFileSize -node configuration parameter), or you can increase the speed at which LCPs are performed (MaxDiskWriteSpeed -and related parameters), in order to free space more quickly\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-restore_data\fR, -\fB\-r\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---restore-data -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Output -NDB -table data and logs\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-restore_epoch\fR, -\fB\-e\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---restore-epoch -T} -.TE -.sp 1 -Add (or restore) epoch information to the cluster replication status table\&. This is useful for starting replication on an NDB Cluster replication slave\&. When this option is used, the row in the -mysql\&.ndb_apply_status -having -0 -in the -id -column is updated if it already exists; such a row is inserted if it does not already exist\&. (See -Section\ \&21.6.9, \(lqNDB Cluster Backups With NDB Cluster Replication\(rq\&.) -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-restore_meta\fR, -\fB\-m\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---restore-meta -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -This option causes -\fBndb_restore\fR -to print -NDB -table metadata\&. -.sp -The first time you run the -\fBndb_restore\fR -restoration program, you also need to restore the metadata\&. In other words, you must re\-create the database tables\(emthis can be done by running it with the -\fB\-\-restore_meta\fR -(\fB\-m\fR) option\&. Restoring the metadata need be done only on a single data node; this is sufficient to restore it to the entire cluster\&. -.sp -In older versions of NDB Cluster, tables whose schemas were restored using this option used the same number of partitions as they did on the original cluster, even if it had a differing number of data nodes from the new cluster\&. In NDB 7\&.5\&.2 and later, when restoring metadata, this is no longer an issue; -\fBndb_restore\fR -now uses the default number of partitions for the target cluster, unless the number of local data manager threads is also changed from what it was for data nodes in the original cluster\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -The cluster should have an empty database when starting to restore a backup\&. (In other words, you should start the data nodes with -\fB\-\-initial\fR -prior to performing the restore\&.) -.sp .5v -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-restore\-privilege\-tables\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---restore-privilege-tables -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE (If option is not used) -T} -.TE -.sp 1 -\fBndb_restore\fR -does not by default restore distributed MySQL privilege tables\&. This option causes -\fBndb_restore\fR -to restore the privilege tables\&. -.sp -This works only if the privilege tables were converted to -NDB -before the backup was taken\&. For more information, see -Section\ \&21.5.15, \(lqDistributed MySQL Privileges for NDB Cluster\(rq\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-rewrite\-database\fR=\fIolddb,newdb\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---rewrite-database=olddb,newdb -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -none -T} -.TE -.sp 1 -This option makes it possible to restore to a database having a different name from that used in the backup\&. For example, if a backup is made of a database named -products, you can restore the data it contains to a database named -inventory, use this option as shown here (omitting any other options that might be required): -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> ndb_restore \-\-rewrite\-database=product,inventory -.fi -.if n \{\ -.RE -.\} -.sp -The option can be employed multiple times in a single invocation of -\fBndb_restore\fR\&. Thus it is possible to restore simultaneously from a database named -db1 -to a database named -db2 -and from a database named -db3 -to one named -db4 -using -\fB\-\-rewrite\-database=db1,db2 \-\-rewrite\-database=db3,db4\fR\&. Other -\fBndb_restore\fR -options may be used between multiple occurrences of -\fB\-\-rewrite\-database\fR\&. -.sp -In the event of conflicts between multiple -\fB\-\-rewrite\-database\fR -options, the last -\fB\-\-rewrite\-database\fR -option used, reading from left to right, is the one that takes effect\&. For example, if -\fB\-\-rewrite\-database=db1,db2 \-\-rewrite\-database=db1,db3\fR -is used, only -\fB\-\-rewrite\-database=db1,db3\fR -is honored, and -\fB\-\-rewrite\-database=db1,db2\fR -is ignored\&. It is also possible to restore from multiple databases to a single database, so that -\fB\-\-rewrite\-database=db1,db3 \-\-rewrite\-database=db2,db3\fR -restores all tables and data from databases -db1 -and -db2 -into database -db3\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBImportant\fR -.ps -1 -.br -When restoring from multiple backup databases into a single target database using -\fB\-\-rewrite\-database\fR, no check is made for collisions between table or other object names, and the order in which rows are restored is not guaranteed\&. This means that it is possible in such cases for rows to be overwritten and updates to be lost\&. -.sp .5v -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-skip\-broken\-objects\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---skip-broken-objects -T} -.TE -.sp 1 -This option causes -\fBndb_restore\fR -to ignore corrupt tables while reading a native -NDB -backup, and to continue restoring any remaining tables (that are not also corrupted)\&. Currently, the -\fB\-\-skip\-broken\-objects\fR -option works only in the case of missing blob parts tables\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-skip\-table\-check\fR, -\fB\-s\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---skip-table-check -T} -.TE -.sp 1 -It is possible to restore data without restoring table metadata\&. By default when doing this, -\fBndb_restore\fR -fails with an error if a mismatch is found between the table data and the table schema; this option overrides that behavior\&. -.sp -Some of the restrictions on mismatches in column definitions when restoring data using -\fBndb_restore\fR -are relaxed; when one of these types of mismatches is encountered, -\fBndb_restore\fR -does not stop with an error as it did previously, but rather accepts the data and inserts it into the target table while issuing a warning to the user that this is being done\&. This behavior occurs whether or not either of the options -\fB\-\-skip\-table\-check\fR -or -\fB\-\-promote\-attributes\fR -is in use\&. These differences in column definitions are of the following types: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -Different -COLUMN_FORMAT -settings (FIXED, -DYNAMIC, -DEFAULT) -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -Different -STORAGE -settings (MEMORY, -DISK) -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -Different default values -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -Different distribution key settings -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-skip\-unknown\-objects\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---skip-unknown-objects -T} -.TE -.sp 1 -This option causes -\fBndb_restore\fR -to ignore any schema objects it does not recognize while reading a native -NDB -backup\&. This can be used for restoring a backup made from a cluster running (for example) NDB 7\&.6 to a cluster running NDB Cluster 7\&.5\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-tab\fR=\fIdir_name\fR, -\fB\-T\fR -\fIdir_name\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---tab=dir_name -T} -T{ -\fBType\fR -T}:T{ -directory name -T} -.TE -.sp 1 -Causes -\fB\-\-print_data\fR -to create dump files, one per table, each named -\fItbl_name\fR\&.txt\&. It requires as its argument the path to the directory where the files should be saved; use -\&. -for the current directory\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-verbose\fR=\fI#\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---verbose=# -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -1 -T} -T{ -\fBMinimum Value\fR -T}:T{ -0 -T} -T{ -\fBMaximum Value\fR -T}:T{ -255 -T} -.TE -.sp 1 -Sets the level for the verbosity of the output\&. The minimum is 0; the maximum is 255\&. The default value is 1\&. -.RE -.PP -\fBError reporting\fR. \fBndb_restore\fR -reports both temporary and permanent errors\&. In the case of temporary errors, it may able to recover from them, and reports -Restore successful, but encountered temporary error, please look at configuration -in such cases\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBImportant\fR -.ps -1 -.br -.PP -After using -\fBndb_restore\fR -to initialize an NDB Cluster for use in circular replication, binary logs on the SQL node acting as the replication slave are not automatically created, and you must cause them to be created manually\&. To cause the binary logs to be created, issue a -SHOW TABLES -statement on that SQL node before running -START SLAVE\&. This is a known issue in NDB Cluster\&. -.sp .5v -.RE -.SS "Restoring to a different number of data nodes" -.PP -It is possible to restore from an NDB backup to a cluster having a different number of data nodes than the original from which the backup was taken\&. The following two sections discuss, respectively, the cases where the target cluster has a lesser or greater number of data nodes than the source of the backup\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBRestoring to Fewer Nodes Than the Original\fR -.RS 4 -.PP -You can restore to a cluster having fewer data nodes than the original provided that the larger number of nodes is an even multiple of the smaller number\&. In the following example, we use a backup taken on a cluster having four data nodes to a cluster having two data nodes\&. -.sp -.RS 4 -.ie n \{\ -\h'-04' 1.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 1." 4.2 -.\} -The management server for the original cluster is on host -host10\&. The original cluster has four data nodes, with the node IDs and host names shown in the following extract from the management server\*(Aqs -config\&.ini -file: -.sp -.if n \{\ -.RS 4 -.\} -.nf -[ndbd] -NodeId=2 -HostName=host2 -[ndbd] -NodeId=4 -HostName=host4 -[ndbd] -NodeId=6 -HostName=host6 -[ndbd] -NodeId=8 -HostName=host8 -.fi -.if n \{\ -.RE -.\} -.sp -We assume that each data node was originally started with -\fBndbmtd\fR -\fB\-\-ndb\-connectstring=host10\fR -or the equivalent\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04' 2.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 2." 4.2 -.\} -Perform a backup in the normal manner\&. See -Section\ \&21.5.3.2, \(lqUsing The NDB Cluster Management Client to Create a Backup\(rq, for information about how to do this\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04' 3.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 3." 4.2 -.\} -The files created by the backup on each data node are listed here, where -\fIN\fR -is the node ID and -\fIB\fR -is the backup ID\&. -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -BACKUP\-\fIB\fR\-0\&.\fIN\fR\&.Data -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -BACKUP\-\fIB\fR\&.\fIN\fR\&.ctl -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -BACKUP\-\fIB\fR\&.\fIN\fR\&.log -.RE -.sp -These files are found under -BackupDataDir/BACKUP/BACKUP\-\fIB\fR, on each data node\&. For the rest of this example, we assume that the backup ID is 1\&. -.sp -Have all of these files available for later copying to the new data nodes (where they can be accessed on the data node\*(Aqs local file system by -\fBndb_restore\fR)\&. It is simplest to copy them all to a single location; we assume that this is what you have done\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04' 4.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 4." 4.2 -.\} -The management server for the target cluster is on host -host20, and the target has two data nodes, with the node IDs and host names shown, from the management server -config\&.ini -file on -host20: -.sp -.if n \{\ -.RS 4 -.\} -.nf -[ndbd] -NodeId=3 -hostname=host3 -[ndbd] -NodeId=5 -hostname=host5 -.fi -.if n \{\ -.RE -.\} -.sp -Each of the data node processes on -host3 -and -host5 -should be started with -\fBndbmtd\fR -\fB\-c host20\fR -\fB\-\-initial\fR -or the equivalent, so that the new (target) cluster starts with clean data node file systems\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04' 5.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 5." 4.2 -.\} -Copy two different sets of two backup files to each of the target data nodes\&. For this example, copy the backup files from nodes 2 and 6 from the original cluster to node 3 in the target cluster\&. These files are listed here: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -BACKUP\-1\-0\&.2\&.Data -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -BACKUP\-1\&.2\&.ctl -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -BACKUP\-1\&.2\&.log -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -BACKUP\-1\-0\&.6\&.Data -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -BACKUP\-1\&.6\&.ctl -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -BACKUP\-1\&.6\&.log -.RE -.sp -Then copy the backup files from nodes 4 and 8 to node 5; these files are shown in the following list: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -BACKUP\-1\-0\&.4\&.Data -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -BACKUP\-1\&.4\&.ctl -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -BACKUP\-1\&.4\&.log -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -BACKUP\-1\-0\&.8\&.Data -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -BACKUP\-1\&.8\&.ctl -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -BACKUP\-1\&.8\&.log -.RE -.sp -For the remainder of this example, we assume that the respective backup files have been saved to the directory -/BACKUP\-1 -on each of nodes 3 and 5\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04' 6.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 6." 4.2 -.\} -On each of the two target data nodes, you must restore from both sets of backups\&. First, restore the backups from nodes 2 and 6 to node 3 by invoking -\fBndb_restore\fR -on -host3 -as shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_restore \-c host20 \fR\fB\fB\-\-nodeid=2\fR\fR\fB \fR\fB\fB\-\-backupid=1\fR\fR\fB \fR\fB\fB\-\-restore_data\fR\fR\fB \fR\fB\fB\-\-backup_path=/BACKUP\-1\fR\fR -shell> \fBndb_restore \-c host20 \-\-nodeid=4 \-\-backupid=1 \-\-restore_data \-\-backup_path=/BACKUP\-1\fR -.fi -.if n \{\ -.RE -.\} -.sp -Then restore the backups from nodes 4 and 8 to node 5 by invoking -\fBndb_restore\fR -on -host5, like this: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_restore \-c host20 \-\-nodeid=6 \-\-backupid=1 \-\-restore_data \-\-backup_path=/BACKUP\-1\fR -shell> \fBndb_restore \-c host20 \-\-nodeid=8 \-\-backupid=1 \-\-restore_data \-\-backup_path=/BACKUP\-1\fR -.fi -.if n \{\ -.RE -.\} -.RE -.RE -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBRestoring to More Nodes Than the Original\fR -.RS 4 -.PP -The node ID specified for a given -\fBndb_restore\fR -command is that of the node in the original backup and not that of the data node to restore it to\&. When performing a backup using the method described in this section, -\fBndb_restore\fR -connects to the management server and obtains a list of data nodes in the cluster the backup is being restored to\&. The restored data is distributed accordingly, so that the number of nodes in the target cluster does not need to be to be known or calculated when performing the backup\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -.PP -When changing the total number of LCP threads or LQH threads per node group, you should recreate the schema from backup created using -\fBmysqldump\fR\&. -.sp .5v -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04' 1.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 1." 4.2 -.\} -\fICreate the backup of the data\fR\&. You can do this by invoking the -\fBndb_mgm\fR -client -START BACKUP -command from the system shell, like this: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_mgm \-e "START BACKUP 1"\fR -.fi -.if n \{\ -.RE -.\} -.sp -This assumes that the desired backup ID is 1\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04' 2.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 2." 4.2 -.\} -Create a backup of the schema\&. In NDB 7\&.5\&.2 and later, this step is necessary only if the total number of LCP threads or LQH threads per node group is changed\&. -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBmysqldump \-\-no\-data \-\-routines \-\-events \-\-triggers \-\-databases > myschema\&.sql\fR -.fi -.if n \{\ -.RE -.\} -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBImportant\fR -.ps -1 -.br -Once you have created the -NDB -native backup using -\fBndb_mgm\fR, you must not make any schema changes before creating the backup of the schema, if you do so\&. -.sp .5v -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04' 3.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 3." 4.2 -.\} -Copy the backup directory to the new cluster\&. For example if the backup you want to restore has ID 1 and -BackupDataDir -= -/backups/node_\fInodeid\fR, then the path to the backup on this node is -/backups/node_1/BACKUP/BACKUP\-1\&. Inside this directory there are three files, listed here: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -BACKUP\-1\-0\&.1\&.Data -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -BACKUP\-1\&.1\&.ctl -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -BACKUP\-1\&.1\&.log -.RE -.sp -You should copy the entire directory to the new node\&. -.sp -If you needed to create a schema file, copy this to a location on an SQL node where it can be read by -\fBmysqld\fR\&. -.RE -.PP -There is no requirement for the backup to be restored from a specific node or nodes\&. -.PP -To restore from the backup just created, perform the following steps: -.sp -.RS 4 -.ie n \{\ -\h'-04' 1.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 1." 4.2 -.\} -\fIRestore the schema\fR\&. -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -If you created a separate schema backup file using -\fBmysqldump\fR, import this file using the -\fBmysql\fR -client, similar to what is shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBmysql < myschema\&.sql\fR -.fi -.if n \{\ -.RE -.\} -.sp -When importing the schema file, you may need to specify the -\fB\-\-user\fR -and -\fB\-\-password\fR -options (and possibly others) in addition to what is shown, in order for the -\fBmysql\fR -client to be able to connect to the MySQL server\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -If you did -\fInot\fR -need to create a schema file, you can re\-create the schema using -\fBndb_restore\fR -\fB\-\-restore_meta\fR -(short form -\fB\-m\fR), similar to what is shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> ndb_restore \-\-nodeid=1 \-\-backupid=1 \-\-restore_meta \-\-backup\-path=/backups/node_1/BACKUP/BACKUP\-1 -.fi -.if n \{\ -.RE -.\} -.sp -\fBndb_restore\fR -must be able to contact the management server; add the -\fB\-\-ndb\-connectstring\fR -option if and as needed to make this possible\&. -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04' 2.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 2." 4.2 -.\} -\fIRestore the data\fR\&. This needs to be done once for each data node in the original cluster, each time using that data node\*(Aqs node ID\&. Assuming that there were 4 data nodes originally, the set of commands required would look something like this: -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_restore \-\-nodeid=1 \-\-backupid=1 \-\-restore_data \-\-backup_path=/backups/node_1/BACKUP/BACKUP\-1 \-\-disable\-indexes -ndb_restore \-\-nodeid=2 \-\-backupid=1 \-\-restore_data \-\-backup_path=/backups/node_2/BACKUP/BACKUP\-1 \-\-disable\-indexes -ndb_restore \-\-nodeid=3 \-\-backupid=1 \-\-restore_data \-\-backup_path=/backups/node_3/BACKUP/BACKUP\-1 \-\-disable\-indexes -ndb_restore \-\-nodeid=4 \-\-backupid=1 \-\-restore_data \-\-backup_path=/backups/node_4/BACKUP/BACKUP\-1 \-\-disable\-indexes -.fi -.if n \{\ -.RE -.\} -.sp -These can be run in parallel\&. -.sp -Be sure to add the -\fB\-\-ndb\-connectstring\fR -option as needed\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04' 3.\h'+01'\c -.\} -.el \{\ -.sp -1 -.IP " 3." 4.2 -.\} -\fIRebuild the indexes\fR\&. These were disabled by the -\fB\-\-disable\-indexes\fR -option used in the commands just shown\&. Recreating the indexes avoids errors due to the restore not being consistent at all points\&. Rebuilding the indexes can also improve performance in some cases\&. To rebuild the indexes, execute the following command once, on a single node: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_restore \-\-nodeid=1 \-\-backupid=1 \-\-backup_path=/backups/node_1/BACKUP/BACKUP\-1 \-\-rebuild\-indexes\fR -.fi -.if n \{\ -.RE -.\} -.sp -As mentioned previously, you may need to add the -\fB\-\-ndb\-connectstring\fR -option, so that -\fBndb_restore\fR -can contact the management server\&. -.RE -.RE -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_select_all.1 mysql-5.7-5.7.24/man/ndb_select_all.1 --- mysql-5.7-5.7.23/man/ndb_select_all.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_select_all.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,606 +0,0 @@ -'\" t -.\" Title: \fBndb_select_all\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_SELECT_ALL\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_select_all \- print rows from an NDB table -.SH "SYNOPSIS" -.HP \w'\fBndb_select_all\ \-c\ \fR\fB\fIconnection_string\fR\fR\fB\ \fR\fB\fItbl_name\fR\fR\fB\ \-d\ \fR\fB\fIdb_name\fR\fR\fB\ [>\ \fR\fB\fIfile_name\fR\fR\fB]\fR\ 'u -\fBndb_select_all \-c \fR\fB\fIconnection_string\fR\fR\fB \fR\fB\fItbl_name\fR\fR\fB \-d \fR\fB\fIdb_name\fR\fR\fB [> \fR\fB\fIfile_name\fR\fR\fB]\fR -.SH "DESCRIPTION" -.PP -\fBndb_select_all\fR -prints all rows from an -NDB -table to -stdout\&. -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_select_all \-c \fIconnection_string\fR \fItbl_name\fR \-d \fIdb_name\fR [> \fIfile_name\fR] -.fi -.if n \{\ -.RE -.\} -.PP -The following table includes options that are specific to the NDB Cluster native backup restoration program -\fBndb_select_all\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndb_select_all\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.333.\ \&Command\-line options for the ndb_select_all program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l. -T{ -.PP ---database=dbname, -.PP --d -T}:T{ -Name of the database in which the table is found -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---parallelism=#, -.PP --p -T}:T{ -Degree of parallelism -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---lock=#, -.PP --l -T}:T{ -Lock type -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---order=index, -.PP --o -T}:T{ -Sort resultset according to index whose name is supplied -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---descending, -.PP --z -T}:T{ -Sort resultset in descending order (requires order flag) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---header, -.PP --h -T}:T{ -Print header (set to 0|FALSE to disable headers in output) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---useHexFormat, -.PP --x -T}:T{ -Output numbers in hexadecimal format -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---delimiter=char, -.PP --D -T}:T{ -Set a column delimiter -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---disk -T}:T{ -Print disk references (useful only for Disk Data tables having - nonindexed columns) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---rowid -T}:T{ -Print rowid -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---gci -T}:T{ -Include GCI in output -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---gci64 -T}:T{ -Include GCI and row epoch in output -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---tupscan, -.PP --t -T}:T{ -Scan in tup order -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---nodata -T}:T{ -Do not print table column data -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-database=\fR\fB\fIdbname\fR\fR, -\fB\-d\fR -\fIdbname\fR -.sp -Name of the database in which the table is found\&. The default value is -TEST_DB\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fBparallelism=\fR\fB\fI#\fR\fR, -\fB\-p\fR -\fI#\fR -.sp -Specifies the degree of parallelism\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-lock=\fR\fB\fIlock_type\fR\fR, -\fB\-l \fR\fB\fIlock_type\fR\fR -.sp -Employs a lock when reading the table\&. Possible values for -\fIlock_type\fR -are: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -0: Read lock -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -1: Read lock with hold -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -2: Exclusive read lock -.RE -.sp -There is no default value for this option\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-order=\fR\fB\fIindex_name\fR\fR, -\fB\-o \fR\fB\fIindex_name\fR\fR -.sp -Orders the output according to the index named -\fIindex_name\fR\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -This is the name of an index, not of a column; the index must have been explicitly named when created\&. -.sp .5v -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-descending\fR, -\fB\-z\fR -.sp -Sorts the output in descending order\&. This option can be used only in conjunction with the -\fB\-o\fR -(\fB\-\-order\fR) option\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-header=FALSE\fR -.sp -Excludes column headers from the output\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-useHexFormat\fR -\fB\-x\fR -.sp -Causes all numeric values to be displayed in hexadecimal format\&. This does not affect the output of numerals contained in strings or datetime values\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-delimiter=\fR\fB\fIcharacter\fR\fR, -\fB\-D \fR\fB\fIcharacter\fR\fR -.sp -Causes the -\fIcharacter\fR -to be used as a column delimiter\&. Only table data columns are separated by this delimiter\&. -.sp -The default delimiter is the tab character\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-disk\fR -.sp -Adds a disk reference column to the output\&. The column is nonempty only for Disk Data tables having nonindexed columns\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-rowid\fR -.sp -Adds a -ROWID -column providing information about the fragments in which rows are stored\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-gci\fR -.sp -Adds a -GCI -column to the output showing the global checkpoint at which each row was last updated\&. See -Section\ \&21.1, \(lqNDB Cluster Overview\(rq, and -Section\ \&21.5.6.2, \(lqNDB Cluster Log Events\(rq, for more information about checkpoints\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-gci64\fR -.sp -Adds a -ROW$GCI64 -column to the output showing the global checkpoint at which each row was last updated, as well as the number of the epoch in which this update occurred\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-tupscan\fR, -\fB\-t\fR -.sp -Scan the table in the order of the tuples\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-nodata\fR -.sp -Causes any table data to be omitted\&. -.RE -Sample Output.PP -Output from a MySQL -SELECT -statement: -.sp -.if n \{\ -.RS 4 -.\} -.nf -mysql> \fBSELECT * FROM ctest1\&.fish;\fR -+\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-+ -| id | name | -+\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-+ -| 3 | shark | -| 6 | puffer | -| 2 | tuna | -| 4 | manta ray | -| 5 | grouper | -| 1 | guppy | -+\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-+ -6 rows in set (0\&.04 sec) -.fi -.if n \{\ -.RE -.\} -.PP -Output from the equivalent invocation of -\fBndb_select_all\fR: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fB\&./ndb_select_all \-c localhost fish \-d ctest1\fR -id name -3 [shark] -6 [puffer] -2 [tuna] -4 [manta ray] -5 [grouper] -1 [guppy] -6 rows returned -NDBT_ProgramExit: 0 \- OK -.fi -.if n \{\ -.RE -.\} -.PP -All string values are enclosed by square brackets ([\&.\&.\&.]) in the output of -\fBndb_select_all\fR\&. For another example, consider the table created and populated as shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -CREATE TABLE dogs ( - id INT(11) NOT NULL AUTO_INCREMENT, - name VARCHAR(25) NOT NULL, - breed VARCHAR(50) NOT NULL, - PRIMARY KEY pk (id), - KEY ix (name) -) -TABLESPACE ts STORAGE DISK -ENGINE=NDBCLUSTER; -INSERT INTO dogs VALUES - (\*(Aq\*(Aq, \*(AqLassie\*(Aq, \*(Aqcollie\*(Aq), - (\*(Aq\*(Aq, \*(AqScooby\-Doo\*(Aq, \*(AqGreat Dane\*(Aq), - (\*(Aq\*(Aq, \*(AqRin\-Tin\-Tin\*(Aq, \*(AqAlsatian\*(Aq), - (\*(Aq\*(Aq, \*(AqRosscoe\*(Aq, \*(AqMutt\*(Aq); -.fi -.if n \{\ -.RE -.\} -.PP -This demonstrates the use of several additional -\fBndb_select_all\fR -options: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fB\&./ndb_select_all \-d ctest1 dogs \-o ix \-z \-\-gci \-\-disk\fR -GCI id name breed DISK_REF -834461 2 [Scooby\-Doo] [Great Dane] [ m_file_no: 0 m_page: 98 m_page_idx: 0 ] -834878 4 [Rosscoe] [Mutt] [ m_file_no: 0 m_page: 98 m_page_idx: 16 ] -834463 3 [Rin\-Tin\-Tin] [Alsatian] [ m_file_no: 0 m_page: 34 m_page_idx: 0 ] -835657 1 [Lassie] [Collie] [ m_file_no: 0 m_page: 66 m_page_idx: 0 ] -4 rows returned -NDBT_ProgramExit: 0 \- OK -.fi -.if n \{\ -.RE -.\} -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_select_count.1 mysql-5.7-5.7.24/man/ndb_select_count.1 --- mysql-5.7-5.7.23/man/ndb_select_count.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_select_count.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,146 +0,0 @@ -'\" t -.\" Title: \fBndb_select_count\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_SELECT_COUNT\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_select_count \- print row counts for NDB tables -.SH "SYNOPSIS" -.HP \w'\fBndb_select_count\ [\-c\ \fR\fB\fIconnection_string\fR\fR\fB]\ \-d\ \fR\fB\fIdb_name\fR\fR\fB\ \fR\fB\fItbl_name\fR\fR\fB[\ \fR\fB\fItbl_name2\fR\fR\fB[\ \&.\&.\&.]]\fR\ 'u -\fBndb_select_count [\-c \fR\fB\fIconnection_string\fR\fR\fB] \-d \fR\fB\fIdb_name\fR\fR\fB \fR\fB\fItbl_name\fR\fR\fB[ \fR\fB\fItbl_name2\fR\fR\fB[ \&.\&.\&.]]\fR -.SH "DESCRIPTION" -.PP -\fBndb_select_count\fR -prints the number of rows in one or more -NDB -tables\&. With a single table, the result is equivalent to that obtained by using the MySQL statement -SELECT COUNT(*) FROM \fItbl_name\fR\&. -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_select_count [\-c \fIconnection_string\fR] \-d\fIdb_name\fR \fItbl_name\fR[, \fItbl_name2\fR[, \&.\&.\&.]] -.fi -.if n \{\ -.RE -.\} -.PP -The following table includes options that are specific to the NDB Cluster native backup restoration program -\fBndb_select_count\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndb_select_count\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.334.\ \&Command\-line options for the ndb_select_count program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l. -T{ -.PP ---database=dbname, -.PP --d -T}:T{ -Name of the database in which the table is found -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---parallelism=#, -.PP --p -T}:T{ -Degree of parallelism -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---lock=#, -.PP --l -T}:T{ -Lock type -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -.PP -You can obtain row counts from multiple tables in the same database by listing the table names separated by spaces when invoking this command, as shown under -\fBSample Output\fR\&. -Sample Output -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fB\&./ndb_select_count \-c localhost \-d ctest1 fish dogs\fR -6 records in table fish -4 records in table dogs -NDBT_ProgramExit: 0 \- OK -.fi -.if n \{\ -.RE -.\} -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_setup.py.1 mysql-5.7-5.7.24/man/ndb_setup.py.1 --- mysql-5.7-5.7.23/man/ndb_setup.py.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_setup.py.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,740 +0,0 @@ -'\" t -.\" Title: \fBndb_setup.py\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_SETUP\&.PY\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_setup.py \- Start browser\-based Auti\-Installer for NDB Cluster -.SH "SYNOPSIS" -.HP \w'\fBndb_setup\&.py\ [\fR\fB\fIoptions\fR\fR\fB]\fR\ 'u -\fBndb_setup\&.py [\fR\fB\fIoptions\fR\fR\fB]\fR -.SH "DESCRIPTION" -.PP -\fBndb_setup\&.py\fR -starts the NDB Cluster Auto\-Installer and opens the installer\*(Aqs Start page in the default Web browser\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBImportant\fR -.ps -1 -.br -.PP -This program is intended to be invoked as a normal user, and not with the -mysql, system -root -or other administrative account\&. -.sp .5v -.RE -.PP -This section describes usage of and program options for the command\-line tool only\&. For information about using the Auto\-Installer GUI that is spawned when -\fBndb_setup\&.py\fR -is invoked, see -Section\ \&21.2.1, \(lqThe NDB Cluster Auto-Installer\(rq\&. -Usage.PP -All platforms: -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_setup\&.py [\fIoptions\fR] -.fi -.if n \{\ -.RE -.\} -.PP -Additionally, on Windows platforms only: -.sp -.if n \{\ -.RS 4 -.\} -.nf -setup\&.bat [\fIoptions\fR] -.fi -.if n \{\ -.RE -.\} -.PP -The following table includes all options that are supported by the NDB Cluster installation and configuration program -\fBndb_setup\&.py\fR\&. Additional descriptions follow the table\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.335.\ \&Command\-line options for the ndb_setup\&.py program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l. -T{ -.PP ---browser-start-page=filename, -.PP --s -T}:T{ -Page that the web browser opens when starting. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---ca-certs-file=filename, -.PP --a -T}:T{ -File containing list of client certificates allowed to connect to the - server -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---cert-file=filename, -.PP --c -T}:T{ -File containing X509 certificate that identifies the server. (Default: - cfg.pem) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---debug-level=level, -.PP --d -T}:T{ -Python logging module debug level. One of DEBUG, INFO, WARNING - (default), ERROR, or CRITICAL. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---help, -.PP --h -T}:T{ -Print help message -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---key-file=file, -.PP --k -T}:T{ -Specify file containing private key (if not included in --cert-file) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---no-browser, -.PP --n -T}:T{ -Do not open the start page in a browser, merely start the tool -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---port=#, -.PP --p -T}:T{ -Specify the port used by the web server -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---server-log-file=file, -.PP -o -T}:T{ -Log requests to this file. Use '-' to force logging to stderr instead. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---server-name=name, -.PP --N -T}:T{ -The name of the server to connect with -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---use-https, -.PP --S -T}:T{ -Use encrypted (HTTPS) client/server connection -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-browser\-start\-page=\fR\fB\fIfile\fR\fR, -\fB\-s\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---browser-start-page=filename -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -index.html -T} -.TE -.sp 1 -Specify the file to open in the browser as the installation and configuration Start page\&. The default is -index\&.html\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-ca\-certs\-file=\fR\fB\fIfile\fR\fR, -\fB\-a\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---ca-certs-file=filename -T} -T{ -\fBType\fR -T}:T{ -file name -T} -T{ -\fBDefault Value\fR -T}:T{ -[none] -T} -.TE -.sp 1 -Specify a file containing a list of client certificates which are allowed to connect to the server\&. The default is an empty string, which means that no client authentication is used\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-cert\-file=\fR\fB\fIfile\fR\fR, -\fB\-c\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---cert-file=filename -T} -T{ -\fBType\fR -T}:T{ -file name -T} -T{ -\fBDefault Value\fR -T}:T{ -cfg.pem -T} -.TE -.sp 1 -Specify a file containing an X509 certificate which identifies the server\&. It is possible for the certificate to be self\-signed\&. The default is -cfg\&.pem\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-debug\-level=\fR\fB\fIlevel\fR\fR, -\fB\-d\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---debug-level=level -T} -T{ -\fBType\fR -T}:T{ -enumeration -T} -T{ -\fBDefault Value\fR -T}:T{ -WARNING -T} -T{ -\fBValid Values\fR -T}:T{ -.PP -WARNING -.PP -DEBUG -.PP -INFO -.PP -ERROR -.PP -CRITICAL -T} -.TE -.sp 1 -Set the Python logging module debug level\&. This is one of -DEBUG, -INFO, -WARNING, -ERROR, or -CRITICAL\&. -WARNING -is the default\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-help\fR, -\fB\-h\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---help -T} -.TE -.sp 1 -Print a help message\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-key\-file=\fR\fB\fIfile\fR\fR, -\fB\-d\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---key-file=file -T} -T{ -\fBType\fR -T}:T{ -file name -T} -T{ -\fBDefault Value\fR -T}:T{ -[none] -T} -.TE -.sp 1 -Specify a file containing the private key if this is not included in the X509 certificate file (\fB\-\-cert\-file\fR)\&. The default is an empty string, which means that no such file is used\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-no\-browser\fR, -\fB\-n\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---no-browser -T} -.TE -.sp 1 -Start the installation and configuration tool, but do not open the Start page in a browser\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-port=\fR\fB\fI#\fR\fR, -\fB\-p\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---port=# -T} -T{ -\fBType\fR -T}:T{ -numeric -T} -T{ -\fBDefault Value\fR -T}:T{ -8081 -T} -T{ -\fBMinimum Value\fR -T}:T{ -1 -T} -T{ -\fBMaximum Value\fR -T}:T{ -65535 -T} -.TE -.sp 1 -Set the port used by the web server\&. The default is 8081\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-server\-log\-file=\fR\fB\fIfile\fR\fR, -\fB\-o\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ -.PP ---server-log-file=file -.PP -o -T} -T{ -\fBType\fR -T}:T{ -file name -T} -T{ -\fBDefault Value\fR -T}:T{ -ndb_setup.log -T} -T{ -\fBValid Values\fR -T}:T{ -.PP -ndb_setup.log -.PP -- -(Log to stderr) -T} -.TE -.sp 1 -Log requests to this file\&. The default is -ndb_setup\&.log\&. To specify logging to -stderr, rather than to a file, use a -\- -(dash character) for the file name\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-server\-name=\fR\fB\fIhost\fR\fR, -\fB\-N\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---server-name=name -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -localhost -T} -.TE -.sp 1 -Specify the host name or IP address for the browser to use when connecting\&. The default is -localhost\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-use\-https\fR, -\fB\-S\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---use-https -T} -.TE -.sp 1 -Make the browser use a secure (HTTPS) connection with the server\&. -.RE -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_show_tables.1 mysql-5.7-5.7.24/man/ndb_show_tables.1 --- mysql-5.7-5.7.23/man/ndb_show_tables.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_show_tables.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,314 +0,0 @@ -'\" t -.\" Title: \fBndb_show_tables\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_SHOW_TABLES\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_show_tables \- display list of NDB tables -.SH "SYNOPSIS" -.HP \w'\fBndb_show_tables\ [\fR\fB\fIoptions\fR\fR\fB]\fR\ 'u -\fBndb_show_tables [\fR\fB\fIoptions\fR\fR\fB]\fR -.SH "DESCRIPTION" -.PP -\fBndb_show_tables\fR -displays a list of all -NDB -database objects in the cluster\&. By default, this includes not only both user\-created tables and -NDB -system tables, but -NDB\-specific indexes, internal triggers, and NDB Cluster Disk Data objects as well\&. -.PP -The following table includes options that are specific to the NDB Cluster native backup restoration program -\fBndb_show_tables\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndb_show_tables\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.336.\ \&Command\-line options for the ndb_show_tables program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l -l l l -l l l. -T{ -.PP ---database=string, -.PP --d -T}:T{ -Specifies the database in which the table is found -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---loops=#, -.PP --l -T}:T{ -Number of times to repeat output -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---parsable, -.PP --p -T}:T{ -Return output suitable for MySQL LOAD DATA INFILE statement -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---show-temp-status -T}:T{ -Show table temporary flag -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---type=#, -.PP --t -T}:T{ -Limit output to objects of this type -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---unqualified, -.PP --u -T}:T{ -Do not qualify table names -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_show_tables [\-c \fIconnection_string\fR] -.fi -.if n \{\ -.RE -.\} -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-database\fR, -\fB\-d\fR -.sp -Specifies the name of the database in which the tables are found\&. If this option has not been specified, and no tables are found in the -TEST_DB -database, -\fBndb_show_tables\fR -issues a warning\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-loops\fR, -\fB\-l\fR -.sp -Specifies the number of times the utility should execute\&. This is 1 when this option is not specified, but if you do use the option, you must supply an integer argument for it\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-parsable\fR, -\fB\-p\fR -.sp -Using this option causes the output to be in a format suitable for use with -LOAD DATA INFILE\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-show\-temp\-status\fR -.sp -If specified, this causes temporary tables to be displayed\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-type\fR, -\fB\-t\fR -.sp -Can be used to restrict the output to one type of object, specified by an integer type code as shown here: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -1: System table -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -2: User\-created table -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -3: Unique hash index -.RE -.sp -Any other value causes all -NDB -database objects to be listed (the default)\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-unqualified\fR, -\fB\-u\fR -.sp -If specified, this causes unqualified object names to be displayed\&. -.RE -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -.PP -Only user\-created NDB Cluster tables may be accessed from MySQL; system tables such as -SYSTAB_0 -are not visible to -\fBmysqld\fR\&. However, you can examine the contents of system tables using -NDB -API applications such as -\fBndb_select_all\fR -(see -\fBndb_select_all\fR(1))\&. -.sp .5v -.RE -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_size.pl.1 mysql-5.7-5.7.24/man/ndb_size.pl.1 --- mysql-5.7-5.7.23/man/ndb_size.pl.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_size.pl.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,411 +0,0 @@ -'\" t -.\" Title: \fBndb_size.pl\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_SIZE\&.PL\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_size.pl \- NDBCLUSTER Size Requirement Estimator -.SH "SYNOPSIS" -.HP \w'\fBndb_size\&.pl\ \fR\fB\fIarguments\fR\fR\ 'u -\fBndb_size\&.pl \fR\fB\fIarguments\fR\fR -.SH "DESCRIPTION" -.PP -This is a Perl script that can be used to estimate the amount of space that would be required by a MySQL database if it were converted to use the -NDBCLUSTER -storage engine\&. Unlike the other utilities discussed in this section, it does not require access to an NDB Cluster (in fact, there is no reason for it to do so)\&. However, it does need to access the MySQL server on which the database to be tested resides\&. -Requirements -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -A running MySQL server\&. The server instance does not have to provide support for NDB Cluster\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -A working installation of Perl\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -The -DBI -module, which can be obtained from CPAN if it is not already part of your Perl installation\&. (Many Linux and other operating system distributions provide their own packages for this library\&.) -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -A MySQL user account having the necessary privileges\&. If you do not wish to use an existing account, then creating one using -GRANT USAGE ON \fIdb_name\fR\&.*\(emwhere -\fIdb_name\fR -is the name of the database to be examined\(emis sufficient for this purpose\&. -.RE -.PP -ndb_size\&.pl -can also be found in the MySQL sources in -storage/ndb/tools\&. -.PP -The following table includes options that are specific to the NDB Cluster program -\fBndb_size\&.pl\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndb_size\&.pl\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.337.\ \&Command\-line options for the ndb_size\&.pl program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l. -T{ -.PP ---database=dbname -T}:T{ -The database or databases to examine; accepts a comma-delimited list; - the default is ALL (use all databases found on the server) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---hostname[:port] -T}:T{ -Specify host and optional port as host[:port] -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---socket=file_name -T}:T{ -Specify a socket to connect to -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---user=string -T}:T{ -Specify a MySQL user name -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---password=string -T}:T{ -Specify a MySQL user password -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---format=string -T}:T{ -Set output format (text or HTML) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---excludetables=tbl_list -T}:T{ -Skip any tables in a comma-separated list of tables -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---excludedbs=db_list -T}:T{ -Skip any databases in a comma-separated list of databases -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---savequeries=file -T}:T{ -Saves all queries to the database into the file specified -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---loadqueries=file -T}:T{ -Loads all queries from the file specified; does not connect to a - database -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---real_table_name=table -T}:T{ -Designates a table to handle unique index size calculations -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -perl ndb_size\&.pl [\-\-database={\fIdb_name\fR|ALL}] [\-\-hostname=\fIhost\fR[:\fIport\fR]] [\-\-socket=\fIsocket\fR] \e - [\-\-user=\fIuser\fR] [\-\-password=\fIpassword\fR] \e - [\-\-help|\-h] [\-\-format={html|text}] \e - [\-\-loadqueries=\fIfile_name\fR] [\-\-savequeries=\fIfile_name\fR] -.fi -.if n \{\ -.RE -.\} -.PP -By default, this utility attempts to analyze all databases on the server\&. You can specify a single database using the -\fB\-\-database\fR -option; the default behavior can be made explicit by using -ALL -for the name of the database\&. You can also exclude one or more databases by using the -\fB\-\-excludedbs\fR -option with a comma\-separated list of the names of the databases to be skipped\&. Similarly, you can cause specific tables to be skipped by listing their names, separated by commas, following the optional -\fB\-\-excludetables\fR -option\&. A host name can be specified using -\fB\-\-hostname\fR; the default is -localhost\&. You can specify a port in addition to the host using -\fIhost\fR:\fIport\fR -format for the value of -\fB\-\-hostname\fR\&. The default port number is 3306\&. If necessary, you can also specify a socket; the default is -/var/lib/mysql\&.sock\&. A MySQL user name and password can be specified the corresponding options shown\&. It also possible to control the format of the output using the -\fB\-\-format\fR -option; this can take either of the values -html -or -text, with -text -being the default\&. An example of the text output is shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_size\&.pl \-\-database=test \-\-socket=/tmp/mysql\&.sock\fR -ndb_size\&.pl report for database: \*(Aqtest\*(Aq (1 tables) -\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- -Connected to: DBI:mysql:host=localhost;mysql_socket=/tmp/mysql\&.sock -Including information for versions: 4\&.1, 5\&.0, 5\&.1 -test\&.t1 -\-\-\-\-\-\-\- -DataMemory for Columns (* means varsized DataMemory): - Column Name Type Varsized Key 4\&.1 5\&.0 5\&.1 - HIDDEN_NDB_PKEY bigint PRI 8 8 8 - c2 varchar(50) Y 52 52 4* - c1 int(11) 4 4 4 - \-\- \-\- \-\- -Fixed Size Columns DM/Row 64 64 12 - Varsize Columns DM/Row 0 0 4 -DataMemory for Indexes: - Index Name Type 4\&.1 5\&.0 5\&.1 - PRIMARY BTREE 16 16 16 - \-\- \-\- \-\- - Total Index DM/Row 16 16 16 -IndexMemory for Indexes: - Index Name 4\&.1 5\&.0 5\&.1 - PRIMARY 33 16 16 - \-\- \-\- \-\- - Indexes IM/Row 33 16 16 -Summary (for THIS table): - 4\&.1 5\&.0 5\&.1 - Fixed Overhead DM/Row 12 12 16 - NULL Bytes/Row 4 4 4 - DataMemory/Row 96 96 48 - (Includes overhead, bitmap and indexes) - Varsize Overhead DM/Row 0 0 8 - Varsize NULL Bytes/Row 0 0 4 - Avg Varside DM/Row 0 0 16 - No\&. Rows 0 0 0 - Rows/32kb DM Page 340 340 680 -Fixedsize DataMemory (KB) 0 0 0 -Rows/32kb Varsize DM Page 0 0 2040 - Varsize DataMemory (KB) 0 0 0 - Rows/8kb IM Page 248 512 512 - IndexMemory (KB) 0 0 0 -Parameter Minimum Requirements -\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- -* indicates greater than default - Parameter Default 4\&.1 5\&.0 5\&.1 - DataMemory (KB) 81920 0 0 0 - NoOfOrderedIndexes 128 1 1 1 - NoOfTables 128 1 1 1 - IndexMemory (KB) 18432 0 0 0 - NoOfUniqueHashIndexes 64 0 0 0 - NoOfAttributes 1000 3 3 3 - NoOfTriggers 768 5 5 5 -.fi -.if n \{\ -.RE -.\} -.PP -For debugging purposes, the Perl arrays containing the queries run by this script can be read from the file specified using can be saved to a file using -\fB\-\-savequeries\fR; a file containing such arrays to be read in during script execution can be specified using -\fB\-\-loadqueries\fR\&. Neither of these options has a default value\&. -.PP -To produce output in HTML format, use the -\fB\-\-format\fR -option and redirect the output to a file, as shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_size\&.pl \-\-database=test \-\-socket=/tmp/mysql\&.sock \-\-format=html > ndb_size\&.html\fR -.fi -.if n \{\ -.RE -.\} -.PP -(Without the redirection, the output is sent to -stdout\&.) -.PP -The output from this script includes the following information: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -Minimum values for the -DataMemory, -IndexMemory, -MaxNoOfTables, -MaxNoOfAttributes, -MaxNoOfOrderedIndexes, and -MaxNoOfTriggers -configuration parameters required to accommodate the tables analyzed\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -Memory requirements for all of the tables, attributes, ordered indexes, and unique hash indexes defined in the database\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -The -IndexMemory -and -DataMemory -required per table and table row\&. -.RE -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_top.1 mysql-5.7-5.7.24/man/ndb_top.1 --- mysql-5.7-5.7.23/man/ndb_top.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_top.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,1160 +0,0 @@ -'\" t -.\" Title: \fBndb_top\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_TOP\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_top \- View CPU usage information for NDB threads -.SH "SYNOPSIS" -.HP \w'\fBndb_top\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndb_top \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -\fBndb_top\fR -displays running information in the terminal about CPU usage by NDB threads on an NDB Cluster data node\&. Each thread is represented by two rows in the output, the first showing system statistics, the second showing the measured statistics for the thread\&. -.PP -\fBndb_top\fR -is available beginning with MySQL NDB Cluster 7\&.6\&.3\&. -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_top [\-h \fIhostname\fR] [\-t \fIport\fR] [\-u \fIuser\fR] [\-p \fIpass\fR] [\-n \fInode_id\fR] -.fi -.if n \{\ -.RE -.\} -.PP -\fBndb_top\fR -connects to a MySQL Server running as an SQL node of the cluster\&. By default, it attempts to connect to a -\fBmysqld\fR -running on -localhost -and port 3306, as the MySQL -root -user with no password specified\&. You can override the default host and port using, respectively, -\fB\-\-host\fR -(\fB\-h\fR) and -\fB\-\-port\fR -(\fB\-t\fR)\&. To specify a MySQL user and password, use the -\fB\-\-user\fR -(\fB\-u\fR) and -\fB\-\-passwd\fR -(\fB\-p\fR) options\&. This user must be able to read tables in the -ndbinfo -database (\fBndb_top\fR -uses information from -ndbinfo\&.cpustat -and related tables)\&. -.PP -For more information about MySQL user accounts and passwords, see -Section\ \&6.3, \(lqMySQL User Account Management\(rq, as well as -Section\ \&6.2, \(lqThe MySQL Access Privilege System\(rq\&. -.PP -Output is available as plain text or an ASCII graph; you can specify this using the -\fB\-\-text\fR -(\fB\-x\fR) and -\fB\-\-graph\fR -(\fB\-g\fR) options, respectively\&. These two display modes provide the same information; they can be used concurrently\&. At least one display mode must be in use\&. -.PP -Color display of the graph is supported and enabled by default (\fB\-\-color\fR -or -\fB\-c\fR -option)\&. With color support enabled, the graph display shows OS user time in blue, OS system time in green, and idle time as blank\&. For measured load, blue is used for execution time, yellow for send time, red for time spent in send buffer full waits, and blank spaces for idle time\&. The percentage shown in the graph display is the sum of percentages for all threads which are not idle\&. Colors are not currently configurable; you can use grayscale instead by using -\fB\-\-skip\-color\fR\&. -.PP -The sorted view (\fB\-\-sort\fR, -\fB\-r\fR) is based on the maximum of the measured load and the load reported by the OS\&. Display of these can be enabled and disabled using the -\fB\-\-measured\-load\fR -(\fB\-m\fR) and -\fB\-\-os\-load\fR -(\fB\-o\fR) options\&. Display of at least one of these loads must be enabled\&. -.PP -The program tries to obtain statistics from a data node having the node ID given by the -\fB\-\-node\-id\fR -(\fB\-n\fR) option; if unspecified, this is 1\&. -\fBndb_top\fR -cannot provide information about other types of nodes\&. -.PP -The view adjusts itself to the height and width of the terminal window; the minimum supported width is 76 characters\&. -.PP -Once started, -\fBndb_top\fR -runs continuously until forced to exit; you can quit the program using -Ctrl\-C\&. The display updates once per second; to set a different delay interval, use -\fB\-\-sleep\-time\fR -(\fB\-s\fR)\&. -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -.PP -\fBndb_top\fR -is available on Mac OS X, Linux, and Solaris\&. It is not currently supported on Windows platforms\&. -.sp .5v -.RE -.PP -The following table includes all options that are specific to the NDB Cluster program -\fBndb_top\fR\&. Additional descriptions follow the table\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.338.\ \&Command\-line options for the ndb_top program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l -l l l. -T{ -.PP ---color, -.PP --c -T}:T{ -Show ASCII graphs in color; use --skip-colors to disable -T}:T{ -.PP -ADDED: NDB 7.6.3 -T} -T{ -.PP ---graph, -.PP --g -T}:T{ -Display data using graphs; use --skip-graphs to disable -T}:T{ -.PP -ADDED: NDB 7.6.3 -T} -T{ -.PP ---help, -.PP --? -T}:T{ -Show program usage information -T}:T{ -.PP -ADDED: NDB 7.6.3 -T} -T{ -.PP ---host[=name], -.PP --h -T}:T{ -Host name or IP address of MySQL Server to connect to -T}:T{ -.PP -ADDED: NDB 7.6.3 -T} -T{ -.PP ---measured-load, -.PP --m -T}:T{ -Show measured load by thread -T}:T{ -.PP -ADDED: NDB 7.6.3 -T} -T{ -.PP ---node-id[=#], -.PP --n -T}:T{ -Watch node having this node ID -T}:T{ -.PP -ADDED: NDB 7.6.3 -T} -T{ -.PP ---os-load, -.PP --o -T}:T{ -Show load measured by operating system -T}:T{ -.PP -ADDED: NDB 7.6.3 -T} -T{ -.PP ---passwd[=password], -.PP --p -T}:T{ -Connect using this password -T}:T{ -.PP -ADDED: NDB 7.6.3 -.PP -REMOVED: NDB 7.6.4 -T} -T{ -.PP ---password[=password], -.PP --p -T}:T{ -Connect using this password -T}:T{ -.PP -ADDED: NDB 7.6.6 -T} -T{ -.PP ---port[=#], -.PP --t -(<=7.6.5), -.PP --P -(>=7.6.6) -T}:T{ -Port number to use when connecting to MySQL Server -T}:T{ -.PP -ADDED: NDB 7.6.3 -T} -T{ -.PP ---sleep-time[=seconds], -.PP --s -T}:T{ -Time to wait between display refreshes, in seconds -T}:T{ -.PP -ADDED: NDB 7.6.3 -T} -T{ -.PP -\fB--socket\fR, -.PP -\fB \fR\fB-S\fR\fB \fR -T}:T{ -Socket file to use for connection. -T}:T{ -.PP -ADDED: NDB 7.6.6 -T} -T{ -.PP ---sort, -.PP --r -T}:T{ -Sort threads by usage; use --skip-sort to disable -T}:T{ -.PP -ADDED: NDB 7.6.3 -T} -T{ -.PP ---text, -.PP --x -(<=7.6.5), -.PP --t -(>=7.6.6) -T}:T{ -Display data using text -T}:T{ -.PP -ADDED: NDB 7.6.3 -T} -T{ -.PP ---user[=name], -.PP --u -T}:T{ -Connect as this MySQL user -T}:T{ -.PP -ADDED: NDB 7.6.3 -T} -.TE -.sp 1 -.PP -In NDB 7\&.6\&.6 and later, -\fBndb_top\fR -also supports the common -NDB -program options -\fB\-\-defaults\-file\fR, -\fB\-\-defaults\-extra\-file\fR, -\fB\-\-print\-defaults\fR, -\fB\-\-no\-defaults\fR, and -\fB\-\-defaults\-group\-suffix\fR\&. (Bug #86614, Bug #26236298) -Additional Options -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-color\fR, -\fB\-c\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---color -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.19-ndb-7.6.3 -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -TRUE -T} -.TE -.sp 1 -Show ASCII graphs in color; use -\fB\-\-skip\-colors\fR -to disable\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-graph\fR, -\fB\-g\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---graph -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.19-ndb-7.6.3 -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -TRUE -T} -.TE -.sp 1 -Display data using graphs; use -\fB\-\-skip\-graphs\fR -to disable\&. This option or -\fB\-\-text\fR -must be true; both options may be true\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-help\fR, -\fB\-?\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---help -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.19-ndb-7.6.3 -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -TRUE -T} -.TE -.sp 1 -Show program usage information\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-host[\fR=\fIname]\fR, -\fB\-h\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---host[=name] -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.19-ndb-7.6.3 -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -localhost -T} -.TE -.sp 1 -Host name or IP address of MySQL Server to connect to\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-measured\-load\fR, -\fB\-m\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---measured-load -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.19-ndb-7.6.3 -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Show measured load by thread\&. This option or -\fB\-\-os\-load\fR -must be true; both options may be true\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-node\-id[\fR=\fI#]\fR, -\fB\-n\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---node-id[=#] -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.19-ndb-7.6.3 -T} -T{ -\fBType\fR -T}:T{ -integer -T} -T{ -\fBDefault Value\fR -T}:T{ -1 -T} -.TE -.sp 1 -Watch the data node having this node ID\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-os\-load\fR, -\fB\-o\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---os-load -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.19-ndb-7.6.3 -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -TRUE -T} -.TE -.sp 1 -Show load measured by operating system\&. This option or -\fB\-\-measured\-load\fR -must be true; both options may be true\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-passwd[\fR=\fIpassword]\fR, -\fB\-p\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---passwd[=password] -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.19-ndb-7.6.3 -T} -T{ -\fBRemoved\fR -T}:T{ -5.7.20-ndb-7.6.4 -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -NULL -T} -.TE -.sp 1 -Connect using this password\&. -.sp -This option is deprecated in NDB 7\&.6\&.4\&. It is removed in NDB 7\&.6\&.6, where it is replaced by the -\fB\-\-password\fR -option\&. (Bug #26907833) -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-password[\fR=\fIpassword]\fR, -\fB\-p\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---password[=password] -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.22-ndb-7.6.6 -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -NULL -T} -.TE -.sp 1 -Connect using this password\&. -.sp -This option was added in NDB 7\&.6\&.6 as a replacement for the -\fB\-\-passwd\fR -option used previously\&. (Bug #26907833) -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-port[\fR=\fI#]\fR, -\fB\-t\fR -(NDB 7\&.6\&.6 and later: -\fB\-P\fR) -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---port[=#] -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.19-ndb-7.6.3 -T} -T{ -\fBType\fR -T}:T{ -integer -T} -T{ -\fBDefault Value\fR -T}:T{ -3306 -T} -.TE -.sp 1 -Port number to use when connecting to MySQL Server\&. -.sp -Beginning with NDB 7\&.6\&.6, the short form for this option is -\fB\-P\fR, and -\fB\-t\fR -is repurposed as the short form for the -\fB\-\-text\fR -option\&. (Bug #26907833) -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-sleep\-time[\fR=\fIseconds]\fR, -\fB\-s\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---sleep-time[=seconds] -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.19-ndb-7.6.3 -T} -T{ -\fBType\fR -T}:T{ -integer -T} -T{ -\fBDefault Value\fR -T}:T{ -1 -T} -.TE -.sp 1 -Time to wait between display refreshes, in seconds\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-socket=\fR\fB\fIpath/to/file\fR\fR, -\fI\-S\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---socket -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.22-ndb-7.6.6 -T} -T{ -\fBType\fR -T}:T{ -path name -T} -T{ -\fBDefault Value\fR -T}:T{ -[none] -T} -.TE -.sp 1 -Use the specified socket file for the connection\&. -.sp -Added in NDB 7\&.6\&.6\&. (Bug #86614, Bug #26236298) -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-sort\fR, -\fB\-r\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---sort -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.19-ndb-7.6.3 -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -TRUE -T} -.TE -.sp 1 -Sort threads by usage; use -\fB\-\-skip\-sort\fR -to disable\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-text\fR, -\fB\-x\fR -(NDB 7\&.6\&.6 and later: -\fB\-t\fR) -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---text -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.19-ndb-7.6.3 -T} -T{ -\fBType\fR -T}:T{ -boolean -T} -T{ -\fBDefault Value\fR -T}:T{ -FALSE -T} -.TE -.sp 1 -Display data using text\&. This option or -\fB\-\-graph\fR -must be true; both options may be true\&. -.sp -Beginning with NDB 7\&.6\&.6, the short form for this option is -\fB\-t\fR -and support for -\fB\-x\fR -is removed\&. (Bug #26907833) -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-user[\fR=\fIname]\fR, -\fB\-u\fR -.TS -allbox tab(:); -lB lB. -T{ -Property -T}:T{ -Value -T} -.T& -l l -l l -l l -l l. -T{ -\fBCommand-Line Format\fR -T}:T{ ---user[=name] -T} -T{ -\fBIntroduced\fR -T}:T{ -5.7.19-ndb-7.6.3 -T} -T{ -\fBType\fR -T}:T{ -string -T} -T{ -\fBDefault Value\fR -T}:T{ -root -T} -.TE -.sp 1 -Connect as this MySQL user\&. -.RE -.PP -\fBSample Output\fR. The next figure shows -\fBndb_top\fR -running in a terminal window on a Linux system with an -\fBndbmtd\fR -data node under a moderate load\&. Here, the program has been invoked using -\fBndb_top\fR -\fB\-n8\fR -\fB\-x\fR -to provide both text and graph output: -.PP -\fBFigure\ \&21.17.\ \&ndb_top Running in Terminal\fR -.sp -.RS 4 -[IMAGE]\&\s-2\u[1]\d\s+2 -[IMAGE]\&\s-2\u[1]\d\s+2 -Display from ndb_top, running in a - terminal window\&. Shows information for each node, including - the utilized resources\&. -.RE -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "NOTES" -.IP " 1." 4 -[set $man.base.url.for.relative.links]/../refman-common/images/published/ndb-top-1.png -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/ndb_waiter.1 mysql-5.7-5.7.24/man/ndb_waiter.1 --- mysql-5.7-5.7.23/man/ndb_waiter.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/ndb_waiter.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,484 +0,0 @@ -'\" t -.\" Title: \fBndb_waiter\fR -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 -.\" Manual: MySQL Database System -.\" Source: MySQL 5.7 -.\" Language: English -.\" -.TH "\FBNDB_WAITER\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndb_waiter \- wait for NDB Cluster to reach a given status -.SH "SYNOPSIS" -.HP \w'\fBndb_waiter\ \fR\fB\fIoptions\fR\fR\ 'u -\fBndb_waiter \fR\fB\fIoptions\fR\fR -.SH "DESCRIPTION" -.PP -\fBndb_waiter\fR -repeatedly (each 100 milliseconds) prints out the status of all cluster data nodes until either the cluster reaches a given status or the -\fB\-\-timeout\fR -limit is exceeded, then exits\&. By default, it waits for the cluster to achieve -STARTED -status, in which all nodes have started and connected to the cluster\&. This can be overridden using the -\fB\-\-no\-contact\fR -and -\fB\-\-not\-started\fR -options\&. -.PP -The node states reported by this utility are as follows: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -NO_CONTACT: The node cannot be contacted\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -UNKNOWN: The node can be contacted, but its status is not yet known\&. Usually, this means that the node has received a -START -or -RESTART -command from the management server, but has not yet acted on it\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -NOT_STARTED: The node has stopped, but remains in contact with the cluster\&. This is seen when restarting the node using the management client\*(Aqs -RESTART -command\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -STARTING: The node\*(Aqs -\fBndbd\fR -process has started, but the node has not yet joined the cluster\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -STARTED: The node is operational, and has joined the cluster\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -SHUTTING_DOWN: The node is shutting down\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -SINGLE USER MODE: This is shown for all cluster data nodes when the cluster is in single user mode\&. -.RE -.PP -The following table includes options that are specific to the NDB Cluster native backup restoration program -\fBndb_waiter\fR\&. Additional descriptions follow the table\&. For options common to most NDB Cluster programs (including -\fBndb_waiter\fR), see -Options Common to NDB Cluster Programs(1)\&. -.sp -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.B Table\ \&21.339.\ \&Command\-line options for the ndb_waiter program -.TS -allbox tab(:); -lB lB lB. -T{ -Format -T}:T{ -Description -T}:T{ -Added, Deprecated, or Removed -T} -.T& -l l l -l l l -l l l -l l l -l l l -l l l. -T{ -.PP ---no-contact, -.PP --n -T}:T{ -Wait for cluster to reach NO CONTACT state -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---not-started -T}:T{ -Wait for cluster to reach NOT STARTED state -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---single-user -T}:T{ -Wait for cluster to enter single user mode -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---timeout=#, -.PP --t -T}:T{ -Wait this many seconds, then exit whether or not cluster has reached - desired state; default is 2 minutes (120 seconds) -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---nowait-nodes=list -T}:T{ -List of nodes not to be waited for. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -T{ -.PP ---wait-nodes=list, -.PP --w -T}:T{ -List of nodes to be waited for. -T}:T{ -.PP -All MySQL 5.7 based releases -T} -.TE -.sp 1 -Usage -.sp -.if n \{\ -.RS 4 -.\} -.nf -ndb_waiter [\-c \fIconnection_string\fR] -.fi -.if n \{\ -.RE -.\} -Additional Options -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-no\-contact\fR, -\fB\-n\fR -.sp -Instead of waiting for the -STARTED -state, -\fBndb_waiter\fR -continues running until the cluster reaches -NO_CONTACT -status before exiting\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-not\-started\fR -.sp -Instead of waiting for the -STARTED -state, -\fBndb_waiter\fR -continues running until the cluster reaches -NOT_STARTED -status before exiting\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-timeout=\fR\fB\fIseconds\fR\fR, -\fB\-t \fR\fB\fIseconds\fR\fR -.sp -Time to wait\&. The program exits if the desired state is not achieved within this number of seconds\&. The default is 120 seconds (1200 reporting cycles)\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-single\-user\fR -.sp -The program waits for the cluster to enter single user mode\&. -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-nowait\-nodes=\fR\fB\fIlist\fR\fR -.sp -When this option is used, ndb_waiter does not wait for the nodes whose IDs are listed\&. The list is comma\-delimited; ranges can be indicated by dashes, as shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_waiter \-\-nowait\-nodes=1,3,7\-9\fR -.fi -.if n \{\ -.RE -.\} -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBImportant\fR -.ps -1 -.br -Do -\fInot\fR -use this option together with the -\fB\-\-wait\-nodes\fR -option\&. -.sp .5v -.RE -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -\fB\-\-wait\-nodes=\fR\fB\fIlist\fR\fR, -\fB\-w \fR\fB\fIlist\fR\fR -.sp -When this option is used, -\fBndb_waiter\fR -waits only for the nodes whose IDs are listed\&. The list is comma\-delimited; ranges can be indicated by dashes, as shown here: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fBndb_waiter \-\-wait\-nodes=2,4\-6,10\fR -.fi -.if n \{\ -.RE -.\} -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBImportant\fR -.ps -1 -.br -Do -\fInot\fR -use this option together with the -\fB\-\-nowait\-nodes\fR -option\&. -.sp .5v -.RE -.RE -.PP -\fBSample Output\fR. Shown here is the output from -\fBndb_waiter\fR -when run against a 4\-node cluster in which two nodes have been shut down and then started again manually\&. Duplicate reports (indicated by -\&.\&.\&.) are omitted\&. -.sp -.if n \{\ -.RS 4 -.\} -.nf -shell> \fB\&./ndb_waiter \-c localhost\fR -Connecting to mgmsrv at (localhost) -State node 1 STARTED -State node 2 NO_CONTACT -State node 3 STARTED -State node 4 NO_CONTACT -Waiting for cluster enter state STARTED -\&.\&.\&. -State node 1 STARTED -State node 2 UNKNOWN -State node 3 STARTED -State node 4 NO_CONTACT -Waiting for cluster enter state STARTED -\&.\&.\&. -State node 1 STARTED -State node 2 STARTING -State node 3 STARTED -State node 4 NO_CONTACT -Waiting for cluster enter state STARTED -\&.\&.\&. -State node 1 STARTED -State node 2 STARTING -State node 3 STARTED -State node 4 UNKNOWN -Waiting for cluster enter state STARTED -\&.\&.\&. -State node 1 STARTED -State node 2 STARTING -State node 3 STARTED -State node 4 STARTING -Waiting for cluster enter state STARTED -\&.\&.\&. -State node 1 STARTED -State node 2 STARTED -State node 3 STARTED -State node 4 STARTING -Waiting for cluster enter state STARTED -\&.\&.\&. -State node 1 STARTED -State node 2 STARTED -State node 3 STARTED -State node 4 STARTED -Waiting for cluster enter state STARTED -NDBT_ProgramExit: 0 \- OK -.fi -.if n \{\ -.RE -.\} -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -.PP -If no connection string is specified, then -\fBndb_waiter\fR -tries to connect to a management on -localhost, and reports -Connecting to mgmsrv at (null)\&. -.sp .5v -.RE -.SH "COPYRIGHT" -.br -.PP -Copyright \(co 1997, 2018, Oracle and/or its affiliates. All rights reserved. -.PP -This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -.PP -This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -.PP -You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. -.sp -.SH "SEE ALSO" -For more information, please refer to the MySQL Reference Manual, -which may already be installed locally and which is also available -online at http://dev.mysql.com/doc/. -.SH AUTHOR -Oracle Corporation (http://dev.mysql.com/). diff -Nru mysql-5.7-5.7.23/man/perror.1 mysql-5.7-5.7.24/man/perror.1 --- mysql-5.7-5.7.23/man/perror.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/perror.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBperror\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBPERROR\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBPERROR\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/replace.1 mysql-5.7-5.7.24/man/replace.1 --- mysql-5.7-5.7.23/man/replace.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/replace.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBreplace\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBREPLACE\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBREPLACE\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/resolveip.1 mysql-5.7-5.7.24/man/resolveip.1 --- mysql-5.7-5.7.23/man/resolveip.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/resolveip.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBresolveip\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBRESOLVEIP\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBRESOLVEIP\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/resolve_stack_dump.1 mysql-5.7-5.7.24/man/resolve_stack_dump.1 --- mysql-5.7-5.7.23/man/resolve_stack_dump.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/resolve_stack_dump.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBresolve_stack_dump\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBRESOLVE_STACK_DUMP\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBRESOLVE_STACK_DUMP\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/man/zlib_decompress.1 mysql-5.7-5.7.24/man/zlib_decompress.1 --- mysql-5.7-5.7.23/man/zlib_decompress.1 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/man/zlib_decompress.1 2018-10-04 06:01:50.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: \fBzlib_decompress\fR .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 06/07/2018 +.\" Date: 10/03/2018 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" -.TH "\FBZLIB_DECOMPRESS\FR" "1" "06/07/2018" "MySQL 5\&.7" "MySQL Database System" +.TH "\FBZLIB_DECOMPRESS\FR" "1" "10/03/2018" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru mysql-5.7-5.7.23/mysql-test/collections/default.release.done mysql-5.7-5.7.24/mysql-test/collections/default.release.done --- mysql-5.7-5.7.23/mysql-test/collections/default.release.done 2018-06-08 10:08:39.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/collections/default.release.done 2018-10-04 06:00:35.000000000 +0000 @@ -1 +1 @@ -/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/mysql-test/collections/default.release.in +/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/mysql-test/collections/default.release.in diff -Nru mysql-5.7-5.7.23/mysql-test/collections/mysql-5.7-stage.push mysql-5.7-5.7.24/mysql-test/collections/mysql-5.7-stage.push --- mysql-5.7-5.7.23/mysql-test/collections/mysql-5.7-stage.push 2018-06-08 10:08:38.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/collections/mysql-5.7-stage.push 2018-10-04 06:00:31.000000000 +0000 @@ -44,6 +44,8 @@ perl mysql-test-run.pl --debug-server --timer --force --parallel=auto --comment=x --vardir=var-x --suite=x --experimental=collections/default.experimental # cross_plugin_test perl mysql-test-run.pl --debug-server --timer --force --parallel=auto --comment=cross_plugin_test --vardir=var-cross_plugin_test --suite=cross_plugin_test --experimental=collections/default.experimental +# audit_log +perl mysql-test-run.pl --debug-server --timer --force --parallel=auto --comment=audit_log --vardir=var-audit_log --suite=audit_log --experimental=collections/default.experimental --force-restart perl mysql-test-run.pl --timer --force --parallel=6 --comment=group_replication --vardir=var-group_replication --suite=group_replication --experimental=collections/default.experimental --skip-test-list=collections/disabled-per-push.list --big-test --testcase-timeout=60 --suite-timeout=360 perl mysql-test-run.pl --timer --force --parallel=6 --comment=group_replication_gtid_assignment_block_size_1 --vardir=var-group_replication_gtid_assignment_block_size_1 --suite=group_replication --experimental=collections/default.experimental --skip-test-list=collections/disabled-per-push.list --big-test --testcase-timeout=60 --suite-timeout=360 --mysqld=--loose-group_replication_gtid_assignment_block_size=1 perl mysql-test-run.pl --timer --force --parallel=6 --comment=group_replication_parallel_applier --vardir=var-group_replication_parallel_applier --suite=group_replication --experimental=collections/default.experimental --skip-test-list=collections/disabled-per-push.list --big-test --testcase-timeout=60 --suite-timeout=360 --mysqld=--slave-parallel-workers=4 --mysqld=--slave-parallel-type=logical_clock --mysqld=--slave_preserve_commit_order=ON diff -Nru mysql-5.7-5.7.23/mysql-test/extra/rpl_tests/rpl_multi_source_corrupt_repository.inc mysql-5.7-5.7.24/mysql-test/extra/rpl_tests/rpl_multi_source_corrupt_repository.inc --- mysql-5.7-5.7.23/mysql-test/extra/rpl_tests/rpl_multi_source_corrupt_repository.inc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/extra/rpl_tests/rpl_multi_source_corrupt_repository.inc 2018-10-04 05:48:22.000000000 +0000 @@ -304,8 +304,25 @@ ############################################################################# --echo ===== Executing SHOW SLAVE FOR CHANNEL on channel '$channel_name'. + --let $status_items=Slave_IO_State,Slave_SQL_Running_State,Last_IO_Errno,Last_IO_Error,Last_SQL_Errno,Last_SQL_Error,Channel_Name --let $rpl_channel_name=$channel_name + + if ($channel_name != $rpl_corrupt_channel_name) + { + --let $slave_timeout= 60 + + --let $slave_param= Slave_IO_State + --let $slave_param_value= Waiting for master to send event + --source include/wait_for_slave_param.inc + + --let $slave_param= Slave_SQL_Running_State + --let $slave_param_value= Slave has read all relay log; waiting for more updates + --source include/wait_for_slave_param.inc + + --let $status_items=Last_IO_Errno,Last_IO_Error,Last_SQL_Errno,Last_SQL_Error,Channel_Name + } + --source include/show_slave_status.inc ############################################################################# diff -Nru mysql-5.7-5.7.23/mysql-test/extra/rpl_tests/rpl_perfschema_order_by.test mysql-5.7-5.7.24/mysql-test/extra/rpl_tests/rpl_perfschema_order_by.test --- mysql-5.7-5.7.23/mysql-test/extra/rpl_tests/rpl_perfschema_order_by.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/extra/rpl_tests/rpl_perfschema_order_by.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,91 @@ +# The test file is invoked from rpl.rpl_perfschema_order_by.test +# +# === References === +# Bug #22958077: ORDER BY LAST_SEEN_TRANSACTION RESULTS IN EMPTY SET (OR DEBUG +# ASSERTION) + +--echo # 1) Create a database on server_1. +--let $rpl_connection_name= server_1 +--source include/rpl_connection.inc +CREATE DATABASE db1; + +--echo # 2) create database on server_3. +--let $rpl_connection_name= server_3 +--source include/rpl_connection.inc +CREATE DATABASE db3; + +--echo # 3) sync the slave (server_2) with both masters (server_1 and server_3). +#sync the slave with server_1 +--let $rpl_connection_name= server_1 +--source include/rpl_connection.inc + +--let $rpl_channel_name= channel_1 +--let $sync_slave_connection= server_2 +--source include/sync_slave_sql_with_master.inc + +# sync the slave with server_3 +--let $rpl_connection_name= server_3 +--source include/rpl_connection.inc + +--let $rpl_channel_name= channel_3 +--let $sync_slave_connection=server_2 +--source include/sync_slave_sql_with_master.inc + +# Restart slave for channel_3 so that SELECT returns unsorted data. +--let $rpl_channel_name= channel_3 +--source include/stop_slave.inc +--source include/start_slave.inc + +--echo +SELECT CHANNEL_NAME FROM performance_schema.replication_applier_configuration; +SELECT CHANNEL_NAME FROM performance_schema.replication_applier_configuration ORDER BY CHANNEL_NAME; + +--echo +SELECT CHANNEL_NAME FROM performance_schema.replication_applier_status; +SELECT CHANNEL_NAME FROM performance_schema.replication_applier_status ORDER BY CHANNEL_NAME; + +--echo +SELECT CHANNEL_NAME, LAST_ERROR_MESSAGE FROM performance_schema.replication_connection_status; +SELECT CHANNEL_NAME, LAST_ERROR_MESSAGE FROM performance_schema.replication_connection_status ORDER BY CHANNEL_NAME; + +--echo +SELECT CHANNEL_NAME, TLS_VERSION FROM performance_schema.replication_connection_configuration; +SELECT CHANNEL_NAME, TLS_VERSION FROM performance_schema.replication_connection_configuration ORDER BY CHANNEL_NAME; + +--let $is_mts= `SELECT @@global.slave_parallel_workers` +if ($is_mts) +{ + --echo + SELECT CHANNEL_NAME, LAST_ERROR_MESSAGE FROM performance_schema.replication_applier_status_by_coordinator; + SELECT CHANNEL_NAME, LAST_ERROR_MESSAGE FROM performance_schema.replication_applier_status_by_coordinator ORDER BY CHANNEL_NAME; +} + +--echo +SELECT CHANNEL_NAME, LAST_ERROR_MESSAGE FROM performance_schema.replication_applier_status_by_worker; +SELECT CHANNEL_NAME, LAST_ERROR_MESSAGE FROM performance_schema.replication_applier_status_by_worker ORDER BY CHANNEL_NAME; +--echo + +# Cleanup +--let $rpl_connection_name= server_1 +--source include/rpl_connection.inc +DROP DATABASE db1; + +--let $rpl_connection_name= server_3 +--source include/rpl_connection.inc +DROP DATABASE db3; + +#sync the slave with server_1 +--let $rpl_connection_name= server_1 +--source include/rpl_connection.inc + +--let $rpl_channel_name= channel_1 +--let $sync_slave_connection= server_2 +--source include/sync_slave_sql_with_master.inc + +# sync the slave with server_3 +--let $rpl_connection_name= server_3 +--source include/rpl_connection.inc + +--let $rpl_channel_name= channel_3 +--let $sync_slave_connection=server_2 +--source include/sync_slave_sql_with_master.inc diff -Nru mysql-5.7-5.7.23/mysql-test/include/explain_non_select.inc mysql-5.7-5.7.24/mysql-test/include/explain_non_select.inc --- mysql-5.7-5.7.23/mysql-test/include/explain_non_select.inc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/include/explain_non_select.inc 2018-10-04 05:48:22.000000000 +0000 @@ -640,7 +640,6 @@ INSERT INTO t1 VALUES (0), (1); CREATE VIEW v1 AS SELECT t11.a, t12.a AS b FROM t1 t11, t1 t12; SET SESSION sql_safe_updates = 1; ---error ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE EXPLAIN EXTENDED UPDATE IGNORE v1 SET a = 1; --error ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE UPDATE IGNORE v1 SET a = 1; diff -Nru mysql-5.7-5.7.23/mysql-test/include/mtr_warnings.sql mysql-5.7-5.7.24/mysql-test/include/mtr_warnings.sql --- mysql-5.7-5.7.23/mysql-test/include/mtr_warnings.sql 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/include/mtr_warnings.sql 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ --- Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved. +-- Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by @@ -292,6 +292,11 @@ ("Member with address .* is reachable again."), ("The member has resumed contact with a majority of the members in the group.*"), ("Members removed from the group.*"), + /* + Missing Private/Public key files + */ + ("RSA private key file not found"), + ("RSA public key file not found"), ("THE_LAST_SUPPRESSION")|| diff -Nru mysql-5.7-5.7.23/mysql-test/include/uninstall_semisync_master.inc mysql-5.7-5.7.24/mysql-test/include/uninstall_semisync_master.inc --- mysql-5.7-5.7.23/mysql-test/include/uninstall_semisync_master.inc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/include/uninstall_semisync_master.inc 2018-10-04 05:48:22.000000000 +0000 @@ -7,6 +7,13 @@ --disable_query_log --disable_warnings + +# wait till semisync clients are '0' before uninstalling +# semisync master plugin. +--let $status_var= Rpl_semi_sync_master_clients +--let $status_var_value= 0 +--source include/wait_for_status_var.inc + UNINSTALL PLUGIN rpl_semi_sync_master; --source include/end_include_file.inc diff -Nru mysql-5.7-5.7.23/mysql-test/lib/mtr_report.pm mysql-5.7-5.7.24/mysql-test/lib/mtr_report.pm --- mysql-5.7-5.7.23/mysql-test/lib/mtr_report.pm 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/lib/mtr_report.pm 2018-10-04 05:48:22.000000000 +0000 @@ -1,5 +1,5 @@ # -*- cperl -*- -# Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2004, 2018, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -32,7 +32,7 @@ use mtr_match; use File::Spec; use My::Platform; -use POSIX qw[ _exit ]; +use POSIX qw(_exit floor); use IO::Handle qw[ flush ]; require "mtr_io.pl"; use mtr_results; @@ -40,6 +40,7 @@ my $tot_real_time= 0; my $done_percentage= 0; +my $tests_completed= 0; our $timestamp= 0; our $timediff= 0; @@ -67,9 +68,11 @@ return $name ? $name." " : undef; } -sub _mtr_report_test_name ($) +sub _mtr_report_test_name ($$) { my $tinfo= shift; + my $done_percentage= shift; + my $tname= $tinfo->{name}; return unless defined $verbose; @@ -141,13 +144,13 @@ { if ($tinfo->{'name'} && !$retry) { - $::remaining= $::remaining - 1; - $done_percentage = 100 - int (($::remaining * 100) / - ($::num_tests_for_report)); + $tests_completed= $tests_completed + 1; + $done_percentage= + floor(($tests_completed / $::num_tests_for_report) * 100); } } - my $test_name = _mtr_report_test_name($tinfo); + my $test_name = _mtr_report_test_name($tinfo, $done_percentage); if ($result eq 'MTR_RES_FAILED'){ diff -Nru mysql-5.7-5.7.23/mysql-test/mysql-test-run.pl mysql-5.7-5.7.24/mysql-test/mysql-test-run.pl --- mysql-5.7-5.7.23/mysql-test/mysql-test-run.pl 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/mysql-test-run.pl 2018-10-04 05:48:22.000000000 +0000 @@ -78,6 +78,7 @@ use lib "lib"; use Cwd; +use Cwd 'abs_path'; use Getopt::Long; use My::File::Path; # Patched version of File::Path use File::Basename; @@ -137,7 +138,6 @@ my $start_only; our $num_tests_for_report; # for test-progress option -our $remaining; my $auth_plugin; # the path to the authentication test plugin @@ -284,7 +284,7 @@ our $opt_check_testcases= 1; my $opt_mark_progress; -our $opt_test_progress; +our $opt_test_progress= 1; my $opt_max_connections; our $opt_report_times= 0; @@ -428,9 +428,7 @@ ####################################################################### my $num_tests= @$tests; - $num_tests_for_report = $num_tests * $opt_repeat; - $remaining= $num_tests_for_report; if ( $opt_parallel eq "auto" ) { # Try to find a suitable value for number of workers @@ -1159,7 +1157,7 @@ 'record' => \$opt_record, 'check-testcases!' => \$opt_check_testcases, 'mark-progress' => \$opt_mark_progress, - 'test-progress' => \$opt_test_progress, + 'test-progress:1' => \$opt_test_progress, # Extra options used when starting mysqld 'mysqld=s' => \@opt_extra_mysqld_opt, @@ -1439,6 +1437,10 @@ } } + if ($opt_test_progress != 0 and $opt_test_progress != 1) { + mtr_error("Invalid value '$opt_test_progress' for option 'test-progress'."); + } + # disable syslog / EventLog in normal (non-bootstrap) operation. push(@opt_extra_mysqld_opt, "--log-syslog=0"); @@ -2358,6 +2360,7 @@ my $exe; # mysql_client_test executable may _not_ exist $exe= mtr_exe_maybe_exists(vs_config_dirs('testclients', 'mysql_client_test'), + "$path_client_bindir/mysql_client_test", "$basedir/testclients/mysql_client_test", "$basedir/bin/mysql_client_test"); return "" unless $exe; @@ -2610,14 +2613,14 @@ if (IS_WINDOWS) { $ENV{'SECURE_LOAD_PATH'}= $glob_mysql_test_dir."\\std_data"; - $ENV{'MYSQL_TEST_LOGIN_FILE'}= - $opt_tmpdir . "\\.mylogin.cnf"; + $ENV{'MYSQL_TEST_LOGIN_FILE'}= $opt_tmpdir . "\\.mylogin.cnf"; + $ENV{'MYSQLTEST_VARDIR_ABS'}= $opt_vardir; } else { $ENV{'SECURE_LOAD_PATH'}= $glob_mysql_test_dir."/std_data"; - $ENV{'MYSQL_TEST_LOGIN_FILE'}= - $opt_tmpdir . "/.mylogin.cnf"; + $ENV{'MYSQL_TEST_LOGIN_FILE'}= $opt_tmpdir . "/.mylogin.cnf"; + $ENV{'MYSQLTEST_VARDIR_ABS'}= abs_path("$opt_vardir"); } @@ -4040,6 +4043,10 @@ mtr_tofile($bootstrap_sql_file, sql_to_bootstrap(mtr_grab_file("include/mtr_check.sql"))); + # Create directories mysql and test + mkpath("$install_datadir/mysql"); + mkpath("$install_datadir/test"); + if ( $opt_manual_boot_gdb ) { # The configuration has been set up and user has been prompted for @@ -4055,10 +4062,6 @@ mtr_tofile($path_bootstrap_log, "$exe_mysqld_bootstrap " . join(" ", @$args) . "\n"); - # Create directories mysql and test - mkpath("$install_datadir/mysql"); - mkpath("$install_datadir/test"); - if ( My::SafeProcess->run ( name => "bootstrap", @@ -7324,7 +7327,8 @@ record TESTNAME (Re)genereate the result file for TESTNAME check-testcases Check testcases for sideeffects mark-progress Log line number and elapsed time to .progress - test-progress Print the percentage of tests completed + test-progress[={0|1}] Print the percentage of tests completed. This setting + is enabled by default. Options that pass on options (these may be repeated) diff -Nru mysql-5.7-5.7.23/mysql-test/r/alter_table.result mysql-5.7-5.7.24/mysql-test/r/alter_table.result --- mysql-5.7-5.7.23/mysql-test/r/alter_table.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/alter_table.result 2018-10-04 05:48:22.000000000 +0000 @@ -3786,3 +3786,56 @@ DROP TABLE t1, t2; SET sql_mode= @orig_sql_mode; SET GLOBAL innodb_large_prefix= @orig_innodb_large_prefix; +# +# BUG#27788685: NO WARNING WHEN TRUNCATING A STRING WITH DATA LOSS +# +SET GLOBAL max_allowed_packet=17825792; +CREATE TABLE t1 (t1_fld1 TEXT) ENGINE=InnoDB; +CREATE TABLE t2 (t2_fld1 MEDIUMTEXT) ENGINE=InnoDB; +CREATE TABLE t3 (t3_fld1 LONGTEXT) ENGINE=InnoDB; +INSERT INTO t1 VALUES (REPEAT('a',300)); +INSERT INTO t2 VALUES (REPEAT('b',65680)); +INSERT INTO t3 VALUES (REPEAT('c',16777300)); +SELECT LENGTH(t1_fld1) FROM t1; +LENGTH(t1_fld1) +300 +SELECT LENGTH(t2_fld1) FROM t2; +LENGTH(t2_fld1) +65680 +SELECT LENGTH(t3_fld1) FROM t3; +LENGTH(t3_fld1) +16777300 +# With strict mode +SET SQL_MODE='STRICT_ALL_TABLES'; +Warnings: +Warning 3135 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release. +Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. +ALTER TABLE t1 CHANGE `t1_fld1` `my_t1_fld1` TINYTEXT; +ERROR 22001: Data too long for column 'my_t1_fld1' at row 1 +ALTER TABLE t2 CHANGE `t2_fld1` `my_t2_fld1` TEXT; +ERROR 22001: Data too long for column 'my_t2_fld1' at row 1 +ALTER TABLE t3 CHANGE `t3_fld1` `my_t3_fld1` MEDIUMTEXT; +ERROR 22001: Data too long for column 'my_t3_fld1' at row 1 +# With non-strict mode +SET SQL_MODE=''; +ALTER TABLE t1 CHANGE `t1_fld1` `my_t1_fld1` TINYTEXT; +Warnings: +Warning 1265 Data truncated for column 'my_t1_fld1' at row 1 +ALTER TABLE t2 CHANGE `t2_fld1` `my_t2_fld1` TEXT; +Warnings: +Warning 1265 Data truncated for column 'my_t2_fld1' at row 1 +ALTER TABLE t3 CHANGE `t3_fld1` `my_t3_fld1` MEDIUMTEXT; +Warnings: +Warning 1265 Data truncated for column 'my_t3_fld1' at row 1 +SELECT LENGTH(my_t1_fld1) FROM t1; +LENGTH(my_t1_fld1) +44 +SELECT LENGTH(my_t2_fld1) FROM t2; +LENGTH(my_t2_fld1) +144 +SELECT LENGTH(my_t3_fld1) FROM t3; +LENGTH(my_t3_fld1) +84 +DROP TABLE t1, t2, t3; +SET SQL_MODE=default; +SET GLOBAL max_allowed_packet=default; diff -Nru mysql-5.7-5.7.23/mysql-test/r/connect.result mysql-5.7-5.7.24/mysql-test/r/connect.result --- mysql-5.7-5.7.23/mysql-test/r/connect.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/connect.result 2018-10-04 05:48:22.000000000 +0000 @@ -344,3 +344,29 @@ # ------------------------------------------------------------------ # -- End of 5.6 tests # ------------------------------------------------------------------ +# +# BUG#27539838: NOT ALL ABORTED CONNECTS ARE REPORTED TO ERROR.LOG +# PROPERLY +# +# restart: --log-error=LOG_ERR --log-error-verbosity=3 +SHOW STATUS LIKE 'Aborted_connects'; +Variable_name Value +Aborted_connects 0 + +# Case 1: Connection attempt by an invalid user +connect(localhost,newuser,,test,MASTER_PORT,MASTER_SOCKET); +ERROR 28000: Access denied for user 'newuser'@'localhost' (using password: NO) + +# Case 2: Connection attempt by a valid user with incorrect password +connect(localhost,root,1234,test,MASTER_PORT,MASTER_SOCKET); +ERROR 28000: Access denied for user 'root'@'localhost' (using password: YES) +CREATE DATABASE test1; +CREATE USER 'new1'@'localhost'; + +# Case 3: Connection attempt by a valid user with no privileges to access a database +connect(localhost,new1,,test1,MASTER_PORT,MASTER_SOCKET); +ERROR 42000: Access denied for user 'new1'@'localhost' to database 'test1' + +# Case 4: SSL connection attempt without necessary certificates +DROP USER 'new1'@'localhost'; +DROP DATABASE test1; diff -Nru mysql-5.7-5.7.23/mysql-test/r/ddl_i18n_koi8r.result mysql-5.7-5.7.24/mysql-test/r/ddl_i18n_koi8r.result --- mysql-5.7-5.7.23/mysql-test/r/ddl_i18n_koi8r.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/ddl_i18n_koi8r.result 2018-10-04 05:48:22.000000000 +0000 @@ -732,7 +732,7 @@ /*!50003 SET character_set_results = koi8r */ ; /*!50003 SET collation_connection = koi8r_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`( INOUT ÐÁÒÁÍ1 CHAR(10), @@ -766,7 +766,7 @@ /*!50003 SET character_set_results = koi8r */ ; /*!50003 SET collation_connection = koi8r_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`localhost` PROCEDURE `p2`( INOUT ÐÁÒÁÍ1 CHAR(10) CHARACTER SET utf8, @@ -808,7 +808,7 @@ /*!50003 SET character_set_results = koi8r */ ; /*!50003 SET collation_connection = koi8r_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`localhost` PROCEDURE `p3`( INOUT ÐÁÒÁÍ1 CHAR(10), @@ -842,7 +842,7 @@ /*!50003 SET character_set_results = koi8r */ ; /*!50003 SET collation_connection = koi8r_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`localhost` PROCEDURE `p4`( INOUT ÐÁÒÁÍ1 CHAR(10) CHARACTER SET utf8, @@ -908,7 +908,7 @@ SHOW CREATE PROCEDURE p1| Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation -p1 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`( +p1 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`( INOUT ÐÁÒÁÍ1 CHAR(10), OUT ÐÁÒÁÍ2 CHAR(10)) BEGIN @@ -929,7 +929,7 @@ SHOW CREATE PROCEDURE p2| Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation -p2 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `p2`( +p2 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `p2`( INOUT ÐÁÒÁÍ1 CHAR(10) CHARACTER SET utf8, OUT ÐÁÒÁÍ2 CHAR(10) CHARACTER SET utf8) BEGIN @@ -950,7 +950,7 @@ SHOW CREATE PROCEDURE mysqltest2.p3| Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation -p3 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `p3`( +p3 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `p3`( INOUT ÐÁÒÁÍ1 CHAR(10), OUT ÐÁÒÁÍ2 CHAR(10)) BEGIN @@ -971,7 +971,7 @@ SHOW CREATE PROCEDURE mysqltest2.p4| Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation -p4 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `p4`( +p4 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `p4`( INOUT ÐÁÒÁÍ1 CHAR(10) CHARACTER SET utf8, OUT ÐÁÒÁÍ2 CHAR(10) CHARACTER SET utf8) BEGIN @@ -1024,7 +1024,7 @@ @@character_set_client AS c8; SET ÐÁÒÁÍ1 = 'a'; SET ÐÁÒÁÍ2 = 'b'; -END NULL NULL SQL NO CONTAINS SQL NULL DEFINER CREATED ALTERED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci +END NULL NULL SQL NO CONTAINS SQL NULL DEFINER CREATED ALTERED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci SELECT * FROM INFORMATION_SCHEMA.ROUTINES WHERE routine_name = 'p2'| SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION @@ -1042,7 +1042,7 @@ @@character_set_client AS c8; SET ÐÁÒÁÍ1 = 'a'; SET ÐÁÒÁÍ2 = 'b'; -END NULL NULL SQL NO CONTAINS SQL NULL DEFINER CREATED ALTERED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci +END NULL NULL SQL NO CONTAINS SQL NULL DEFINER CREATED ALTERED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci SELECT * FROM INFORMATION_SCHEMA.ROUTINES WHERE routine_name = 'p3'| SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION @@ -1060,7 +1060,7 @@ @@character_set_client AS c8; SET ÐÁÒÁÍ1 = 'a'; SET ÐÁÒÁÍ2 = 'b'; -END NULL NULL SQL NO CONTAINS SQL NULL DEFINER CREATED ALTERED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci +END NULL NULL SQL NO CONTAINS SQL NULL DEFINER CREATED ALTERED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci SELECT * FROM INFORMATION_SCHEMA.ROUTINES WHERE routine_name = 'p4'| SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION @@ -1078,7 +1078,7 @@ @@character_set_client AS c8; SET ÐÁÒÁÍ1 = 'a'; SET ÐÁÒÁÍ2 = 'b'; -END NULL NULL SQL NO CONTAINS SQL NULL DEFINER CREATED ALTERED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci +END NULL NULL SQL NO CONTAINS SQL NULL DEFINER CREATED ALTERED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci SET @a = '1'| @@ -1750,7 +1750,7 @@ /*!50003 SET character_set_results = koi8r */ ; /*!50003 SET collation_connection = koi8r_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER trg1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN @@ -1779,7 +1779,7 @@ /*!50003 SET character_set_results = koi8r */ ; /*!50003 SET collation_connection = koi8r_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER trg2 AFTER INSERT ON t1 FOR EACH ROW BEGIN @@ -1829,7 +1829,7 @@ /*!50003 SET character_set_results = koi8r */ ; /*!50003 SET collation_connection = koi8r_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER mysqltest2.trg3 BEFORE INSERT ON mysqltest2.t1 FOR EACH ROW BEGIN @@ -1858,7 +1858,7 @@ /*!50003 SET character_set_results = koi8r */ ; /*!50003 SET collation_connection = koi8r_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER mysqltest2.trg4 AFTER INSERT ON mysqltest2.t1 FOR EACH ROW BEGIN @@ -1908,7 +1908,7 @@ SHOW CREATE TRIGGER trg1| Trigger sql_mode SQL Original Statement character_set_client collation_connection Database Collation Created -trg1 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` TRIGGER trg1 BEFORE INSERT ON t1 FOR EACH ROW +trg1 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` TRIGGER trg1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN DECLARE ÐÅÒÅÍ1 CHAR(10); INSERT INTO log VALUES(COLLATION(ÐÅÒÅÍ1)); @@ -1924,7 +1924,7 @@ SHOW CREATE TRIGGER trg2| Trigger sql_mode SQL Original Statement character_set_client collation_connection Database Collation Created -trg2 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` TRIGGER trg2 AFTER INSERT ON t1 FOR EACH ROW +trg2 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` TRIGGER trg2 AFTER INSERT ON t1 FOR EACH ROW BEGIN DECLARE ÐÅÒÅÍ1 CHAR(10) CHARACTER SET utf8; INSERT INTO log VALUES(COLLATION(ÐÅÒÅÍ1)); @@ -1940,7 +1940,7 @@ SHOW CREATE TRIGGER mysqltest2.trg3| Trigger sql_mode SQL Original Statement character_set_client collation_connection Database Collation Created -trg3 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` TRIGGER mysqltest2.trg3 BEFORE INSERT ON mysqltest2.t1 FOR EACH ROW +trg3 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` TRIGGER mysqltest2.trg3 BEFORE INSERT ON mysqltest2.t1 FOR EACH ROW BEGIN DECLARE ÐÅÒÅÍ1 CHAR(10); INSERT INTO log VALUES(COLLATION(ÐÅÒÅÍ1)); @@ -1956,7 +1956,7 @@ SHOW CREATE TRIGGER mysqltest2.trg4| Trigger sql_mode SQL Original Statement character_set_client collation_connection Database Collation Created -trg4 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` TRIGGER mysqltest2.trg4 AFTER INSERT ON mysqltest2.t1 FOR EACH ROW +trg4 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` TRIGGER mysqltest2.trg4 AFTER INSERT ON mysqltest2.t1 FOR EACH ROW BEGIN DECLARE ÐÅÒÅÍ1 CHAR(10) CHARACTER SET utf8; INSERT INTO log VALUES(COLLATION(ÐÅÒÅÍ1)); @@ -1984,7 +1984,7 @@ SET @a1 = 'ÔÅËÓÔ'; SET @a1 = 'ÔÅËÓÔ'; SET @a2 = 'ÔÅËÓÔ'; -END BEFORE CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci +END BEFORE CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci trg2 INSERT t1 BEGIN DECLARE ÐÅÒÅÍ1 CHAR(10) CHARACTER SET utf8; INSERT INTO log VALUES(COLLATION(ÐÅÒÅÍ1)); @@ -1996,7 +1996,7 @@ SET @b1 = 'ÔÅËÓÔ'; SET @b1 = 'ÔÅËÓÔ'; SET @b2 = 'ÔÅËÓÔ'; -END AFTER CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci +END AFTER CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci use mysqltest2| @@ -2013,7 +2013,7 @@ SET @a1 = 'ÔÅËÓÔ'; SET @a1 = 'ÔÅËÓÔ'; SET @a2 = 'ÔÅËÓÔ'; -END BEFORE CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci +END BEFORE CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci trg4 INSERT t1 BEGIN DECLARE ÐÅÒÅÍ1 CHAR(10) CHARACTER SET utf8; INSERT INTO log VALUES(COLLATION(ÐÅÒÅÍ1)); @@ -2025,7 +2025,7 @@ SET @b1 = 'ÔÅËÓÔ'; SET @b1 = 'ÔÅËÓÔ'; SET @b2 = 'ÔÅËÓÔ'; -END AFTER CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci +END AFTER CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci use mysqltest1| @@ -2042,7 +2042,7 @@ SET @a1 = 'ÔÅËÓÔ'; SET @a1 = 'ÔÅËÓÔ'; SET @a2 = 'ÔÅËÓÔ'; -END ROW BEFORE NULL NULL OLD NEW CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci +END ROW BEFORE NULL NULL OLD NEW CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci SELECT * FROM INFORMATION_SCHEMA.TRIGGERS WHERE trigger_name = 'trg2'| TRIGGER_CATALOG TRIGGER_SCHEMA TRIGGER_NAME EVENT_MANIPULATION EVENT_OBJECT_CATALOG EVENT_OBJECT_SCHEMA EVENT_OBJECT_TABLE ACTION_ORDER ACTION_CONDITION ACTION_STATEMENT ACTION_ORIENTATION ACTION_TIMING ACTION_REFERENCE_OLD_TABLE ACTION_REFERENCE_NEW_TABLE ACTION_REFERENCE_OLD_ROW ACTION_REFERENCE_NEW_ROW CREATED SQL_MODE DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION @@ -2057,7 +2057,7 @@ SET @b1 = 'ÔÅËÓÔ'; SET @b1 = 'ÔÅËÓÔ'; SET @b2 = 'ÔÅËÓÔ'; -END ROW AFTER NULL NULL OLD NEW CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci +END ROW AFTER NULL NULL OLD NEW CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci SELECT * FROM INFORMATION_SCHEMA.TRIGGERS WHERE trigger_name = 'trg3'| TRIGGER_CATALOG TRIGGER_SCHEMA TRIGGER_NAME EVENT_MANIPULATION EVENT_OBJECT_CATALOG EVENT_OBJECT_SCHEMA EVENT_OBJECT_TABLE ACTION_ORDER ACTION_CONDITION ACTION_STATEMENT ACTION_ORIENTATION ACTION_TIMING ACTION_REFERENCE_OLD_TABLE ACTION_REFERENCE_NEW_TABLE ACTION_REFERENCE_OLD_ROW ACTION_REFERENCE_NEW_ROW CREATED SQL_MODE DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION @@ -2072,7 +2072,7 @@ SET @a1 = 'ÔÅËÓÔ'; SET @a1 = 'ÔÅËÓÔ'; SET @a2 = 'ÔÅËÓÔ'; -END ROW BEFORE NULL NULL OLD NEW CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci +END ROW BEFORE NULL NULL OLD NEW CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci SELECT * FROM INFORMATION_SCHEMA.TRIGGERS WHERE trigger_name = 'trg4'| TRIGGER_CATALOG TRIGGER_SCHEMA TRIGGER_NAME EVENT_MANIPULATION EVENT_OBJECT_CATALOG EVENT_OBJECT_SCHEMA EVENT_OBJECT_TABLE ACTION_ORDER ACTION_CONDITION ACTION_STATEMENT ACTION_ORIENTATION ACTION_TIMING ACTION_REFERENCE_OLD_TABLE ACTION_REFERENCE_NEW_TABLE ACTION_REFERENCE_OLD_ROW ACTION_REFERENCE_NEW_ROW CREATED SQL_MODE DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION @@ -2087,7 +2087,7 @@ SET @b1 = 'ÔÅËÓÔ'; SET @b1 = 'ÔÅËÓÔ'; SET @b2 = 'ÔÅËÓÔ'; -END ROW AFTER NULL NULL OLD NEW CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci +END ROW AFTER NULL NULL OLD NEW CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost koi8r koi8r_general_ci utf8_unicode_ci SET @a1 = '1'| @@ -2494,7 +2494,7 @@ /*!50003 SET character_set_results = koi8r */ ;; /*!50003 SET collation_connection = koi8r_general_ci */ ;; /*!50003 SET @saved_sql_mode = @@sql_mode */ ;; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;; /*!50003 SET @saved_time_zone = @@time_zone */ ;; /*!50003 SET time_zone = 'SYSTEM' */ ;; /*!50106 CREATE*/ /*!50117 DEFINER=`root`@`localhost`*/ /*!50106 EVENT `ev1` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN @@ -2522,7 +2522,7 @@ /*!50003 SET character_set_results = koi8r */ ;; /*!50003 SET collation_connection = koi8r_general_ci */ ;; /*!50003 SET @saved_sql_mode = @@sql_mode */ ;; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;; /*!50003 SET @saved_time_zone = @@time_zone */ ;; /*!50003 SET time_zone = 'SYSTEM' */ ;; /*!50106 CREATE*/ /*!50117 DEFINER=`root`@`localhost`*/ /*!50106 EVENT `ev2` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN @@ -2561,7 +2561,7 @@ /*!50003 SET character_set_results = koi8r */ ;; /*!50003 SET collation_connection = koi8r_general_ci */ ;; /*!50003 SET @saved_sql_mode = @@sql_mode */ ;; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;; /*!50003 SET @saved_time_zone = @@time_zone */ ;; /*!50003 SET time_zone = 'SYSTEM' */ ;; /*!50106 CREATE*/ /*!50117 DEFINER=`root`@`localhost`*/ /*!50106 EVENT `ev3` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN @@ -2589,7 +2589,7 @@ /*!50003 SET character_set_results = koi8r */ ;; /*!50003 SET collation_connection = koi8r_general_ci */ ;; /*!50003 SET @saved_sql_mode = @@sql_mode */ ;; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;; /*!50003 SET @saved_time_zone = @@time_zone */ ;; /*!50003 SET time_zone = 'SYSTEM' */ ;; /*!50106 CREATE*/ /*!50117 DEFINER=`root`@`localhost`*/ /*!50106 EVENT `ev4` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN @@ -2634,7 +2634,7 @@ SHOW CREATE EVENT ev1| Event sql_mode time_zone Create Event character_set_client collation_connection Database Collation -ev1 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION SYSTEM CREATE DEFINER=`root`@`localhost` EVENT `ev1` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN +ev1 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION SYSTEM CREATE DEFINER=`root`@`localhost` EVENT `ev1` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN DECLARE ÐÅÒÅÍ1 CHAR(10); SELECT COLLATION(ÐÅÒÅÍ1) AS c1, @@ -2647,7 +2647,7 @@ SHOW CREATE EVENT ev2| Event sql_mode time_zone Create Event character_set_client collation_connection Database Collation -ev2 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION SYSTEM CREATE DEFINER=`root`@`localhost` EVENT `ev2` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN +ev2 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION SYSTEM CREATE DEFINER=`root`@`localhost` EVENT `ev2` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN DECLARE ÐÅÒÅÍ1 CHAR(10) CHARACTER SET utf8; SELECT COLLATION(ÐÅÒÅÍ1) AS c1, @@ -2660,7 +2660,7 @@ SHOW CREATE EVENT mysqltest2.ev3| Event sql_mode time_zone Create Event character_set_client collation_connection Database Collation -ev3 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION SYSTEM CREATE DEFINER=`root`@`localhost` EVENT `ev3` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN +ev3 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION SYSTEM CREATE DEFINER=`root`@`localhost` EVENT `ev3` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN DECLARE ÐÅÒÅÍ1 CHAR(10) CHARACTER SET utf8; SELECT COLLATION(ÐÅÒÅÍ1) AS c1, @@ -2673,7 +2673,7 @@ SHOW CREATE EVENT mysqltest2.ev3| Event sql_mode time_zone Create Event character_set_client collation_connection Database Collation -ev3 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION SYSTEM CREATE DEFINER=`root`@`localhost` EVENT `ev3` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN +ev3 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION SYSTEM CREATE DEFINER=`root`@`localhost` EVENT `ev3` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN DECLARE ÐÅÒÅÍ1 CHAR(10) CHARACTER SET utf8; SELECT COLLATION(ÐÅÒÅÍ1) AS c1, @@ -2711,7 +2711,7 @@ COLLATION( 'ÔÅËÓÔ') AS c4, @@collation_connection AS c5, @@character_set_client AS c6; -END ONE TIME 2030-01-01 00:00:00 NULL NULL ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION NULL NULL ENABLED NOT PRESERVE CREATED LAST_ALTERED NULL 1 koi8r koi8r_general_ci utf8_unicode_ci +END ONE TIME 2030-01-01 00:00:00 NULL NULL ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION NULL NULL ENABLED NOT PRESERVE CREATED LAST_ALTERED NULL 1 koi8r koi8r_general_ci utf8_unicode_ci SELECT * FROM INFORMATION_SCHEMA.EVENTS WHERE event_name = 'ev2'| EVENT_CATALOG EVENT_SCHEMA EVENT_NAME DEFINER TIME_ZONE EVENT_BODY EVENT_DEFINITION EVENT_TYPE EXECUTE_AT INTERVAL_VALUE INTERVAL_FIELD SQL_MODE STARTS ENDS STATUS ON_COMPLETION CREATED LAST_ALTERED LAST_EXECUTED EVENT_COMMENT ORIGINATOR CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION @@ -2724,7 +2724,7 @@ COLLATION( 'ÔÅËÓÔ') AS c4, @@collation_connection AS c5, @@character_set_client AS c6; -END ONE TIME 2030-01-01 00:00:00 NULL NULL ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION NULL NULL ENABLED NOT PRESERVE CREATED LAST_ALTERED NULL 1 koi8r koi8r_general_ci utf8_unicode_ci +END ONE TIME 2030-01-01 00:00:00 NULL NULL ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION NULL NULL ENABLED NOT PRESERVE CREATED LAST_ALTERED NULL 1 koi8r koi8r_general_ci utf8_unicode_ci SELECT * FROM INFORMATION_SCHEMA.EVENTS WHERE event_name = 'ev3'| EVENT_CATALOG EVENT_SCHEMA EVENT_NAME DEFINER TIME_ZONE EVENT_BODY EVENT_DEFINITION EVENT_TYPE EXECUTE_AT INTERVAL_VALUE INTERVAL_FIELD SQL_MODE STARTS ENDS STATUS ON_COMPLETION CREATED LAST_ALTERED LAST_EXECUTED EVENT_COMMENT ORIGINATOR CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION @@ -2737,7 +2737,7 @@ COLLATION( 'ÔÅËÓÔ') AS c4, @@collation_connection AS c5, @@character_set_client AS c6; -END ONE TIME 2030-01-01 00:00:00 NULL NULL ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION NULL NULL ENABLED NOT PRESERVE CREATED LAST_ALTERED NULL 1 koi8r koi8r_general_ci utf8_unicode_ci +END ONE TIME 2030-01-01 00:00:00 NULL NULL ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION NULL NULL ENABLED NOT PRESERVE CREATED LAST_ALTERED NULL 1 koi8r koi8r_general_ci utf8_unicode_ci SELECT * FROM INFORMATION_SCHEMA.EVENTS WHERE event_name = 'ev4'| EVENT_CATALOG EVENT_SCHEMA EVENT_NAME DEFINER TIME_ZONE EVENT_BODY EVENT_DEFINITION EVENT_TYPE EXECUTE_AT INTERVAL_VALUE INTERVAL_FIELD SQL_MODE STARTS ENDS STATUS ON_COMPLETION CREATED LAST_ALTERED LAST_EXECUTED EVENT_COMMENT ORIGINATOR CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION @@ -2750,7 +2750,7 @@ COLLATION( 'ÔÅËÓÔ') AS c4, @@collation_connection AS c5, @@character_set_client AS c6; -END ONE TIME 2030-01-01 00:00:00 NULL NULL ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION NULL NULL ENABLED NOT PRESERVE CREATED LAST_ALTERED NULL 1 koi8r koi8r_general_ci utf8_unicode_ci +END ONE TIME 2030-01-01 00:00:00 NULL NULL ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION NULL NULL ENABLED NOT PRESERVE CREATED LAST_ALTERED NULL 1 koi8r koi8r_general_ci utf8_unicode_ci ------------------------------------------------------------------- DDL statements within stored routine. diff -Nru mysql-5.7-5.7.23/mysql-test/r/ddl_i18n_utf8.result mysql-5.7-5.7.24/mysql-test/r/ddl_i18n_utf8.result --- mysql-5.7-5.7.23/mysql-test/r/ddl_i18n_utf8.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/ddl_i18n_utf8.result 2018-10-04 05:48:22.000000000 +0000 @@ -732,7 +732,7 @@ /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`( INOUT парам1 CHAR(10), @@ -766,7 +766,7 @@ /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`localhost` PROCEDURE `p2`( INOUT парам1 CHAR(10) CHARACTER SET utf8, @@ -808,7 +808,7 @@ /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`localhost` PROCEDURE `p3`( INOUT парам1 CHAR(10), @@ -842,7 +842,7 @@ /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`localhost` PROCEDURE `p4`( INOUT парам1 CHAR(10) CHARACTER SET utf8, @@ -908,7 +908,7 @@ SHOW CREATE PROCEDURE p1| Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation -p1 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`( +p1 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`( INOUT парам1 CHAR(10), OUT парам2 CHAR(10)) BEGIN @@ -929,7 +929,7 @@ SHOW CREATE PROCEDURE p2| Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation -p2 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `p2`( +p2 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `p2`( INOUT парам1 CHAR(10) CHARACTER SET utf8, OUT парам2 CHAR(10) CHARACTER SET utf8) BEGIN @@ -950,7 +950,7 @@ SHOW CREATE PROCEDURE mysqltest2.p3| Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation -p3 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `p3`( +p3 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `p3`( INOUT парам1 CHAR(10), OUT парам2 CHAR(10)) BEGIN @@ -971,7 +971,7 @@ SHOW CREATE PROCEDURE mysqltest2.p4| Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation -p4 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `p4`( +p4 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `p4`( INOUT парам1 CHAR(10) CHARACTER SET utf8, OUT парам2 CHAR(10) CHARACTER SET utf8) BEGIN @@ -1024,7 +1024,7 @@ @@character_set_client AS c8; SET парам1 = 'a'; SET парам2 = 'b'; -END NULL NULL SQL NO CONTAINS SQL NULL DEFINER CREATED ALTERED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci +END NULL NULL SQL NO CONTAINS SQL NULL DEFINER CREATED ALTERED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci SELECT * FROM INFORMATION_SCHEMA.ROUTINES WHERE routine_name = 'p2'| SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION @@ -1042,7 +1042,7 @@ @@character_set_client AS c8; SET парам1 = 'a'; SET парам2 = 'b'; -END NULL NULL SQL NO CONTAINS SQL NULL DEFINER CREATED ALTERED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci +END NULL NULL SQL NO CONTAINS SQL NULL DEFINER CREATED ALTERED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci SELECT * FROM INFORMATION_SCHEMA.ROUTINES WHERE routine_name = 'p3'| SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION @@ -1060,7 +1060,7 @@ @@character_set_client AS c8; SET парам1 = 'a'; SET парам2 = 'b'; -END NULL NULL SQL NO CONTAINS SQL NULL DEFINER CREATED ALTERED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci +END NULL NULL SQL NO CONTAINS SQL NULL DEFINER CREATED ALTERED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci SELECT * FROM INFORMATION_SCHEMA.ROUTINES WHERE routine_name = 'p4'| SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION @@ -1078,7 +1078,7 @@ @@character_set_client AS c8; SET парам1 = 'a'; SET парам2 = 'b'; -END NULL NULL SQL NO CONTAINS SQL NULL DEFINER CREATED ALTERED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci +END NULL NULL SQL NO CONTAINS SQL NULL DEFINER CREATED ALTERED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci SET @a = '1'| @@ -1750,7 +1750,7 @@ /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER trg1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN @@ -1779,7 +1779,7 @@ /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER trg2 AFTER INSERT ON t1 FOR EACH ROW BEGIN @@ -1829,7 +1829,7 @@ /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER mysqltest2.trg3 BEFORE INSERT ON mysqltest2.t1 FOR EACH ROW BEGIN @@ -1858,7 +1858,7 @@ /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER mysqltest2.trg4 AFTER INSERT ON mysqltest2.t1 FOR EACH ROW BEGIN @@ -1908,7 +1908,7 @@ SHOW CREATE TRIGGER trg1| Trigger sql_mode SQL Original Statement character_set_client collation_connection Database Collation Created -trg1 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` TRIGGER trg1 BEFORE INSERT ON t1 FOR EACH ROW +trg1 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` TRIGGER trg1 BEFORE INSERT ON t1 FOR EACH ROW BEGIN DECLARE перем1 CHAR(10); INSERT INTO log VALUES(COLLATION(перем1)); @@ -1924,7 +1924,7 @@ SHOW CREATE TRIGGER trg2| Trigger sql_mode SQL Original Statement character_set_client collation_connection Database Collation Created -trg2 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` TRIGGER trg2 AFTER INSERT ON t1 FOR EACH ROW +trg2 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` TRIGGER trg2 AFTER INSERT ON t1 FOR EACH ROW BEGIN DECLARE перем1 CHAR(10) CHARACTER SET utf8; INSERT INTO log VALUES(COLLATION(перем1)); @@ -1940,7 +1940,7 @@ SHOW CREATE TRIGGER mysqltest2.trg3| Trigger sql_mode SQL Original Statement character_set_client collation_connection Database Collation Created -trg3 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` TRIGGER mysqltest2.trg3 BEFORE INSERT ON mysqltest2.t1 FOR EACH ROW +trg3 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` TRIGGER mysqltest2.trg3 BEFORE INSERT ON mysqltest2.t1 FOR EACH ROW BEGIN DECLARE перем1 CHAR(10); INSERT INTO log VALUES(COLLATION(перем1)); @@ -1956,7 +1956,7 @@ SHOW CREATE TRIGGER mysqltest2.trg4| Trigger sql_mode SQL Original Statement character_set_client collation_connection Database Collation Created -trg4 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` TRIGGER mysqltest2.trg4 AFTER INSERT ON mysqltest2.t1 FOR EACH ROW +trg4 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` TRIGGER mysqltest2.trg4 AFTER INSERT ON mysqltest2.t1 FOR EACH ROW BEGIN DECLARE перем1 CHAR(10) CHARACTER SET utf8; INSERT INTO log VALUES(COLLATION(перем1)); @@ -1984,7 +1984,7 @@ SET @a1 = 'текÑÑ‚'; SET @a2 = 'текÑÑ‚'; SET @a3 = 'текÑÑ‚'; -END BEFORE CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci +END BEFORE CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci trg2 INSERT t1 BEGIN DECLARE перем1 CHAR(10) CHARACTER SET utf8; INSERT INTO log VALUES(COLLATION(перем1)); @@ -1996,7 +1996,7 @@ SET @b1 = 'текÑÑ‚'; SET @b2 = 'текÑÑ‚'; SET @b3 = 'текÑÑ‚'; -END AFTER CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci +END AFTER CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci use mysqltest2| @@ -2013,7 +2013,7 @@ SET @a1 = 'текÑÑ‚'; SET @a2 = 'текÑÑ‚'; SET @a3 = 'текÑÑ‚'; -END BEFORE CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci +END BEFORE CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci trg4 INSERT t1 BEGIN DECLARE перем1 CHAR(10) CHARACTER SET utf8; INSERT INTO log VALUES(COLLATION(перем1)); @@ -2025,7 +2025,7 @@ SET @b1 = 'текÑÑ‚'; SET @b2 = 'текÑÑ‚'; SET @b3 = 'текÑÑ‚'; -END AFTER CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci +END AFTER CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci use mysqltest1| @@ -2042,7 +2042,7 @@ SET @a1 = 'текÑÑ‚'; SET @a2 = 'текÑÑ‚'; SET @a3 = 'текÑÑ‚'; -END ROW BEFORE NULL NULL OLD NEW CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci +END ROW BEFORE NULL NULL OLD NEW CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci SELECT * FROM INFORMATION_SCHEMA.TRIGGERS WHERE trigger_name = 'trg2'| TRIGGER_CATALOG TRIGGER_SCHEMA TRIGGER_NAME EVENT_MANIPULATION EVENT_OBJECT_CATALOG EVENT_OBJECT_SCHEMA EVENT_OBJECT_TABLE ACTION_ORDER ACTION_CONDITION ACTION_STATEMENT ACTION_ORIENTATION ACTION_TIMING ACTION_REFERENCE_OLD_TABLE ACTION_REFERENCE_NEW_TABLE ACTION_REFERENCE_OLD_ROW ACTION_REFERENCE_NEW_ROW CREATED SQL_MODE DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION @@ -2057,7 +2057,7 @@ SET @b1 = 'текÑÑ‚'; SET @b2 = 'текÑÑ‚'; SET @b3 = 'текÑÑ‚'; -END ROW AFTER NULL NULL OLD NEW CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci +END ROW AFTER NULL NULL OLD NEW CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci SELECT * FROM INFORMATION_SCHEMA.TRIGGERS WHERE trigger_name = 'trg3'| TRIGGER_CATALOG TRIGGER_SCHEMA TRIGGER_NAME EVENT_MANIPULATION EVENT_OBJECT_CATALOG EVENT_OBJECT_SCHEMA EVENT_OBJECT_TABLE ACTION_ORDER ACTION_CONDITION ACTION_STATEMENT ACTION_ORIENTATION ACTION_TIMING ACTION_REFERENCE_OLD_TABLE ACTION_REFERENCE_NEW_TABLE ACTION_REFERENCE_OLD_ROW ACTION_REFERENCE_NEW_ROW CREATED SQL_MODE DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION @@ -2072,7 +2072,7 @@ SET @a1 = 'текÑÑ‚'; SET @a2 = 'текÑÑ‚'; SET @a3 = 'текÑÑ‚'; -END ROW BEFORE NULL NULL OLD NEW CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci +END ROW BEFORE NULL NULL OLD NEW CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci SELECT * FROM INFORMATION_SCHEMA.TRIGGERS WHERE trigger_name = 'trg4'| TRIGGER_CATALOG TRIGGER_SCHEMA TRIGGER_NAME EVENT_MANIPULATION EVENT_OBJECT_CATALOG EVENT_OBJECT_SCHEMA EVENT_OBJECT_TABLE ACTION_ORDER ACTION_CONDITION ACTION_STATEMENT ACTION_ORIENTATION ACTION_TIMING ACTION_REFERENCE_OLD_TABLE ACTION_REFERENCE_NEW_TABLE ACTION_REFERENCE_OLD_ROW ACTION_REFERENCE_NEW_ROW CREATED SQL_MODE DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION @@ -2087,7 +2087,7 @@ SET @b1 = 'текÑÑ‚'; SET @b2 = 'текÑÑ‚'; SET @b3 = 'текÑÑ‚'; -END ROW AFTER NULL NULL OLD NEW CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci +END ROW AFTER NULL NULL OLD NEW CREATED ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost utf8 utf8_general_ci utf8_unicode_ci SET @a1 = '1'| @@ -2494,7 +2494,7 @@ /*!50003 SET character_set_results = utf8 */ ;; /*!50003 SET collation_connection = utf8_general_ci */ ;; /*!50003 SET @saved_sql_mode = @@sql_mode */ ;; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;; /*!50003 SET @saved_time_zone = @@time_zone */ ;; /*!50003 SET time_zone = 'SYSTEM' */ ;; /*!50106 CREATE*/ /*!50117 DEFINER=`root`@`localhost`*/ /*!50106 EVENT `ev1` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN @@ -2522,7 +2522,7 @@ /*!50003 SET character_set_results = utf8 */ ;; /*!50003 SET collation_connection = utf8_general_ci */ ;; /*!50003 SET @saved_sql_mode = @@sql_mode */ ;; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;; /*!50003 SET @saved_time_zone = @@time_zone */ ;; /*!50003 SET time_zone = 'SYSTEM' */ ;; /*!50106 CREATE*/ /*!50117 DEFINER=`root`@`localhost`*/ /*!50106 EVENT `ev2` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN @@ -2561,7 +2561,7 @@ /*!50003 SET character_set_results = utf8 */ ;; /*!50003 SET collation_connection = utf8_general_ci */ ;; /*!50003 SET @saved_sql_mode = @@sql_mode */ ;; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;; /*!50003 SET @saved_time_zone = @@time_zone */ ;; /*!50003 SET time_zone = 'SYSTEM' */ ;; /*!50106 CREATE*/ /*!50117 DEFINER=`root`@`localhost`*/ /*!50106 EVENT `ev3` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN @@ -2589,7 +2589,7 @@ /*!50003 SET character_set_results = utf8 */ ;; /*!50003 SET collation_connection = utf8_general_ci */ ;; /*!50003 SET @saved_sql_mode = @@sql_mode */ ;; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;; /*!50003 SET @saved_time_zone = @@time_zone */ ;; /*!50003 SET time_zone = 'SYSTEM' */ ;; /*!50106 CREATE*/ /*!50117 DEFINER=`root`@`localhost`*/ /*!50106 EVENT `ev4` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN @@ -2634,7 +2634,7 @@ SHOW CREATE EVENT ev1| Event sql_mode time_zone Create Event character_set_client collation_connection Database Collation -ev1 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION SYSTEM CREATE DEFINER=`root`@`localhost` EVENT `ev1` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN +ev1 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION SYSTEM CREATE DEFINER=`root`@`localhost` EVENT `ev1` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN DECLARE перем1 CHAR(10); SELECT COLLATION(перем1) AS c1, @@ -2647,7 +2647,7 @@ SHOW CREATE EVENT ev2| Event sql_mode time_zone Create Event character_set_client collation_connection Database Collation -ev2 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION SYSTEM CREATE DEFINER=`root`@`localhost` EVENT `ev2` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN +ev2 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION SYSTEM CREATE DEFINER=`root`@`localhost` EVENT `ev2` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN DECLARE перем1 CHAR(10) CHARACTER SET utf8; SELECT COLLATION(перем1) AS c1, @@ -2660,7 +2660,7 @@ SHOW CREATE EVENT mysqltest2.ev3| Event sql_mode time_zone Create Event character_set_client collation_connection Database Collation -ev3 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION SYSTEM CREATE DEFINER=`root`@`localhost` EVENT `ev3` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN +ev3 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION SYSTEM CREATE DEFINER=`root`@`localhost` EVENT `ev3` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN DECLARE перем1 CHAR(10) CHARACTER SET utf8; SELECT COLLATION(перем1) AS c1, @@ -2673,7 +2673,7 @@ SHOW CREATE EVENT mysqltest2.ev3| Event sql_mode time_zone Create Event character_set_client collation_connection Database Collation -ev3 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION SYSTEM CREATE DEFINER=`root`@`localhost` EVENT `ev3` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN +ev3 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION SYSTEM CREATE DEFINER=`root`@`localhost` EVENT `ev3` ON SCHEDULE AT '2030-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO BEGIN DECLARE перем1 CHAR(10) CHARACTER SET utf8; SELECT COLLATION(перем1) AS c1, @@ -2711,7 +2711,7 @@ COLLATION( 'текÑÑ‚') AS c4, @@collation_connection AS c5, @@character_set_client AS c6; -END ONE TIME 2030-01-01 00:00:00 NULL NULL ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION NULL NULL ENABLED NOT PRESERVE CREATED LAST_ALTERED NULL 1 utf8 utf8_general_ci utf8_unicode_ci +END ONE TIME 2030-01-01 00:00:00 NULL NULL ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION NULL NULL ENABLED NOT PRESERVE CREATED LAST_ALTERED NULL 1 utf8 utf8_general_ci utf8_unicode_ci SELECT * FROM INFORMATION_SCHEMA.EVENTS WHERE event_name = 'ev2'| EVENT_CATALOG EVENT_SCHEMA EVENT_NAME DEFINER TIME_ZONE EVENT_BODY EVENT_DEFINITION EVENT_TYPE EXECUTE_AT INTERVAL_VALUE INTERVAL_FIELD SQL_MODE STARTS ENDS STATUS ON_COMPLETION CREATED LAST_ALTERED LAST_EXECUTED EVENT_COMMENT ORIGINATOR CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION @@ -2724,7 +2724,7 @@ COLLATION( 'текÑÑ‚') AS c4, @@collation_connection AS c5, @@character_set_client AS c6; -END ONE TIME 2030-01-01 00:00:00 NULL NULL ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION NULL NULL ENABLED NOT PRESERVE CREATED LAST_ALTERED NULL 1 utf8 utf8_general_ci utf8_unicode_ci +END ONE TIME 2030-01-01 00:00:00 NULL NULL ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION NULL NULL ENABLED NOT PRESERVE CREATED LAST_ALTERED NULL 1 utf8 utf8_general_ci utf8_unicode_ci SELECT * FROM INFORMATION_SCHEMA.EVENTS WHERE event_name = 'ev3'| EVENT_CATALOG EVENT_SCHEMA EVENT_NAME DEFINER TIME_ZONE EVENT_BODY EVENT_DEFINITION EVENT_TYPE EXECUTE_AT INTERVAL_VALUE INTERVAL_FIELD SQL_MODE STARTS ENDS STATUS ON_COMPLETION CREATED LAST_ALTERED LAST_EXECUTED EVENT_COMMENT ORIGINATOR CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION @@ -2737,7 +2737,7 @@ COLLATION( 'текÑÑ‚') AS c4, @@collation_connection AS c5, @@character_set_client AS c6; -END ONE TIME 2030-01-01 00:00:00 NULL NULL ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION NULL NULL ENABLED NOT PRESERVE CREATED LAST_ALTERED NULL 1 utf8 utf8_general_ci utf8_unicode_ci +END ONE TIME 2030-01-01 00:00:00 NULL NULL ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION NULL NULL ENABLED NOT PRESERVE CREATED LAST_ALTERED NULL 1 utf8 utf8_general_ci utf8_unicode_ci SELECT * FROM INFORMATION_SCHEMA.EVENTS WHERE event_name = 'ev4'| EVENT_CATALOG EVENT_SCHEMA EVENT_NAME DEFINER TIME_ZONE EVENT_BODY EVENT_DEFINITION EVENT_TYPE EXECUTE_AT INTERVAL_VALUE INTERVAL_FIELD SQL_MODE STARTS ENDS STATUS ON_COMPLETION CREATED LAST_ALTERED LAST_EXECUTED EVENT_COMMENT ORIGINATOR CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION @@ -2750,7 +2750,7 @@ COLLATION( 'текÑÑ‚') AS c4, @@collation_connection AS c5, @@character_set_client AS c6; -END ONE TIME 2030-01-01 00:00:00 NULL NULL ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION NULL NULL ENABLED NOT PRESERVE CREATED LAST_ALTERED NULL 1 utf8 utf8_general_ci utf8_unicode_ci +END ONE TIME 2030-01-01 00:00:00 NULL NULL ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION NULL NULL ENABLED NOT PRESERVE CREATED LAST_ALTERED NULL 1 utf8 utf8_general_ci utf8_unicode_ci ------------------------------------------------------------------- DDL statements within stored routine. diff -Nru mysql-5.7-5.7.23/mysql-test/r/delete.result mysql-5.7-5.7.24/mysql-test/r/delete.result --- mysql-5.7-5.7.23/mysql-test/r/delete.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/delete.result 2018-10-04 05:48:22.000000000 +0000 @@ -159,8 +159,12 @@ CREATE TABLE t2(b INTEGER); INSERT INTO t2 VALUES(10),(20); SET SESSION sql_safe_updates=1; -DELETE t1 FROM t1 JOIN t2 WHERE t1.a = 10; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +EXPLAIN DELETE t2 FROM t1 JOIN t2 WHERE t1.a = 10; +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 SIMPLE t1 NULL const PRIMARY PRIMARY 4 const 1 100.00 Using index +1 DELETE t2 NULL ALL NULL NULL NULL NULL 2 100.00 NULL +DELETE t2 FROM t1 JOIN t2 WHERE t1.a = 10; +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. SET SESSION sql_safe_updates=default; DROP TABLE t1, t2; create table t1 (a int, b int, unique key (a), key (b)); diff -Nru mysql-5.7-5.7.23/mysql-test/r/ignore_strict.result mysql-5.7-5.7.24/mysql-test/r/ignore_strict.result --- mysql-5.7-5.7.23/mysql-test/r/ignore_strict.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/ignore_strict.result 2018-10-04 05:48:22.000000000 +0000 @@ -948,6 +948,6 @@ SET @org_safe_updates= @@sql_safe_updates; SET SESSION sql_safe_updates=ON; DELETE IGNORE FROM t1 WHERE a=1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. DROP TABLE t1; SET sql_safe_updates= @org_safe_updates; diff -Nru mysql-5.7-5.7.23/mysql-test/r/innodb_explain_json_non_select_all.result mysql-5.7-5.7.24/mysql-test/r/innodb_explain_json_non_select_all.result --- mysql-5.7-5.7.23/mysql-test/r/innodb_explain_json_non_select_all.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/innodb_explain_json_non_select_all.result 2018-10-04 05:48:22.000000000 +0000 @@ -6817,9 +6817,13 @@ CREATE VIEW v1 AS SELECT t11.a, t12.a AS b FROM t1 t11, t1 t12; SET SESSION sql_safe_updates = 1; EXPLAIN EXTENDED UPDATE IGNORE v1 SET a = 1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 UPDATE t11 NULL ALL NULL NULL NULL NULL 2 100.00 NULL +1 SIMPLE t12 NULL index NULL a 5 NULL 2 100.00 Using index +Warnings: +Warning 1681 'EXTENDED' is deprecated and will be removed in a future release. UPDATE IGNORE v1 SET a = 1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. SET SESSION sql_safe_updates = DEFAULT; DROP TABLE t1; DROP VIEW v1; diff -Nru mysql-5.7-5.7.23/mysql-test/r/innodb_explain_json_non_select_none.result mysql-5.7-5.7.24/mysql-test/r/innodb_explain_json_non_select_none.result --- mysql-5.7-5.7.23/mysql-test/r/innodb_explain_json_non_select_none.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/innodb_explain_json_non_select_none.result 2018-10-04 05:48:22.000000000 +0000 @@ -6853,9 +6853,13 @@ CREATE VIEW v1 AS SELECT t11.a, t12.a AS b FROM t1 t11, t1 t12; SET SESSION sql_safe_updates = 1; EXPLAIN EXTENDED UPDATE IGNORE v1 SET a = 1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 UPDATE t11 NULL ALL NULL NULL NULL NULL 2 100.00 NULL +1 SIMPLE t12 NULL index NULL a 5 NULL 2 100.00 Using index +Warnings: +Warning 1681 'EXTENDED' is deprecated and will be removed in a future release. UPDATE IGNORE v1 SET a = 1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. SET SESSION sql_safe_updates = DEFAULT; DROP TABLE t1; DROP VIEW v1; diff -Nru mysql-5.7-5.7.23/mysql-test/r/innodb_explain_non_select_all.result mysql-5.7-5.7.24/mysql-test/r/innodb_explain_non_select_all.result --- mysql-5.7-5.7.23/mysql-test/r/innodb_explain_non_select_all.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/innodb_explain_non_select_all.result 2018-10-04 05:48:22.000000000 +0000 @@ -2658,9 +2658,13 @@ CREATE VIEW v1 AS SELECT t11.a, t12.a AS b FROM t1 t11, t1 t12; SET SESSION sql_safe_updates = 1; EXPLAIN EXTENDED UPDATE IGNORE v1 SET a = 1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 UPDATE t11 NULL ALL NULL NULL NULL NULL 2 100.00 NULL +1 SIMPLE t12 NULL index NULL a 5 NULL 2 100.00 Using index +Warnings: +Warning 1681 'EXTENDED' is deprecated and will be removed in a future release. UPDATE IGNORE v1 SET a = 1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. SET SESSION sql_safe_updates = DEFAULT; DROP TABLE t1; DROP VIEW v1; diff -Nru mysql-5.7-5.7.23/mysql-test/r/innodb_explain_non_select_none.result mysql-5.7-5.7.24/mysql-test/r/innodb_explain_non_select_none.result --- mysql-5.7-5.7.23/mysql-test/r/innodb_explain_non_select_none.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/innodb_explain_non_select_none.result 2018-10-04 05:48:22.000000000 +0000 @@ -2660,9 +2660,13 @@ CREATE VIEW v1 AS SELECT t11.a, t12.a AS b FROM t1 t11, t1 t12; SET SESSION sql_safe_updates = 1; EXPLAIN EXTENDED UPDATE IGNORE v1 SET a = 1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 UPDATE t11 NULL ALL NULL NULL NULL NULL 2 100.00 NULL +1 SIMPLE t12 NULL index NULL a 5 NULL 2 100.00 Using index +Warnings: +Warning 1681 'EXTENDED' is deprecated and will be removed in a future release. UPDATE IGNORE v1 SET a = 1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. SET SESSION sql_safe_updates = DEFAULT; DROP TABLE t1; DROP VIEW v1; diff -Nru mysql-5.7-5.7.23/mysql-test/r/mdl_tablespace.result mysql-5.7-5.7.24/mysql-test/r/mdl_tablespace.result --- mysql-5.7-5.7.23/mysql-test/r/mdl_tablespace.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/mdl_tablespace.result 2018-10-04 05:48:22.000000000 +0000 @@ -865,6 +865,8 @@ PARTITION BY RANGE (a) PARTITIONS 1 (PARTITION P1 VALUES LESS THAN (2) TABLESPACE ts1); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. ############################################# # Case1: Checking TRUNCATE TABLE # Sending 'TRUNCATE TABLE t1;' @@ -900,6 +902,8 @@ SET DEBUG_SYNC= 'now WAIT_FOR got_lock'; SET DEBUG_SYNC= 'now SIGNAL cont'; # Reaping 'CREATE TABLE' +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. ############################################# # Case5: Checking CREATE TABLE LIKE SET DEBUG_SYNC= 'RESET'; @@ -911,6 +915,8 @@ SET DEBUG_SYNC= 'now WAIT_FOR got_lock'; SET DEBUG_SYNC= 'now SIGNAL cont'; # Reaping 'CREATE TABLE LIKE' +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. ############################################# # Case6: Checking ALTER TABLE ... PARTITION CREATE TABLESPACE ts2 ADD DATAFILE 'ts2.ibd'; @@ -923,6 +929,8 @@ SET DEBUG_SYNC= 'now WAIT_FOR got_lock'; SET DEBUG_SYNC= 'now SIGNAL cont'; # Reaping 'ALTER TABLE' +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. ############################################# # Case7: Checking LOCK TABLE t2 WRITE SET DEBUG_SYNC= 'RESET'; diff -Nru mysql-5.7-5.7.23/mysql-test/r/multi_update.result mysql-5.7-5.7.24/mysql-test/r/multi_update.result --- mysql-5.7-5.7.23/mysql-test/r/multi_update.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/multi_update.result 2018-10-04 05:48:22.000000000 +0000 @@ -182,10 +182,10 @@ set sql_safe_updates=1; create table t1 (n int(10), d int(10)); create table t2 (n int(10), d int(10)); -insert into t1 values(1,1); +insert into t1 values(1,1), (3,30); insert into t2 values(1,10),(2,20); UPDATE t1,t2 SET t1.d=t2.d WHERE t1.n=t2.n; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. set sql_safe_updates=0; drop table t1,t2; set timestamp=1038401397; @@ -667,7 +667,7 @@ SET SESSION sql_safe_updates = 1; # Must not cause failed assertion UPDATE IGNORE t1, t1 t1a SET t1.a = 1 WHERE t1a.a = 1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. DROP TABLE t1; # # Bug#54543: update ignore with incorrect subquery leads to assertion diff -Nru mysql-5.7-5.7.23/mysql-test/r/myisam-blob.result mysql-5.7-5.7.24/mysql-test/r/myisam-blob.result --- mysql-5.7-5.7.23/mysql-test/r/myisam-blob.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/myisam-blob.result 2018-10-04 05:48:22.000000000 +0000 @@ -1,3 +1,6 @@ +SET SQL_MODE=''; +Warnings: +Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. drop table if exists t1; CREATE TABLE t1 (data LONGBLOB) ENGINE=myisam; INSERT INTO t1 (data) VALUES (NULL); @@ -29,6 +32,8 @@ length(data) 18874368 alter table t1 modify data blob; +Warnings: +Warning 1265 Data truncated for column 'data' at row 1 select length(data) from t1; length(data) 0 @@ -42,3 +47,4 @@ length(data) 65535 drop table t1; +SET SQL_MODE=default; diff -Nru mysql-5.7-5.7.23/mysql-test/r/myisam_explain_json_non_select_all.result mysql-5.7-5.7.24/mysql-test/r/myisam_explain_json_non_select_all.result --- mysql-5.7-5.7.23/mysql-test/r/myisam_explain_json_non_select_all.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/myisam_explain_json_non_select_all.result 2018-10-04 05:48:22.000000000 +0000 @@ -6666,9 +6666,13 @@ CREATE VIEW v1 AS SELECT t11.a, t12.a AS b FROM t1 t11, t1 t12; SET SESSION sql_safe_updates = 1; EXPLAIN EXTENDED UPDATE IGNORE v1 SET a = 1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 UPDATE t11 NULL ALL NULL NULL NULL NULL 2 100.00 NULL +1 SIMPLE t12 NULL index NULL a 5 NULL 2 100.00 Using index +Warnings: +Warning 1681 'EXTENDED' is deprecated and will be removed in a future release. UPDATE IGNORE v1 SET a = 1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. SET SESSION sql_safe_updates = DEFAULT; DROP TABLE t1; DROP VIEW v1; diff -Nru mysql-5.7-5.7.23/mysql-test/r/myisam_explain_json_non_select_none.result mysql-5.7-5.7.24/mysql-test/r/myisam_explain_json_non_select_none.result --- mysql-5.7-5.7.23/mysql-test/r/myisam_explain_json_non_select_none.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/myisam_explain_json_non_select_none.result 2018-10-04 05:48:22.000000000 +0000 @@ -6698,9 +6698,13 @@ CREATE VIEW v1 AS SELECT t11.a, t12.a AS b FROM t1 t11, t1 t12; SET SESSION sql_safe_updates = 1; EXPLAIN EXTENDED UPDATE IGNORE v1 SET a = 1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 UPDATE t11 NULL ALL NULL NULL NULL NULL 2 100.00 NULL +1 SIMPLE t12 NULL index NULL a 5 NULL 2 100.00 Using index +Warnings: +Warning 1681 'EXTENDED' is deprecated and will be removed in a future release. UPDATE IGNORE v1 SET a = 1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. SET SESSION sql_safe_updates = DEFAULT; DROP TABLE t1; DROP VIEW v1; diff -Nru mysql-5.7-5.7.23/mysql-test/r/myisam_explain_non_select_all.result mysql-5.7-5.7.24/mysql-test/r/myisam_explain_non_select_all.result --- mysql-5.7-5.7.23/mysql-test/r/myisam_explain_non_select_all.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/myisam_explain_non_select_all.result 2018-10-04 05:48:22.000000000 +0000 @@ -2541,9 +2541,13 @@ CREATE VIEW v1 AS SELECT t11.a, t12.a AS b FROM t1 t11, t1 t12; SET SESSION sql_safe_updates = 1; EXPLAIN EXTENDED UPDATE IGNORE v1 SET a = 1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 UPDATE t11 NULL ALL NULL NULL NULL NULL 2 100.00 NULL +1 SIMPLE t12 NULL index NULL a 5 NULL 2 100.00 Using index +Warnings: +Warning 1681 'EXTENDED' is deprecated and will be removed in a future release. UPDATE IGNORE v1 SET a = 1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. SET SESSION sql_safe_updates = DEFAULT; DROP TABLE t1; DROP VIEW v1; diff -Nru mysql-5.7-5.7.23/mysql-test/r/myisam_explain_non_select_none.result mysql-5.7-5.7.24/mysql-test/r/myisam_explain_non_select_none.result --- mysql-5.7-5.7.23/mysql-test/r/myisam_explain_non_select_none.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/myisam_explain_non_select_none.result 2018-10-04 05:48:22.000000000 +0000 @@ -2539,9 +2539,13 @@ CREATE VIEW v1 AS SELECT t11.a, t12.a AS b FROM t1 t11, t1 t12; SET SESSION sql_safe_updates = 1; EXPLAIN EXTENDED UPDATE IGNORE v1 SET a = 1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 UPDATE t11 NULL ALL NULL NULL NULL NULL 2 100.00 NULL +1 SIMPLE t12 NULL index NULL a 5 NULL 2 100.00 Using index +Warnings: +Warning 1681 'EXTENDED' is deprecated and will be removed in a future release. UPDATE IGNORE v1 SET a = 1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. SET SESSION sql_safe_updates = DEFAULT; DROP TABLE t1; DROP VIEW v1; diff -Nru mysql-5.7-5.7.23/mysql-test/r/mysqldump.result mysql-5.7-5.7.24/mysql-test/r/mysqldump.result --- mysql-5.7-5.7.23/mysql-test/r/mysqldump.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/mysqldump.result 2018-10-04 05:48:22.000000000 +0000 @@ -2394,7 +2394,7 @@ /*!50003 SET character_set_results = latin1 */ ; /*!50003 SET collation_connection = latin1_swedish_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 trigger trg1 before insert on t1 for each row begin @@ -2415,7 +2415,7 @@ /*!50003 SET character_set_results = latin1 */ ; /*!50003 SET collation_connection = latin1_swedish_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 trigger trg2 before update on t1 for each row begin if old.a % 2 = 0 then set new.b := 12; end if; @@ -2432,7 +2432,7 @@ /*!50003 SET character_set_results = latin1 */ ; /*!50003 SET collation_connection = latin1_swedish_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 trigger trg3 after update on t1 for each row begin @@ -2464,7 +2464,7 @@ /*!50003 SET character_set_results = latin1 */ ; /*!50003 SET collation_connection = latin1_swedish_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 trigger trg4 before insert on t2 for each row begin @@ -2550,10 +2550,10 @@ set new.a := 10; set new.a := 11; end if; -end BEFORE # ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost latin1 latin1_swedish_ci latin1_swedish_ci +end BEFORE # ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost latin1 latin1_swedish_ci latin1_swedish_ci trg2 UPDATE t1 begin if old.a % 2 = 0 then set new.b := 12; end if; -end BEFORE # ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost latin1 latin1_swedish_ci latin1_swedish_ci +end BEFORE # ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost latin1 latin1_swedish_ci latin1_swedish_ci trg3 UPDATE t1 begin if new.a = -1 then set @fired:= "Yes"; @@ -2596,7 +2596,7 @@ SHOW TRIGGERS; Trigger Event Table Statement Timing Created sql_mode Definer character_set_client collation_connection Database Collation testref INSERT test1 BEGIN -INSERT INTO test2 SET a2 = NEW.a1; END BEFORE # ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION root@localhost latin1 latin1_swedish_ci latin1_swedish_ci +INSERT INTO test2 SET a2 = NEW.a1; END BEFORE # ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost latin1 latin1_swedish_ci latin1_swedish_ci SELECT * FROM `test1`; a1 1 @@ -2670,7 +2670,7 @@ /*!50003 SET character_set_results = latin1 */ ; /*!50003 SET collation_connection = latin1_swedish_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`localhost` FUNCTION `bug9056_func1`(a INT, b INT) RETURNS int(11) RETURN a+b ;; @@ -2687,7 +2687,7 @@ /*!50003 SET character_set_results = latin1 */ ; /*!50003 SET collation_connection = latin1_swedish_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`localhost` FUNCTION `bug9056_func2`(f1 char binary) RETURNS char(1) CHARSET latin1 begin @@ -2724,7 +2724,7 @@ /*!50003 SET character_set_results = latin1 */ ; /*!50003 SET collation_connection = latin1_swedish_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`localhost` PROCEDURE `bug9056_proc1`(IN a INT, IN b INT, OUT c INT) BEGIN SELECT a+b INTO c; end ;; @@ -2741,7 +2741,7 @@ /*!50003 SET character_set_results = latin1 */ ; /*!50003 SET collation_connection = latin1_swedish_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`localhost` PROCEDURE `bug9056_proc2`(OUT a INT) BEGIN @@ -3725,7 +3725,7 @@ /*!50003 SET character_set_results = latin1 */ ; /*!50003 SET collation_connection = latin1_swedish_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`user1`@`%` PROCEDURE `sp1`() select 'hello' ;; @@ -5682,3 +5682,104 @@ SHOW VARIABLES LIKE "relay_log_info_repository"; Variable_name Value relay_log_info_repository FILE +# +# Bug#27931181: RESTAURE DUMP CREATED WITH 5.7.22 ON 8.0.11 +# +CREATE DATABASE bug27931181; +USE bug27931181; +CREATE TABLE t1 (a INT); +SET sql_mode='NO_AUTO_CREATE_USER'; +Warnings: +Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. +CREATE TRIGGER trig1 BEFORE INSERT ON t1 FOR EACH ROW SET NEW.a = 1; +SET sql_mode='NO_AUTO_CREATE_USER,ONLY_FULL_GROUP_BY'; +CREATE PROCEDURE p1() SELECT 1; +SET sql_mode=@@global.sql_mode; +CREATE FUNCTION f1() RETURNS INT RETURN 1; + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; +/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; +/*!40103 SET TIME_ZONE='+00:00' */; +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; + +CREATE DATABASE /*!32312 IF NOT EXISTS*/ `bug27931181` /*!40100 DEFAULT CHARACTER SET latin1 */; + +USE `bug27931181`; +DROP TABLE IF EXISTS `t1`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `t1` ( + `a` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; +/*!40101 SET character_set_client = @saved_cs_client */; + +LOCK TABLES `t1` WRITE; +/*!40000 ALTER TABLE `t1` DISABLE KEYS */; +/*!40000 ALTER TABLE `t1` ENABLE KEYS */; +UNLOCK TABLES; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = latin1 */ ; +/*!50003 SET character_set_results = latin1 */ ; +/*!50003 SET collation_connection = latin1_swedish_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = '' */ ; +DELIMITER ;; +/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER trig1 BEFORE INSERT ON t1 FOR EACH ROW SET NEW.a = 1 */;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; +/*!50003 DROP FUNCTION IF EXISTS `f1` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = latin1 */ ; +/*!50003 SET character_set_results = latin1 */ ; +/*!50003 SET collation_connection = latin1_swedish_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`root`@`localhost` FUNCTION `f1`() RETURNS int(11) +RETURN 1 ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; +/*!50003 DROP PROCEDURE IF EXISTS `p1` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = latin1 */ ; +/*!50003 SET character_set_results = latin1 */ ; +/*!50003 SET collation_connection = latin1_swedish_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY' */ ; +DELIMITER ;; +CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`() +SELECT 1 ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; + +DROP DATABASE bug27931181; diff -Nru mysql-5.7-5.7.23/mysql-test/r/parser.result mysql-5.7-5.7.24/mysql-test/r/parser.result --- mysql-5.7-5.7.23/mysql-test/r/parser.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/parser.result 2018-10-04 05:48:22.000000000 +0000 @@ -1233,3 +1233,9 @@ Warning 1287 '..' is deprecated and will be removed in a future release. Please use the table.column name without a dot prefix instead DROP TABLE t1, t2; # + +Bug #27714748: @@PARSER_MAX_MEM_SIZE DOES NOT WORK FOR ROUTINES + +SET parser_max_mem_size = 10000000; +ERROR HY000: Memory capacity of 10000000 bytes for 'parser_max_mem_size' exceeded. Parser bailed out for this query. +SET parser_max_mem_size = default; diff -Nru mysql-5.7-5.7.23/mysql-test/r/partition_hash.result mysql-5.7-5.7.24/mysql-test/r/partition_hash.result --- mysql-5.7-5.7.23/mysql-test/r/partition_hash.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/partition_hash.result 2018-10-04 05:48:22.000000000 +0000 @@ -207,6 +207,8 @@ (partition x1 tablespace ts1, partition x2 tablespace ts2, partition x3 tablespace ts3); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. insert into t1 values (1,1,1); SHOW CREATE TABLE t1; Table Create Table @@ -255,6 +257,8 @@ (partition x1 tablespace ts1, partition x2 tablespace ts2, partition x3 tablespace ts3); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. select * from t1; a b c SHOW CREATE TABLE t1; diff -Nru mysql-5.7-5.7.23/mysql-test/r/partition_innodb.result mysql-5.7-5.7.24/mysql-test/r/partition_innodb.result --- mysql-5.7-5.7.23/mysql-test/r/partition_innodb.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/partition_innodb.result 2018-10-04 05:48:22.000000000 +0000 @@ -1061,6 +1061,8 @@ PARTITION BY LIST (`f4`) (PARTITION p0 VALUES IN (0) ENGINE = InnoDB, PARTITION p1 VALUES IN (1) DATA DIRECTORY = 'MYSQL_TMP_DIR/temp_tblspc' ENGINE = InnoDB); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( @@ -1133,6 +1135,8 @@ PARTITION BY LIST (`f4`) (PARTITION p0 VALUES IN (0) TABLESPACE ts1 ENGINE = InnoDB, PARTITION p1 VALUES IN (1) TABLESPACE ts2 ENGINE = InnoDB); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( @@ -1171,6 +1175,8 @@ PARTITION p1 VALUES IN (1) TABLESPACE innodb_file_per_table DATA DIRECTORY='MYSQL_TMP_DIR/temp_dir' ENGINE = InnoDB, PARTITION p2 VALUES IN (2) TABLESPACE innodb_file_per_table ENGINE = InnoDB, PARTITION p3 VALUES IN (3) TABLESPACE innodb_system ENGINE = InnoDB); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( diff -Nru mysql-5.7-5.7.23/mysql-test/r/partition_innodb_tablespace.result mysql-5.7-5.7.24/mysql-test/r/partition_innodb_tablespace.result --- mysql-5.7-5.7.23/mysql-test/r/partition_innodb_tablespace.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/partition_innodb_tablespace.result 2018-10-04 05:48:22.000000000 +0000 @@ -391,6 +391,8 @@ (SUBPARTITION sp9 TABLESPACE ts_part4, SUBPARTITION sp10, SUBPARTITION sp11)); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t2; Table Create Table t2 CREATE TABLE `t2` ( @@ -444,6 +446,8 @@ (SUBPARTITION sp9 TABLESPACE ts_part4, SUBPARTITION sp10, SUBPARTITION sp11)); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t3; Table Create Table t3 CREATE TABLE `t3` ( diff -Nru mysql-5.7-5.7.23/mysql-test/r/partition_list.result mysql-5.7-5.7.24/mysql-test/r/partition_list.result --- mysql-5.7-5.7.23/mysql-test/r/partition_list.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/partition_list.result 2018-10-04 05:48:22.000000000 +0000 @@ -426,6 +426,8 @@ primary key(a,b)) partition by list (a) (partition x1 values in (1,2,9,4) tablespace ts1); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( diff -Nru mysql-5.7-5.7.23/mysql-test/r/partition_pruning.result mysql-5.7-5.7.24/mysql-test/r/partition_pruning.result --- mysql-5.7-5.7.23/mysql-test/r/partition_pruning.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/partition_pruning.result 2018-10-04 05:48:22.000000000 +0000 @@ -47,6 +47,9 @@ PARTITION p5 VALUES LESS THAN (6), PARTITION max VALUES LESS THAN MAXVALUE); INSERT INTO t1 VALUES (-1),(0),(1),(2),(3),(4),(5),(6),(7),(8); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK SELECT * FROM t1 WHERE a < 1; a -1 @@ -484,6 +487,9 @@ PARTITION p4 VALUES LESS THAN (5), PARTITION max VALUES LESS THAN MAXVALUE); INSERT INTO t1 VALUES (-1),(0),(1),(2),(3),(4),(5),(6),(7); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK SELECT * FROM t1 WHERE a < 1; a -1 @@ -2114,6 +2120,9 @@ (1, '2009-04-02'), (2, '2009-04-02'), (1, '2009-04-02 23:59:59'), (1, '2009-04-03'), (2, '2009-04-03'), (1, '2009-04-04'), (2, '2009-04-04'), (1, '2009-04-05'), (1, '2009-04-06'), (1, '2009-04-07'); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK EXPLAIN PARTITIONS SELECT * FROM t1 WHERE b < CAST('2009-04-03' AS DATETIME); id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t1 p20090401,p20090402 index NULL PRIMARY 9 NULL # 33.33 Using where; Using index @@ -2385,6 +2394,9 @@ (1, '2009-04-02'), (2, '2009-04-02'), (1, '2009-04-03'), (2, '2009-04-03'), (1, '2009-04-04'), (2, '2009-04-04'), (1, '2009-04-05'), (1, '2009-04-06'), (1, '2009-04-07'); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK EXPLAIN PARTITIONS SELECT * FROM t1 WHERE b < CAST('2009-04-03' AS DATETIME); id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t1 p20090401,p20090402 index NULL PRIMARY 7 NULL # 33.33 Using where; Using index @@ -2655,6 +2667,9 @@ (1, '2009-04-02'), (2, '2009-04-02'), (1, '2009-04-02 23:59:59'), (1, '2009-04-03'), (2, '2009-04-03'), (1, '2009-04-04'), (2, '2009-04-04'), (1, '2009-04-05'), (1, '2009-04-06'), (1, '2009-04-07'); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK EXPLAIN PARTITIONS SELECT * FROM t1 WHERE b < CAST('2009-04-03' AS DATETIME); id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t1 p20090401,p20090402 ALL NULL NULL NULL NULL # 33.33 Using where @@ -2925,6 +2940,9 @@ (1, '2009-04-02'), (2, '2009-04-02'), (1, '2009-04-03'), (2, '2009-04-03'), (1, '2009-04-04'), (2, '2009-04-04'), (1, '2009-04-05'), (1, '2009-04-06'), (1, '2009-04-07'); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK EXPLAIN PARTITIONS SELECT * FROM t1 WHERE b < CAST('2009-04-03' AS DATETIME); id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t1 p20090401,p20090402 ALL NULL NULL NULL NULL # 33.33 Using where @@ -3192,6 +3210,9 @@ PARTITION p20090404 VALUES LESS THAN (TO_DAYS('2009-04-05')), PARTITION p20090405 VALUES LESS THAN MAXVALUE); INSERT INTO t1 VALUES (1, '2009-01-01'), (2, NULL); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK # test with an invalid date, which lead to item->null_value is set. EXPLAIN PARTITIONS SELECT * FROM t1 WHERE b < CAST('2009-04-99' AS DATETIME); id select_type table partitions type possible_keys key key_len ref rows filtered Extra @@ -3221,6 +3242,9 @@ DROP TABLE t1; create table t1 ( a int not null) partition by hash(a) partitions 2; insert into t1 values (1),(2),(3); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK explain select * from t1 where a=5 and a=6; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE NULL NULL NULL NULL NULL NULL NULL # NULL Impossible WHERE @@ -3231,6 +3255,9 @@ a int(11) not null ) partition by hash (a) partitions 2; insert into t1 values (1),(2),(3); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK explain partitions select * from t1 where a=1; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t1 p1 ALL NULL NULL NULL NULL # 50.00 Using where @@ -3254,6 +3281,9 @@ b int not null ) partition by key(a,b) partitions 2; insert into t2 values (1,1),(2,2),(3,3); +ANALYZE TABLE t2; +Table Op Msg_type Msg_text +test.t2 analyze status OK explain partitions select * from t2 where a=1; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t2 p0,p1 ALL NULL NULL NULL NULL # 33.33 Using where @@ -3280,6 +3310,9 @@ partition p1 values less than (20) ); insert into t3 values (5),(15); +ANALYZE TABLE t3; +Table Op Msg_type Msg_text +test.t3 analyze status OK explain partitions select * from t3 where a=11; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t3 p1 ALL NULL NULL NULL NULL # 100.00 Using where @@ -3309,6 +3342,9 @@ partition p1 values in (14) ); insert into t4 values (10,2), (10,4); +ANALYZE TABLE t4; +Table Op Msg_type Msg_text +test.t4 analyze status OK explain partitions select * from t4 where (a=10 and b=1) or (a=10 and b=2); id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t4 p0 ALL NULL NULL NULL NULL # 100.00 Using where @@ -3350,6 +3386,9 @@ partition p1 values in (14) ); insert into t5 values (10,2,0,0), (10,4,0,0), (10,2,0,1), (10,4,0,1); +ANALYZE TABLE t5; +Table Op Msg_type Msg_text +test.t5 analyze status OK explain partitions select * from t5; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t5 p0_p0sp0,p0_p0sp1,p1_p1sp0,p1_p1sp1 ALL NULL NULL NULL NULL # 100.00 NULL @@ -3404,6 +3443,9 @@ partition p9 values in (9) ); insert into t6 values (1),(3),(5); +ANALYZE TABLE t6; +Table Op Msg_type Msg_text +test.t6 analyze status OK explain partitions select * from t6 where a < 1; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t6 NULL ALL NULL NULL NULL NULL # 100.00 Using where @@ -3479,6 +3521,9 @@ partition p9 values in (9) ); insert into t6 values (1),(3),(5); +ANALYZE TABLE t6; +Table Op Msg_type Msg_text +test.t6 analyze status OK explain partitions select * from t6 where a < 1; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t6 NULL ALL NULL NULL NULL NULL # 100.00 Using where @@ -3553,6 +3598,9 @@ partition p90 values less than (90) ); insert into t7 values (10),(30),(50); +ANALYZE TABLE t7; +Table Op Msg_type Msg_text +test.t7 analyze status OK explain partitions select * from t7 where a < 5; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t7 p10 ALL NULL NULL NULL NULL # 100.00 Using where @@ -3700,6 +3748,9 @@ partition p90 values less than (90) ); insert into t7 values (10),(30),(50); +ANALYZE TABLE t7; +Table Op Msg_type Msg_text +test.t7 analyze status OK explain partitions select * from t7 where a < 5; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t7 p10 ALL NULL NULL NULL NULL # 100.00 Using where @@ -3844,6 +3895,9 @@ partition p2 values less than (2000) ); insert into t8 values ('1985-05-05'),('1995-05-05'); +ANALYZE TABLE t8; +Table Op Msg_type Msg_text +test.t8 analyze status OK explain partitions select * from t8 where a < '1980-02-02'; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t8 p0,p1 ALL NULL NULL NULL NULL # 100.00 Using where @@ -3856,6 +3910,9 @@ partition p2 values less than (732664) -- 2005-12-19 ); insert into t9 values ('2005-05-05'), ('2005-04-04'); +ANALYZE TABLE t9; +Table Op Msg_type Msg_text +test.t9 analyze status OK explain partitions select * from t9 where a < '2004-12-19'; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t9 p0 ALL NULL NULL NULL NULL # 100.00 Using where @@ -3878,6 +3935,9 @@ partition p2 values less than (9) ); insert into t1 values (1),(2),(3); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK explain partitions select * from t1 where a1 > 3; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t1 p1,p2 ALL NULL NULL NULL NULL # 100.00 Using where @@ -3905,6 +3965,9 @@ partition p3 values in (4) ); insert into t3 values (1,1),(2,2),(3,3); +ANALYZE TABLE t3; +Table Op Msg_type Msg_text +test.t3 analyze status OK explain partitions select * from t3 where a=2 or b=1; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t3 p0_p0sp1,p1_p1sp0,p1_p1sp1,p1_p1sp2,p1_p1sp3,p2_p2sp1,p3_p3sp1 ALL NULL NULL NULL NULL # 75.00 Using where @@ -3926,6 +3989,9 @@ drop table t3; create table t1 (a int) partition by hash(a) partitions 2; insert into t1 values (1),(2); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK explain partitions select * from t1 where a is null; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t1 p0 ALL NULL NULL NULL NULL # 100.00 Using where @@ -3942,6 +4008,9 @@ create table t1 (a int not null, b int not null, key(a), key(b)) partition by hash(a) partitions 4; insert into t1 values (1,1),(2,2),(3,3),(4,4); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK explain partitions select * from t1 x, t1 y where x.b = y.b and (x.a=1 or x.a=2) and (y.a=2 or y.a=3); @@ -3962,6 +4031,9 @@ drop table t1; create table t1 (a int) partition by hash(a) partitions 20; insert into t1 values (1),(2),(3); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK explain partitions select * from t1 where a > 1 and a < 3; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t1 p2 ALL NULL NULL NULL NULL # 100.00 Using where @@ -3996,6 +4068,9 @@ partition p3 values in (3) ); insert into t1 values (1,1),(2,2),(3,3); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK explain partitions select * from t1 where b > 1 and b < 3; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t1 p0_p0sp2,p1_p1sp2,p2_p2sp2,p3_p3sp2 ALL NULL NULL NULL NULL # 100.00 Using where @@ -4014,6 +4089,9 @@ partition p1 values in (3,4) ); insert into t1 values (1),(1),(2),(2),(3),(4),(3),(4); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK # This won't do any table access explain extended update t1 set a=100 where a=5; id select_type table partitions type possible_keys key key_len ref rows filtered Extra @@ -4165,9 +4243,15 @@ 4 4 insert into t1 values (1), (1); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK # Same as above multi-table UPDATE/DELETE create table t2 like t1; insert into t2 select * from t1; +ANALYZE TABLE t2; +Table Op Msg_type Msg_text +test.t2 analyze status OK explain extended update t1,t2 set t1.a=1000, t2.a=1000 where t1.a=5 and t2.a=5; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 UPDATE t1 NULL ALL NULL NULL NULL NULL # 100.00 Using where @@ -4267,6 +4351,9 @@ ) ; insert into t2 select A.a + 10*(B.a + 10* C.a) from t1 A, t1 B, t1 C ; insert into t1 select a from t2; +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK drop table t2; CREATE TABLE `t2` ( `a` int(11) default NULL, @@ -4293,6 +4380,9 @@ insert into t2 select a,3 from t1 where a >= 400 and a < 600; insert into t2 select a,4 from t1 where a >= 600 and a < 800; insert into t2 select a,5 from t1 where a >= 800 and a < 1001; +ANALYZE TABLE t2; +Table Op Msg_type Msg_text +test.t2 analyze status OK explain partitions select * from t2; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t2 p0,p1,p2,p3,p4 ALL NULL NULL NULL NULL # 100.00 NULL @@ -4747,6 +4837,9 @@ partition part4 values in (null) ); insert into t1 set f_int1 = null; +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK select * from t1 where f_int1 is null; f_int1 NULL @@ -4767,6 +4860,9 @@ ); insert into t1 values (1,1),(1,2),(1,3),(1,4), (2,1),(2,2),(2,3),(2,4); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK explain partitions select * from t1 where a=1 AND (b=1 OR b=2); id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t1 p0_p0sp1,p0_p0sp2 ALL NULL NULL NULL NULL # 50.00 Using where @@ -4785,6 +4881,9 @@ ); insert into t1 values (1,1),(1,2),(1,3),(1,4), (2,1),(2,2),(2,3),(2,4), (NULL,1); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK explain partitions select * from t1 where a IS NULL AND (b=1 OR b=2); id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t1 pn_pnsp0,pn_pnsp1 ALL NULL NULL NULL NULL # 100.00 Using where @@ -4817,6 +4916,9 @@ partition p6 values in (6), partition pn values in (NULL) ); insert into t1 values (NULL), (0),(1),(2),(3),(4),(5),(6); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK explain partitions select * from t1 where a is null or a < 2; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t1 p0,p1,p2,p3,p4,p5,p6,pn ALL NULL NULL NULL NULL # 41.66 Using where @@ -4829,6 +4931,9 @@ partition p2 values in (1), partition p3 values in (null)); insert into t1 values (0),(1),(null); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK select count(*) from t1 where s1 < 0 or s1 is null; count(*) 1 @@ -4843,6 +4948,9 @@ partition by key() partitions 100; insert into t1 values ('na'); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK select * from t1; a na @@ -4854,6 +4962,9 @@ select * from t1 where s1 = 0 or s1 is null; s1 insert into t1 values ('aa'),('bb'),('0'); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK explain partitions select * from t1 where s1 = 0 or s1 is null; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t1 p0 ALL NULL NULL NULL NULL # 55.56 Using where @@ -4867,6 +4978,9 @@ ( partition p_0_long_partition_name values in(1), partition p_1_long_partition_name values in(2)); insert into t2 values (1,1),(2,2); +ANALYZE TABLE t2; +Table Op Msg_type Msg_text +test.t2 analyze status OK explain partitions select * from t2; id 1 select_type SIMPLE @@ -4907,6 +5021,9 @@ insert into t1 values (5),(15),(105),(1005); insert into t1 values (18446744073709551000+1); insert into t1 values (18446744073709551614-1); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK explain partitions select * from t1 where a < 10; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t1 p0 ALL NULL NULL NULL NULL # 100.00 Using where @@ -4960,6 +5077,12 @@ ); insert into t1 values (0x20), (0x20), (0x41), (0x41), (0xFE), (0xFE); insert into t2 values (0x20), (0x20), (0x41), (0x41), (0xFE), (0xFE); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK +ANALYZE TABLE t2; +Table Op Msg_type Msg_text +test.t2 analyze status OK explain partitions select * from t1 where a=0; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t1 p0 ALL NULL NULL NULL NULL # 50.00 Using where @@ -5042,6 +5165,9 @@ ); insert into t1 values (9),(19),(0xFFFF0000FFFF000-1), (0xFFFF0000FFFFFFF-1); insert into t1 values (9),(19),(0xFFFF0000FFFF000-1), (0xFFFF0000FFFFFFF-1); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK explain partitions select * from t1 where a >= 2305561538531885056-10 and a <= 2305561538531885056-8; id select_type table partitions type possible_keys key key_len ref rows filtered Extra @@ -5070,6 +5196,9 @@ partition p4 values less than (1000) ); insert into t1 values (-15),(-5),(5),(15),(-15),(-5),(5),(15); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK explain partitions select * from t1 where a>-2 and a <=0; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t1 p3 ALL NULL NULL NULL NULL # 25.00 Using where @@ -5086,6 +5215,9 @@ INSERT INTO t1 VALUES ('2007-03-07 12:00:00'); INSERT INTO t1 VALUES ('2007-03-08 12:00:00'); INSERT INTO t1 VALUES ('2007-03-15 12:00:00'); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK must use p0 only: explain partitions select * from t1 where recdate < '2007-03-08 00:00:00'; id select_type table partitions type possible_keys key key_len ref rows filtered Extra @@ -5103,6 +5235,9 @@ INSERT INTO t1 VALUES ('2005-03-01 12:00:00'); INSERT INTO t1 VALUES ('2006-03-01 12:00:00'); INSERT INTO t1 VALUES ('2006-03-01 12:00:00'); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK must use p0 only: explain partitions select * from t1 where recdate < '2006-01-01 00:00:00'; id select_type table partitions type possible_keys key key_len ref rows filtered Extra @@ -5123,6 +5258,9 @@ partition p2 values less than (255) ); insert into t1 select A.a + 10*B.a from t0 A, t0 B; +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK explain partitions select * from t1 where a between 10 and 13; id select_type table partitions type possible_keys key key_len ref rows filtered Extra 1 SIMPLE t1 p0 ALL NULL NULL NULL NULL # 11.11 Using where @@ -5150,6 +5288,9 @@ PARTITION p2 VALUES IN (3,4)); INSERT INTO t1 VALUES (1, 1, 1, 1), (2, 3, 1, 1); INSERT INTO t1 VALUES (1, 2, 1, 1), (2, 4, 1, 1); +ANALYZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 analyze status OK SELECT * FROM t1 WHERE c1 = 1 AND c2 < 1; c1 c2 c3 c4 SELECT * FROM t1 WHERE c1 = 1 AND c2 <= 1; diff -Nru mysql-5.7-5.7.23/mysql-test/r/partition_range.result mysql-5.7-5.7.24/mysql-test/r/partition_range.result --- mysql-5.7-5.7.23/mysql-test/r/partition_range.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/partition_range.result 2018-10-04 05:48:22.000000000 +0000 @@ -346,6 +346,8 @@ (partition x1 values less than (5) tablespace ts1, partition x2 values less than (10) tablespace ts2, partition x3 values less than maxvalue tablespace ts3); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. INSERT into t1 values (1, 1, 1); INSERT into t1 values (6, 1, 1); INSERT into t1 values (10, 1, 1); @@ -374,6 +376,8 @@ (partition x1 values less than (5) tablespace ts1, partition x2 values less than (10) tablespace ts2, partition x3 values less than maxvalue tablespace ts3); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. select * from t1; a b c 1 1 1 @@ -402,6 +406,8 @@ (partition x1 values less than (5) tablespace ts1, partition x2 values less than (10) tablespace ts2, partition x3 values less than maxvalue tablespace ts3); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. INSERT into t1 values (1, 1, 1); INSERT into t1 values (6, 1, 1); INSERT into t1 values (10, 1, 1); @@ -429,6 +435,8 @@ (partition x1 values less than (5) tablespace ts1, partition x2 values less than (10) tablespace ts2, partition x3 values less than maxvalue tablespace ts3); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. select * from t1; a b c 1 1 1 @@ -457,6 +465,8 @@ (partition x1 values less than (5) tablespace ts1, partition x2 values less than (10) tablespace ts2, partition x3 values less than (15) tablespace ts3); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. INSERT into t1 values (1, 1, 1); INSERT into t1 values (6, 1, 1); INSERT into t1 values (10, 1, 1); @@ -485,6 +495,8 @@ (partition x1 values less than (5) tablespace ts1, partition x2 values less than (10) tablespace ts2, partition x3 values less than (15) tablespace ts3); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. select * from t1; a b c 1 1 1 @@ -597,6 +609,8 @@ ( subpartition x21 tablespace ts1 nodegroup 0, subpartition x22 tablespace ts2 nodegroup 1) ); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SELECT * from t1; a b c SHOW CREATE TABLE t1; diff -Nru mysql-5.7-5.7.23/mysql-test/r/partition.result mysql-5.7-5.7.24/mysql-test/r/partition.result --- mysql-5.7-5.7.23/mysql-test/r/partition.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/partition.result 2018-10-04 05:48:22.000000000 +0000 @@ -916,7 +916,11 @@ (partition x1 tablespace ts1, partition x2 tablespace ts2, partition x3 tablespace ts3); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. CREATE TABLE t2 LIKE t1; +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( @@ -953,6 +957,8 @@ (partition x1 values in (1,2,9,4) tablespace ts1, partition x2 values in (3, 11, 5, 7) tablespace ts2, partition x3 values in (16, 8, 5+19, 70-43) tablespace ts3); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( @@ -976,6 +982,8 @@ (partition x1 values in (1,2,9,4) tablespace ts1, partition x2 values in (3, 11, 5, 7) tablespace ts2, partition x3 values in (16, 8, 5+19, 70-43) tablespace ts3); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( @@ -998,6 +1006,8 @@ (partition x1 values in (1) tablespace ts1, partition x2 values in (3, 11, 5, 7) tablespace ts2, partition x3 values in (16, 8, 5+19, 70-43) tablespace ts3); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( diff -Nru mysql-5.7-5.7.23/mysql-test/r/select_safe.result mysql-5.7-5.7.24/mysql-test/r/select_safe.result --- mysql-5.7-5.7.23/mysql-test/r/select_safe.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/select_safe.result 2018-10-04 05:48:22.000000000 +0000 @@ -20,15 +20,15 @@ 1 1 update t1 set b="a"; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. update t1 set b="a" where b="test"; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. delete from t1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. delete from t1 where b="test"; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. delete from t1 where a+0=1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. select 1 from t1,t1 as t2,t1 as t3,t1 as t4,t1 as t5; ERROR 42000: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay update t1 set b="a" limit 1; @@ -95,3 +95,88 @@ ERROR 42000: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay drop table t1; SET SQL_SAFE_UPDATES=0,SQL_SELECT_LIMIT=DEFAULT, MAX_JOIN_SIZE=DEFAULT; +# +# Bug #28145710: SQL_SAFE_UPDATES ERROR IS INSUFFICIENTLY INFORMATIVE +# +CREATE TABLE t1 (c1 INT NOT NULL, c2 VARCHAR(200) NOT NULL, +UNIQUE KEY idx1 (c1), UNIQUE KEY idx2 (c2)); +CREATE TABLE t2 (c1 INT NOT NULL, c2 VARCHAR(200) NOT NULL, +UNIQUE KEY idx1 (c1)); +INSERT INTO t1 VALUES (1, 'a'), (2, 'b'), (3, 'c'), (4, 'd'); +INSERT INTO t2 VALUES (11, 'a'), (12, 'b'), (3, 'c'), (14, 'd'); +ANALYZE TABLE t1, t2; +Table Op Msg_type Msg_text +test.t1 analyze status OK +test.t2 analyze status OK +SET SESSION sql_safe_updates=1; +SET RANGE_OPTIMIZER_MAX_MEM_SIZE= 1; +EXPLAIN DELETE FROM t1 WHERE c1 IN (1,22); +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 DELETE t1 NULL ALL NULL NULL NULL NULL 4 100.00 Using where +Warnings: +Warning 3170 Memory capacity of 1 bytes for 'range_optimizer_max_mem_size' exceeded. Range optimization was not done for this query. +DELETE FROM t1 WHERE c1 IN (1,22); +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. Memory capacity of 1 bytes for 'range_optimizer_max_mem_size' exceeded. Range optimization was not done for this query. +EXPLAIN UPDATE t1 SET c1=20 WHERE c1 IN (1,22); +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 UPDATE t1 NULL ALL NULL NULL NULL NULL 4 100.00 Using where +Warnings: +Warning 3170 Memory capacity of 1 bytes for 'range_optimizer_max_mem_size' exceeded. Range optimization was not done for this query. +UPDATE t1 SET c1=20 WHERE c1 IN (1,22); +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. Memory capacity of 1 bytes for 'range_optimizer_max_mem_size' exceeded. Range optimization was not done for this query. +SET RANGE_OPTIMIZER_MAX_MEM_SIZE= default; +EXPLAIN DELETE t1 FROM t1 JOIN t2 ON t1.c2 = t2.c1; +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 DELETE t1 NULL ALL idx2 NULL NULL NULL 4 100.00 NULL +1 SIMPLE t2 NULL eq_ref idx1 idx1 4 test.t1.c2 1 100.00 Using where; Using index +Warnings: +Warning 1739 Cannot use ref access on index 'idx2' due to type or collation conversion on field 'c2' +DELETE t1 FROM t1 JOIN t2 ON t1.c2 = t2.c1; +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. Cannot use ref access on index 'idx2' due to type or collation conversion on field 'c2' +EXPLAIN UPDATE t1, t2 SET t1.c1=20 WHERE t1.c2 = t2.c1; +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 UPDATE t1 NULL ALL idx2 NULL NULL NULL 4 100.00 NULL +1 SIMPLE t2 NULL eq_ref idx1 idx1 4 test.t1.c2 1 100.00 Using where; Using index +Warnings: +Warning 1739 Cannot use ref access on index 'idx2' due to type or collation conversion on field 'c2' +UPDATE t1, t2 SET t1.c1=20 WHERE t1.c2 = t2.c1; +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. Cannot use ref access on index 'idx2' due to type or collation conversion on field 'c2' +EXPLAIN DELETE t2 FROM t1 JOIN t2 ON t1.c2 = t2.c1; +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 SIMPLE t1 NULL index idx2 idx2 202 NULL 4 100.00 Using index +1 DELETE t2 NULL eq_ref idx1 idx1 4 test.t1.c2 1 100.00 Using where +Warnings: +Warning 1739 Cannot use ref access on index 'idx2' due to type or collation conversion on field 'c2' +DELETE t2 FROM t1 JOIN t2 ON t1.c2 = t2.c1; +Warnings: +Warning 1739 Cannot use ref access on index 'idx2' due to type or collation conversion on field 'c2' +EXPLAIN DELETE FROM t1 WHERE c2 IN(1,2222); +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 DELETE t1 NULL ALL NULL NULL NULL NULL 4 100.00 Using where +Warnings: +Warning 1739 Cannot use range access on index 'idx2' due to type or collation conversion on field 'c2' +DELETE FROM t1 WHERE c2 IN(1,2222); +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. Cannot use range access on index 'idx2' due to type or collation conversion on field 'c2' +EXPLAIN UPDATE t1 SET c1=20 WHERE c2 IN(1,2222); +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 UPDATE t1 NULL ALL NULL NULL NULL NULL 4 100.00 Using where +Warnings: +Warning 1739 Cannot use range access on index 'idx2' due to type or collation conversion on field 'c2' +UPDATE t1 SET c1=20 WHERE c2 IN(1,2222); +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. Cannot use range access on index 'idx2' due to type or collation conversion on field 'c2' +EXPLAIN DELETE FROM t2 WHERE c2 IN('a','e'); +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 DELETE t2 NULL ALL NULL NULL NULL NULL 4 100.00 Using where +DELETE FROM t2 WHERE c2 IN('a','e'); +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. +EXPLAIN DELETE FROM t2; +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 DELETE t2 NULL ALL NULL NULL NULL NULL 4 100.00 Deleting all rows +DELETE FROM t2; +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. +SET sql_log_bin= 0; +DELETE FROM t2; +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. +SET sql_log_bin= default; +DROP TABLE t1, t2; +SET SESSION sql_safe_updates=default; diff -Nru mysql-5.7-5.7.23/mysql-test/r/subquery_bugs.result mysql-5.7-5.7.24/mysql-test/r/subquery_bugs.result --- mysql-5.7-5.7.23/mysql-test/r/subquery_bugs.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/subquery_bugs.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,85 @@ +# +# Bug#27182010 SUBQUERY INCORRECTLY SHOWS DUPLICATE VALUES ON SUBQUERIES +# +CREATE TABLE p (Id INT,PRIMARY KEY (Id)); +INSERT INTO p VALUES (1); +# Test UNIQUE KEY with NULL values +CREATE TABLE s (Id INT, u INT, UNIQUE KEY o(Id, u) ); +INSERT INTO s VALUES (1, NULL),(1, NULL); +EXPLAIN SELECT p.Id FROM (p) WHERE p.Id IN ( +SELECT s.Id FROM s WHERE Id=1 AND u IS NULL)ORDER BY Id DESC; +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 SIMPLE p NULL const PRIMARY PRIMARY 4 const 1 100.00 Using index +1 SIMPLE s NULL ref o o 10 const,const 2 100.00 Using where; Using index; FirstMatch(p) +Warnings: +Note 1003 /* select#1 */ select '1' AS `Id` from `test`.`p` semi join (`test`.`s`) where ((`test`.`s`.`Id` = 1) and isnull(`test`.`s`.`u`)) order by '1' desc +EXPLAIN SELECT p.Id FROM (p) WHERE p.Id IN ( +SELECT s.Id FROM s WHERE Id=1 AND u IS NOT NULL) ORDER BY Id DESC; +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 SIMPLE p NULL const PRIMARY PRIMARY 4 const 1 100.00 Using index +1 SIMPLE s NULL range o o 10 NULL 1 100.00 Using where; Using index; FirstMatch(p) +Warnings: +Note 1003 /* select#1 */ select '1' AS `Id` from `test`.`p` semi join (`test`.`s`) where ((`test`.`s`.`Id` = 1) and (`test`.`s`.`u` is not null)) order by '1' desc +SELECT p.Id FROM (p) WHERE p.Id IN ( +SELECT s.Id FROM s WHERE Id=1 AND u IS NULL)ORDER BY Id DESC; +Id +1 +SELECT p.Id FROM (p) WHERE p.Id IN ( +SELECT s.Id FROM s WHERE Id=1 AND u IS NOT NULL) ORDER BY Id DESC; +Id +# UNIQUE KEY without NULL values +CREATE TABLE s1 (Id INT, u INT, UNIQUE KEY o(Id, u) ); +INSERT INTO s1 VALUES (1, 2),(1, 3); +EXPLAIN SELECT p.Id FROM (p) WHERE p.Id IN ( +SELECT s1.Id FROM s1 WHERE Id=1 AND u IS NOT NULL) ORDER BY Id DESC; +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 SIMPLE p NULL const PRIMARY PRIMARY 4 const 1 100.00 Using index +1 SIMPLE s1 NULL ref o o 5 const 2 50.00 Using where; Using index; FirstMatch(p) +Warnings: +Note 1003 /* select#1 */ select '1' AS `Id` from `test`.`p` semi join (`test`.`s1`) where ((`test`.`s1`.`Id` = 1) and (`test`.`s1`.`u` is not null)) order by '1' desc +EXPLAIN SELECT p.Id FROM (p) WHERE p.Id IN ( +SELECT s1.Id FROM s1 WHERE Id=1 AND u != 1) ORDER BY Id DESC; +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 SIMPLE p NULL const PRIMARY PRIMARY 4 const 1 100.00 Using index +1 SIMPLE s1 NULL ref o o 5 const 3 50.00 Using where; Using index; FirstMatch(p) +Warnings: +Note 1003 /* select#1 */ select '1' AS `Id` from `test`.`p` semi join (`test`.`s1`) where ((`test`.`s1`.`Id` = 1) and (`test`.`s1`.`u` <> 1)) order by '1' desc +SELECT p.Id FROM (p) WHERE p.Id IN ( +SELECT s1.Id FROM s1 WHERE Id=1 AND u IS NOT NULL) ORDER BY Id DESC; +Id +1 +SELECT p.Id FROM (p) WHERE p.Id IN ( +SELECT s1.Id FROM s1 WHERE Id=1 AND u != 1) ORDER BY Id DESC; +Id +1 +# NON UNIQUE KEY Scenario +CREATE TABLE s2 (Id INT, u INT, KEY o(Id, u) ); +INSERT INTO s2 VALUES (1, NULL),(1, NULL); +#UNIQUE KEY with NON NULL FIELDS +CREATE TABLE s3 (Id INT NOT NULL, u INT NOT NULL, UNIQUE KEY o(Id, u)); +INSERT INTO s3 VALUES (1, 2),(1, 3); +EXPLAIN SELECT p.Id FROM (p) WHERE p.Id IN ( +SELECT s.Id FROM s2 s WHERE Id=1 AND u IS NULL) ORDER BY Id DESC; +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 SIMPLE p NULL const PRIMARY PRIMARY 4 const 1 100.00 Using index +1 SIMPLE s NULL ref o o 10 const,const 2 100.00 Using where; Using index; FirstMatch(p) +Warnings: +Note 1003 /* select#1 */ select '1' AS `Id` from `test`.`p` semi join (`test`.`s2` `s`) where ((`test`.`s`.`Id` = 1) and isnull(`test`.`s`.`u`)) order by '1' desc +EXPLAIN SELECT p.Id FROM (p) WHERE p.Id IN ( +SELECT s.Id FROM s3 s WHERE Id=1 AND u IS NOT NULL) +ORDER BY Id DESC; +id select_type table partitions type possible_keys key key_len ref rows filtered Extra +1 SIMPLE p NULL const PRIMARY PRIMARY 4 const 1 100.00 Using index +1 SIMPLE s NULL ref o o 4 const 2 50.00 Using where; Using index; FirstMatch(p) +Warnings: +Note 1003 /* select#1 */ select '1' AS `Id` from `test`.`p` semi join (`test`.`s3` `s`) where ((`test`.`s`.`Id` = 1) and (`test`.`s`.`u` is not null)) order by '1' desc +SELECT p.Id FROM (p) WHERE p.Id IN ( +SELECT s.Id FROM s2 s WHERE Id=1 AND u IS NULL) ORDER BY Id DESC; +Id +1 +SELECT p.Id FROM (p) WHERE p.Id IN ( +SELECT s.Id FROM s3 s WHERE Id=1 AND u IS NOT NULL) +ORDER BY Id DESC; +Id +1 +DROP TABLE p, s, s1, s2, s3; diff -Nru mysql-5.7-5.7.23/mysql-test/r/trigger_wl3253.result mysql-5.7-5.7.24/mysql-test/r/trigger_wl3253.result --- mysql-5.7-5.7.23/mysql-test/r/trigger_wl3253.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/trigger_wl3253.result 2018-10-04 05:48:22.000000000 +0000 @@ -322,7 +322,7 @@ /*!50003 SET character_set_results = latin1 */ ; /*!50003 SET collation_connection = latin1_swedish_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER tr1_bi BEFORE INSERT ON t1 FOR EACH ROW SET @a:=1 */;; DELIMITER ; @@ -337,7 +337,7 @@ /*!50003 SET character_set_results = latin1 */ ; /*!50003 SET collation_connection = latin1_swedish_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER tr2_bi BEFORE INSERT ON t1 FOR EACH ROW SET @a:=2 */;; DELIMITER ; @@ -352,7 +352,7 @@ /*!50003 SET character_set_results = latin1 */ ; /*!50003 SET collation_connection = latin1_swedish_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER tr1_bu BEFORE UPDATE ON t1 FOR EACH ROW SET @a:=3 */;; DELIMITER ; @@ -384,7 +384,7 @@ /*!50003 SET character_set_results = latin1 */ ; /*!50003 SET collation_connection = latin1_swedish_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER tr0_bi BEFORE INSERT ON t1 FOR EACH ROW SET @a:=0 */;; DELIMITER ; @@ -399,7 +399,7 @@ /*!50003 SET character_set_results = latin1 */ ; /*!50003 SET collation_connection = latin1_swedish_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER tr1_bi BEFORE INSERT ON t1 FOR EACH ROW SET @a:=1 */;; DELIMITER ; @@ -414,7 +414,7 @@ /*!50003 SET character_set_results = latin1 */ ; /*!50003 SET collation_connection = latin1_swedish_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER tr1_1_bi BEFORE INSERT ON t1 FOR EACH ROW SET @a:=0 */;; DELIMITER ; @@ -429,7 +429,7 @@ /*!50003 SET character_set_results = latin1 */ ; /*!50003 SET collation_connection = latin1_swedish_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; +/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER tr2_bi BEFORE INSERT ON t1 FOR EACH ROW SET @a:=2 */;; DELIMITER ; diff -Nru mysql-5.7-5.7.23/mysql-test/r/type_year.result mysql-5.7-5.7.24/mysql-test/r/type_year.result --- mysql-5.7-5.7.23/mysql-test/r/type_year.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/type_year.result 2018-10-04 05:48:22.000000000 +0000 @@ -334,3 +334,22 @@ 2012 DROP TABLE t1; SET timestamp=DEFAULT; +# +# Bug#28172538 YEAR RANGE CHECK FAILS WITH MAX YEAR FLOAT CONSTANT +# +CREATE TABLE t(y YEAR); +INSERT INTO t VALUES (2155), (2155.0); +SELECT * FROM t; +y +2155 +2155 +Used to fail +INSERT INTO t VALUES (2155.0E00); +INSERT INTO t VALUES (2.1550E+03); +SELECT * FROM t; +y +2155 +2155 +2155 +2155 +DROP TABLE t; diff -Nru mysql-5.7-5.7.23/mysql-test/r/update.result mysql-5.7-5.7.24/mysql-test/r/update.result --- mysql-5.7-5.7.23/mysql-test/r/update.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/r/update.result 2018-10-04 05:48:22.000000000 +0000 @@ -545,7 +545,7 @@ CREATE VIEW v1 AS SELECT t11.a, t12.a AS b FROM t1 t11, t1 t12; SET SESSION sql_safe_updates = 1; UPDATE IGNORE v1 SET a = 1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. SET SESSION sql_safe_updates = DEFAULT; DROP TABLE t1; DROP VIEW v1; Binary files /tmp/tmp0cEyZf/uPYYxuzx0W/mysql-5.7-5.7.23/mysql-test/std_data/binlog_56_gtid_reserved_word.000001 and /tmp/tmp0cEyZf/7fwG3cwYnX/mysql-5.7-5.7.24/mysql-test/std_data/binlog_56_gtid_reserved_word.000001 differ diff -Nru mysql-5.7-5.7.23/mysql-test/suite/binlog/r/binlog_group_commit_sync_delay_error.result mysql-5.7-5.7.24/mysql-test/suite/binlog/r/binlog_group_commit_sync_delay_error.result --- mysql-5.7-5.7.23/mysql-test/suite/binlog/r/binlog_group_commit_sync_delay_error.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/binlog/r/binlog_group_commit_sync_delay_error.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,9 @@ +CREATE TABLE t(s INT); +SET GLOBAL binlog_group_commit_sync_delay = 32; +SET GLOBAL binlog_group_commit_sync_no_delay_count = 0; +BEGIN; +INSERT INTO t VALUES(10); +COMMIT; +SET GLOBAL binlog_group_commit_sync_delay = 0; +SET GLOBAL binlog_group_commit_sync_no_delay_count = 0; +DROP TABLE t; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/binlog/r/binlog_gtid_reset_consistency_violation_on_fail.result mysql-5.7-5.7.24/mysql-test/suite/binlog/r/binlog_gtid_reset_consistency_violation_on_fail.result --- mysql-5.7-5.7.23/mysql-test/suite/binlog/r/binlog_gtid_reset_consistency_violation_on_fail.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/binlog/r/binlog_gtid_reset_consistency_violation_on_fail.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,13 @@ +# TC1. Test if GTID consistency state is rolled back after failure +# ---------------------------------------------------------------- +XA START 'xa1'; +XA END 'xa1'; +XA PREPARE 'xa1'; +CREATE TEMPORARY TABLE t1 (c INT) ENGINE=InnoDB; +ERROR XAE07: XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state +SET @@SESSION.GTID_NEXT='ANONYMOUS'; +XA COMMIT 'xa1'; +# TC2. Test if GTID consistency state is persisted after success +# -------------------------------------------------------------- +CREATE TEMPORARY TABLE t1 (c INT) ENGINE=InnoDB; +DROP TABLE t1; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/binlog/t/binlog_group_commit_sync_delay_error.test mysql-5.7-5.7.24/mysql-test/suite/binlog/t/binlog_group_commit_sync_delay_error.test --- mysql-5.7-5.7.23/mysql-test/suite/binlog/t/binlog_group_commit_sync_delay_error.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/binlog/t/binlog_group_commit_sync_delay_error.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,40 @@ +# ==== Purpose ==== +# +# This test will set a value for binlog_group_commit_sync_delay +# which will be a non multiple of delta(the waiting time is +# broken into smaller chunks called as delta), and execute some +# transactions after that. +# +# The test verifies that server does not hang when a non multiple of 10 +# is assigned to binlog_group_commit_sync_delay variable. +# +# Related bugs and Worklogs +# +# Bug#28091735:COMMIT WILL HANG IF BINLOG_GROUP_COMMIT_SYNC_DELAY +# IS NOT A MULTIPLE OF 10 + +# this is binlog format agnostic +--source include/have_binlog_format_row.inc + +--let $bgcd_saved = `SELECT @@GLOBAL.binlog_group_commit_sync_delay` +--let $bgcc_saved = `SELECT @@GLOBAL.binlog_group_commit_sync_no_delay_count` + +CREATE TABLE t(s INT); + +# Set the delay to a non multiple of delta, in this case +# delta will be 3, MAX(1, wait_time * .1) and so it will not be +# a multiple of the waiting time which is 32 + +SET GLOBAL binlog_group_commit_sync_delay = 32; +SET GLOBAL binlog_group_commit_sync_no_delay_count = 0; + +BEGIN; +INSERT INTO t VALUES(10); +COMMIT; # Hangs here without the fix + +#cleanup + +--eval SET GLOBAL binlog_group_commit_sync_delay = $bgcd_saved +--eval SET GLOBAL binlog_group_commit_sync_no_delay_count = $bgcc_saved +DROP TABLE t; + diff -Nru mysql-5.7-5.7.23/mysql-test/suite/binlog/t/binlog_gtid_reset_consistency_violation_on_fail.test mysql-5.7-5.7.24/mysql-test/suite/binlog/t/binlog_gtid_reset_consistency_violation_on_fail.test --- mysql-5.7-5.7.23/mysql-test/suite/binlog/t/binlog_gtid_reset_consistency_violation_on_fail.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/binlog/t/binlog_gtid_reset_consistency_violation_on_fail.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,71 @@ +# ==== Purpose ==== +# +# The purpose of this test is to ensure that the server properly restores a +# previous state or preserves a new state, for GTID consistency violation, +# whenever a statement execution succeeds or fails. +# +# ==== Requirements ==== +# +# R1. If a statement fails to execute successfully, the overall state observed +# prior to the statement execution must be kept after the failure. +# R2. If a statement executes successfully, the overall state observed after the +# statement execution must be kept. +# +# ==== Implementation ==== +# +# -- TEST CASES -- +# +# TC1. Test if GTID consistency state is rolled back after failure +# ---------------------------------------------------------------- +# 1) Place an XA transaction in the prepare state. +# 2) Try to create a temporary table. +# 3) Test if the execution state prior to the failure is restored, using +# DEBUG_SYNC. +# 4) Commit the transaction. +# +# TC2. Test if GTID consistency state is persisted after success +# -------------------------------------------------------------- +# 1) Try to create a temporary table. +# 2) Test if the execution state after the successful execution is persisted, +# using DEBUG_SYNC. +# +# ==== References ==== +# +# BUG#27903831 [MYSQL 8.0 GA DEBUG BUILD] ASSERTION +# `!THD->HAS_GTID_CONSISTENCY_VIOLATION + + +--source include/have_debug.inc +--source include/have_debug_sync.inc +--source include/not_gtid_enabled.inc +--source include/have_binlog_format_statement.inc + +--echo # TC1. Test if GTID consistency state is rolled back after failure +--echo # ---------------------------------------------------------------- +# 1) Place an XA transaction in the prepare state. +XA START 'xa1'; +XA END 'xa1'; +XA PREPARE 'xa1'; +#SET DEBUG_SYNC='restore_previous_state_after_statement_failed SIGNAL failure'; +# 2) Try to create a temporary table. +--error ER_XAER_RMFAIL +CREATE TEMPORARY TABLE t1 (c INT) ENGINE=InnoDB; +# 3) Test if the `Rpl_state_guard` instance restored the execution state prior +# to the failure, using DEBUG_SYNC. +#SET DEBUG_SYNC='now WAIT_FOR failure'; +# 4) Commit the transaction. +SET @@SESSION.GTID_NEXT='ANONYMOUS'; +XA COMMIT 'xa1'; + +--echo # TC2. Test if GTID consistency state is persisted after success +--echo # -------------------------------------------------------------- +#SET DEBUG_SYNC='persist_new_state_after_statement_succeeded SIGNAL success'; +# 1) Try to create a temporary table. +CREATE TEMPORARY TABLE t1 (c INT) ENGINE=InnoDB; +# 2) Test if the `Rpl_state_guard` instance persisted the execution state after +# the successful execution, using DEBUG_SYNC. +#SET DEBUG_SYNC='now WAIT_FOR success'; +# + +DROP TABLE t1; +#SET DEBUG_SYNC='RESET'; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/federated/r/percona_bug1739734.result mysql-5.7-5.7.24/mysql-test/suite/federated/r/percona_bug1739734.result --- mysql-5.7-5.7.23/mysql-test/suite/federated/r/percona_bug1739734.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/federated/r/percona_bug1739734.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,44 @@ +# +# Bug lp1739734 "Federated table returns error 1430 from storage engine" +# +# This is a bug introduced in the artful/gcc7 compilation fixes, caused by +# a moved break statement. +CREATE DATABASE federated; +CREATE DATABASE federated; +CREATE DATABASE lp1739734; +use lp1739734; +CREATE SERVER local_server +FOREIGN DATA WRAPPER mysql +OPTIONS ( +HOST '127.0.0.1', +PORT MASTER_PORT, +USER 'root', +PASSWORD '', +DATABASE 'lp1739734' +); +CREATE TABLE remote_table ( +a INT, +b INT, +KEY ab (a,b), +KEY ba (b,a) +); +CREATE TABLE local_table ( +a INT, +b INT, +KEY ab (a,b), +KEY ba (b,a) +) ENGINE=federated CONNECTION='local_server/remote_table'; +SELECT * FROM local_table; +a b +SELECT * FROM local_table USE INDEX (ab) +WHERE a<1 AND b=0; +a b +SELECT * FROM local_table USE INDEX (ba) +WHERE a<1 AND b=0; +a b +DROP DATABASE lp1739734; +DROP SERVER local_server; +DROP TABLE IF EXISTS federated.t1; +DROP DATABASE federated; +DROP TABLE IF EXISTS federated.t1; +DROP DATABASE federated; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/federated/t/percona_bug1739734.test mysql-5.7-5.7.24/mysql-test/suite/federated/t/percona_bug1739734.test --- mysql-5.7-5.7.23/mysql-test/suite/federated/t/percona_bug1739734.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/federated/t/percona_bug1739734.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,50 @@ +--echo # +--echo # Bug lp1739734 "Federated table returns error 1430 from storage engine" +--echo # +--echo # This is a bug introduced in the artful/gcc7 compilation fixes, caused by +--echo # a moved break statement. + +--source suite/federated/include/federated.inc + +connection master; +CREATE DATABASE lp1739734; +use lp1739734; + +--replace_result $MASTER_MYPORT MASTER_PORT +eval CREATE SERVER local_server +FOREIGN DATA WRAPPER mysql +OPTIONS ( + HOST '127.0.0.1', + PORT $MASTER_MYPORT, + USER 'root', + PASSWORD '', + DATABASE 'lp1739734' +); + +CREATE TABLE remote_table ( + a INT, + b INT, + KEY ab (a,b), + KEY ba (b,a) +); + + +CREATE TABLE local_table ( + a INT, + b INT, + KEY ab (a,b), + KEY ba (b,a) +) ENGINE=federated CONNECTION='local_server/remote_table'; + +SELECT * FROM local_table; + +SELECT * FROM local_table USE INDEX (ab) +WHERE a<1 AND b=0; + +SELECT * FROM local_table USE INDEX (ba) +WHERE a<1 AND b=0; + +DROP DATABASE lp1739734; +DROP SERVER local_server; + +--source suite/federated/include/federated_cleanup.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/r/create_table.result mysql-5.7-5.7.24/mysql-test/suite/innodb/r/create_table.result --- mysql-5.7-5.7.23/mysql-test/suite/innodb/r/create_table.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/r/create_table.result 2018-10-04 05:48:22.000000000 +0000 @@ -24,17 +24,17 @@ "Try creating temporary table with innodb_file_per_table option with STRICT mode" SET innodb_strict_mode = ON; CREATE TEMPORARY TABLE t1(c1 int) TABLESPACE innodb_file_per_table; -ERROR HY000: InnoDB: innodb_file_per_table option not supported for temporary tables. +ERROR HY000: InnoDB: TABLESPACE=innodb_file_per_table option is disallowed for temporary tables with INNODB_STRICT_NODE=ON. This option is deprecated and will be removed in a future release SELECT COUNT(*) FROM t1; ERROR 42S02: Table 'test.t1' doesn't exist "Try creating temporary table with innodb_file_per_table option without STRICT mode" SET innodb_strict_mode = OFF; CREATE TEMPORARY TABLE t1(c1 int) TABLESPACE innodb_file_per_table; Warnings: -Warning 1478 InnoDB: innodb_file_per_table option ignored while creating temporary table with INNODB_STRICT_MODE=OFF. +Warning 1478 InnoDB: TABLESPACE=innodb_file_per_table option is ignored. This option is deprecated and will be removed in a future release. SHOW WARNINGS; Level Code Message -Warning 1478 InnoDB: innodb_file_per_table option ignored while creating temporary table with INNODB_STRICT_MODE=OFF. +Warning 1478 InnoDB: TABLESPACE=innodb_file_per_table option is ignored. This option is deprecated and will be removed in a future release. SELECT COUNT(*) FROM t1; COUNT(*) 0 diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/r/create_tablespace_partition.result mysql-5.7-5.7.24/mysql-test/suite/innodb/r/create_tablespace_partition.result --- mysql-5.7-5.7.23/mysql-test/suite/innodb/r/create_tablespace_partition.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/r/create_tablespace_partition.result 2018-10-04 05:48:22.000000000 +0000 @@ -22,6 +22,8 @@ PARTITION thousands VALUES LESS THAN (10000) (SUBPARTITION subpart31, SUBPARTITION subpart32)); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SET GLOBAL innodb_file_per_table = ON; CREATE TABLE t2 (a INT, b INT) ENGINE = InnoDB @@ -35,11 +37,15 @@ PARTITION thousands VALUES LESS THAN (10000) (SUBPARTITION subpart31 DATA DIRECTORY 'MYSQL_TMP_DIR', SUBPARTITION subpart32 DATA DIRECTORY 'MYSQL_TMP_DIR' TABLESPACE `innodb_file_per_table`)); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. ALTER TABLE t1 ALGORITHM=COPY, ADD PARTITION (PARTITION tenthousands VALUES LESS THAN (20000)); ERROR 0A000: ALGORITHM=COPY/INPLACE is not supported. Reason: Partition specific operations do not yet support LOCK/ALGORITHM. Try ALGORITHM=DEFAULT. ALTER TABLE t1 ALGORITHM=DEFAULT, ADD PARTITION (PARTITION tenthousands VALUES LESS THAN (20000)); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. # Only allow tablespace name as ident, not text. I.e. no 'single' quotes. ALTER TABLE t1 ALGORITHM=COPY, ADD PARTITION (PARTITION twentythousands VALUES LESS THAN (30000) @@ -60,6 +66,8 @@ ALTER TABLE t1 ALGORITHM=DEFAULT, ADD PARTITION (PARTITION twentythousands VALUES LESS THAN (30000) TABLESPACE = "innodb_system"); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. ALTER TABLE t1 ALGORITHM=DEFAULT, ADD PARTITION (PARTITION thirtythousands VALUES LESS THAN (40000) TABLESPACE = `innodb_file_per_table`); @@ -99,9 +107,13 @@ SET GLOBAL innodb_file_per_table = OFF; ALTER TABLE t1 ALGORITHM=DEFAULT, ADD PARTITION (PARTITION fiftythousands VALUES LESS THAN (60000)); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. ALTER TABLE t1 ALGORITHM=DEFAULT, ADD PARTITION (PARTITION sixtythousands VALUES LESS THAN (70000) TABLESPACE = `innodb_system`); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. ALTER TABLE t1 ALGORITHM=DEFAULT, ADD PARTITION (PARTITION seventythousands VALUES LESS THAN (80000) TABLESPACE = `innodb_file_per_table`); @@ -121,6 +133,8 @@ (PARTITION ninetythousands VALUES LESS THAN (100000) (SUBPARTITION p90k_1 TABLESPACE = `innodb_file_per_table`, SUBPARTITION p90k_2 TABLESPACE = `innodb_system`)); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. FLUSH TABLES; === information_schema.innodb_sys_tables and innodb_sys_tablespaces === Table Name Tablespace Table Flags Columns Row Format Zip Size Space Type @@ -388,6 +402,8 @@ PARTITION ninetythousands VALUES LESS THAN (100000) (SUBPARTITION p90k_1 ENGINE = InnoDB, SUBPARTITION p90k_2 TABLESPACE = innodb_system ENGINE = InnoDB)) */; +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` int(11) DEFAULT NULL @@ -403,6 +419,8 @@ PARTITION thousands VALUES LESS THAN (10000) (SUBPARTITION subpart31 ENGINE = InnoDB, SUBPARTITION subpart32 ENGINE = InnoDB)) */; +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. === information_schema.innodb_sys_tables and innodb_sys_tablespaces === Table Name Tablespace Table Flags Columns Row Format Zip Size Space Type test/t1#p#fiftythousands#sp#fiftythousandssp0 s1 161 5 Dynamic 0 General @@ -531,6 +549,8 @@ ENGINE=INNODB PARTITION BY HASH( MONTH(tr_date) ) PARTITIONS 6; +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. DROP TABLE t1,ti; DROP TABLESPACE ts1; # diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/r/create_tablespace.result mysql-5.7-5.7.24/mysql-test/suite/innodb/r/create_tablespace.result --- mysql-5.7-5.7.23/mysql-test/suite/innodb/r/create_tablespace.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/r/create_tablespace.result 2018-10-04 05:48:22.000000000 +0000 @@ -1311,7 +1311,69 @@ Error 1478 InnoDB: Tablespace `innodb_temporary` can only contain TEMPORARY tables. Error 1478 Table storage engine 'InnoDB' does not support the create option 'TABLESPACE' DROP TABLE t_not_temp; +# +# Try to create or move a temporary table in innodb_file_per_table +# or innodb_temporary tablespaces with STRICT_MODE ON and OFF +# CREATE TEMPORARY TABLE t_my_temp (a int, b text) TABLESPACE=`innodb_temporary`; +Warnings: +Warning 1478 InnoDB: TABLESPACE=innodb_temporary option is deprecated and will be removed in a future release. +SHOW CREATE TABLE t_my_temp; +Table Create Table +t_my_temp CREATE TEMPORARY TABLE `t_my_temp` ( + `a` int(11) DEFAULT NULL, + `b` text +) /*!50100 TABLESPACE `innodb_temporary` */ ENGINE=InnoDB DEFAULT CHARSET=latin1 +DROP TABLE t_my_temp; +SET innodb_strict_mode = OFF; +CREATE TEMPORARY TABLE t_my_temp (a int, b text); +SHOW CREATE TABLE t_my_temp; +Table Create Table +t_my_temp CREATE TEMPORARY TABLE `t_my_temp` ( + `a` int(11) DEFAULT NULL, + `b` text +) ENGINE=InnoDB DEFAULT CHARSET=latin1 +ALTER TABLE t_my_temp TABLESPACE innodb_temporary; +Warnings: +Warning 1478 InnoDB: TABLESPACE=innodb_temporary option is deprecated and will be removed in a future release. +SHOW WARNINGS; +Level Code Message +Warning 1478 InnoDB: TABLESPACE=innodb_temporary option is deprecated and will be removed in a future release. +SHOW CREATE TABLE t_my_temp; +Table Create Table +t_my_temp CREATE TEMPORARY TABLE `t_my_temp` ( + `a` int(11) DEFAULT NULL, + `b` text +) /*!50100 TABLESPACE `innodb_temporary` */ ENGINE=InnoDB DEFAULT CHARSET=latin1 +ALTER TABLE t_my_temp TABLESPACE innodb_file_per_table; +Warnings: +Warning 1478 InnoDB: TABLESPACE=innodb_file_per_table option is ignored. This option is deprecated and will be removed in a future release. +SHOW WARNINGS; +Level Code Message +Warning 1478 InnoDB: TABLESPACE=innodb_file_per_table option is ignored. This option is deprecated and will be removed in a future release. +SHOW CREATE TABLE t_my_temp; +Table Create Table +t_my_temp CREATE TEMPORARY TABLE `t_my_temp` ( + `a` int(11) DEFAULT NULL, + `b` text +) /*!50100 TABLESPACE `innodb_file_per_table` */ ENGINE=InnoDB DEFAULT CHARSET=latin1 +DROP TABLE t_my_temp; +SET innodb_strict_mode = ON; +CREATE TEMPORARY TABLE t_my_temp (a int, b text); +SHOW CREATE TABLE t_my_temp; +Table Create Table +t_my_temp CREATE TEMPORARY TABLE `t_my_temp` ( + `a` int(11) DEFAULT NULL, + `b` text +) ENGINE=InnoDB DEFAULT CHARSET=latin1 +ALTER TABLE t_my_temp TABLESPACE=innodb_file_per_table; +ERROR HY000: InnoDB: TABLESPACE=innodb_file_per_table option is disallowed for temporary tables with INNODB_STRICT_NODE=ON. This option is deprecated and will be removed in a future release +ALTER TABLE t_my_temp TABLESPACE=innodb_temporary; +Warnings: +Warning 1478 InnoDB: TABLESPACE=innodb_temporary option is deprecated and will be removed in a future release. +SHOW WARNINGS; +Level Code Message +Warning 1478 InnoDB: TABLESPACE=innodb_temporary option is deprecated and will be removed in a future release. SHOW CREATE TABLE t_my_temp; Table Create Table t_my_temp CREATE TEMPORARY TABLE `t_my_temp` ( diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/r/deprecate_part_in_shared_ts.result mysql-5.7-5.7.24/mysql-test/suite/innodb/r/deprecate_part_in_shared_ts.result --- mysql-5.7-5.7.23/mysql-test/suite/innodb/r/deprecate_part_in_shared_ts.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/r/deprecate_part_in_shared_ts.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,130 @@ +CREATE TABLESPACE ts add datafile 'ts.ibd'; +######################################################################### +# Partitioned Table # +######################################################################### + +DROP TABLE IF EXISTS t1; +# Create table without explicit tablespace name +CREATE TABLE t1 (id INT, name VARCHAR(50)) +PARTITION BY RANGE(id) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30)); +# Try to ALTER TABLE to have general tablespace at table level +ALTER TABLE t1 TABLESPACE=ts; +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. +DROP TABLE t1; +# Create table with general tablespace at table level +CREATE TABLE t1 (id INT, name VARCHAR(50)) +TABLESPACE=ts +PARTITION BY RANGE(id) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30)); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. +DROP TABLE t1; +# Create table with system tablespace at table level +CREATE TABLE t1 (id INT, name VARCHAR(50)) +TABLESPACE=innodb_system +PARTITION BY RANGE(id) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30)); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. +DROP TABLE t1; +# Create table with innodb_file_per_table tablespace at table level +CREATE TABLE t1 (id INT, name VARCHAR(50)) +TABLESPACE=innodb_file_per_table +PARTITION BY RANGE(id) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30)); +DROP TABLE t1; +# Create table with general tablespace at partition level +CREATE TABLE t1 (id INT, name VARCHAR(50)) +PARTITION BY RANGE(id) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30) TABLESPACE=ts); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. +DROP TABLE t1; +# Create table with system tablespace at partition level +CREATE TABLE t1 (id INT, name VARCHAR(50)) +PARTITION BY RANGE(id) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30) TABLESPACE=innodb_system); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. +DROP TABLE t1; +# Create table with innodb_file_per_table tablespace at partition level +CREATE TABLE t1 (id INT, name VARCHAR(50)) +PARTITION BY RANGE(id) ( +PARTITION p0 VALUES LESS THAN (10), +PARTITION p1 VALUES LESS THAN (20), +PARTITION p2 VALUES LESS THAN (30), +PARTITION p3 VALUES LESS THAN (40) TABLESPACE=innodb_file_per_table); +# Alter table to move a partition to general tablespace. +ALTER TABLE t1 REORGANIZE PARTITION P0 INTO ( +PARTITION P0 VALUES LESS THAN (10) TABLESPACE=ts); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. +# Alter table to move a partition to system tablespace. +ALTER TABLE t1 REORGANIZE PARTITION P1 INTO ( +PARTITION P1 VALUES LESS THAN (20) TABLESPACE=innodb_system); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. +# Alter table to move a partition to file_per_table tablespace. +ALTER TABLE t1 REORGANIZE PARTITION P2 INTO ( +PARTITION P2 VALUES LESS THAN (30) TABLESPACE=innodb_file_per_table); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `id` int(11) DEFAULT NULL, + `name` varchar(50) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1 +/*!50100 PARTITION BY RANGE (id) +(PARTITION P0 VALUES LESS THAN (10) TABLESPACE = `ts` ENGINE = InnoDB, + PARTITION P1 VALUES LESS THAN (20) TABLESPACE = `innodb_system` ENGINE = InnoDB, + PARTITION P2 VALUES LESS THAN (30) TABLESPACE = `innodb_file_per_table` ENGINE = InnoDB, + PARTITION p3 VALUES LESS THAN (40) TABLESPACE = `innodb_file_per_table` ENGINE = InnoDB) */ +# Alter table to add a new partition in general tablespace +ALTER TABLE t1 ADD PARTITION ( +PARTITION p4 VALUES LESS THAN (50) tablespace=ts); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. +# Alter table to add a new partition in innodb_system tablespace +ALTER TABLE t1 ADD PARTITION ( +PARTITION p5 VALUES LESS THAN (60) tablespace=innodb_system); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. +# Alter table to add a new partition in innodb_file_per_table tablespace +ALTER TABLE t1 ADD PARTITION ( +PARTITION p6 VALUES LESS THAN (70) tablespace=innodb_file_per_table); +# Alter table to add a new partition without giving tablespace +ALTER TABLE t1 ADD PARTITION ( +PARTITION p7 VALUES LESS THAN (80)); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `id` int(11) DEFAULT NULL, + `name` varchar(50) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1 +/*!50100 PARTITION BY RANGE (id) +(PARTITION P0 VALUES LESS THAN (10) TABLESPACE = `ts` ENGINE = InnoDB, + PARTITION P1 VALUES LESS THAN (20) TABLESPACE = `innodb_system` ENGINE = InnoDB, + PARTITION P2 VALUES LESS THAN (30) TABLESPACE = `innodb_file_per_table` ENGINE = InnoDB, + PARTITION p3 VALUES LESS THAN (40) TABLESPACE = `innodb_file_per_table` ENGINE = InnoDB, + PARTITION p4 VALUES LESS THAN (50) TABLESPACE = `ts` ENGINE = InnoDB, + PARTITION p5 VALUES LESS THAN (60) TABLESPACE = `innodb_system` ENGINE = InnoDB, + PARTITION p6 VALUES LESS THAN (70) TABLESPACE = `innodb_file_per_table` ENGINE = InnoDB, + PARTITION p7 VALUES LESS THAN (80) ENGINE = InnoDB) */ +########### +# Cleanup # +########### +DROP TABLE t1; +DROP TABLESPACE ts; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/r/events-merge-tmp-path.result mysql-5.7-5.7.24/mysql-test/suite/innodb/r/events-merge-tmp-path.result --- mysql-5.7-5.7.23/mysql-test/suite/innodb/r/events-merge-tmp-path.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/r/events-merge-tmp-path.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,19 @@ +update performance_schema.setup_instruments set enabled='YES' where name like '%innodb_temp%'; +update performance_schema.setup_consumers set enabled='YES'; +use test; +CREATE TABLE `t1`(`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name1` varchar(180) NOT NULL, `name2` varchar(180) DEFAULT NULL, `name3` varchar(180) DEFAULT NULL, `name4` varchar(180) DEFAULT NULL, PRIMARY KEY (`id`,`name1`(10)) ) engine=InnoDB; +set @id:=0; +insert into t1 values +(@id:=@id+1,md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000)) +, (@id:=@id+1,md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000)) +, (@id:=@id+1,md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000)) +, (@id:=@id+1,md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000)); +insert into `t1`(`id`,`name1`,`name2`,`name3`,`name4`) +select @id:=@id+1,md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000) from +`t1` k1, `t1` k2, `t1` k3, `t1` k4,`t1` k5,`t1` k6; +create index i_dtyp_big on `t1`(name1) algorithm=inplace; +select distinct object_name from performance_schema.events_waits_history_long where event_name like '%wait%io%file%innodb%innodb_temp_file%' +and object_name like '%Innodb Merge Temp File%'; +object_name +MYSQL_TEST_DIR#Innodb Merge Temp File +drop table t1; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/r/innodb-alter-debug.result mysql-5.7-5.7.24/mysql-test/suite/innodb/r/innodb-alter-debug.result --- mysql-5.7-5.7.23/mysql-test/suite/innodb/r/innodb-alter-debug.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/r/innodb-alter-debug.result 2018-10-04 05:48:22.000000000 +0000 @@ -41,7 +41,7 @@ SET DEBUG_SYNC = 'now SIGNAL s2'; /* connection default */ /* reap */ alter table t1 add b int, ALGORITHM=inplace; -ERROR 23000: Duplicate entry '3' for key 'PRIMARY' +ERROR 23000: Duplicate entry '1' for key 'uk' SET DEBUG_SYNC = 'row_log_table_apply1_before SIGNAL s1 WAIT_FOR s2'; alter table t1 add b int, ALGORITHM=inplace;; /* connection con1 */ @@ -51,5 +51,25 @@ SET DEBUG_SYNC = 'now SIGNAL s2'; /* connection default */ /* reap */ alter table t1 add b int, ALGORITHM=inplace; -ERROR 23000: Duplicate entry '2' for key 'PRIMARY' +ERROR 23000: Duplicate entry '1' for key 'uk' drop table t1; +# +# Bug #27753193 ASSERTION `PREBUILT->TRX->ERROR_KEY_NUM < +# HA_ALTER_INFO->KEY_COUNT' +CREATE TABLE t1 (a INT, UNIQUE KEY(a)) ENGINE = INNODB; +INSERT INTO t1 VALUES (1); +SET DEBUG_SYNC = 'row_log_table_apply1_before signal S1 WAIT_FOR S2'; +OPTIMIZE TABLE t1;; +SET DEBUG_SYNC = 'now WAIT_FOR S1'; +INSERT INTO t1 VALUES (1); +ERROR 23000: Duplicate entry '1' for key 'a' +SET DEBUG_SYNC = 'now SIGNAL S2'; +/* reap */ OPTIMIZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 optimize note Table does not support optimize, doing recreate + analyze instead +test.t1 optimize error Duplicate entry '1' for key 'a' +test.t1 optimize status Operation failed +Warnings: +Error 1062 Duplicate entry '1' for key 'a' +SET DEBUG_SYNC='RESET'; +DROP TABLE t1; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/r/innodb_tablespace.result mysql-5.7-5.7.24/mysql-test/suite/innodb/r/innodb_tablespace.result --- mysql-5.7-5.7.23/mysql-test/suite/innodb/r/innodb_tablespace.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/r/innodb_tablespace.result 2018-10-04 05:48:22.000000000 +0000 @@ -582,3 +582,14 @@ ERROR HY000: Tablespace has been discarded for table 't1' UNLOCK TABLES; DROP TABLE t1; +# +# Bug#27903881 [MYSQL 8.0 GA RELEASE & DEBUG BUILD] +# FIL_SPACE_GET(TABLE->SPACE) != __NULL +# +call mtr.add_suppression("\\[Warning\\] InnoDB: Missing .ibd file for table `test`\.`t1` .* "); +CREATE TABLE t1(c1 INT,c2 CHAR,c3 DATE)PARTITION BY HASH(DAYOFWEEK(c3)); +ALTER TABLE t1 DISCARD TABLESPACE; +FLUSH TABLES t1 FOR EXPORT; +ERROR HY000: Tablespace has been discarded for table 't1' +UNLOCK TABLES; +DROP TABLE t1; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/r/partition.result mysql-5.7-5.7.24/mysql-test/suite/innodb/r/partition.result --- mysql-5.7-5.7.23/mysql-test/suite/innodb/r/partition.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/r/partition.result 2018-10-04 05:48:22.000000000 +0000 @@ -237,7 +237,11 @@ ENGINE=InnoDB stats_persistent=DEFAULT PARTITION BY LINEAR HASH(d) PARTITIONS 2; ALTER TABLE t1 TABLESPACE ts1; +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. ALTER TABLE t1 DROP PRIMARY KEY, ALGORITHM=DEFAULT; +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. DROP TABLE t1; DROP TABLESPACE ts1; # @@ -449,6 +453,8 @@ ( PARTITION P1 VALUES LESS THAN (2) TABLESPACE ts1, PARTITION P2 VALUES LESS THAN (4) TABLESPACE `innodb_system`, PARTITION P3 VALUES LESS THAN (6)); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. ALTER TABLE t1 ADD COLUMN f int; DROP TABLE t1; DROP TABLESPACE ts1; @@ -462,6 +468,8 @@ PARTITION p2 VALUES LESS THAN (200), PARTITION p3 VALUES LESS THAN (300) TABLESPACE ts1, PARTITION p4 VALUES LESS THAN (400) TABLESPACE innodb_system); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. FLUSH table t1 FOR EXPORT; Warnings: Warning 1809 InnoDB: Table '`test`.`t1` /* Partition `p1` */' in system tablespace @@ -558,6 +566,8 @@ PARTITION p2 VALUES LESS THAN (4) TABLESPACE innodb_system, PARTITION p3 VALUES LESS THAN (6), PARTITION p4 VALUES LESS THAN (8) TABLESPACE innodb_file_per_table); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( @@ -605,6 +615,8 @@ test/t1#p#p3 General ts2 test/t1#p#p4 Single test/t1#p#p4 ALTER TABLE t1 ADD COLUMN c int, TABLESPACE ts1; +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( @@ -630,6 +642,8 @@ test/t1#p#p3 General ts2 test/t1#p#p4 Single test/t1#p#p4 ALTER TABLE t1 ADD PARTITION (PARTITION p5 VALUES LESS THAN (10) TABLESPACE ts2); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( @@ -657,6 +671,8 @@ test/t1#p#p4 Single test/t1#p#p4 test/t1#p#p5 General ts2 ALTER TABLE t1 ADD PARTITION (PARTITION p6 VALUES LESS THAN (12)); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( @@ -686,6 +702,8 @@ test/t1#p#p5 General ts2 test/t1#p#p6 General ts1 ALTER TABLE t1 REORGANIZE PARTITION p4 INTO (PARTITION p4 VALUES LESS THAN (8)); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( @@ -715,6 +733,8 @@ test/t1#p#p5 General ts2 test/t1#p#p6 General ts1 ALTER TABLE t1 REORGANIZE PARTITION p3 INTO (PARTITION p3 VALUES LESS THAN (6) TABLESPACE innodb_system); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( @@ -752,6 +772,8 @@ PARTITION p2 VALUES LESS THAN (4) TABLESPACE innodb_system, PARTITION p3 VALUES LESS THAN (6), PARTITION p4 VALUES LESS THAN (8) TABLESPACE innodb_file_per_table); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( @@ -799,6 +821,8 @@ test/t1#p#p3 Single test/t1#p#p3 test/t1#p#p4 Single test/t1#p#p4 ALTER TABLE t1 ADD COLUMN c int, TABLESPACE ts1; +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( @@ -824,6 +848,8 @@ test/t1#p#p3 Single test/t1#p#p3 test/t1#p#p4 Single test/t1#p#p4 ALTER TABLE t1 ADD PARTITION (PARTITION p5 VALUES LESS THAN (10) TABLESPACE ts2); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( @@ -851,6 +877,8 @@ test/t1#p#p4 Single test/t1#p#p4 test/t1#p#p5 General ts2 ALTER TABLE t1 ADD PARTITION (PARTITION p6 VALUES LESS THAN (12)); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( @@ -880,6 +908,8 @@ test/t1#p#p5 General ts2 test/t1#p#p6 General ts1 ALTER TABLE t1 REORGANIZE PARTITION p4 INTO (PARTITION p4 VALUES LESS THAN (8)); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( @@ -909,6 +939,8 @@ test/t1#p#p5 General ts2 test/t1#p#p6 General ts1 ALTER TABLE t1 REORGANIZE PARTITION p3 INTO (PARTITION p3 VALUES LESS THAN (6) TABLESPACE innodb_system); +Warnings: +Warning 1681 'InnoDB : A table partition in a shared tablespace' is deprecated and will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/r/virtual_debug.result mysql-5.7-5.7.24/mysql-test/suite/innodb/r/virtual_debug.result --- mysql-5.7-5.7.23/mysql-test/suite/innodb/r/virtual_debug.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/r/virtual_debug.result 2018-10-04 05:48:22.000000000 +0000 @@ -125,10 +125,10 @@ /* connection default */ optimize table t; Table Op Msg_type Msg_text test.t optimize note Table does not support optimize, doing recreate + analyze instead -test.t optimize error Duplicate entry 'NULL' for key 'b' +test.t optimize error Duplicate entry 'NULL' for key 'c' test.t optimize status Operation failed Warnings: -Error 1062 Duplicate entry 'NULL' for key 'b' +Error 1062 Duplicate entry 'NULL' for key 'c' SELECT c FROM t; c 1 @@ -237,4 +237,18 @@ b v fubar fub DROP TABLE t; +# +# Bug#26375771 INNODB: ASSERTION FAILURE: MACH0DATA.IC:308:VAL > 0X7F +# +create table ibstd_07 (a int not null, d int not null, b blob not null, c text, vadcol int as (a+length(d)) stored, vbcol char(2) as (substr(b,2,2)) virtual, vbidxcol char(3) as (substr(b,1,3)) virtual , index(d desc), index(a desc), index(vbidxcol desc), index(vbidxcol desc,d asc), unique key (b(101) desc, a asc, d ), index(c(255) desc, b(255) asc), index(b(5) desc, c(10) asc, a ) ) engine=InnoDB default charset=latin1 row_format=redundant; +insert into ibstd_07 values (2, 2, repeat('rocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaooc','281'),repeat('ouolrculuouocououooalcoraooaulouuacrolrocooraoaooooolaccralacalooolalocoaacoorarorcurccarocucla','317'), default, default, default); +SET DEBUG_SYNC = 'innodb_inplace_alter_table_enter SIGNAL start_create WAIT_FOR go_ahead'; +alter table ibstd_07 add primary key (b(11) desc,a asc, d );; +SET DEBUG_SYNC = 'now WAIT_FOR start_create'; +update ibstd_07 set c=repeat('0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo','70'); +SET DEBUG_SYNC = 'now SIGNAL go_ahead'; +SELECT * FROM ibstd_07; +a d b c vadcol vbcol vbidxcol +2 2 rocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaoocrocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaooc 0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo 3 oc roc +DROP TABLE ibstd_07; SET DEBUG_SYNC = 'RESET'; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/alter_kill.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/alter_kill.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/alter_kill.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/alter_kill.test 2018-10-04 05:48:22.000000000 +0000 @@ -135,7 +135,7 @@ -- echo # Attempt to start without an *.ibd file. let SEARCH_FILE= $MYSQLTEST_VARDIR/log/my_restart.err; --- error 3 +-- error 3,42 -- exec $MYSQLD_CMD --core-file --console > $SEARCH_FILE 2>&1; let SEARCH_PATTERN= \[ERROR\] InnoDB: Tablespace [0-9]+ was not found at .*test.bug16735660.ibd; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/create_tablespace.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/create_tablespace.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/create_tablespace.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/create_tablespace.test 2018-10-04 05:48:22.000000000 +0000 @@ -787,10 +787,42 @@ SHOW WARNINGS; DROP TABLE t_not_temp; +--echo # +--echo # Try to create or move a temporary table in innodb_file_per_table +--echo # or innodb_temporary tablespaces with STRICT_MODE ON and OFF +--echo # CREATE TEMPORARY TABLE t_my_temp (a int, b text) TABLESPACE=`innodb_temporary`; SHOW CREATE TABLE t_my_temp; DROP TABLE t_my_temp; +SET innodb_strict_mode = OFF; + +CREATE TEMPORARY TABLE t_my_temp (a int, b text); +SHOW CREATE TABLE t_my_temp; + +ALTER TABLE t_my_temp TABLESPACE innodb_temporary; +SHOW WARNINGS; +SHOW CREATE TABLE t_my_temp; + +ALTER TABLE t_my_temp TABLESPACE innodb_file_per_table; +SHOW WARNINGS; +SHOW CREATE TABLE t_my_temp; + +DROP TABLE t_my_temp; + +SET innodb_strict_mode = ON; +CREATE TEMPORARY TABLE t_my_temp (a int, b text); +SHOW CREATE TABLE t_my_temp; + +--error ER_ILLEGAL_HA_CREATE_OPTION +ALTER TABLE t_my_temp TABLESPACE=innodb_file_per_table; + +ALTER TABLE t_my_temp TABLESPACE=innodb_temporary; +SHOW WARNINGS; +SHOW CREATE TABLE t_my_temp; + +DROP TABLE t_my_temp; + --echo # --echo # Try to create or move a table into the redo tablespace --echo # or any tablespace using the reserved `innodb_` prefix. diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/deprecate_part_in_shared_ts.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/deprecate_part_in_shared_ts.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/deprecate_part_in_shared_ts.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/deprecate_part_in_shared_ts.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,119 @@ +################################################################################ +# Test case to test deprecation warning message to be thrown when a partition # +# of a partitioned table is found in a shared tablespace. # +# # +# This test case will test # +# - Partitioned Table create/alter with different combination of tablespace # +# at table level and partition level. # +################################################################################ + +--source include/no_valgrind_without_big.inc +CREATE TABLESPACE ts add datafile 'ts.ibd'; + +--echo ######################################################################### +--echo # Partitioned Table # +--echo ######################################################################### +--echo +--disable_warnings +DROP TABLE IF EXISTS t1; +--enable_warnings + +--echo # Create table without explicit tablespace name +CREATE TABLE t1 (id INT, name VARCHAR(50)) + PARTITION BY RANGE(id) ( + PARTITION p0 VALUES LESS THAN (10), + PARTITION p1 VALUES LESS THAN (20), + PARTITION p2 VALUES LESS THAN (30)); + +--echo # Try to ALTER TABLE to have general tablespace at table level +ALTER TABLE t1 TABLESPACE=ts; +DROP TABLE t1; + +--echo # Create table with general tablespace at table level +CREATE TABLE t1 (id INT, name VARCHAR(50)) + TABLESPACE=ts + PARTITION BY RANGE(id) ( + PARTITION p0 VALUES LESS THAN (10), + PARTITION p1 VALUES LESS THAN (20), + PARTITION p2 VALUES LESS THAN (30)); +DROP TABLE t1; + +--echo # Create table with system tablespace at table level +CREATE TABLE t1 (id INT, name VARCHAR(50)) + TABLESPACE=innodb_system + PARTITION BY RANGE(id) ( + PARTITION p0 VALUES LESS THAN (10), + PARTITION p1 VALUES LESS THAN (20), + PARTITION p2 VALUES LESS THAN (30)); +DROP TABLE t1; + +--echo # Create table with innodb_file_per_table tablespace at table level +CREATE TABLE t1 (id INT, name VARCHAR(50)) + TABLESPACE=innodb_file_per_table + PARTITION BY RANGE(id) ( + PARTITION p0 VALUES LESS THAN (10), + PARTITION p1 VALUES LESS THAN (20), + PARTITION p2 VALUES LESS THAN (30)); +DROP TABLE t1; + +--echo # Create table with general tablespace at partition level +CREATE TABLE t1 (id INT, name VARCHAR(50)) + PARTITION BY RANGE(id) ( + PARTITION p0 VALUES LESS THAN (10), + PARTITION p1 VALUES LESS THAN (20), + PARTITION p2 VALUES LESS THAN (30) TABLESPACE=ts); +DROP TABLE t1; + +--echo # Create table with system tablespace at partition level +CREATE TABLE t1 (id INT, name VARCHAR(50)) + PARTITION BY RANGE(id) ( + PARTITION p0 VALUES LESS THAN (10), + PARTITION p1 VALUES LESS THAN (20), + PARTITION p2 VALUES LESS THAN (30) TABLESPACE=innodb_system); +DROP TABLE t1; + +--echo # Create table with innodb_file_per_table tablespace at partition level +CREATE TABLE t1 (id INT, name VARCHAR(50)) + PARTITION BY RANGE(id) ( + PARTITION p0 VALUES LESS THAN (10), + PARTITION p1 VALUES LESS THAN (20), + PARTITION p2 VALUES LESS THAN (30), + PARTITION p3 VALUES LESS THAN (40) TABLESPACE=innodb_file_per_table); + +--echo # Alter table to move a partition to general tablespace. +ALTER TABLE t1 REORGANIZE PARTITION P0 INTO ( + PARTITION P0 VALUES LESS THAN (10) TABLESPACE=ts); + +--echo # Alter table to move a partition to system tablespace. +ALTER TABLE t1 REORGANIZE PARTITION P1 INTO ( + PARTITION P1 VALUES LESS THAN (20) TABLESPACE=innodb_system); + +--echo # Alter table to move a partition to file_per_table tablespace. +ALTER TABLE t1 REORGANIZE PARTITION P2 INTO ( + PARTITION P2 VALUES LESS THAN (30) TABLESPACE=innodb_file_per_table); + +SHOW CREATE TABLE t1; + +--echo # Alter table to add a new partition in general tablespace +ALTER TABLE t1 ADD PARTITION ( + PARTITION p4 VALUES LESS THAN (50) tablespace=ts); + +--echo # Alter table to add a new partition in innodb_system tablespace +ALTER TABLE t1 ADD PARTITION ( + PARTITION p5 VALUES LESS THAN (60) tablespace=innodb_system); + +--echo # Alter table to add a new partition in innodb_file_per_table tablespace +ALTER TABLE t1 ADD PARTITION ( + PARTITION p6 VALUES LESS THAN (70) tablespace=innodb_file_per_table); + +--echo # Alter table to add a new partition without giving tablespace +ALTER TABLE t1 ADD PARTITION ( + PARTITION p7 VALUES LESS THAN (80)); + +SHOW CREATE TABLE t1; + +--echo ########### +--echo # Cleanup # +--echo ########### +DROP TABLE t1; +DROP TABLESPACE ts; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/events-merge-tmp-path-master.opt mysql-5.7-5.7.24/mysql-test/suite/innodb/t/events-merge-tmp-path-master.opt --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/events-merge-tmp-path-master.opt 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/events-merge-tmp-path-master.opt 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1 @@ +--performance_schema_events_waits_history_long_size=100000 --innodb_sort_buffer_size=64k --innodb-buffer-pool-size=8M --tmpdir=$MYSQLTEST_VARDIR_ABS diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/events-merge-tmp-path.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/events-merge-tmp-path.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/events-merge-tmp-path.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/events-merge-tmp-path.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,31 @@ +### test to check if performance_schema.events_waits_history_long +### reflects correct data + +### disable for embedded server +--source include/not_embedded.inc +update performance_schema.setup_instruments set enabled='YES' where name like '%innodb_temp%'; +update performance_schema.setup_consumers set enabled='YES'; +use test; +CREATE TABLE `t1`(`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name1` varchar(180) NOT NULL, `name2` varchar(180) DEFAULT NULL, `name3` varchar(180) DEFAULT NULL, `name4` varchar(180) DEFAULT NULL, PRIMARY KEY (`id`,`name1`(10)) ) engine=InnoDB; + set @id:=0; + +### populate random data + insert into t1 values + (@id:=@id+1,md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000)) +, (@id:=@id+1,md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000)) +, (@id:=@id+1,md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000)) +, (@id:=@id+1,md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000)); +insert into `t1`(`id`,`name1`,`name2`,`name3`,`name4`) +select @id:=@id+1,md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000),md5(rand()*1000000) from +`t1` k1, `t1` k2, `t1` k3, `t1` k4,`t1` k5,`t1` k6; + +#create inplace index and check if data is mention in events_waits_h +create index i_dtyp_big on `t1`(name1) algorithm=inplace; + +--replace_regex /[\\\/]Innodb Merge Temp File/#Innodb Merge Temp File/ +--replace_result $MYSQLTEST_VARDIR_ABS MYSQL_TEST_DIR + +select distinct object_name from performance_schema.events_waits_history_long where event_name like '%wait%io%file%innodb%innodb_temp_file%' +and object_name like '%Innodb Merge Temp File%'; +drop table t1; + diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/innodb-alter-debug.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/innodb-alter-debug.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/innodb-alter-debug.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/innodb-alter-debug.test 2018-10-04 05:48:22.000000000 +0000 @@ -76,3 +76,31 @@ # Wait till all disconnects are completed --source include/wait_until_count_sessions.inc + +--echo # +--echo # Bug #27753193 ASSERTION `PREBUILT->TRX->ERROR_KEY_NUM < +--echo # HA_ALTER_INFO->KEY_COUNT' + +CREATE TABLE t1 (a INT, UNIQUE KEY(a)) ENGINE = INNODB; +INSERT INTO t1 VALUES (1); + +SET DEBUG_SYNC = 'row_log_table_apply1_before signal S1 WAIT_FOR S2'; +--send OPTIMIZE TABLE t1; + +CONNECT (con1,localhost,root,,); +CONNECTION con1; +SET DEBUG_SYNC = 'now WAIT_FOR S1'; +--error ER_DUP_ENTRY +INSERT INTO t1 VALUES (1); +SET DEBUG_SYNC = 'now SIGNAL S2'; + +CONNECTION default; +--echo /* reap */ OPTIMIZE TABLE t1; +--reap +DISCONNECT con1; +SET DEBUG_SYNC='RESET'; + +DROP TABLE t1; + +# Wait till all disconnects are completed +--source include/wait_until_count_sessions.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/innodb_bug70867.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/innodb_bug70867.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/innodb_bug70867.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/innodb_bug70867.test 2018-10-04 05:48:22.000000000 +0000 @@ -25,7 +25,7 @@ --mkdir $MYSQL_DATA_DIR/tmpdata --chmod 0400 $MYSQL_DATA_DIR/tmpdata ---error 1 +--error 1,42 --exec $MYSQLD_CMD --innodb_data_home_dir=$MYSQL_DATA_DIR/tmpdata $args let SEARCH_PATTERN = returned OS error 113; --source ./include/search_pattern.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/innodb_page_size_func.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/innodb_page_size_func.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/innodb_page_size_func.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/innodb_page_size_func.test 2018-10-04 05:48:22.000000000 +0000 @@ -120,7 +120,7 @@ #---------------------------------------------------------------------------------- --echo # 1.1 The value assigned is a number. # Detailed explanations of what happens are placed nearby the checks. ---error 1 +--error 1,42 --exec $mysqld=$other_page_size if ( $default_page_size != $other_page_size ) { @@ -134,7 +134,7 @@ let SEARCH_PATTERN= \[ERROR\] Aborting; --source include/search_pattern_in_file.inc --echo # 1.2 The value assigned is a number followed by 'k'. ---error 1 +--error 1,42 --exec $mysqld=$other_page_size_nk if ( $default_page_size != $other_page_size ) { @@ -159,7 +159,7 @@ # 1. not supported # 2. below the smallest supported one # The restart attempt has to fail. ---error 1 +--error 1,42 --exec $mysqld=$out_range_page_size # The innodb page size gets raised to the lowest or biggest legal value. let SEARCH_PATTERN= \[Warning\] option 'innodb-page-size': unsigned value $out_range_page_size adjusted to $adjust_page_size; @@ -185,7 +185,7 @@ { --echo # We do not omit the test. } ---error 1 +--error 1,42 --exec $mysqld=garbage # General server properties cause that # - the plain wrong value "garbage" assigned to innodb page size gets @@ -220,7 +220,7 @@ --echo # k is a legal page size. #--------------------------------------------------------------------------------- # The restart attempt has to fail. ---error 1 +--error 1,42 --exec $mysqld=$other_page_size_nkaramel # The plain wrong value "karamel" assigned to innodb page size seems # to get mangled to "k" which is a legal value. diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/innodb_pagesize_max_recordsize.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/innodb_pagesize_max_recordsize.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/innodb_pagesize_max_recordsize.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/innodb_pagesize_max_recordsize.test 2018-10-04 05:48:22.000000000 +0000 @@ -204,7 +204,7 @@ let NEW_CMD = $MYSQLD --no-defaults $KEYRING_PLUGIN_OPT --lc_messages_dir=$MYSQL_SHAREDIR --innodb_page_size=64K --basedir=$MYSQLD_BASEDIR --datadir=$MYSQLD_DATADIR1 --innodb_log_file_size=5M --innodb_log_files_in_group=2 --innodb_undo_tablespaces=0>$MYSQLTEST_VARDIR/tmp/bootstrap.log 2>&1; --echo # Check Server startup failure when page size 64K ---error 1 +--error 1,42 --exec $NEW_CMD # Search for particular warning during server startup diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/innodb_tablespace.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/innodb_tablespace.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/innodb_tablespace.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/innodb_tablespace.test 2018-10-04 05:48:22.000000000 +0000 @@ -422,3 +422,14 @@ UNLOCK TABLES; DROP TABLE t1; +--echo # +--echo # Bug#27903881 [MYSQL 8.0 GA RELEASE & DEBUG BUILD] +--echo # FIL_SPACE_GET(TABLE->SPACE) != __NULL +--echo # +call mtr.add_suppression("\\[Warning\\] InnoDB: Missing .ibd file for table `test`\.`t1` .* "); +CREATE TABLE t1(c1 INT,c2 CHAR,c3 DATE)PARTITION BY HASH(DAYOFWEEK(c3)); +ALTER TABLE t1 DISCARD TABLESPACE; +--error ER_TABLESPACE_DISCARDED +FLUSH TABLES t1 FOR EXPORT; +UNLOCK TABLES; +DROP TABLE t1; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/innodb-wl6045-linux.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/innodb-wl6045-linux.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/innodb-wl6045-linux.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/innodb-wl6045-linux.test 2018-10-04 05:48:22.000000000 +0000 @@ -390,7 +390,7 @@ --echo # Test[5] for lock. --echo # Test Scenario: As mysqld is running, & then start the innochecksum which must fail. ---error 1 +--error 1,42 --exec $INNOCHECKSUM $MYSQLD_DATADIR/test/t1.ibd 2> $SEARCH_FILE let SEARCH_PATTERN=Error: Unable to lock file:: $MYSQLD_DATADIR/test/t1.ibd; --source include/search_pattern_in_file.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/innodb-wl6445-2.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/innodb-wl6445-2.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/innodb-wl6445-2.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/innodb-wl6445-2.test 2018-10-04 05:48:22.000000000 +0000 @@ -180,7 +180,7 @@ --echo # This confirms server is not automatically started in read-only mode. #---------------------------------------------------------------------------------- # Detailed explanations of what happens are placed nearby the checks. ---error 1 +--error 1,42 --exec $MYSQLD_CMD --core-file --loose-console > $error_log 2>&1 # We get depending on the platform either "./ibdata1" or ".\ibdata1". diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/log_corruption.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/log_corruption.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/log_corruption.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/log_corruption.test 2018-10-04 05:48:22.000000000 +0000 @@ -8,7 +8,7 @@ --echo # redo log from before MySQL 5.7.9 --exec unzip $MYSQL_TEST_DIR/suite/innodb/t/log_corruption.zip -d $newdir > $SEARCH_FILE ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=InnoDB: Upgrade after a crash is not supported. This redo log was created before MySQL 5\\.7\\.9\\.; --source include/search_pattern_in_file.inc @@ -16,7 +16,7 @@ --echo # redo log from before MySQL 5.7.9, with corrupted log checkpoint --remove_file $newdir/ib_logfile0 --copy_file $newdir/ib_logfile1 $newdir/ib_logfile0 ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=InnoDB: Upgrade after a crash is not supported. This redo log was created before MySQL 5\\.7\\.9, and we did not find a valid checkpoint; --source include/search_pattern_in_file.inc @@ -24,7 +24,7 @@ --echo # redo log from before MySQL 5.7.9, with corrupted log block --remove_file $newdir/ib_logfile0 --exec unzip $MYSQL_TEST_DIR/suite/innodb/t/log_corruption0.zip -d $newdir > $SEARCH_FILE ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=InnoDB: Upgrade after a crash is not supported. This redo log was created before MySQL 5\\.7\\.9, and it appears corrupted; --source include/search_pattern_in_file.inc @@ -32,7 +32,7 @@ --echo # redo log from "after" MySQL 5.7.9, but with invalid header checksum --remove_file $newdir/ib_logfile0 --exec unzip $MYSQL_TEST_DIR/suite/innodb/t/log_corruption1.zip -d $newdir > $SEARCH_FILE ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=InnoDB: Invalid redo log header checksum; --source include/search_pattern_in_file.inc @@ -40,7 +40,7 @@ --echo # distant future redo log format, with valid header checksum --remove_file $newdir/ib_logfile0 --exec unzip $MYSQL_TEST_DIR/suite/innodb/t/log_corruption2.zip -d $newdir > $SEARCH_FILE ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=InnoDB: Unsupported redo log format. The redo log was created with malicious intentions, or perhaps\. Please follow the instructions at http://dev.mysql.com/doc/refman/5.7/en/upgrading-downgrading.html; --source include/search_pattern_in_file.inc @@ -48,7 +48,7 @@ --echo # valid header, but old-format checkpoint blocks --remove_file $newdir/ib_logfile0 --exec unzip $MYSQL_TEST_DIR/suite/innodb/t/log_corruption3.zip -d $newdir > $SEARCH_FILE ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=InnoDB: No valid checkpoint found .corrupted redo log; --source include/search_pattern_in_file.inc @@ -58,7 +58,7 @@ --exec unzip $MYSQL_TEST_DIR/suite/innodb/t/log_corruption4.zip -d $newdir > $SEARCH_FILE # Anything below innodb_force_recovery=6 must find a valid redo log. # Missing tablespace files are tolerated already with innodb_force_recovery=1. ---error 1 +--error 1,42 --exec $MYSQLD $args --innodb-force-recovery=5 let SEARCH_PATTERN=InnoDB: Log block 2372 at lsn 1213952 has valid header, but checksum field contains 144444122, should be 3362026715; --source include/search_pattern_in_file.inc @@ -67,7 +67,7 @@ let SEARCH_PATTERN=Plugin 'InnoDB' registration as a STORAGE ENGINE failed; --source include/search_pattern_in_file.inc --echo # --innodb-force-recovery=6 (skip the entire redo log) ---error 1 +--error 1,42 --exec $MYSQLD $args --innodb-force-recovery=6 let SEARCH_PATTERN=InnoDB: Cannot create sys_virtual system tables. running in read-only mode; --source include/search_pattern_in_file.inc @@ -77,14 +77,14 @@ --exec unzip $MYSQL_TEST_DIR/suite/innodb/t/log_corruption4a.zip -d $newdir > $SEARCH_FILE # Anything below innodb_force_recovery=6 must find a valid redo log. # Missing tablespace files are tolerated already with innodb_force_recovery=1. ---error 1 +--error 1,42 --exec $MYSQLD $args --innodb-force-recovery=5 let SEARCH_PATTERN=InnoDB: Ignoring the redo log due to missing MLOG_CHECKPOINT between the checkpoint 1213964 and the end 1213952\.; --source include/search_pattern_in_file.inc let SEARCH_PATTERN=Plugin 'InnoDB' registration as a STORAGE ENGINE failed; --source include/search_pattern_in_file.inc --echo # --innodb-force-recovery=6 (skip the entire redo log) ---error 1 +--error 1,42 --exec $MYSQLD $args --innodb-force-recovery=6 let SEARCH_PATTERN=InnoDB: Cannot create sys_virtual system tables. running in read-only mode; --source include/search_pattern_in_file.inc @@ -93,7 +93,7 @@ --echo # valid header, valid checkpoint 1, all-zero (invalid) checkpoint 2 --remove_file $newdir/ib_logfile0 --exec unzip $MYSQL_TEST_DIR/suite/innodb/t/log_corruption5.zip -d $newdir > $SEARCH_FILE ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=InnoDB: Log scan progressed past the checkpoint lsn 1213964; --source include/search_pattern_in_file.inc @@ -110,7 +110,7 @@ --echo # valid header, invalid checkpoint 1, valid checkpoint 2 --remove_file $newdir/ib_logfile0 --exec unzip $MYSQL_TEST_DIR/suite/innodb/t/log_corruption6.zip -d $newdir > $SEARCH_FILE ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=InnoDB: The log file was created by mysqlbackup --apply-log at ibbackup was here!!!1!\. The following crash recovery is part of a normal restore\.; --source include/search_pattern_in_file.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/log_file_name.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/log_file_name.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/log_file_name.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/log_file_name.test 2018-10-04 05:48:22.000000000 +0000 @@ -35,7 +35,7 @@ # This could fail to refuse startup, in case there was a log # checkpoint after the INSERT. That is what we checked above. ---error 1 +--error 1,42 --exec $mysqld let SEARCH_PATTERN= InnoDB: Ignoring data file '.*t2.ibd' with space ID \d+. Another data file called .*t1.ibd exists with the same space ID; @@ -49,7 +49,7 @@ --echo # Fault 2: Wrong space_id in a dirty file, and a missing file. --move_file $MYSQLD_DATADIR/test/t3.ibd $MYSQLD_DATADIR/test/t1.ibd ---error 3 +--error 3,42 --exec $mysqld let SEARCH_PATTERN= InnoDB: Ignoring data file '.*t1.ibd' with space ID; @@ -67,7 +67,7 @@ --move_file $MYSQLD_DATADIR/test/t2.ibd $MYSQLD_DATADIR/test/t3.ibd --move_file $MYSQLD_DATADIR/test/t.ibd $MYSQLD_DATADIR/test/t2.ibd ---error 3 +--error 3,42 --exec $mysqld let SEARCH_PATTERN= InnoDB: Ignoring data file '.*t[23].ibd' with space ID; @@ -88,7 +88,7 @@ --echo # Fault 4: Missing data file ---error 3 +--error 3,42 --exec $mysqld let SEARCH_PATTERN= InnoDB: Tablespace \d+ was not found at .*t[12].ibd. @@ -108,7 +108,7 @@ # Create a short file. --exec echo "" > $MYSQLD_DATADIR/test/t2.ibd ---error 3 +--error 3,42 --exec $mysqld let SEARCH_PATTERN= \[ERROR\] InnoDB: Datafile .*t2.*\. Cannot determine the space ID from the first 64 pages; @@ -188,7 +188,7 @@ --copy_file $MYSQLD_DATADIR/test/u6.ibd $MYSQLD_DATADIR/test/u4.ibd ---error 1 +--error 1,42 --exec $mysqld --innodb-force-recovery=1 let SEARCH_PATTERN= \[ERROR\] InnoDB: Header page consists of zero bytes in datafile: .*u1.ibd; @@ -213,7 +213,7 @@ --echo # Fault 7: Missing or wrong data file and innodb_force_recovery ---error 1 +--error 1,42 --exec $mysqld --innodb-force-recovery=1 let SEARCH_PATTERN= \[ERROR\] InnoDB: Header page consists of zero bytes in datafile: .*u1.ibd; @@ -227,7 +227,7 @@ --remove_file $MYSQLD_DATADIR/test/u6.ibd ---error 1 +--error 1,42 --exec $mysqld --innodb-force-recovery=1 --innodb-nonexistent-option let SEARCH_PATTERN= \[ERROR\] unknown option '--innodb-nonexistent-option'; --source include/search_pattern_in_file.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/log_file_size_1.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/log_file_size_1.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/log_file_size_1.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/log_file_size_1.test 2018-10-04 05:48:22.000000000 +0000 @@ -180,7 +180,7 @@ --remove_file $SEARCH_FILE --echo "test misc 3" ---error 1 +--error 1,42 --exec $MYSQLD_CMD $args --innodb-read-only let SEARCH_PATTERN= InnoDB: Cannot resize log files in read-only mode; --source include/search_pattern_in_file.inc @@ -191,7 +191,7 @@ # Rename the log files, and trigger an error in recovery. #--move_file $MYSQLD_DATADIR/ib_logfile101 $MYSQLD_DATADIR/ib_logfile0 --move_file $MYSQLD_DATADIR/ib_logfile1 $MYSQLD_DATADIR/ib_logfile1_hidden ---error 1 +--error 1,42 --exec $MYSQLD_CMD $args let SEARCH_PATTERN= InnoDB: Only one log file found; --source include/search_pattern_in_file.inc @@ -207,7 +207,7 @@ print FILE "garbage"; close(FILE); EOF ---error 1 +--error 1,42 --exec $MYSQLD_CMD $args let SEARCH_PATTERN= InnoDB: .*ib_logfile0 size 7 is not a multiple of innodb_page_size; --source include/search_pattern_in_file.inc @@ -224,7 +224,7 @@ close(FILE); EOF ---error 1 +--error 1,42 --exec $MYSQLD_CMD $args let SEARCH_PATTERN= InnoDB: .*ib_logfile1 is of different size; --source include/search_pattern_in_file.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/log_file_size.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/log_file_size.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/log_file_size.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/log_file_size.test 2018-10-04 05:48:22.000000000 +0000 @@ -68,7 +68,7 @@ --source include/search_pattern_in_file.inc --remove_file $SEARCH_FILE ---error 1 +--error 1,42 --exec $MYSQLD_CMD $args --innodb-read-only let SEARCH_PATTERN= InnoDB: Recovery skipped, --innodb-read-only set!; --source include/search_pattern_in_file.inc @@ -93,7 +93,7 @@ --source include/search_pattern_in_file.inc --remove_file $SEARCH_FILE ---error 1 +--error 1,42 --exec $MYSQLD_CMD $args --innodb-read-only let SEARCH_PATTERN= InnoDB: Can.t initiate database recovery, running in read-only-mode; --source include/search_pattern_in_file.inc @@ -113,7 +113,7 @@ # this crashes right after deleting all log files --remove_file $SEARCH_FILE ---error 1 +--error 1,42 --exec $MYSQLD_CMD $args --innodb-read-only let SEARCH_PATTERN= InnoDB: Cannot create log files in read-only mode; --source include/search_pattern_in_file.inc @@ -136,7 +136,7 @@ # Rename the log files, and trigger an error in recovery. --move_file $MYSQLD_DATADIR/ib_logfile101 $MYSQLD_DATADIR/ib_logfile0 --move_file $MYSQLD_DATADIR/ib_logfile1 $MYSQLD_DATADIR/ib_logfile1_hidden ---error 1 +--error 1,42 --exec $MYSQLD_CMD $args let SEARCH_PATTERN= InnoDB: Only one log file found; --source include/search_pattern_in_file.inc @@ -148,7 +148,7 @@ print FILE "garbage"; close(FILE); EOF ---error 1 +--error 1,42 --exec $MYSQLD_CMD $args let SEARCH_PATTERN= InnoDB: Log file .*ib_logfile0 size 7 is not a multiple of innodb_page_size; --source include/search_pattern_in_file.inc @@ -162,7 +162,7 @@ close(FILE); EOF ---error 1 +--error 1,42 --exec $MYSQLD_CMD $args let SEARCH_PATTERN= InnoDB: Log file .*ib_logfile1 is of different size 1048576 bytes than other log files; --source include/search_pattern_in_file.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/log_file.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/log_file.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/log_file.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/log_file.test 2018-10-04 05:48:22.000000000 +0000 @@ -25,7 +25,7 @@ --echo # Start mysqld without the possibility to create innodb_undo_tablespaces --mkdir $bugdir/undo002 ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=\[ERROR\] InnoDB: Could not create undo tablespace '.*undo002'; --source include/search_pattern_in_file.inc @@ -43,7 +43,7 @@ --list_files $bugdir --echo # Start mysqld with non existent innodb_log_group_home_dir ---error 1 +--error 1,42 --exec $MYSQLD $args --innodb_log_group_home_dir=/path/to/non-existent/ let SEARCH_PATTERN=File .path.to.non-existent.*ib_logfile101: 'create' returned OS error \d+; --source include/search_pattern_in_file.inc @@ -59,7 +59,7 @@ # complaining about mysql.* tables. This is sufficient for testing # missing tablespaces. --echo # Start mysqld to create tablespaces according to my.cnf ---error 1 +--error 1,42 --exec $MYSQLD $args --skip-grant-tables --innodb-unknown-parameter let SEARCH_PATTERN=unknown option '--innodb-unknown-parameter'; --source include/search_pattern_in_file.inc @@ -78,7 +78,7 @@ --echo # 1. With ibdata2, Without ibdata1 --remove_file $bugdir/ibdata1 ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=The innodb_system data file 'ibdata1' was not found but one of the other data files 'ibdata2' exists; --source include/search_pattern_in_file.inc @@ -90,7 +90,7 @@ --echo # 2. With ibdata1, without ibdata2 --remove_file $bugdir/ibdata2 ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=Tablespace size stored in header is \d+ pages, but; --source include/search_pattern_in_file.inc @@ -104,7 +104,7 @@ --remove_file $bugdir/ibdata1 --remove_file $bugdir/ibdata2 --list_files $bugdir ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=undo tablespace .*undo001.* exists\. Creating system tablespace with existing undo tablespaces is not supported\. Please delete all undo tablespaces before creating new system tablespace\.; --source include/search_pattern_in_file.inc @@ -118,7 +118,7 @@ --remove_files_wildcard $bugdir ibdata* --remove_files_wildcard $bugdir ib_logfile* --list_files $bugdir ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=undo tablespace .*undo001.* exists\. Creating system tablespace with existing undo tablespaces is not supported\. Please delete all undo tablespaces before creating new system tablespace\.; --source include/search_pattern_in_file.inc @@ -134,7 +134,7 @@ --remove_files_wildcard $bugdir ib_logfile* --remove_file $bugdir/undo002 --list_files $bugdir ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=undo tablespace .*undo001.* exists\. Creating system tablespace with existing undo tablespaces is not supported\. Please delete all undo tablespaces before creating new system tablespace\.; --source include/search_pattern_in_file.inc @@ -151,7 +151,7 @@ --remove_file $bugdir/undo001 --remove_file $bugdir/undo002 --list_files $bugdir ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=undo tablespace .*undo003.* exists\. Creating system tablespace with existing undo tablespaces is not supported\. Please delete all undo tablespaces before creating new system tablespace\.; --source include/search_pattern_in_file.inc @@ -164,7 +164,7 @@ --echo # 7. With ibdata files & Without undo002 --remove_file $bugdir/undo002 --list_files $bugdir ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=Expected to open 3 undo tablespaces but was able; --source include/search_pattern_in_file.inc @@ -179,7 +179,7 @@ --remove_file $bugdir/undo001 --remove_file $bugdir/undo002 --list_files $bugdir ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=Expected to open 3 undo tablespaces but was able; --source include/search_pattern_in_file.inc @@ -196,7 +196,7 @@ --remove_files_wildcard $bugdir undo00* --remove_file $bugdir/ib_logfile1 --list_files $bugdir ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=redo log file .*ib_logfile0.* exists\. Creating system tablespace with existing redo log files is not recommended\. Please delete all redo log files before creating new system tablespace\.; --source include/search_pattern_in_file.inc @@ -210,7 +210,7 @@ #--remove_file $bugdir/ib_logfile0 # The below would start the server. Since we cannot start a parallel # server, do not test the below case -#--error 1 +#--error 1,42 #--exec $MYSQLD $args # clean up & Restore @@ -219,7 +219,7 @@ --echo # 11. With ibdata*, without ib_logfile1 --remove_file $bugdir/ib_logfile1 --list_files $bugdir ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=Only one log file found; --source include/search_pattern_in_file.inc @@ -232,7 +232,7 @@ --echo # 12. With ibdata*, without ib_logfile2 --remove_file $bugdir/ib_logfile2 --list_files $bugdir ---error 1 +--error 1,42 --exec $MYSQLD $args let SEARCH_PATTERN=Resizing redo log from \d+\*\d+ to \d+\*\d+ pages, LSN=\d+; --source include/search_pattern_in_file.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/tablespace_crash.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/tablespace_crash.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/tablespace_crash.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/tablespace_crash.test 2018-10-04 05:48:22.000000000 +0000 @@ -146,7 +146,7 @@ --exec echo $MYSQL_TMP_DIR/bad/tablespace1.ibd > $MYSQLD_DATADIR/tablespace1.isl let SEARCH_FILE= $MYSQLTEST_VARDIR/log/my_restart.err; ---error 3 +--error 3,42 --exec $MYSQLD_CMD --core-file --console > $SEARCH_FILE 2>&1; let SEARCH_PATTERN= \[ERROR\] InnoDB: ISL file '.*tablespace1.isl' was found but the linked file '.*tablespace1.ibd' could not be opened or is not correct; @@ -166,7 +166,7 @@ --exec echo $MYSQL_TMP_DIR/tablespace1.ibd > $MYSQLD_DATADIR/tablespace1.isl --exec echo $MYSQL_TMP_DIR/bad/t3.ibd > $MYSQLD_DATADIR/test/t3.isl ---error 3 +--error 3,42 --exec $MYSQLD_CMD --core-file --console > $SEARCH_FILE 2>&1; let SEARCH_PATTERN= \[ERROR\] InnoDB: ISL file '.*t3.isl' was found but the linked file '.*t3.ibd' could not be opened or is not correct; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/virtual_debug.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/virtual_debug.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/virtual_debug.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/virtual_debug.test 2018-10-04 05:48:22.000000000 +0000 @@ -281,6 +281,32 @@ SELECT * FROM t; DROP TABLE t; +--echo # +--echo # Bug#26375771 INNODB: ASSERTION FAILURE: MACH0DATA.IC:308:VAL > 0X7F +--echo # +create table ibstd_07 (a int not null, d int not null, b blob not null, c text, vadcol int as (a+length(d)) stored, vbcol char(2) as (substr(b,2,2)) virtual, vbidxcol char(3) as (substr(b,1,3)) virtual , index(d desc), index(a desc), index(vbidxcol desc), index(vbidxcol desc,d asc), unique key (b(101) desc, a asc, d ), index(c(255) desc, b(255) asc), index(b(5) desc, c(10) asc, a ) ) engine=InnoDB default charset=latin1 row_format=redundant; + +insert into ibstd_07 values (2, 2, repeat('rocalrulcrcaurcuccoolrouuocacaooaucauualcucuoucucclolcllloocuarcoorlaccarocouuaoorcolloucraoaaooc','281'),repeat('ouolrculuouocououooalcoraooaulouuacrolrocooraoaooooolaccralacalooolalocoaacoorarorcurccarocucla','317'), default, default, default); + + +SET DEBUG_SYNC = 'innodb_inplace_alter_table_enter SIGNAL start_create WAIT_FOR go_ahead'; +--send alter table ibstd_07 add primary key (b(11) desc,a asc, d ); + +# Do a concurrent update +connection con1; +SET DEBUG_SYNC = 'now WAIT_FOR start_create'; + +update ibstd_07 set c=repeat('0.366710324443464crllooolarlollorlulololucrluacoorrrluroluroocouauacacruloulcurlraorcrclrolcocrrcoccolourrooclrcocruruauallo','70'); + + +SET DEBUG_SYNC = 'now SIGNAL go_ahead'; + +connection default; +reap; + +SELECT * FROM ibstd_07; +DROP TABLE ibstd_07; + disconnect con1; SET DEBUG_SYNC = 'RESET'; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb/t/virtual_index.test mysql-5.7-5.7.24/mysql-test/suite/innodb/t/virtual_index.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb/t/virtual_index.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb/t/virtual_index.test 2018-10-04 05:48:22.000000000 +0000 @@ -228,3 +228,38 @@ SHOW CREATE TABLE t1; DROP TABLE t1; + +#Disable the test case because it's being failed on ASAN. +#TODO : Bug #28556793 INNODB UPDATE_ROW ASAN FAILURE HEAP-USE-AFTER-FREE +if (0) +{ + --echo # + --echo # Bug #27968952 INNODB CRASH/CORRUPTION WITH TEXT PREFIX INDEXES + SET sql_mode=''; + CREATE TABLE t1( + a INT not null, + b CHAR(4) not null, + c TEXT GENERATED ALWAYS AS ((a <> b)) VIRTUAL, + UNIQUE KEY i1 (a), + UNIQUE KEY i2 (c(1)) + ) ENGINE=INNODB; + insert into t1 set a=1; + insert into t1 set a=0; + replace into t1 set b ='1'; + DROP TABLE t1; + + SET names utf8; + CREATE TABLE t1 ( + a VARCHAR(1000) GENERATED ALWAYS AS ('1') VIRTUAL, + b VARCHAR(1000) NOT NULL, + c VARCHAR(1000) GENERATED ALWAYS AS (b) STORED NOT NULL, + KEY (b(1)), + KEY (a(1)) + ) ENGINE=INNODB + ROW_FORMAT=COMPRESSED + KEY_BLOCK_SIZE=1; + INSERT INTO t1(b) VALUES(REPEAT('a',947)); + DELETE FROM t1; + DROP TABLE t1; + SET sql_mode = default; +} diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb_gis/r/rtree_concurrent_srch_2.result mysql-5.7-5.7.24/mysql-test/suite/innodb_gis/r/rtree_concurrent_srch_2.result --- mysql-5.7-5.7.23/mysql-test/suite/innodb_gis/r/rtree_concurrent_srch_2.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb_gis/r/rtree_concurrent_srch_2.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,35 @@ +CREATE TABLE g ( +id INT PRIMARY KEY, +p GEOMETRY NOT NULL, +SPATIAL KEY p_idx(p) +) ENGINE=InnoDB; +create procedure populate_g(IN `rows` INT) +begin +declare i int default 1; +while (i <= `rows`) DO +insert into test.g (id, p) values (i, POINT(i, i)); +set i = i + 1; +end while; +end| +call populate_g(650); +start transaction; +select id from g WHERE MBRContains(ST_GeomFromText('Polygon((100 0,100 5,105 +5,105 0,100 0))'),p) for update; +id +set innodb_lock_wait_timeout = 1; +set transaction isolation level serializable; +insert into g values(1103, POINT(100, 1)); +ERROR HY000: Lock wait timeout exceeded; try restarting transaction +start transaction; +select id from g WHERE MBRContains(ST_GeomFromText('Polygon((100 0,100 5,105 +5,105 0,100 0))'),p) for update; +id +commit; +set innodb_lock_wait_timeout = 1; +set transaction isolation level serializable; +insert into g values(1103, POINT(100, 1)); +ERROR HY000: Lock wait timeout exceeded; try restarting transaction +commit; +DROP TABLE g; +DROP PROCEDURE populate_g; +set innodb_lock_wait_timeout = default; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb_gis/t/rtree_concurrent_srch_2.test mysql-5.7-5.7.24/mysql-test/suite/innodb_gis/t/rtree_concurrent_srch_2.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb_gis/t/rtree_concurrent_srch_2.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb_gis/t/rtree_concurrent_srch_2.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,66 @@ +# This test case will test concurrent search on R-tree. +# Not supported in embedded +--source include/not_embedded.inc + +--source include/have_innodb.inc +--source include/have_debug.inc +--source include/have_innodb_16k.inc + +CREATE TABLE g ( + id INT PRIMARY KEY, + p GEOMETRY NOT NULL, + SPATIAL KEY p_idx(p) +) ENGINE=InnoDB; + +delimiter |; +create procedure populate_g(IN `rows` INT) +begin + declare i int default 1; + while (i <= `rows`) DO + insert into test.g (id, p) values (i, POINT(i, i)); + set i = i + 1; + end while; +end| +delimiter ;| + +call populate_g(650); + +start transaction; +select id from g WHERE MBRContains(ST_GeomFromText('Polygon((100 0,100 5,105 +5,105 0,100 0))'),p) for update; + +connect (a,localhost,root,,); +connection a; +set innodb_lock_wait_timeout = 1; +set transaction isolation level serializable; + +--error ER_LOCK_WAIT_TIMEOUT +insert into g values(1103, POINT(100, 1)); + +connect (b,localhost,root,,); +connection b; +start transaction; +select id from g WHERE MBRContains(ST_GeomFromText('Polygon((100 0,100 5,105 +5,105 0,100 0))'),p) for update; + +connection default; +commit; + +connection a; +set innodb_lock_wait_timeout = 1; +set transaction isolation level serializable; + +--error ER_LOCK_WAIT_TIMEOUT +insert into g values(1103, POINT(100, 1)); +disconnect a; +--source include/wait_until_disconnected.inc + +connection b; +commit; +disconnect b; +--source include/wait_until_disconnected.inc + +connection default; +DROP TABLE g; +DROP PROCEDURE populate_g; +set innodb_lock_wait_timeout = default; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb_zip/r/wl6469.result mysql-5.7-5.7.24/mysql-test/suite/innodb_zip/r/wl6469.result --- mysql-5.7-5.7.23/mysql-test/suite/innodb_zip/r/wl6469.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb_zip/r/wl6469.result 2018-10-04 05:48:22.000000000 +0000 @@ -281,6 +281,7 @@ index sk (b(3021)) ) row_format = compact engine=innodb; ERROR 42000: Specified key was too long; max key length is 767 bytes +SET sql_mode='NO_ENGINE_SUBSTITUTION'; create temporary table t ( a int not null, b blob not null, @@ -293,6 +294,7 @@ index sk (b(3021)) ) row_format = compressed engine=innodb; drop table t; +SET sql_mode='NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES'; SET GLOBAL innodb_large_prefix=default; set global innodb_file_per_table = 0; create temporary table t ( @@ -301,6 +303,7 @@ index sk (b(3021)) ) row_format = compact engine=innodb; ERROR 42000: Specified key was too long; max key length is 767 bytes +SET sql_mode='NO_ENGINE_SUBSTITUTION'; create temporary table t ( a int not null, b blob not null, diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb_zip/t/innochecksum.test mysql-5.7-5.7.24/mysql-test/suite/innodb_zip/t/innochecksum.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb_zip/t/innochecksum.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb_zip/t/innochecksum.test 2018-10-04 05:48:22.000000000 +0000 @@ -32,7 +32,7 @@ --echo # Server Default checksum = innodb --echo [1a]: check the innochecksum when file doesn't exists ---error 1 +--error 1,42 --exec $INNOCHECKSUM $MYSQLD_DATADIR/test/aa.ibd 2> $SEARCH_FILE let SEARCH_PATTERN= Error: $MYSQLD_DATADIR/test/aa.ibd cannot be found; --source include/search_pattern_in_file.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb_zip/t/wl6469.test mysql-5.7-5.7.24/mysql-test/suite/innodb_zip/t/wl6469.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb_zip/t/wl6469.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb_zip/t/wl6469.test 2018-10-04 05:48:22.000000000 +0000 @@ -228,6 +228,8 @@ b blob not null, index sk (b(3021)) ) row_format = compact engine=innodb; + +SET sql_mode='NO_ENGINE_SUBSTITUTION'; # create temporary table t ( a int not null, @@ -243,6 +245,7 @@ ) row_format = compressed engine=innodb; drop table t; # +SET sql_mode='NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES'; SET GLOBAL innodb_large_prefix=default; set global innodb_file_per_table = 0; # @@ -253,6 +256,7 @@ index sk (b(3021)) ) row_format = compact engine=innodb; # +SET sql_mode='NO_ENGINE_SUBSTITUTION'; create temporary table t ( a int not null, b blob not null, diff -Nru mysql-5.7-5.7.23/mysql-test/suite/innodb_zip/t/wl6560.test mysql-5.7-5.7.24/mysql-test/suite/innodb_zip/t/wl6560.test --- mysql-5.7-5.7.23/mysql-test/suite/innodb_zip/t/wl6560.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/innodb_zip/t/wl6560.test 2018-10-04 05:48:22.000000000 +0000 @@ -381,13 +381,13 @@ # --source include/shutdown_mysqld.inc --echo "try starting server with temp-tablespace size < min. threshold" ---error 1 +--error 1,42 --exec $MYSQLD_CMD $sizeoftempfile1 let SEARCH_PATTERN = Tablespace size must be at least; --source ./include/search_pattern_in_file.inc --remove_file $SEARCH_FILE --echo "try starting server with sys-tablespace size < min. threshold" ---error 1 +--error 1,42 --exec $MYSQLD_CMD $sizeoftempfile2 let SEARCH_PATTERN = Tablespace size must be at least; --source ./include/search_pattern_in_file.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/memcached/r/memc_api_trx_level.result mysql-5.7-5.7.24/mysql-test/suite/memcached/r/memc_api_trx_level.result --- mysql-5.7-5.7.23/mysql-test/suite/memcached/r/memc_api_trx_level.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/memcached/r/memc_api_trx_level.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,23 @@ +INSERT INTO cache_policies VALUES("cache_policy", "innodb_only", +"innodb_only", "innodb_only", "innodb_only"); +INSERT INTO config_options VALUES("separator", "|"); +INSERT INTO containers VALUES ("desc_t1", "test", "t1", +"c1", "c2", "c3", "c4", "c5", "PRIMARY"); +USE test; +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 (c1 VARCHAR(32), +c2 VARCHAR(1024), +c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1)) +ENGINE = INNODB; +INSERT INTO t1 VALUES ('B', 'Berlin', 0, 0, 0); +INSTALL PLUGIN daemon_memcached SONAME 'libmemcached.so'; +SELECT SLEEP(2); +SLEEP(2) +0 +begin; +INSERT INTO t1 VALUES ('H', 'Hamburg', 0, 0, 0); +Here the memcached results with H: +commit; +DROP TABLE t1; +UNINSTALL PLUGIN daemon_memcached; +DROP DATABASE innodb_memcache; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/memcached/t/memc_api_trx_level-master.opt mysql-5.7-5.7.24/mysql-test/suite/memcached/t/memc_api_trx_level-master.opt --- mysql-5.7-5.7.23/mysql-test/suite/memcached/t/memc_api_trx_level-master.opt 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/memcached/t/memc_api_trx_level-master.opt 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,4 @@ +$DAEMON_MEMCACHED_OPT +--loose-daemon_memcached_engine_lib_path=$INNODB_ENGINE_DIR +--loose-daemon_memcached_option="-p11242" +--loose-innodb_api_trx_level=1 diff -Nru mysql-5.7-5.7.23/mysql-test/suite/memcached/t/memc_api_trx_level.test mysql-5.7-5.7.24/mysql-test/suite/memcached/t/memc_api_trx_level.test --- mysql-5.7-5.7.23/mysql-test/suite/memcached/t/memc_api_trx_level.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/memcached/t/memc_api_trx_level.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,65 @@ +source include/not_valgrind.inc; +source include/have_memcached_plugin.inc; +source include/not_windows.inc; +source include/have_innodb.inc; + +--disable_query_log +CALL mtr.add_suppression("daemon-memcached-w-batch-size': unsigned"); +CALL mtr.add_suppression("Could not obtain server's UPN to be used as target service name"); +CALL mtr.add_suppression("InnoDB: Warning: MySQL is trying to drop"); +--enable_query_log + +--enable_connect_log + +# Create the memcached tables +--disable_query_log +source include/memcache_config.inc; +--enable_query_log + +INSERT INTO cache_policies VALUES("cache_policy", "innodb_only", + "innodb_only", "innodb_only", "innodb_only"); + +INSERT INTO config_options VALUES("separator", "|"); + +# describe table for memcache +INSERT INTO containers VALUES ("desc_t1", "test", "t1", + "c1", "c2", "c3", "c4", "c5", "PRIMARY"); + +USE test; + +--disable_warnings +DROP TABLE IF EXISTS t1; +--enable_warnings +CREATE TABLE t1 (c1 VARCHAR(32), + c2 VARCHAR(1024), + c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1)) +ENGINE = INNODB; + +INSERT INTO t1 VALUES ('B', 'Berlin', 0, 0, 0); + +INSTALL PLUGIN daemon_memcached SONAME 'libmemcached.so'; + +SELECT SLEEP(2); +begin; +INSERT INTO t1 VALUES ('H', 'Hamburg', 0, 0, 0); + +perl; +use DBI; +use Cache::Memcached; +my $memd = new Cache::Memcached { + 'servers' => [ "127.0.0.1:11242" ], + 'connect_timeout' => 20, + 'select_timeout' => 20 +}; +print "Here the memcached results with H:\n"; +$val = $memd->get("H"); +if ($val) { print "$val\n"; } +$memd->disconnect_all; +EOF +commit; + +DROP TABLE t1; + +# Stop plugin befor innodb_memcached configuration +UNINSTALL PLUGIN daemon_memcached; +DROP DATABASE innodb_memcache; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/parts/t/partition_names.test mysql-5.7-5.7.24/mysql-test/suite/parts/t/partition_names.test --- mysql-5.7-5.7.23/mysql-test/suite/parts/t/partition_names.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/parts/t/partition_names.test 2018-10-04 05:48:22.000000000 +0000 @@ -1,3 +1,5 @@ +# Becasue of Bug 28112444 disabling this test on windows +-- source include/not_windows.inc -- source include/have_innodb.inc -- source include/mysql_upgrade_preparation.inc --echo # diff -Nru mysql-5.7-5.7.23/mysql-test/suite/perfschema/r/relaylog.result mysql-5.7-5.7.24/mysql-test/suite/perfschema/r/relaylog.result --- mysql-5.7-5.7.23/mysql-test/suite/perfschema/r/relaylog.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/perfschema/r/relaylog.result 2018-10-04 05:48:22.000000000 +0000 @@ -23,7 +23,7 @@ where file_name like "%master-%" order by file_name; FILE_NAME EVENT_NAME COUNT_READ COUNT_WRITE SUM_NUMBER_OF_BYTES_READ SUM_NUMBER_OF_BYTES_WRITE master-bin.000001 wait/io/file/sql/binlog MANY MANY MANY MANY -master-bin.index wait/io/file/sql/binlog_index NONE NONE NONE NONE +master-bin.index wait/io/file/sql/binlog_index MANY NONE MANY NONE select * from performance_schema.file_summary_by_instance where file_name like "%slave-%" order by file_name; FILE_NAME EVENT_NAME OBJECT_INSTANCE_BEGIN COUNT_STAR SUM_TIMER_WAIT MIN_TIMER_WAIT AVG_TIMER_WAIT MAX_TIMER_WAIT COUNT_READ SUM_TIMER_READ MIN_TIMER_READ AVG_TIMER_READ MAX_TIMER_READ SUM_NUMBER_OF_BYTES_READ COUNT_WRITE SUM_TIMER_WRITE MIN_TIMER_WRITE AVG_TIMER_WRITE MAX_TIMER_WRITE SUM_NUMBER_OF_BYTES_WRITE COUNT_MISC SUM_TIMER_MISC MIN_TIMER_MISC AVG_TIMER_MISC MAX_TIMER_MISC @@ -39,7 +39,7 @@ where event_name like "%binlog%" order by file_name; FILE_NAME EVENT_NAME COUNT_READ COUNT_WRITE SUM_NUMBER_OF_BYTES_READ SUM_NUMBER_OF_BYTES_WRITE master-bin.000001 wait/io/file/sql/binlog MANY MANY MANY MANY -master-bin.index wait/io/file/sql/binlog_index NONE NONE NONE NONE +master-bin.index wait/io/file/sql/binlog_index MANY NONE MANY NONE select EVENT_NAME, if (count_read > 0, "MANY", "NONE") as COUNT_READ, @@ -51,7 +51,7 @@ EVENT_NAME COUNT_READ COUNT_WRITE SUM_NUMBER_OF_BYTES_READ SUM_NUMBER_OF_BYTES_WRITE wait/io/file/sql/binlog MANY MANY MANY MANY wait/io/file/sql/binlog_cache NONE NONE NONE NONE -wait/io/file/sql/binlog_index MANY NONE NONE NONE +wait/io/file/sql/binlog_index MANY NONE MANY NONE wait/io/file/sql/binlog_index_cache NONE NONE NONE NONE select EVENT_NAME, @@ -119,10 +119,10 @@ order by file_name; FILE_NAME EVENT_NAME COUNT_READ COUNT_WRITE SUM_NUMBER_OF_BYTES_READ SUM_NUMBER_OF_BYTES_WRITE slave-bin.000001 wait/io/file/sql/binlog MANY MANY MANY MANY -slave-bin.index wait/io/file/sql/binlog_index NONE NONE NONE NONE +slave-bin.index wait/io/file/sql/binlog_index MANY NONE MANY NONE slave-relay-bin.000001 wait/io/file/sql/relaylog MANY MANY MANY MANY slave-relay-bin.000002 wait/io/file/sql/relaylog MANY MANY MANY MANY -slave-relay-bin.index wait/io/file/sql/binlog_index NONE NONE NONE NONE +slave-relay-bin.index wait/io/file/sql/binlog_index MANY NONE MANY NONE "Expect a slave binlog + binlog_index" select substring(file_name, locate("slave-", file_name)) as FILE_NAME, @@ -135,8 +135,8 @@ where event_name like "%binlog%" order by file_name; FILE_NAME EVENT_NAME COUNT_READ COUNT_WRITE SUM_NUMBER_OF_BYTES_READ SUM_NUMBER_OF_BYTES_WRITE slave-bin.000001 wait/io/file/sql/binlog MANY MANY MANY MANY -slave-bin.index wait/io/file/sql/binlog_index NONE NONE NONE NONE -slave-relay-bin.index wait/io/file/sql/binlog_index NONE NONE NONE NONE +slave-bin.index wait/io/file/sql/binlog_index MANY NONE MANY NONE +slave-relay-bin.index wait/io/file/sql/binlog_index MANY NONE MANY NONE select EVENT_NAME, if (count_read > 0, "MANY", "NONE") as COUNT_READ, diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_flush_logs.result mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_flush_logs.result --- mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_flush_logs.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_flush_logs.result 2018-10-04 05:48:22.000000000 +0000 @@ -56,5 +56,12 @@ include/sync_slave_io_with_master.inc # Check the 'slave-relay-bin.000007' and 'slave-relay-bin.000008' # files are created after execute 'flush logs' statement. +FLUSH SLOW LOGS; +ERROR HY000: File not found (Errcode: ##) +FLUSH GENERAL LOGS; +ERROR HY000: File not found (Errcode: ##) +include/assert.inc [assert that the above events are not written to binlog] +include/show_binlog_events.inc +include/sync_slave_io_with_master.inc include/start_slave_sql.inc include/rpl_end.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_gtid_skip_with_parser_error.result mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_gtid_skip_with_parser_error.result --- mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_gtid_skip_with_parser_error.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_gtid_skip_with_parser_error.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,32 @@ +include/master-slave.inc +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection master] +include/rpl_stop_server.inc [server_number=1] +include/rpl_start_server.inc [server_number=1] +include/assert.inc [All transactions are assumed as applied on master] +[connection slave] +include/start_slave_io.inc +[connection master] +include/sync_slave_io_with_master.inc +START SLAVE SQL_THREAD; +include/wait_for_slave_sql_error.inc [errno=1064] +include/assert.inc [Only 1st transaction is applied on slave] +SET GTID_NEXT='11111111-1111-1111-1111-111111111111:2'; +BEGIN; +COMMIT; +SET GTID_NEXT='11111111-1111-1111-1111-111111111111:3'; +BEGIN; +COMMIT; +SET GTID_NEXT='11111111-1111-1111-1111-111111111111:4'; +BEGIN; +COMMIT; +SET GTID_NEXT='11111111-1111-1111-1111-111111111111:6'; +BEGIN; +COMMIT; +SET GTID_NEXT=AUTOMATIC; +include/start_slave_sql.inc +include/sync_slave_sql_with_io.inc +CALL mtr.add_suppression("The slave coordinator and worker threads are stopped"); +include/rpl_end.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_multi_source_corrupt_repository.result mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_multi_source_corrupt_repository.result --- mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_multi_source_corrupt_repository.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_multi_source_corrupt_repository.result 2018-10-04 05:48:22.000000000 +0000 @@ -147,10 +147,10 @@ ===== Executing SHOW RELAYLOG EVENTS FOR CHANNEL on channel 'channel_2'. SHOW RELAYLOG EVENTS FOR CHANNEL 'channel_2'; ===== Executing SHOW SLAVE FOR CHANNEL on channel 'channel_2'. +include/wait_for_slave_param.inc [Slave_IO_State channel=channel_2] +include/wait_for_slave_param.inc [Slave_SQL_Running_State channel=channel_2] Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. -Slave_IO_State = 'Waiting for master to send event' -Slave_SQL_Running_State = 'Slave has read all relay log; waiting for more updates' Last_IO_Errno = '0' Last_IO_Error = '' Last_SQL_Errno = '0' @@ -194,10 +194,10 @@ ===== Executing SHOW RELAYLOG EVENTS FOR CHANNEL on channel 'channel_3'. SHOW RELAYLOG EVENTS FOR CHANNEL 'channel_3'; ===== Executing SHOW SLAVE FOR CHANNEL on channel 'channel_3'. +include/wait_for_slave_param.inc [Slave_IO_State channel=channel_3] +include/wait_for_slave_param.inc [Slave_SQL_Running_State channel=channel_3] Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. -Slave_IO_State = 'Waiting for master to send event' -Slave_SQL_Running_State = 'Slave has read all relay log; waiting for more updates' Last_IO_Errno = '0' Last_IO_Error = '' Last_SQL_Errno = '0' @@ -325,10 +325,10 @@ ===== Executing SHOW RELAYLOG EVENTS FOR CHANNEL on channel ''. SHOW RELAYLOG EVENTS FOR CHANNEL ''; ===== Executing SHOW SLAVE FOR CHANNEL on channel ''. +include/wait_for_slave_param.inc [Slave_IO_State] +include/wait_for_slave_param.inc [Slave_SQL_Running_State] Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. -Slave_IO_State = 'Waiting for master to send event' -Slave_SQL_Running_State = 'Slave has read all relay log; waiting for more updates' Last_IO_Errno = '0' Last_IO_Error = '' Last_SQL_Errno = '0' @@ -415,10 +415,10 @@ ===== Executing SHOW RELAYLOG EVENTS FOR CHANNEL on channel 'channel_3'. SHOW RELAYLOG EVENTS FOR CHANNEL 'channel_3'; ===== Executing SHOW SLAVE FOR CHANNEL on channel 'channel_3'. +include/wait_for_slave_param.inc [Slave_IO_State channel=channel_3] +include/wait_for_slave_param.inc [Slave_SQL_Running_State channel=channel_3] Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. -Slave_IO_State = 'Waiting for master to send event' -Slave_SQL_Running_State = 'Slave has read all relay log; waiting for more updates' Last_IO_Errno = '0' Last_IO_Error = '' Last_SQL_Errno = '0' @@ -546,10 +546,10 @@ ===== Executing SHOW RELAYLOG EVENTS FOR CHANNEL on channel ''. SHOW RELAYLOG EVENTS FOR CHANNEL ''; ===== Executing SHOW SLAVE FOR CHANNEL on channel ''. +include/wait_for_slave_param.inc [Slave_IO_State] +include/wait_for_slave_param.inc [Slave_SQL_Running_State] Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. -Slave_IO_State = 'Waiting for master to send event' -Slave_SQL_Running_State = 'Slave has read all relay log; waiting for more updates' Last_IO_Errno = '0' Last_IO_Error = '' Last_SQL_Errno = '0' @@ -593,10 +593,10 @@ ===== Executing SHOW RELAYLOG EVENTS FOR CHANNEL on channel 'channel_2'. SHOW RELAYLOG EVENTS FOR CHANNEL 'channel_2'; ===== Executing SHOW SLAVE FOR CHANNEL on channel 'channel_2'. +include/wait_for_slave_param.inc [Slave_IO_State channel=channel_2] +include/wait_for_slave_param.inc [Slave_SQL_Running_State channel=channel_2] Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. -Slave_IO_State = 'Waiting for master to send event' -Slave_SQL_Running_State = 'Slave has read all relay log; waiting for more updates' Last_IO_Errno = '0' Last_IO_Error = '' Last_SQL_Errno = '0' diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_multi_source_relay_log_recovery.result mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_multi_source_relay_log_recovery.result --- mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_multi_source_relay_log_recovery.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_multi_source_relay_log_recovery.result 2018-10-04 05:48:22.000000000 +0000 @@ -38,7 +38,7 @@ [connection server_2] # Now d1_1.t has two rows and d2_.t has one row. # -# Generate MTS gaps for channel2. +# Generate MTS gaps for channel3. # [connection server_3] [connection server_3] diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_multi_source_relay_log.result mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_multi_source_relay_log.result --- mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_multi_source_relay_log.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_multi_source_relay_log.result 2018-10-04 05:48:22.000000000 +0000 @@ -1,7 +1,9 @@ ######################################################################### # Verify RESET SLAVE and RESET SLAVE FOR CHANNEL -# - deletes all relay log files of named channels. +# - deletes all relay log files of named channels and reintializes +# them. # - For default channel, it restart the relay log from .000001 +# - For named channel, it restart the relay log from ch.000001 ######################################################################### include/master-slave.inc Warnings: @@ -18,19 +20,21 @@ # RESET SLAVE FOR CHANNEL "ch1" deletes all relay log files of ch1. # RESET SLAVE FOR CHANNEL "ch1"; +slave-relay-bin-ch1.000001 +slave-relay-bin-ch1.index # # RESET SLAVE deletes all relay log files of ch2 # include/stop_slave.inc RESET SLAVE; +slave-relay-bin-ch2.000001 +slave-relay-bin-ch2.index # # RESET SLAVE resets relay log of default channel from .000001 # # -# Recreate channels "ch1" and "ch2" files again. +# Relay log files for all channels are recreated automatically. # -CHANGE MASTER TO MASTER_HOST="localhost", MASTER_PORT=10 FOR CHANNEL "ch1"; -CHANGE MASTER TO MASTER_HOST="localhost", MASTER_PORT=11 FOR CHANNEL "ch2"; # # RESET SLAVE ALL deletes all channels info and files. # diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_perfschema_applier_status_by_coordinator.result mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_perfschema_applier_status_by_coordinator.result --- mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_perfschema_applier_status_by_coordinator.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_perfschema_applier_status_by_coordinator.result 2018-10-04 05:48:22.000000000 +0000 @@ -55,6 +55,7 @@ drop table t; reset master; reset slave; +reset master; # Restarting servers and setting up MTS now. Since, SQL thread and # coordinator are the same and follow same code path, we can skip diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_perfschema_order_by.result mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_perfschema_order_by.result --- mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_perfschema_order_by.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_perfschema_order_by.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,169 @@ +include/rpl_init.inc [topology=3->2,1->2] +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection server_2] +SET @save.slave_parallel_workers= @@global.slave_parallel_workers; +# Test for Single Threaded Slave +SET GLOBAL slave_parallel_workers= 0; +START SLAVE; +# 1) Create a database on server_1. +[connection server_1] +CREATE DATABASE db1; +# 2) create database on server_3. +[connection server_3] +CREATE DATABASE db3; +# 3) sync the slave (server_2) with both masters (server_1 and server_3). +[connection server_1] +include/sync_slave_sql_with_master.inc +[connection server_3] +include/sync_slave_sql_with_master.inc +include/stop_slave.inc +include/start_slave.inc + +SELECT CHANNEL_NAME FROM performance_schema.replication_applier_configuration; +CHANNEL_NAME +channel_3 +channel_1 +SELECT CHANNEL_NAME FROM performance_schema.replication_applier_configuration ORDER BY CHANNEL_NAME; +CHANNEL_NAME +channel_1 +channel_3 + +SELECT CHANNEL_NAME FROM performance_schema.replication_applier_status; +CHANNEL_NAME +channel_3 +channel_1 +SELECT CHANNEL_NAME FROM performance_schema.replication_applier_status ORDER BY CHANNEL_NAME; +CHANNEL_NAME +channel_1 +channel_3 + +SELECT CHANNEL_NAME, LAST_ERROR_MESSAGE FROM performance_schema.replication_connection_status; +CHANNEL_NAME LAST_ERROR_MESSAGE +channel_3 +channel_1 +SELECT CHANNEL_NAME, LAST_ERROR_MESSAGE FROM performance_schema.replication_connection_status ORDER BY CHANNEL_NAME; +CHANNEL_NAME LAST_ERROR_MESSAGE +channel_1 +channel_3 + +SELECT CHANNEL_NAME, TLS_VERSION FROM performance_schema.replication_connection_configuration; +CHANNEL_NAME TLS_VERSION +channel_3 +channel_1 +SELECT CHANNEL_NAME, TLS_VERSION FROM performance_schema.replication_connection_configuration ORDER BY CHANNEL_NAME; +CHANNEL_NAME TLS_VERSION +channel_1 +channel_3 + +SELECT CHANNEL_NAME, LAST_ERROR_MESSAGE FROM performance_schema.replication_applier_status_by_worker; +CHANNEL_NAME LAST_ERROR_MESSAGE +channel_3 +channel_1 +SELECT CHANNEL_NAME, LAST_ERROR_MESSAGE FROM performance_schema.replication_applier_status_by_worker ORDER BY CHANNEL_NAME; +CHANNEL_NAME LAST_ERROR_MESSAGE +channel_1 +channel_3 + +[connection server_1] +DROP DATABASE db1; +[connection server_3] +DROP DATABASE db3; +[connection server_1] +include/sync_slave_sql_with_master.inc +[connection server_3] +include/sync_slave_sql_with_master.inc +# Test for Multi Threaded Slave +STOP SLAVE; +SET GLOBAL slave_parallel_workers = 2; +START SLAVE; +# 1) Create a database on server_1. +[connection server_1] +CREATE DATABASE db1; +# 2) create database on server_3. +[connection server_3] +CREATE DATABASE db3; +# 3) sync the slave (server_2) with both masters (server_1 and server_3). +[connection server_1] +include/sync_slave_sql_with_master.inc +[connection server_3] +include/sync_slave_sql_with_master.inc +include/stop_slave.inc +include/start_slave.inc + +SELECT CHANNEL_NAME FROM performance_schema.replication_applier_configuration; +CHANNEL_NAME +channel_3 +channel_1 +SELECT CHANNEL_NAME FROM performance_schema.replication_applier_configuration ORDER BY CHANNEL_NAME; +CHANNEL_NAME +channel_1 +channel_3 + +SELECT CHANNEL_NAME FROM performance_schema.replication_applier_status; +CHANNEL_NAME +channel_3 +channel_1 +SELECT CHANNEL_NAME FROM performance_schema.replication_applier_status ORDER BY CHANNEL_NAME; +CHANNEL_NAME +channel_1 +channel_3 + +SELECT CHANNEL_NAME, LAST_ERROR_MESSAGE FROM performance_schema.replication_connection_status; +CHANNEL_NAME LAST_ERROR_MESSAGE +channel_3 +channel_1 +SELECT CHANNEL_NAME, LAST_ERROR_MESSAGE FROM performance_schema.replication_connection_status ORDER BY CHANNEL_NAME; +CHANNEL_NAME LAST_ERROR_MESSAGE +channel_1 +channel_3 + +SELECT CHANNEL_NAME, TLS_VERSION FROM performance_schema.replication_connection_configuration; +CHANNEL_NAME TLS_VERSION +channel_3 +channel_1 +SELECT CHANNEL_NAME, TLS_VERSION FROM performance_schema.replication_connection_configuration ORDER BY CHANNEL_NAME; +CHANNEL_NAME TLS_VERSION +channel_1 +channel_3 + +SELECT CHANNEL_NAME, LAST_ERROR_MESSAGE FROM performance_schema.replication_applier_status_by_coordinator; +CHANNEL_NAME LAST_ERROR_MESSAGE +channel_3 +channel_1 +SELECT CHANNEL_NAME, LAST_ERROR_MESSAGE FROM performance_schema.replication_applier_status_by_coordinator ORDER BY CHANNEL_NAME; +CHANNEL_NAME LAST_ERROR_MESSAGE +channel_1 +channel_3 + +SELECT CHANNEL_NAME, LAST_ERROR_MESSAGE FROM performance_schema.replication_applier_status_by_worker; +CHANNEL_NAME LAST_ERROR_MESSAGE +channel_3 +channel_3 +channel_1 +channel_1 +SELECT CHANNEL_NAME, LAST_ERROR_MESSAGE FROM performance_schema.replication_applier_status_by_worker ORDER BY CHANNEL_NAME; +CHANNEL_NAME LAST_ERROR_MESSAGE +channel_1 +channel_1 +channel_3 +channel_3 + +[connection server_1] +DROP DATABASE db1; +[connection server_3] +DROP DATABASE db3; +[connection server_1] +include/sync_slave_sql_with_master.inc +[connection server_3] +include/sync_slave_sql_with_master.inc +STOP SLAVE; +SET @@global.slave_parallel_workers= @save.slave_parallel_workers; +START SLAVE; +include/rpl_end.inc +RESET SLAVE ALL FOR CHANNEL 'channel_3'; +RESET SLAVE ALL FOR CHANNEL 'channel_1'; diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_reset_restart.result mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_reset_restart.result --- mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_reset_restart.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_reset_restart.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,19 @@ +include/master-slave.inc +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection master] +CREATE TABLE t1 (c1 INT); +include/sync_slave_sql_with_master.inc +include/stop_slave.inc +[connection master] +RESET MASTER; +[connection slave] +RESET MASTER; +RESET SLAVE; +include/start_slave.inc +# Kill and restart +include/rpl_reconnect.inc +[connection master] +DROP TABLE t1; +include/rpl_end.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_semi_sync_add_remove_slaves.result mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_semi_sync_add_remove_slaves.result --- mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_semi_sync_add_remove_slaves.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_semi_sync_add_remove_slaves.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,120 @@ +include/rpl_init.inc [topology=1->2, 1->3, 1->4, 1->5, 1->6, 1->7, 1->8, 1->9] +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +# +# 1. Initial data. +# +call mtr.add_suppression("Timeout waiting for reply of binlog"); +CREATE TABLE t1(c1 INT); +include/rpl_sync.inc +# +# 2. Install semisync on all the 9 servers. +# +[connection server_1] +CALL mtr.add_suppression("Semi-sync master failed on net_flush.*"); +include/install_semisync_master.inc +[connection server_2] +CALL mtr.add_suppression("Semi-sync slave net_flush.*"); +include/install_semisync_slave.inc +[connection server_3] +CALL mtr.add_suppression("Semi-sync slave net_flush.*"); +include/install_semisync_slave.inc +[connection server_4] +CALL mtr.add_suppression("Semi-sync slave net_flush.*"); +include/install_semisync_slave.inc +[connection server_5] +CALL mtr.add_suppression("Semi-sync slave net_flush.*"); +include/install_semisync_slave.inc +[connection server_6] +CALL mtr.add_suppression("Semi-sync slave net_flush.*"); +include/install_semisync_slave.inc +[connection server_7] +CALL mtr.add_suppression("Semi-sync slave net_flush.*"); +include/install_semisync_slave.inc +[connection server_8] +CALL mtr.add_suppression("Semi-sync slave net_flush.*"); +include/install_semisync_slave.inc +[connection server_9] +CALL mtr.add_suppression("Semi-sync slave net_flush.*"); +include/install_semisync_slave.inc +# +# 3. Make Master aware of 8 semisync slaves. +# +[connection server1_1] +SET GLOBAL rpl_semi_sync_master_wait_for_slave_count = 8; +# +# 4. Insert 5000 tuples in background using 10 parallel connections. +# +# +# 5. While the insert operations are going in the background, keep +# adding/removing semisync slaves randomly. +# +# +# 6. Add all 8 semisync slaves back to Master +# (if they were disconnected, in above step). +# +# +# 7. Make sure the data is synced on Master without any issues. +# +[connection server_1] +include/rpl_sync.inc +# +# 8. Check on all servers semisync is enabled after the +# the experiment and then uninstall semisync pluging +# from it. +# +[connection server_9] +include/assert.inc [ should be 1] +include/uninstall_semisync_slave.inc +[connection server_8] +include/assert.inc [ should be 1] +include/uninstall_semisync_slave.inc +[connection server_7] +include/assert.inc [ should be 1] +include/uninstall_semisync_slave.inc +[connection server_6] +include/assert.inc [ should be 1] +include/uninstall_semisync_slave.inc +[connection server_5] +include/assert.inc [ should be 1] +include/uninstall_semisync_slave.inc +[connection server_4] +include/assert.inc [ should be 1] +include/uninstall_semisync_slave.inc +[connection server_3] +include/assert.inc [ should be 1] +include/uninstall_semisync_slave.inc +[connection server_2] +include/assert.inc [ should be 1] +include/uninstall_semisync_slave.inc +[connection server_1] +include/assert.inc [ should be 1] +include/uninstall_semisync_master.inc +# +# 9. Cleanup time. +# +[connection server_1] +DROP TABLE t1; +include/rpl_end.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_server_uuid.result mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_server_uuid.result --- mysql-5.7-5.7.23/mysql-test/suite/rpl/r/rpl_server_uuid.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/r/rpl_server_uuid.result 2018-10-04 05:48:22.000000000 +0000 @@ -62,7 +62,7 @@ # Master's UUID and server_id will not be cleared if both master_port # and master_host are not changed. ----------------------------------------------------------------------------- -START SLAVE IO_THREAD; +include/start_slave_io.inc include/wait_for_slave_param.inc [Master_UUID] include/stop_slave.inc @@ -72,7 +72,7 @@ include/check_slave_param.inc [Master_Server_Id] CHANGE MASTER TO MASTER_PORT= MASTER_PORT, MASTER_LOG_FILE= 'MASTER_LOG_FILE', MASTER_LOG_POS= MASTER_POS; -START SLAVE IO_THREAD; +include/start_slave_io.inc include/wait_for_slave_param.inc [Master_UUID] # Only change MASTER_HOST @@ -83,7 +83,7 @@ include/check_slave_param.inc [Master_Server_Id] CHANGE MASTER TO MASTER_HOST= '127.0.0.1', MASTER_LOG_FILE= 'MASTER_LOG_FILE', MASTER_LOG_POS= MASTER_POS; -START SLAVE IO_THREAD; +include/start_slave_io.inc include/wait_for_slave_param.inc [Master_UUID] # Both MASTER_HOST and MASTER_PORT are changed @@ -94,7 +94,7 @@ include/check_slave_param.inc [Master_Server_Id] CHANGE MASTER TO MASTER_HOST= '127.0.0.1', MASTER_PORT= MASTER_PORT, MASTER_LOG_FILE= 'MASTER_LOG_FILE', MASTER_LOG_POS= MASTER_POS; -START SLAVE IO_THREAD; +include/start_slave_io.inc include/wait_for_slave_param.inc [Master_UUID] # Both MASTER_HOST and MASTER_PORT are NOT changed diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_binlog_sender_fseek.test mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_binlog_sender_fseek.test --- mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_binlog_sender_fseek.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_binlog_sender_fseek.test 2018-10-04 05:48:22.000000000 +0000 @@ -9,9 +9,9 @@ # sometimes, cross the IO_CACHE block size. After running the workload, the test # case will verify the P_S counter COUNT_MISC for "wait/io/file/sql/binlog" # EVENT_NAME at performance_schema.file_summary_by_event_name. In a single -# binary log file case, the counter should not be more than 5 (as there are some +# binary log file case, the counter should not be more than 6 (as there are some # real file operations opening the binary log file and pointing it to the first -# event position) or 8 in the case of GTIDs be enabled with auto positioning. +# event position) or 9 in the case of GTIDs be enabled with auto positioning. # # ==== Related Bugs and Worklogs ==== # @@ -106,13 +106,13 @@ # Check the COUNT_MISC counter --source include/rpl_connection_master.inc -# In a first run, the counter tops 5 without GTIDs, and tops 8 when GTIDs are +# In a first run, the counter tops 6 without GTIDs, and tops 9 when GTIDs are # enabled, because of the process of searching the binary log file that # contains the first GTID not yet retrieved/executed by the slave. ---let $expected_count_misc= 5 +--let $expected_count_misc= 6 if ($use_gtids) { - --let $expected_count_misc= 8 + --let $expected_count_misc= 9 } --let $current_count_misc=`SELECT COUNT_MISC FROM performance_schema.file_summary_by_event_name WHERE EVENT_NAME = "wait/io/file/sql/binlog"` @@ -120,7 +120,7 @@ --let $assert_text= COUNT_MISC for "wait/io/file/sql/binlog" should be minimal --let $assert_cond= $current_count_misc = $expected_count_misc --let $extra_debug_eval= $current_count_misc AS current_count_misc, $expected_count_misc as expected_count_misc ---let $extra_debug_info= COUNT_MISC should be 5 for non-GTID and 8 for GTID enabled servers +--let $extra_debug_info= COUNT_MISC should be 6 for non-GTID and 9 for GTID enabled servers --source include/assert.inc # Cleanup diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_flush_logs.test mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_flush_logs.test --- mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_flush_logs.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_flush_logs.test 2018-10-04 05:48:22.000000000 +0000 @@ -1,5 +1,5 @@ # -# WL#5124 +# WL#5142 # This test verifies if the 'flush individual logs' statement # works fine. # @@ -147,5 +147,44 @@ file_exists $MYSQLTEST_VARDIR/mysqld.2/data/slave-relay-bin.000007; file_exists $MYSQLTEST_VARDIR/mysqld.2/data/slave-relay-bin.000008; +# +# Bug #24786290: REPLICATION BREAKS AFTER BUG #74145 HAPPENS IN MASTER +# +# === Purpose === +# +# This test verifies that failed FLUSH LOGS statements +# are not written to binary log. + +--connection master +--let $binlog_file= query_get_value(SHOW MASTER STATUS,File,1) +--let $binlog_start= query_get_value(SHOW MASTER STATUS,Position,1) +--let $master_pos_before_flush_logs= $binlog_start + +# Make FLUSH LOGS fail by changing +# the permissions of the slow log and general log. +--let $slow_log= `SELECT @@global.slow_query_log_file` +--chmod 0000 $slow_log +--replace_regex /.*File .* not found .*/File not found (Errcode: ##)/ +--error 29 +FLUSH SLOW LOGS; + +--let $general_log= `SELECT @@global.general_log_file` +--chmod 0000 $general_log +--replace_regex /.*File .* not found .*/File not found (Errcode: ##)/ +--error 29 +FLUSH GENERAL LOGS; + +# Assert that the above statements are not written to the binlog. +--let $master_pos_after_flush_logs= query_get_value(SHOW MASTER STATUS,Position,1) +--let $assert_text= assert that the above events are not written to binlog +--let $assert_cond= $master_pos_before_flush_logs = $master_pos_after_flush_logs +--source include/assert.inc +--source include/show_binlog_events.inc + +# Restore permissions +--chmod 0644 $slow_log +--chmod 0644 $general_log + +--source include/sync_slave_io_with_master.inc --source include/start_slave_sql.inc --source include/rpl_end.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_gtid_skip_with_parser_error.test mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_gtid_skip_with_parser_error.test --- mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_gtid_skip_with_parser_error.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_gtid_skip_with_parser_error.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,107 @@ +# ==== Purpose ==== +# +# Test that GTID auto skip works even when replication applier is applying +# events that would lead to ER_PARSE_ERROR. +# +# For this test case a binary log file was generated in MySQL 5.6 creating +# a table with a name that is a reserved word in MySQL 5.7+. +# +# Replicating the binary log to a 5.7+ slave shall make the applier thread +# to stop once reaching the offending transaction. +# +# Supposing a DBA/operator fixed the issue manually and the GTID of the +# offending transaction was committed so the replicated one shall be skipped +# by GTID auto skip functionality, restarting the slave applier thread shall +# not hit errors for this transaction anymore. +# +# The binary log file generated in MySQL 5.6 has the following content: +# +#+-------------------+------+----------------+-----------+-------------+-------------------------------------------------------------------+ +#| Log_name | Pos | Event_type | Server_id | End_log_pos | Info | +#+-------------------+------+----------------+-----------+-------------+-------------------------------------------------------------------+ +#| master-bin.000001 | 4 | Format_desc | 1 | 120 | Server ver: 5.6.41-debug-log, Binlog ver: 4 | +#| master-bin.000001 | 120 | Previous_gtids | 1 | 151 | | +#| master-bin.000001 | 151 | Gtid | 1 | 199 | SET @@SESSION.GTID_NEXT= '11111111-1111-1111-1111-111111111111:1' | +#| master-bin.000001 | 199 | Query | 1 | 308 | use `test`; CREATE TABLE t1 (a int PRIMARY KEY) | +#| master-bin.000001 | 308 | Gtid | 1 | 356 | SET @@SESSION.GTID_NEXT= '11111111-1111-1111-1111-111111111111:2' | +#| master-bin.000001 | 356 | Query | 1 | 458 | use `test`; CREATE TABLE GENERATED LIKE test.t1 | +#| master-bin.000001 | 458 | Gtid | 1 | 506 | SET @@SESSION.GTID_NEXT= '11111111-1111-1111-1111-111111111111:3' | +#| master-bin.000001 | 506 | Query | 1 | 585 | BEGIN | +#| master-bin.000001 | 585 | Query | 1 | 701 | use `test`; INSERT INTO GENERATED VALUES (1), (2), (3) | +#| master-bin.000001 | 701 | Query | 1 | 781 | COMMIT | +#| master-bin.000001 | 781 | Gtid | 1 | 829 | SET @@SESSION.GTID_NEXT= '11111111-1111-1111-1111-111111111111:4' | +#| master-bin.000001 | 829 | Query | 1 | 901 | BEGIN | +#| master-bin.000001 | 901 | Table_map | 1 | 953 | table_id: 75 (test.GENERATED) | +#| master-bin.000001 | 953 | Write_rows | 1 | 993 | table_id: 75 flags: STMT_END_F | +#| master-bin.000001 | 993 | Query | 1 | 1066 | COMMIT | +#| master-bin.000001 | 1066 | Gtid | 1 | 1114 | SET @@SESSION.GTID_NEXT= '11111111-1111-1111-1111-111111111111:5' | +#| master-bin.000001 | 1114 | Query | 1 | 1229 | use `test`; DROP TABLE `t1` /* generated by server */ | +#| master-bin.000001 | 1229 | Gtid | 1 | 1277 | SET @@SESSION.GTID_NEXT= '11111111-1111-1111-1111-111111111111:6' | +#| master-bin.000001 | 1277 | Query | 1 | 1399 | use `test`; DROP TABLE `GENERATED` /* generated by server */ | +#+-------------------+------+----------------+-----------+-------------+-------------------------------------------------------------------+ +# +# ==== Related Bugs and Worklogs ==== +# +# BUG#27638268 GTID AUTO SKIP DOES NOT WORK FOR QUERIES WITH PARSER ERRORS +# + +# This test case is not compatible with SBR. +--source include/have_binlog_format_mixed_or_row.inc +--source include/have_gtid.inc +--let $rpl_skip_start_slave = 1 +--source include/master-slave.inc + +--let $MASTER_DATADIR= `select @@datadir` + +# Restart the master to make it use the 5.6 binary log file as its own. +--let $rpl_server_number= 1 +--source include/rpl_stop_server.inc +--remove_file $MASTER_DATADIR/master-bin.000001 +--copy_file std_data/binlog_56_gtid_reserved_word.000001 $MASTER_DATADIR/master-bin.000001 +--source include/rpl_start_server.inc + +# Assert that all 6 transactions are assumed as already applied. +--let $assert_text= All transactions are assumed as applied on master +--let $assert_cond= "[SELECT @@GLOBAL.gtid_executed]" = "11111111-1111-1111-1111-111111111111:1-6" +--source include/assert.inc + +# Start and sync slave's receiver thread +--source include/rpl_connection_slave.inc +--source include/start_slave_io.inc +--source include/rpl_connection_master.inc +--source include/sync_slave_io_with_master.inc + +# Start slave's applier thread. It should stop with ER_PARSE_ERROR. +START SLAVE SQL_THREAD; +--let $slave_sql_errno= convert_error(ER_PARSE_ERROR) +--source include/wait_for_slave_sql_error.inc + +# Assert that only 1st transaction is applied. +--let $assert_text= Only 1st transaction is applied on slave +--let $assert_cond= "[SELECT @@GLOBAL.gtid_executed]" = "11111111-1111-1111-1111-111111111111:1" +--source include/assert.inc + +# Prepare GTID auto skip of offending transactions. +SET GTID_NEXT='11111111-1111-1111-1111-111111111111:2'; +BEGIN; +COMMIT; + +SET GTID_NEXT='11111111-1111-1111-1111-111111111111:3'; +BEGIN; +COMMIT; + +SET GTID_NEXT='11111111-1111-1111-1111-111111111111:4'; +BEGIN; +COMMIT; + +SET GTID_NEXT='11111111-1111-1111-1111-111111111111:6'; +BEGIN; +COMMIT; + +SET GTID_NEXT=AUTOMATIC; + +# Restart applier thread that shall sync without issues. +--source include/start_slave_sql.inc +--source include/sync_slave_sql_with_io.inc +CALL mtr.add_suppression("The slave coordinator and worker threads are stopped"); +--source include/rpl_end.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_mts_slave_preserve_commit_order_deadlock_error-slave.opt mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_mts_slave_preserve_commit_order_deadlock_error-slave.opt --- mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_mts_slave_preserve_commit_order_deadlock_error-slave.opt 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_mts_slave_preserve_commit_order_deadlock_error-slave.opt 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1 @@ +--no-console --log_error=$MYSQLTEST_VARDIR/tmp/rpl_mts_slave_preserve_commit_order_deadlock_error.2.err diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_mts_slave_preserve_commit_order_deadlock_error.test mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_mts_slave_preserve_commit_order_deadlock_error.test --- mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_mts_slave_preserve_commit_order_deadlock_error.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_mts_slave_preserve_commit_order_deadlock_error.test 2018-10-04 05:48:22.000000000 +0000 @@ -167,7 +167,7 @@ --echo # 3.13 Check that worker 2 did not *retry* transaction-2 --echo # before throwing ER_DUP_ENTRY error (non-temporary error). --echo # ---let $assert_file= $MYSQLTEST_VARDIR/log/mysqld.2.err +--let $assert_file= $MYSQLTEST_VARDIR/tmp/rpl_mts_slave_preserve_commit_order_deadlock_error.2.err --let $assert_only_after = CURRENT_TEST: rpl.rpl_mts_slave_preserve_commit_order_deadlock_error --let $assert_count = 1 --let $assert_select = Error 'Duplicate entry '1' for key 'PRIMARY'' on query diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_multi_source_relay_log_recovery.test mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_multi_source_relay_log_recovery.test --- mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_multi_source_relay_log_recovery.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_multi_source_relay_log_recovery.test 2018-10-04 05:48:22.000000000 +0000 @@ -4,27 +4,25 @@ # Problem: # ======== # Enable MTS along with crash-safe replication tables. Make sure that the -# server -# is busily inserting data with multiple threads in parallel. Shutdown mysqld -# uncleanly (kill -9 or power off server without notice). +# server is busily inserting data with multiple threads in parallel. Shutdown +# mysqld uncleanly (kill -9 or power off server without notice). # # Now users are restarting the server with --relay-log-recovery=1 to recover -# the -# crashed slave. +# the crashed slave. # # This results in following error: # ================================ -# 2015-06-24 13:49:03 3895 [ERROR] --relay-log-recovery cannot -# be executed when the slave was stopped with an error or -# killed in MTS mode; consider using RESET SLAVE or restart -# the server with --relay-log-recovery = 0 followed by -# START SLAVE UNTIL SQL_AFTER_MTS_GAPS. +# 2015-06-24 13:49:03 3895 [ERROR] --relay-log-recovery cannot be executed +# when the slave was stopped with an error or killed in MTS mode; consideri +# using RESET SLAVE or restart the server with --relay-log-recovery = 0 +# followed by # START SLAVE UNTIL SQL_AFTER_MTS_GAPS. # # i.e relay-log-recovery will not work in MTS mode. ############################################################################### # Following test demonstrates that when gaps are generated due to MTS crash # but not due to an error then recovery should be successful with # --relay-log-recovery=1 option. +# # In case of Multi source replication all channels will go through the relay # log recovery process and gaps will be filled. @@ -66,7 +64,7 @@ --source extra/rpl_tests/rpl_multi_source_generate_mts_gap.test --echo # ---echo # Generate MTS gaps for channel2. +--echo # Generate MTS gaps for channel3. --echo # --let $rpl_connection_name= server_3 --source include/rpl_connection.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_multi_source_relay_log.test mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_multi_source_relay_log.test --- mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_multi_source_relay_log.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_multi_source_relay_log.test 2018-10-04 05:48:22.000000000 +0000 @@ -1,7 +1,9 @@ --echo ######################################################################### --echo # Verify RESET SLAVE and RESET SLAVE FOR CHANNEL ---echo # - deletes all relay log files of named channels. +--echo # - deletes all relay log files of named channels and reintializes +--echo # them. --echo # - For default channel, it restart the relay log from .000001 +--echo # - For named channel, it restart the relay log from ch.000001 --echo ######################################################################### # The test doesn't relate to binlog format, so it is just tested on mixed mode. #Skip on group replication runs @@ -25,7 +27,7 @@ --echo # eval RESET SLAVE FOR CHANNEL "ch1"; -# all files of "ch1" are removed +# all files of "ch1" are deleted and recreated. --list_files $datadir *ch1* --echo # @@ -36,7 +38,7 @@ --enable_warnings RESET SLAVE; -# all files of "ch2" are removed +# all files of "ch2" are deleted and recreated. --list_files $datadir *ch2* --echo # @@ -50,10 +52,8 @@ --file_exists $relay_log_basename.000001 --echo # ---echo # Recreate channels "ch1" and "ch2" files again. +--echo # Relay log files for all channels are recreated automatically. --echo # -CHANGE MASTER TO MASTER_HOST="localhost", MASTER_PORT=10 FOR CHANNEL "ch1"; -CHANGE MASTER TO MASTER_HOST="localhost", MASTER_PORT=11 FOR CHANNEL "ch2"; # Check that files exist. --let $relay_log_base_name= `SELECT @@GLOBAL.relay_log_basename` diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_perfschema_applier_status_by_coordinator.test mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_perfschema_applier_status_by_coordinator.test --- mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_perfschema_applier_status_by_coordinator.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_perfschema_applier_status_by_coordinator.test 2018-10-04 05:48:22.000000000 +0000 @@ -353,6 +353,7 @@ --connection slave reset slave; +reset master; --echo --echo # Restarting servers and setting up MTS now. Since, SQL thread and diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_perfschema_order_by.cnf mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_perfschema_order_by.cnf --- mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_perfschema_order_by.cnf 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_perfschema_order_by.cnf 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,17 @@ +!include ../my.cnf + +[mysqld.1] +log-slave-updates + +[mysqld.2] +master-info-repository=TABLE +relay-log-info-repository=TABLE +log-slave-updates + +[mysqld.3] +log-slave-updates + +[ENV] +SERVER_MYPORT_3= @mysqld.3.port +SERVER_MYSOCK_3= @mysqld.3.socket + diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_perfschema_order_by.test mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_perfschema_order_by.test --- mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_perfschema_order_by.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_perfschema_order_by.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,43 @@ +# === Purpose === +# +# This test verifies that ORDER BY on replication pfs tables returns +# the correct data set. +# +# === Implementation === +# +# 1) Setup a multi-source replication topology. +# 2) With STS, execute DDLs on both the masters and use SQL ordering +# on PFS tables on slave. +# 3) Repeat step 2 with Multi-threaded Slave. +# +# === References === +# Bug #22958077: ORDER BY LAST_SEEN_TRANSACTION RESULTS IN EMPTY SET (OR DEBUG +# ASSERTION) + +--let $rpl_topology= 3->2,1->2 +--let $rpl_multi_source= 1 +--let $rpl_skip_start_slave= 1 +--source include/rpl_init.inc + +--let $rpl_connection_name= server_2 +--source include/rpl_connection.inc +SET @save.slave_parallel_workers= @@global.slave_parallel_workers; + +--echo # Test for Single Threaded Slave +SET GLOBAL slave_parallel_workers= 0; +START SLAVE; +--source extra/rpl_tests/rpl_perfschema_order_by.test + +--echo # Test for Multi Threaded Slave +STOP SLAVE; +SET GLOBAL slave_parallel_workers = 2; +START SLAVE; +--source extra/rpl_tests/rpl_perfschema_order_by.test + +#Cleanup +STOP SLAVE; +SET @@global.slave_parallel_workers= @save.slave_parallel_workers; +START SLAVE; + +--let $rpl_skip_sync= 1 +--source include/rpl_end.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_reset_restart-slave.opt mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_reset_restart-slave.opt --- mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_reset_restart-slave.opt 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_reset_restart-slave.opt 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,2 @@ +--skip-slave-start=0 +--relay-log-purge=0 diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_reset_restart.test mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_reset_restart.test --- mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_reset_restart.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_reset_restart.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,47 @@ +# ==== Purpose ==== +# +# This test will check if reset slave is generating correct Previous_gtids +# event in first relay log file after a RESET SLAVE. +# +# It will: +# 1) generate some workload at the master; +# 2) sync the slave with the master; +# 3) stop slave replication threads; +# 4) do RESET MASTER on the master; +# 5) do RESET MASTER on the slave; +# 6) do RESET SLAVE on the slave; +# 7) restart the slave. +# +# Slave shall be able to sync with master without issues. +# +# ==== Related Bugs and Worklogs ==== +# +# BUG#27636289 RPL BREAKS WITH RESTART AFTER RESET SLAVE IF --RELAY-LOG-PURGE=0 +# + +# This test case is binary log format agnostic +--source include/have_binlog_format_row.inc +--source include/have_gtid.inc +--source include/master-slave.inc + +CREATE TABLE t1 (c1 INT); +--source include/sync_slave_sql_with_master.inc +--source include/stop_slave.inc + +--source include/rpl_connection_master.inc +RESET MASTER; + +--source include/rpl_connection_slave.inc +RESET MASTER; +RESET SLAVE; +--source include/start_slave.inc + +--source include/kill_and_restart_mysqld.inc + +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc + +--source include/rpl_connection_master.inc +DROP TABLE t1; + +--source include/rpl_end.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_semi_sync_add_remove_slaves.cnf mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_semi_sync_add_remove_slaves.cnf --- mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_semi_sync_add_remove_slaves.cnf 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_semi_sync_add_remove_slaves.cnf 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,59 @@ +!include ../my.cnf + +[mysqld.1] +log-slave-updates +server_id=1 + +[mysqld.2] +log-slave-updates +server_id=2 + +[mysqld.3] +log-slave-updates +server_id=3 + +[mysqld.4] +log-slave-updates +server_id=4 + +[mysqld.5] +log-slave-updates +server_id=5 + +[mysqld.6] +log-slave-updates +server_id=6 + +[mysqld.7] +log-slave-updates +server_id=7 + +[mysqld.8] +log-slave-updates +server_id=8 + +[mysqld.9] +log-slave-updates +server_id=9 + +[ENV] +SERVER_MYPORT_3= @mysqld.3.port +SERVER_MYSOCK_3= @mysqld.3.socket + +SERVER_MYPORT_4= @mysqld.4.port +SERVER_MYSOCK_4= @mysqld.4.socket + +SERVER_MYPORT_5= @mysqld.5.port +SERVER_MYSOCK_5= @mysqld.5.socket + +SERVER_MYPORT_6= @mysqld.6.port +SERVER_MYSOCK_6= @mysqld.6.socket + +SERVER_MYPORT_7= @mysqld.7.port +SERVER_MYSOCK_7= @mysqld.7.socket + +SERVER_MYPORT_8= @mysqld.8.port +SERVER_MYSOCK_8= @mysqld.8.socket + +SERVER_MYPORT_9= @mysqld.9.port +SERVER_MYSOCK_9= @mysqld.9.socket diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_semi_sync_add_remove_slaves-master.opt mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_semi_sync_add_remove_slaves-master.opt --- mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_semi_sync_add_remove_slaves-master.opt 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_semi_sync_add_remove_slaves-master.opt 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1 @@ +$SEMISYNC_PLUGIN_OPT diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_semi_sync_add_remove_slaves-slave.opt mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_semi_sync_add_remove_slaves-slave.opt --- mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_semi_sync_add_remove_slaves-slave.opt 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_semi_sync_add_remove_slaves-slave.opt 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1 @@ +$SEMISYNC_PLUGIN_OPT diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_semi_sync_add_remove_slaves.test mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_semi_sync_add_remove_slaves.test --- mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_semi_sync_add_remove_slaves.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_semi_sync_add_remove_slaves.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,191 @@ +#==== Purpose ==== +# +# This test script purpose is to check semisync replication +# behaviour when there are semisync slaves getting added and +# removed while dml changes are happening. +# +#==== Implementation ==== +# +# 1) Install semisync on one Master and 8 Slaves. +# 2) Using mysqlslap, keep inserting data in background on Master. +# 3) While the DMLs are going on, keep adding/removing semisync slaves. +# 4) At the end of the step-3, check that the data is synced without any +# issues. +# 5) Check semisync is still enabled on Master and all slaves. +# +#==== References ==== +# +# Bug#27610678 SEMI-SYNC REPLICATION DOESN'T WORK FOR MINUTES AFTER RESTART +# REPLICATION +# +#======== +# +# 9 servers + 5000 inserts involved in test. Hence marking it as big-test. +# +--source include/big_test.inc +--source include/not_group_replication_plugin.inc +--source include/have_binlog_format_statement.inc +--source include/have_debug.inc + +# +# One Master and 8 Slaves in the semi sync topology. +# +--let rpl_topology=1->2, 1->3, 1->4, 1->5, 1->6, 1->7, 1->8, 1->9 +--source include/rpl_init.inc + +--echo # +--echo # 1. Initial data. +--echo # +call mtr.add_suppression("Timeout waiting for reply of binlog"); +CREATE TABLE t1(c1 INT); +--source include/rpl_sync.inc + +--echo # +--echo # 2. Install semisync on all the 9 servers. +--echo # +--let $i= 1 +while ($i < 10) +{ + --let $rpl_connection_name= server_$i + --source include/rpl_connection.inc + if ( $i == 1) + { + --connect(server1_1, localhost,root,,,$MASTER_MYPORT) + CALL mtr.add_suppression("Semi-sync master failed on net_flush.*"); + --source include/install_semisync_master.inc + } + if ( $i != 1 ) + { + CALL mtr.add_suppression("Semi-sync slave net_flush.*"); + --source include/install_semisync_slave.inc + } + --inc $i +} + +--echo # +--echo # 3. Make Master aware of 8 semisync slaves. +--echo # +--let $rpl_connection_name= server1_1 +--source include/rpl_connection.inc +--let $slaves = 8 +--eval SET GLOBAL rpl_semi_sync_master_wait_for_slave_count = $slaves + +--echo # +--echo # 4. Insert 5000 tuples in background using 10 parallel connections. +--echo # +--exec_in_background $MYSQL_SLAP --create-schema=test --delimiter=";" --iterations=500 --query="INSERT INTO t1 values (1)" --concurrency=10 --silent 2>&1 + +--echo # +--echo # 5. While the insert operations are going in the background, keep +--echo # adding/removing semisync slaves randomly. +--echo # +--let $rpl_connection_silent = 1 +--let $include_silent= 1 +--disable_result_log +--disable_query_log +--let $rpl_debug= 0 +--let $iter= 1 +while ( $iter < 50 ) +{ + # Random server_id generator ( server_id will between [2-9] + --let $server_id=`SELECT FLOOR(2 + ((RAND() * 100) % 8))` + --let $rpl_connection_name= server_$server_id + --source include/rpl_connection.inc + --let $service_state= `SELECT service_state FROM performance_schema.replication_connection_status` + if ($service_state == 'ON') + { + # If the replication state is ON, bring it down. + --source include/stop_slave.inc + --let $rpl_connection_name= server1_1 + --source include/rpl_connection.inc + # Adjust rpl_semi_sync_master_wait_for_slave_count variable. + --dec $slaves + --eval SET GLOBAL rpl_semi_sync_master_wait_for_slave_count = $slaves + } + if ($service_state == 'OFF') + { + # If the replication state is OFF, bring it up. + --source include/start_slave.inc + --let $rpl_connection_name= server1_1 + --source include/rpl_connection.inc + # Adjust rpl_semi_sync_master_wait_for_slave_count variable. + --inc $slaves + --eval SET GLOBAL rpl_semi_sync_master_wait_for_slave_count = $slaves + } + --inc $iter + # Do it slowly while insertions on the master are happening in the background. + sleep 1; +} + +--echo # +--echo # 6. Add all 8 semisync slaves back to Master +--echo # (if they were disconnected, in above step). +--echo # +--let $iter = 2 +while ($iter <= 9) +{ + --let $rpl_connection_name= server_$iter + --source include/rpl_connection.inc + --let $service_state= `SELECT service_state FROM performance_schema.replication_connection_status` + if ($service_state == 'OFF') + { + --source include/start_slave.inc + --let $rpl_connection_name= server1_1 + --source include/rpl_connection.inc + # Adjust rpl_semi_sync_master_wait_for_slave_count variable. + --inc $slaves + --eval SET GLOBAL rpl_semi_sync_master_wait_for_slave_count = $slaves + } + --inc $iter +} +--enable_result_log +--enable_query_log +--let $rpl_connection_silent = 0 +--let $include_silent= 0 + + +--echo # +--echo # 7. Make sure the data is synced on Master without any issues. +--echo # +--let $rpl_connection_name= server_1 +--source include/rpl_connection.inc +--let $wait_timeout= 60 +--let $wait_condition= SELECT count(*) = 5000 FROM t1 +--source include/wait_condition.inc +--let $slave_timeout=600 +--source include/rpl_sync.inc + +--echo # +--echo # 8. Check on all servers semisync is enabled after the +--echo # the experiment and then uninstall semisync pluging +--echo # from it. +--echo # +--let $i= 9 +while ($i >= 1) +{ + --let $rpl_connection_name= server_$i + --source include/rpl_connection.inc + if ( $i == 1) + { + --let $assert_variable_name= rpl_semi_sync_master_enabled + --let $assert_variable_value= 1 + --source include/assert_variable.inc + --source include/uninstall_semisync_master.inc + } + if ( $i != 1 ) + { + --let $assert_variable_name= rpl_semi_sync_slave_enabled + --let $assert_variable_value= 1 + --source include/assert_variable.inc + --source include/uninstall_semisync_slave.inc + } + --dec $i +} + +--echo # +--echo # 9. Cleanup time. +--echo # +--let $rpl_connection_name= server_1 +--source include/rpl_connection.inc +DROP TABLE t1; +--source include/rpl_end.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_server_uuid.test mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_server_uuid.test --- mysql-5.7-5.7.23/mysql-test/suite/rpl/t/rpl_server_uuid.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/rpl/t/rpl_server_uuid.test 2018-10-04 05:48:22.000000000 +0000 @@ -133,7 +133,7 @@ --echo # and master_host are not changed. --echo ----------------------------------------------------------------------------- connection slave; -START SLAVE IO_THREAD; +--source include/start_slave_io.inc --let $slave_param= Master_UUID --let $slave_param_value= $original_master_uuid --source include/wait_for_slave_param.inc @@ -156,7 +156,7 @@ --replace_result $old_master_log_file MASTER_LOG_FILE $MASTER_MYPORT MASTER_PORT $old_master_log_pos MASTER_POS eval CHANGE MASTER TO MASTER_PORT= $MASTER_MYPORT, MASTER_LOG_FILE= '$old_master_log_file', MASTER_LOG_POS= $old_master_log_pos; -START SLAVE IO_THREAD; +--source include/start_slave_io.inc --let $slave_param= Master_UUID --let $slave_param_value= $original_master_uuid --source include/wait_for_slave_param.inc @@ -179,7 +179,7 @@ --replace_result $old_master_log_file MASTER_LOG_FILE $MASTER_MYPORT MASTER_PORT $old_master_log_pos MASTER_POS eval CHANGE MASTER TO MASTER_HOST= '127.0.0.1', MASTER_LOG_FILE= '$old_master_log_file', MASTER_LOG_POS= $old_master_log_pos; -START SLAVE IO_THREAD; +--source include/start_slave_io.inc --let $slave_param= Master_UUID --let $slave_param_value= $original_master_uuid --source include/wait_for_slave_param.inc @@ -200,7 +200,7 @@ --replace_result $old_master_log_file MASTER_LOG_FILE $MASTER_MYPORT MASTER_PORT $old_master_log_pos MASTER_POS eval CHANGE MASTER TO MASTER_HOST= '127.0.0.1', MASTER_PORT= $MASTER_MYPORT, MASTER_LOG_FILE= '$old_master_log_file', MASTER_LOG_POS= $old_master_log_pos; -START SLAVE IO_THREAD; +--source include/start_slave_io.inc --let $slave_param= Master_UUID --let $slave_param_value= $original_master_uuid --source include/wait_for_slave_param.inc diff -Nru mysql-5.7-5.7.23/mysql-test/suite/sys_vars/r/sql_safe_updates_func.result mysql-5.7-5.7.24/mysql-test/suite/sys_vars/r/sql_safe_updates_func.result --- mysql-5.7-5.7.23/mysql-test/suite/sys_vars/r/sql_safe_updates_func.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/sys_vars/r/sql_safe_updates_func.result 2018-10-04 05:48:22.000000000 +0000 @@ -19,7 +19,7 @@ '#-----------------------------FN_DYNVARS_164_02------------------------------------#' Expected error : Update without key in safe mode DELETE FROM t1; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. SELECT * FROM t1; a b 1 val1 @@ -34,16 +34,13 @@ PREPARE stmt FROM 'DELETE FROM t1;'; Expected error : Update without key in safe mode EXECUTE stmt; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. DEALLOCATE PREPARE stmt; '#-----------------------------FN_DYNVARS_164_03------------------------------------#' -Expected error : Update without key in safe mode +No error : Update without key in safe mode but with LIMIT DELETE FROM t1 LIMIT 2; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column SELECT * FROM t1; a b -1 val1 -2 val2 3 val3 4 val4 5 val5 @@ -54,11 +51,9 @@ '#-----------------------------FN_DYNVARS_164_04------------------------------------#' Expected error : Update without key in safe mode DELETE FROM t1 WHERE b='val1'; -ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column +ERROR HY000: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. SELECT * FROM t1; a b -1 val1 -2 val2 3 val3 4 val4 5 val5 @@ -68,11 +63,9 @@ 9 val9 '#-----------------------------FN_DYNVARS_164_05------------------------------------#' This one should work -DELETE FROM t1 WHERE a=1; +DELETE FROM t1 WHERE a=3; SELECT * FROM t1; a b -2 val2 -3 val3 4 val4 5 val5 6 val6 @@ -88,8 +81,6 @@ DELETE FROM t1 WHERE b='val1'; SELECT * FROM t1; a b -2 val2 -3 val3 4 val4 5 val5 6 val6 @@ -98,13 +89,10 @@ 9 val9 '#-----------------------------FN_DYNVARS_164_07------------------------------------#' This one should work -DELETE FROM t1 WHERE a=1; +DELETE FROM t1 WHERE a=5; SELECT * FROM t1; a b -2 val2 -3 val3 4 val4 -5 val5 6 val6 7 val7 8 val8 @@ -114,9 +102,6 @@ DELETE FROM t1 LIMIT 2; SELECT * FROM t1; a b -4 val4 -5 val5 -6 val6 7 val7 8 val8 9 val9 @@ -127,9 +112,6 @@ statement is remarked because the error is uncatchable by testing framework SELECT * FROM t1; a b -4 val4 -5 val5 -6 val6 7 val7 8 val8 9 val9 diff -Nru mysql-5.7-5.7.23/mysql-test/suite/sys_vars/t/sql_safe_updates_func.test mysql-5.7-5.7.24/mysql-test/suite/sys_vars/t/sql_safe_updates_func.test --- mysql-5.7-5.7.23/mysql-test/suite/sys_vars/t/sql_safe_updates_func.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/suite/sys_vars/t/sql_safe_updates_func.test 2018-10-04 05:48:22.000000000 +0000 @@ -74,8 +74,7 @@ # # With a LIMIT Clause # ---echo Expected error : Update without key in safe mode ---error ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE +--echo No error : Update without key in safe mode but with LIMIT DELETE FROM t1 LIMIT 2; SELECT * FROM t1; @@ -93,7 +92,7 @@ # With a key WHERE Clause # --echo This one should work -DELETE FROM t1 WHERE a=1; +DELETE FROM t1 WHERE a=3; SELECT * FROM t1; --echo @@ -118,7 +117,7 @@ # With a key WHERE Clause # --echo This one should work -DELETE FROM t1 WHERE a=1; +DELETE FROM t1 WHERE a=5; SELECT * FROM t1; --echo '#-----------------------------FN_DYNVARS_164_08------------------------------------#' diff -Nru mysql-5.7-5.7.23/mysql-test/t/alter_table.test mysql-5.7-5.7.24/mysql-test/t/alter_table.test --- mysql-5.7-5.7.23/mysql-test/t/alter_table.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/t/alter_table.test 2018-10-04 05:48:22.000000000 +0000 @@ -3167,3 +3167,54 @@ DROP TABLE t1, t2; SET sql_mode= @orig_sql_mode; SET GLOBAL innodb_large_prefix= @orig_innodb_large_prefix; + +--echo # +--echo # BUG#27788685: NO WARNING WHEN TRUNCATING A STRING WITH DATA LOSS +--echo # + +--enable_warnings +SET GLOBAL max_allowed_packet=17825792; + +--connect(con1, localhost, root,,) +CREATE TABLE t1 (t1_fld1 TEXT) ENGINE=InnoDB; +CREATE TABLE t2 (t2_fld1 MEDIUMTEXT) ENGINE=InnoDB; +CREATE TABLE t3 (t3_fld1 LONGTEXT) ENGINE=InnoDB; + +INSERT INTO t1 VALUES (REPEAT('a',300)); +INSERT INTO t2 VALUES (REPEAT('b',65680)); +INSERT INTO t3 VALUES (REPEAT('c',16777300)); + +SELECT LENGTH(t1_fld1) FROM t1; +SELECT LENGTH(t2_fld1) FROM t2; +SELECT LENGTH(t3_fld1) FROM t3; + +--echo # With strict mode +SET SQL_MODE='STRICT_ALL_TABLES'; + +--error ER_DATA_TOO_LONG +ALTER TABLE t1 CHANGE `t1_fld1` `my_t1_fld1` TINYTEXT; +--error ER_DATA_TOO_LONG +ALTER TABLE t2 CHANGE `t2_fld1` `my_t2_fld1` TEXT; +--error ER_DATA_TOO_LONG +ALTER TABLE t3 CHANGE `t3_fld1` `my_t3_fld1` MEDIUMTEXT; + +--echo # With non-strict mode +SET SQL_MODE=''; + +ALTER TABLE t1 CHANGE `t1_fld1` `my_t1_fld1` TINYTEXT; +ALTER TABLE t2 CHANGE `t2_fld1` `my_t2_fld1` TEXT; +ALTER TABLE t3 CHANGE `t3_fld1` `my_t3_fld1` MEDIUMTEXT; + +SELECT LENGTH(my_t1_fld1) FROM t1; +SELECT LENGTH(my_t2_fld1) FROM t2; +SELECT LENGTH(my_t3_fld1) FROM t3; + +# Cleanup +--disconnect con1 +--source include/wait_until_disconnected.inc + +--connection default +DROP TABLE t1, t2, t3; + +SET SQL_MODE=default; +SET GLOBAL max_allowed_packet=default; diff -Nru mysql-5.7-5.7.23/mysql-test/t/connect.test mysql-5.7-5.7.24/mysql-test/t/connect.test --- mysql-5.7-5.7.23/mysql-test/t/connect.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/t/connect.test 2018-10-04 05:48:22.000000000 +0000 @@ -450,6 +450,67 @@ --echo # -- End of 5.6 tests --echo # ------------------------------------------------------------------ +--echo # +--echo # BUG#27539838: NOT ALL ABORTED CONNECTS ARE REPORTED TO ERROR.LOG +--echo # PROPERLY +--echo # + +--let LOG_ERR=$MYSQLTEST_VARDIR/tmp/myerror.err +--let SEARCH_FILE=$MYSQLTEST_VARDIR/tmp/myerror.err + +--let restart_parameters="restart: --log-error=$LOG_ERR --log-error-verbosity=3" +--replace_result $LOG_ERR LOG_ERR +--source include/restart_mysqld.inc + +SHOW STATUS LIKE 'Aborted_connects'; + +--echo +--echo # Case 1: Connection attempt by an invalid user +--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT +--error ER_ACCESS_DENIED_ERROR +connect(con1,localhost,newuser,,); + +--let SEARCH_PATTERN= Access denied for user 'newuser'@'localhost' \(using password: NO\) +--source include/search_pattern_in_file.inc + +--echo +--echo # Case 2: Connection attempt by a valid user with incorrect password +--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT +--error ER_ACCESS_DENIED_ERROR +connect(con1,localhost,root,1234,); + +--let SEARCH_PATTERN= Access denied for user 'root'@'localhost' \(using password: YES\) +--source include/search_pattern_in_file.inc + +# Creating a dummy database and an user with no privileges to access that database +--connection default +CREATE DATABASE test1; +CREATE USER 'new1'@'localhost'; + +--echo +--echo # Case 3: Connection attempt by a valid user with no privileges to access a database +--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT +--error ER_DBACCESS_DENIED_ERROR +connect(con1,localhost,new1,,test1); + +--let SEARCH_PATTERN= Access denied for user 'new1'@'localhost' to database 'test1' +--source include/search_pattern_in_file.inc + +--echo +--echo # Case 4: SSL connection attempt without necessary certificates +--error 1 +--exec $MYSQL --user=root --ssl-mode=VERIFY_CA + +--let SEARCH_PATTERN= Got an error reading communication packets +--source include/search_pattern_in_file.inc + +# Uncomment the below statement when BUG#28490126 is fixed. +# SHOW STATUS LIKE 'Aborted_connects'; + +# Cleanup +DROP USER 'new1'@'localhost'; +DROP DATABASE test1; +--remove_file $LOG_ERR # Wait till all disconnects are completed --source include/wait_until_count_sessions.inc diff -Nru mysql-5.7-5.7.23/mysql-test/t/delete.test mysql-5.7-5.7.24/mysql-test/t/delete.test --- mysql-5.7-5.7.23/mysql-test/t/delete.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/t/delete.test 2018-10-04 05:48:22.000000000 +0000 @@ -146,8 +146,9 @@ SET SESSION sql_safe_updates=1; +EXPLAIN DELETE t2 FROM t1 JOIN t2 WHERE t1.a = 10; -- error ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE -DELETE t1 FROM t1 JOIN t2 WHERE t1.a = 10; +DELETE t2 FROM t1 JOIN t2 WHERE t1.a = 10; SET SESSION sql_safe_updates=default; diff -Nru mysql-5.7-5.7.23/mysql-test/t/multi_update.test mysql-5.7-5.7.24/mysql-test/t/multi_update.test --- mysql-5.7-5.7.23/mysql-test/t/multi_update.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/t/multi_update.test 2018-10-04 05:48:22.000000000 +0000 @@ -197,7 +197,7 @@ set sql_safe_updates=1; create table t1 (n int(10), d int(10)); create table t2 (n int(10), d int(10)); -insert into t1 values(1,1); +insert into t1 values(1,1), (3,30); insert into t2 values(1,10),(2,20); --error ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE UPDATE t1,t2 SET t1.d=t2.d WHERE t1.n=t2.n; diff -Nru mysql-5.7-5.7.23/mysql-test/t/myisam-blob.test mysql-5.7-5.7.24/mysql-test/t/myisam-blob.test --- mysql-5.7-5.7.23/mysql-test/t/myisam-blob.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/t/myisam-blob.test 2018-10-04 05:48:22.000000000 +0000 @@ -6,6 +6,7 @@ --source include/force_myisam_default.inc --source include/have_myisam.inc +SET SQL_MODE=''; # # Test bugs in the MyISAM code with blobs # @@ -48,4 +49,5 @@ select length(data) from t1; drop table t1; +SET SQL_MODE=default; # End of 4.1 tests diff -Nru mysql-5.7-5.7.23/mysql-test/t/mysqldump.test mysql-5.7-5.7.24/mysql-test/t/mysqldump.test --- mysql-5.7-5.7.23/mysql-test/t/mysqldump.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/t/mysqldump.test 2018-10-04 05:48:22.000000000 +0000 @@ -2719,3 +2719,21 @@ SHOW VARIABLES LIKE "master_info_repository"; SHOW VARIABLES LIKE "relay_log_info_repository"; + +--echo # +--echo # Bug#27931181: RESTAURE DUMP CREATED WITH 5.7.22 ON 8.0.11 +--echo # + +CREATE DATABASE bug27931181; +USE bug27931181; +CREATE TABLE t1 (a INT); +SET sql_mode='NO_AUTO_CREATE_USER'; +CREATE TRIGGER trig1 BEFORE INSERT ON t1 FOR EACH ROW SET NEW.a = 1; +SET sql_mode='NO_AUTO_CREATE_USER,ONLY_FULL_GROUP_BY'; +CREATE PROCEDURE p1() SELECT 1; +SET sql_mode=@@global.sql_mode; +CREATE FUNCTION f1() RETURNS INT RETURN 1; + +--exec $MYSQL_DUMP --skip-comments --databases --events --triggers --routines bug27931181 +#cleanup +DROP DATABASE bug27931181; diff -Nru mysql-5.7-5.7.23/mysql-test/t/parser-master.opt mysql-5.7-5.7.24/mysql-test/t/parser-master.opt --- mysql-5.7-5.7.23/mysql-test/t/parser-master.opt 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/t/parser-master.opt 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1 @@ +--max_allowed_packet=18000000 diff -Nru mysql-5.7-5.7.23/mysql-test/t/parser.test mysql-5.7-5.7.24/mysql-test/t/parser.test --- mysql-5.7-5.7.23/mysql-test/t/parser.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/t/parser.test 2018-10-04 05:48:22.000000000 +0000 @@ -1365,3 +1365,14 @@ --echo # +--echo +--echo Bug #27714748: @@PARSER_MAX_MEM_SIZE DOES NOT WORK FOR ROUTINES +--echo + +SET parser_max_mem_size = 10000000; # minimum allowed value +--let $s = `SELECT REPEAT('x', @@parser_max_mem_size)` +--disable_query_log +--error ER_CAPACITY_EXCEEDED +--eval CREATE PROCEDURE p() SELECT 1 FROM (SELECT '$s') a +--enable_query_log +SET parser_max_mem_size = default; diff -Nru mysql-5.7-5.7.23/mysql-test/t/partition_pruning.test mysql-5.7-5.7.24/mysql-test/t/partition_pruning.test --- mysql-5.7-5.7.23/mysql-test/t/partition_pruning.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/t/partition_pruning.test 2018-10-04 05:48:22.000000000 +0000 @@ -4,6 +4,7 @@ # --source include/no_valgrind_without_big.inc --source include/have_partition.inc +--source include/have_innodb_16k.inc let $verify_without_partitions=0; --echo # @@ -53,6 +54,7 @@ } INSERT INTO t1 VALUES (-1),(0),(1),(2),(3),(4),(5),(6),(7),(8); +ANALYZE TABLE t1; SELECT * FROM t1 WHERE a < 1; --replace_column 10 # @@ -175,6 +177,7 @@ } INSERT INTO t1 VALUES (-1),(0),(1),(2),(3),(4),(5),(6),(7); +ANALYZE TABLE t1; SELECT * FROM t1 WHERE a < 1; --replace_column 10 # @@ -364,6 +367,7 @@ (1, '2009-04-02'), (2, '2009-04-02'), (1, '2009-04-02 23:59:59'), (1, '2009-04-03'), (2, '2009-04-03'), (1, '2009-04-04'), (2, '2009-04-04'), (1, '2009-04-05'), (1, '2009-04-06'), (1, '2009-04-07'); +ANALYZE TABLE t1; --replace_column 10 # EXPLAIN PARTITIONS SELECT * FROM t1 WHERE b < CAST('2009-04-03' AS DATETIME); --replace_column 10 # @@ -480,6 +484,7 @@ (1, '2009-04-02'), (2, '2009-04-02'), (1, '2009-04-03'), (2, '2009-04-03'), (1, '2009-04-04'), (2, '2009-04-04'), (1, '2009-04-05'), (1, '2009-04-06'), (1, '2009-04-07'); +ANALYZE TABLE t1; --replace_column 10 # EXPLAIN PARTITIONS SELECT * FROM t1 WHERE b < CAST('2009-04-03' AS DATETIME); --replace_column 10 # @@ -595,6 +600,7 @@ (1, '2009-04-02'), (2, '2009-04-02'), (1, '2009-04-02 23:59:59'), (1, '2009-04-03'), (2, '2009-04-03'), (1, '2009-04-04'), (2, '2009-04-04'), (1, '2009-04-05'), (1, '2009-04-06'), (1, '2009-04-07'); +ANALYZE TABLE t1; --replace_column 10 # EXPLAIN PARTITIONS SELECT * FROM t1 WHERE b < CAST('2009-04-03' AS DATETIME); --replace_column 10 # @@ -710,6 +716,7 @@ (1, '2009-04-02'), (2, '2009-04-02'), (1, '2009-04-03'), (2, '2009-04-03'), (1, '2009-04-04'), (2, '2009-04-04'), (1, '2009-04-05'), (1, '2009-04-06'), (1, '2009-04-07'); +ANALYZE TABLE t1; --replace_column 10 # EXPLAIN PARTITIONS SELECT * FROM t1 WHERE b < CAST('2009-04-03' AS DATETIME); --replace_column 10 # @@ -822,6 +829,7 @@ ALTER TABLE t1 REMOVE PARTITIONING; } INSERT INTO t1 VALUES (1, '2009-01-01'), (2, NULL); +ANALYZE TABLE t1; --echo # test with an invalid date, which lead to item->null_value is set. --replace_column 10 # EXPLAIN PARTITIONS SELECT * FROM t1 WHERE b < CAST('2009-04-99' AS DATETIME); @@ -856,6 +864,7 @@ ALTER TABLE t1 REMOVE PARTITIONING; } insert into t1 values (1),(2),(3); +ANALYZE TABLE t1; --replace_column 10 # explain select * from t1 where a=5 and a=6; drop table t1; @@ -869,6 +878,7 @@ ALTER TABLE t1 REMOVE PARTITIONING; } insert into t1 values (1),(2),(3); +ANALYZE TABLE t1; --replace_column 10 # explain partitions select * from t1 where a=1; @@ -887,6 +897,7 @@ ALTER TABLE t2 REMOVE PARTITIONING; } insert into t2 values (1,1),(2,2),(3,3); +ANALYZE TABLE t2; --replace_column 10 # explain partitions select * from t2 where a=1; @@ -909,6 +920,7 @@ ALTER TABLE t3 REMOVE PARTITIONING; } insert into t3 values (5),(15); +ANALYZE TABLE t3; --replace_column 10 # explain partitions select * from t3 where a=11; @@ -929,6 +941,7 @@ ALTER TABLE t4 REMOVE PARTITIONING; } insert into t4 values (10,2), (10,4); +ANALYZE TABLE t4; # empty OR one --replace_column 10 # @@ -968,6 +981,7 @@ } insert into t5 values (10,2,0,0), (10,4,0,0), (10,2,0,1), (10,4,0,1); +ANALYZE TABLE t5; --replace_column 10 # explain partitions select * from t5; @@ -1010,6 +1024,7 @@ ALTER TABLE t6 REMOVE PARTITIONING; } insert into t6 values (1),(3),(5); +ANALYZE TABLE t6; --replace_column 10 # explain partitions select * from t6 where a < 1; @@ -1051,6 +1066,7 @@ ALTER TABLE t6 REMOVE PARTITIONING; } insert into t6 values (1),(3),(5); +ANALYZE TABLE t6; --replace_column 10 # explain partitions select * from t6 where a < 1; @@ -1091,6 +1107,7 @@ ALTER TABLE t7 REMOVE PARTITIONING; } insert into t7 values (10),(30),(50); +ANALYZE TABLE t7; # leftmost intervals --replace_column 10 # @@ -1158,6 +1175,7 @@ ALTER TABLE t7 REMOVE PARTITIONING; } insert into t7 values (10),(30),(50); +ANALYZE TABLE t7; # leftmost intervals --replace_column 10 # @@ -1222,6 +1240,7 @@ ALTER TABLE t8 REMOVE PARTITIONING; } insert into t8 values ('1985-05-05'),('1995-05-05'); +ANALYZE TABLE t8; --replace_column 10 # explain partitions select * from t8 where a < '1980-02-02'; @@ -1237,6 +1256,7 @@ ALTER TABLE t9 REMOVE PARTITIONING; } insert into t9 values ('2005-05-05'), ('2005-04-04'); +ANALYZE TABLE t9; --replace_column 10 # explain partitions select * from t9 where a < '2004-12-19'; @@ -1271,6 +1291,7 @@ ALTER TABLE t1 REMOVE PARTITIONING; } insert into t1 values (1),(2),(3); +ANALYZE TABLE t1; --replace_column 10 # explain partitions select * from t1 where a1 > 3; --replace_column 10 # @@ -1293,6 +1314,7 @@ ALTER TABLE t3 REMOVE PARTITIONING; } insert into t3 values (1,1),(2,2),(3,3); +ANALYZE TABLE t3; --replace_column 10 # explain partitions select * from t3 where a=2 or b=1; @@ -1309,6 +1331,7 @@ ALTER TABLE t1 REMOVE PARTITIONING; } insert into t1 values (1),(2); +ANALYZE TABLE t1; --replace_column 10 # explain partitions select * from t1 where a is null; @@ -1325,6 +1348,7 @@ ALTER TABLE t1 REMOVE PARTITIONING; } insert into t1 values (1,1),(2,2),(3,3),(4,4); +ANALYZE TABLE t1; --replace_column 10 # explain partitions @@ -1344,6 +1368,7 @@ ALTER TABLE t1 REMOVE PARTITIONING; } insert into t1 values (1),(2),(3); +ANALYZE TABLE t1; --replace_column 10 # explain partitions select * from t1 where a > 1 and a < 3; --replace_column 10 # @@ -1367,6 +1392,7 @@ ALTER TABLE t1 REMOVE PARTITIONING; } insert into t1 values (1,1),(2,2),(3,3); +ANALYZE TABLE t1; --replace_column 10 # explain partitions select * from t1 where b > 1 and b < 3; @@ -1388,6 +1414,7 @@ ALTER TABLE t1 REMOVE PARTITIONING; } insert into t1 values (1),(1),(2),(2),(3),(4),(3),(4); +ANALYZE TABLE t1; --echo # This won't do any table access --let $q = update t1 set a=100 where a=5 @@ -1471,10 +1498,12 @@ --sorted_result select * from t1; insert into t1 values (1), (1); +ANALYZE TABLE t1; --echo # Same as above multi-table UPDATE/DELETE create table t2 like t1; insert into t2 select * from t1; +ANALYZE TABLE t2; --let $q = update t1,t2 set t1.a=1000, t2.a=1000 where t1.a=5 and t2.a=5 --replace_column 10 # @@ -1536,7 +1565,7 @@ insert into t2 select A.a + 10*(B.a + 10* C.a) from t1 A, t1 B, t1 C ; insert into t1 select a from t2; - +ANALYZE TABLE t1; drop table t2; CREATE TABLE `t2` ( `a` int(11) default NULL, @@ -1565,6 +1594,7 @@ insert into t2 select a,3 from t1 where a >= 400 and a < 600; insert into t2 select a,4 from t1 where a >= 600 and a < 800; insert into t2 select a,5 from t1 where a >= 800 and a < 1001; +ANALYZE TABLE t2; --let $q = select * from t2 --replace_column 10 # @@ -1853,6 +1883,7 @@ ALTER TABLE t1 REMOVE PARTITIONING; } insert into t1 set f_int1 = null; +ANALYZE TABLE t1; select * from t1 where f_int1 is null; --replace_column 10 # @@ -1876,6 +1907,7 @@ } insert into t1 values (1,1),(1,2),(1,3),(1,4), (2,1),(2,2),(2,3),(2,4); +ANALYZE TABLE t1; --replace_column 10 # explain partitions select * from t1 where a=1 AND (b=1 OR b=2); drop table t1; @@ -1895,6 +1927,7 @@ } insert into t1 values (1,1),(1,2),(1,3),(1,4), (2,1),(2,2),(2,3),(2,4), (NULL,1); +ANALYZE TABLE t1; --replace_column 10 # explain partitions select * from t1 where a IS NULL AND (b=1 OR b=2); @@ -1919,6 +1952,7 @@ ALTER TABLE t1 REMOVE PARTITIONING; } insert into t1 values (NULL), (0),(1),(2),(3),(4),(5),(6); +ANALYZE TABLE t1; --replace_column 10 # explain partitions select * from t1 where a is null or a < 2; drop table t1; @@ -1934,6 +1968,7 @@ } insert into t1 values (0),(1),(null); +ANALYZE TABLE t1; select count(*) from t1 where s1 < 0 or s1 is null; --replace_column 10 # @@ -1954,6 +1989,7 @@ ALTER TABLE t1 REMOVE PARTITIONING; } insert into t1 values ('na'); +ANALYZE TABLE t1; select * from t1; select * from t1 where a like 'n%'; drop table t1; @@ -1967,6 +2003,7 @@ } select * from t1 where s1 = 0 or s1 is null; insert into t1 values ('aa'),('bb'),('0'); +ANALYZE TABLE t1; --replace_column 10 # explain partitions select * from t1 where s1 = 0 or s1 is null; drop table t1; @@ -1985,7 +2022,7 @@ } insert into t2 values (1,1),(2,2); - +ANALYZE TABLE t2; --vertical_results --replace_column 10 # explain partitions select * from t2; @@ -2015,6 +2052,7 @@ insert into t1 values (5),(15),(105),(1005); insert into t1 values (18446744073709551000+1); insert into t1 values (18446744073709551614-1); +ANALYZE TABLE t1; --replace_column 10 # explain partitions select * from t1 where a < 10; @@ -2067,6 +2105,8 @@ insert into t1 values (0x20), (0x20), (0x41), (0x41), (0xFE), (0xFE); insert into t2 values (0x20), (0x20), (0x41), (0x41), (0xFE), (0xFE); +ANALYZE TABLE t1; +ANALYZE TABLE t2; --replace_column 10 # explain partitions select * from t1 where a=0; --replace_column 10 # @@ -2107,6 +2147,7 @@ insert into t1 values (9),(19),(0xFFFF0000FFFF000-1), (0xFFFF0000FFFFFFF-1); insert into t1 values (9),(19),(0xFFFF0000FFFF000-1), (0xFFFF0000FFFFFFF-1); +ANALYZE TABLE t1; --replace_column 10 # explain partitions select * from t1 where @@ -2131,6 +2172,7 @@ ALTER TABLE t1 REMOVE PARTITIONING; } insert into t1 values (-15),(-5),(5),(15),(-15),(-5),(5),(15); +ANALYZE TABLE t1; --replace_column 10 # explain partitions select * from t1 where a>-2 and a <=0; drop table t1; @@ -2153,6 +2195,7 @@ INSERT INTO t1 VALUES ('2007-03-07 12:00:00'); INSERT INTO t1 VALUES ('2007-03-08 12:00:00'); INSERT INTO t1 VALUES ('2007-03-15 12:00:00'); +ANALYZE TABLE t1; -- echo must use p0 only: --replace_column 10 # explain partitions select * from t1 where recdate < '2007-03-08 00:00:00'; @@ -2171,6 +2214,7 @@ INSERT INTO t1 VALUES ('2005-03-01 12:00:00'); INSERT INTO t1 VALUES ('2006-03-01 12:00:00'); INSERT INTO t1 VALUES ('2006-03-01 12:00:00'); +ANALYZE TABLE t1; -- echo must use p0 only: --replace_column 10 # @@ -2193,6 +2237,7 @@ ALTER TABLE t0 REMOVE PARTITIONING; } insert into t1 select A.a + 10*B.a from t0 A, t0 B; +ANALYZE TABLE t1; # this will use interval_via_walking --replace_column 10 # @@ -2216,6 +2261,7 @@ PARTITION p2 VALUES IN (3,4)); INSERT INTO t1 VALUES (1, 1, 1, 1), (2, 3, 1, 1); INSERT INTO t1 VALUES (1, 2, 1, 1), (2, 4, 1, 1); +ANALYZE TABLE t1; SELECT * FROM t1 WHERE c1 = 1 AND c2 < 1; SELECT * FROM t1 WHERE c1 = 1 AND c2 <= 1; SELECT * FROM t1 WHERE c1 = 1 AND c2 = 1; diff -Nru mysql-5.7-5.7.23/mysql-test/t/select_safe.test mysql-5.7-5.7.24/mysql-test/t/select_safe.test --- mysql-5.7-5.7.23/mysql-test/t/select_safe.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/t/select_safe.test 2018-10-04 05:48:22.000000000 +0000 @@ -93,3 +93,83 @@ SET SQL_SAFE_UPDATES=0,SQL_SELECT_LIMIT=DEFAULT, MAX_JOIN_SIZE=DEFAULT; # End of 4.1 tests + +--echo # +--echo # Bug #28145710: SQL_SAFE_UPDATES ERROR IS INSUFFICIENTLY INFORMATIVE +--echo # + +CREATE TABLE t1 (c1 INT NOT NULL, c2 VARCHAR(200) NOT NULL, + UNIQUE KEY idx1 (c1), UNIQUE KEY idx2 (c2)); +CREATE TABLE t2 (c1 INT NOT NULL, c2 VARCHAR(200) NOT NULL, + UNIQUE KEY idx1 (c1)); +INSERT INTO t1 VALUES (1, 'a'), (2, 'b'), (3, 'c'), (4, 'd'); +INSERT INTO t2 VALUES (11, 'a'), (12, 'b'), (3, 'c'), (14, 'd'); +ANALYZE TABLE t1, t2; + +SET SESSION sql_safe_updates=1; + +SET RANGE_OPTIMIZER_MAX_MEM_SIZE= 1; +#DELETE with range_optimizer_max_mem_size warning +let query1= DELETE FROM t1 WHERE c1 IN (1,22); +#UPDATE with range_optimizer_max_mem_size warning +let query2= UPDATE t1 SET c1=20 WHERE c1 IN (1,22); +#multi-table DELETE with conversion warning and target table uses table scan +let query3= DELETE t1 FROM t1 JOIN t2 ON t1.c2 = t2.c1; +#multi-table UPDATE with conversion warning and target table uses table scan +let query4= UPDATE t1, t2 SET t1.c1=20 WHERE t1.c2 = t2.c1; +#multi-table DELETE with target table uses eq_ref (no error) +let query5= DELETE t2 FROM t1 JOIN t2 ON t1.c2 = t2.c1; +#DELETE with conversion warning +let query6= DELETE FROM t1 WHERE c2 IN(1,2222); +#DELETE with conversion warning +let query7= UPDATE t1 SET c1=20 WHERE c2 IN(1,2222); +#DELETE with non-indexed column returns error +let query8= DELETE FROM t2 WHERE c2 IN('a','e'); +#DELETE full table and test with binlog disabled +let query9= DELETE FROM t2; + + + +eval EXPLAIN $query1; +--error ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE +eval $query1; + +eval EXPLAIN $query2; +--error ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE +eval $query2; +SET RANGE_OPTIMIZER_MAX_MEM_SIZE= default; + +eval EXPLAIN $query3; +--error ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE +eval $query3; + +eval EXPLAIN $query4; +--error ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE +eval $query4; + +eval EXPLAIN $query5; +eval $query5; + +eval EXPLAIN $query6; +--error ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE +eval $query6; + +eval EXPLAIN $query7; +--error ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE +eval $query7; + +eval EXPLAIN $query8; +--error ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE +eval $query8; + +eval EXPLAIN $query9; +--error ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE +eval $query9; + +SET sql_log_bin= 0; +--error ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE +eval $query9; +SET sql_log_bin= default; + +DROP TABLE t1, t2; +SET SESSION sql_safe_updates=default; diff -Nru mysql-5.7-5.7.23/mysql-test/t/subquery_bugs.test mysql-5.7-5.7.24/mysql-test/t/subquery_bugs.test --- mysql-5.7-5.7.23/mysql-test/t/subquery_bugs.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/t/subquery_bugs.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,59 @@ +--echo # +--echo # Bug#27182010 SUBQUERY INCORRECTLY SHOWS DUPLICATE VALUES ON SUBQUERIES +--echo # + +CREATE TABLE p (Id INT,PRIMARY KEY (Id)); +INSERT INTO p VALUES (1); + +--echo # Test UNIQUE KEY with NULL values +CREATE TABLE s (Id INT, u INT, UNIQUE KEY o(Id, u) ); +INSERT INTO s VALUES (1, NULL),(1, NULL); + +let query1= SELECT p.Id FROM (p) WHERE p.Id IN ( + SELECT s.Id FROM s WHERE Id=1 AND u IS NULL)ORDER BY Id DESC; +let query2= SELECT p.Id FROM (p) WHERE p.Id IN ( + SELECT s.Id FROM s WHERE Id=1 AND u IS NOT NULL) ORDER BY Id DESC; + +eval EXPLAIN $query1; +eval EXPLAIN $query2; + +eval $query1; +eval $query2; + +--echo # UNIQUE KEY without NULL values +CREATE TABLE s1 (Id INT, u INT, UNIQUE KEY o(Id, u) ); +INSERT INTO s1 VALUES (1, 2),(1, 3); + +let query3= SELECT p.Id FROM (p) WHERE p.Id IN ( + SELECT s1.Id FROM s1 WHERE Id=1 AND u IS NOT NULL) ORDER BY Id DESC; +let query4= SELECT p.Id FROM (p) WHERE p.Id IN ( + SELECT s1.Id FROM s1 WHERE Id=1 AND u != 1) ORDER BY Id DESC; + +eval EXPLAIN $query3; +eval EXPLAIN $query4; + +eval $query3; +eval $query4; + +--echo # NON UNIQUE KEY Scenario +CREATE TABLE s2 (Id INT, u INT, KEY o(Id, u) ); +INSERT INTO s2 VALUES (1, NULL),(1, NULL); + +let query5= SELECT p.Id FROM (p) WHERE p.Id IN ( + SELECT s.Id FROM s2 s WHERE Id=1 AND u IS NULL) ORDER BY Id DESC; + +--echo #UNIQUE KEY with NON NULL FIELDS +CREATE TABLE s3 (Id INT NOT NULL, u INT NOT NULL, UNIQUE KEY o(Id, u)); +INSERT INTO s3 VALUES (1, 2),(1, 3); + +let query6= SELECT p.Id FROM (p) WHERE p.Id IN ( + SELECT s.Id FROM s3 s WHERE Id=1 AND u IS NOT NULL) + ORDER BY Id DESC; + +eval EXPLAIN $query5; +eval EXPLAIN $query6; + +eval $query5; +eval $query6; + +DROP TABLE p, s, s1, s2, s3; \ No newline at end of file diff -Nru mysql-5.7-5.7.23/mysql-test/t/type_year.test mysql-5.7-5.7.24/mysql-test/t/type_year.test --- mysql-5.7-5.7.23/mysql-test/t/type_year.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysql-test/t/type_year.test 2018-10-04 05:48:22.000000000 +0000 @@ -197,3 +197,15 @@ SELECT * FROM t1; DROP TABLE t1; SET timestamp=DEFAULT; + +--echo # +--echo # Bug#28172538 YEAR RANGE CHECK FAILS WITH MAX YEAR FLOAT CONSTANT +--echo # +CREATE TABLE t(y YEAR); +INSERT INTO t VALUES (2155), (2155.0); +SELECT * FROM t; +--echo Used to fail +INSERT INTO t VALUES (2155.0E00); +INSERT INTO t VALUES (2.1550E+03); +SELECT * FROM t; +DROP TABLE t; diff -Nru mysql-5.7-5.7.23/mysys/CMakeLists.txt mysql-5.7-5.7.24/mysys/CMakeLists.txt --- mysql-5.7-5.7.23/mysys/CMakeLists.txt 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysys/CMakeLists.txt 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2006, 2017, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2018, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -13,7 +13,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -INCLUDE_DIRECTORIES(${ZLIB_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/mysys) +INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/mysys) SET(MYSYS_SOURCES array.c charset-def.c charset.c checksum.c errors.c hash.c list.c mf_cache.c mf_dirname.c mf_fn_ext.c diff -Nru mysql-5.7-5.7.23/mysys/mf_iocache2.c mysql-5.7-5.7.24/mysys/mf_iocache2.c --- mysql-5.7-5.7.23/mysys/mf_iocache2.c 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/mysys/mf_iocache2.c 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -103,14 +103,14 @@ */ { volatile my_off_t save_pos; - save_pos = my_tell(info->file,MYF(0)); - my_seek(info->file,(my_off_t)0,MY_SEEK_END,MYF(0)); + save_pos = mysql_file_tell(info->file,MYF(0)); + mysql_file_seek(info->file,(my_off_t)0,MY_SEEK_END,MYF(0)); /* Save the value of my_tell in res so we can see it when studying coredump */ DBUG_ASSERT(info->end_of_file - (info->append_read_pos-info->write_buffer) - == (res=my_tell(info->file,MYF(0)))); - my_seek(info->file,save_pos,MY_SEEK_SET,MYF(0)); + == (res=mysql_file_tell(info->file,MYF(0)))); + mysql_file_seek(info->file,save_pos,MY_SEEK_SET,MYF(0)); } #endif res = info->end_of_file + (info->write_pos-info->append_read_pos); @@ -204,7 +204,7 @@ if (info->seek_not_done) { /* File touched, do seek */ - if (my_seek(info->file,pos_in_file,MY_SEEK_SET,MYF(0)) == + if (mysql_file_seek(info->file,pos_in_file,MY_SEEK_SET,MYF(0)) == MY_FILEPOS_ERROR) { info->error= 0; @@ -224,7 +224,7 @@ } DBUG_EXECUTE_IF ("simulate_my_b_fill_error", {DBUG_SET("+d,simulate_file_read_error");}); - if ((length= my_read(info->file,info->buffer,max_length, + if ((length= mysql_file_read(info->file,info->buffer,max_length, info->myflags)) == (size_t) -1) { info->error= -1; @@ -288,7 +288,7 @@ return my_b_tell(info); info->seek_not_done= 1; - return my_seek(info->file, 0L, MY_SEEK_END, MYF(0)); + return mysql_file_seek(info->file, 0L, MY_SEEK_END, MYF(0)); } diff -Nru mysql-5.7-5.7.23/packaging/deb-in/CMakeLists.txt mysql-5.7-5.7.24/packaging/deb-in/CMakeLists.txt --- mysql-5.7-5.7.23/packaging/deb-in/CMakeLists.txt 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/packaging/deb-in/CMakeLists.txt 2018-10-04 05:48:22.000000000 +0000 @@ -46,6 +46,7 @@ ) SET (DEB_CHANGELOG_TIMESTAMP ${DEB_CHANGELOG_TIMESTAMP} CACHE STRING "") ENDIF() + # Commercial or community IF (DEB_PRODUCT STREQUAL "commercial") SET (DEB_COPYRIGHT_UPSTREAMNAME "MySQL Commercial Server ${MYSQL_BASE_VERSION}") @@ -75,6 +76,7 @@ usr/lib/mysql/plugin/authentication_pam.so usr/lib/mysql/plugin/authentication_ldap_sasl.so usr/lib/mysql/plugin/authentication_ldap_simple.so +usr/lib/mysql/plugin/data_masking.so usr/lib/mysql/plugin/keyring_okv.so usr/lib/mysql/plugin/keyring_encrypted_file.so usr/lib/mysql/plugin/openssl_udf.so @@ -88,6 +90,7 @@ usr/lib/mysql/plugin/debug/authentication_pam.so usr/lib/mysql/plugin/debug/authentication_ldap_sasl.so usr/lib/mysql/plugin/debug/authentication_ldap_simple.so +usr/lib/mysql/plugin/debug/data_masking.so usr/lib/mysql/plugin/debug/keyring_okv.so usr/lib/mysql/plugin/debug/keyring_encrypted_file.so usr/lib/mysql/plugin/debug/openssl_udf.so @@ -127,6 +130,46 @@ SET (DEB_REMOVEPATTERN "com.in") ENDIF() +# Generate debug symbol packages (this is done automatically in Debian9+) +SET (DEB_RULES_STRIP_DEFAULT +" +override_dh_strip: + dh_strip -pmysql-${DEB_PRODUCTNAME}-server --dbg-package=mysql-${DEB_PRODUCTNAME}-server-dbgsym + dh_strip -pmysql-${DEB_PRODUCTNAME}-client --dbg-package=mysql-${DEB_PRODUCTNAME}-client-dbgsym + dh_strip -pmysql-${DEB_PRODUCTNAME}-test --dbg-package=mysql-${DEB_PRODUCTNAME}-test-dbgsym + dh_strip -pmysql-server + dh_strip -pmysql-client + dh_strip -pmysql-testsuite + dh_strip -plibmysqlclient20 --dbg-package=libmysqlclient20-dbgsym + dh_strip -plibmysqlclient-dev +") +SET (DEB_CONTROL_DBGSYM_DEFAULT +" +Package: libmysqlclient20-dbgsym +Architecture: any +Section: debug +Depends: libmysqlclient20 (=\${binary:Version}), \${misc:Depends} +Description: Debugging symbols for client library + +Package: mysql-${DEB_PRODUCTNAME}-test-dbgsym +Architecture: any +Section: debug +Depends: mysql-${DEB_PRODUCTNAME}-test (= \${binary:Version}), \${misc:Depends} +Description: Debugging symbols for test suite + +Package: mysql-${DEB_PRODUCTNAME}-server-dbgsym +Architecture: any +Section: debug +Depends: mysql-${DEB_PRODUCTNAME}-server (= \${binary:Version}), \${misc:Depends} +Description: Debugging symbols for server + +Package: mysql-${DEB_PRODUCTNAME}-client-dbgsym +Architecture: any +Section: debug +Depends: mysql-${DEB_PRODUCTNAME}-client (= \${binary:Version}), \${misc:Depends} +Description: Debugging symbols for client +") + # Platform specifics. The differences are generally only distro version # and whether or not systemd and/or apparmor are available IF (DEB_CODENAME STREQUAL "wheezy") @@ -142,6 +185,8 @@ SET (DEB_INSTALL_SERVER_APPARMOR "") SET (DEB_SERVICE_SERVER_EXECPRE "") SET (DEB_INIT_APPARMOR "") + SET (DEB_CONTROL_DBGSYM ${DEB_CONTROL_DBGSYM_DEFAULT}) + SET (DEB_RULES_STRIP ${DEB_RULES_STRIP_DEFAULT}) ELSEIF(DEB_CODENAME STREQUAL "jessie") SET (DEB_PLATFORMRELEASE "debian8") SET (DEB_CONTROL_BDEPS "dh-systemd") @@ -157,6 +202,8 @@ SET (DEB_SERVICE_SERVER_EXECPRE "ExecStartPre=/usr/share/mysql/mysql-systemd-start pre") SET (DEB_INIT_APPARMOR "") + SET (DEB_CONTROL_DBGSYM ${DEB_CONTROL_DBGSYM_DEFAULT}) + SET (DEB_RULES_STRIP ${DEB_RULES_STRIP_DEFAULT}) ELSEIF(DEB_CODENAME STREQUAL "stretch") SET (DEB_PLATFORMRELEASE "debian9") SET (DEB_CONTROL_BDEPS "dh-systemd") @@ -172,6 +219,8 @@ SET (DEB_SERVICE_SERVER_EXECPRE "ExecStartPre=/usr/share/mysql/mysql-systemd-start pre") SET (DEB_INIT_APPARMOR "") + SET (DEB_CONTROL_DBGSYM "") + SET (DEB_RULES_STRIP "") ELSEIF(DEB_CODENAME STREQUAL "sid") IF (DEFINED DEB_GCC_SNAPSHOT) SET (DEB_CMAKE_EXTRAS "${DEB_CMAKE_EXTRAS} -DCMAKE_C_COMPILER=/usr/lib/gcc-snapshot/bin/gcc -DCMAKE_CXX_COMPILER=/usr/lib/gcc-snapshot/bin/g++ -DMYSQL_MAINTAINER_MODE=0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache") @@ -190,6 +239,8 @@ SET (DEB_SERVICE_SERVER_EXECPRE "ExecStartPre=/usr/share/mysql/mysql-systemd-start pre") SET (DEB_INIT_APPARMOR "") + SET (DEB_CONTROL_DBGSYM "") + SET (DEB_RULES_STRIP "") ELSEIF(DEB_CODENAME STREQUAL "trusty") SET (DEB_PLATFORMRELEASE "ubuntu14.04") SET (DEB_CONTROL_BDEPS "dh-apparmor") @@ -205,6 +256,8 @@ SET (DEB_INSTALL_SERVER_APPARMOR "etc/apparmor.d/usr.sbin.mysqld") SET (DEB_SERVICE_SERVER_EXECPRE "") SET (DEB_INIT_APPARMOR "/lib/init/apparmor-profile-load usr.sbin.mysqld") + SET (DEB_CONTROL_DBGSYM ${DEB_CONTROL_DBGSYM_DEFAULT}) + SET (DEB_RULES_STRIP ${DEB_RULES_STRIP_DEFAULT}) ELSEIF(DEB_CODENAME STREQUAL "xenial") SET (DEB_PLATFORMRELEASE "ubuntu16.04") SET (DEB_CONTROL_BDEPS "dh-apparmor, dh-systemd (>=1.5)") @@ -222,6 +275,8 @@ SET (DEB_SERVICE_SERVER_EXECPRE "ExecStartPre=/usr/share/mysql/mysql-systemd-start pre") SET (DEB_INIT_APPARMOR "/lib/apparmor/profile-load usr.sbin.mysqld") + SET (DEB_CONTROL_DBGSYM ${DEB_CONTROL_DBGSYM_DEFAULT}) + SET (DEB_RULES_STRIP ${DEB_RULES_STRIP_DEFAULT}) ELSEIF(DEB_CODENAME STREQUAL "zesty") SET (DEB_PLATFORMRELEASE "ubuntu17.04") SET (DEB_CONTROL_BDEPS "dh-apparmor, dh-systemd (>=1.5)") @@ -239,6 +294,8 @@ SET (DEB_SERVICE_SERVER_EXECPRE "ExecStartPre=/usr/share/mysql/mysql-systemd-start pre") SET (DEB_INIT_APPARMOR "/lib/apparmor/profile-load usr.sbin.mysqld") + SET (DEB_CONTROL_DBGSYM ${DEB_CONTROL_DBGSYM_DEFAULT}) + SET (DEB_RULES_STRIP ${DEB_RULES_STRIP_DEFAULT}) ELSEIF(DEB_CODENAME STREQUAL "artful") SET (DEB_PLATFORMRELEASE "ubuntu17.10") SET (DEB_CONTROL_BDEPS "dh-apparmor, dh-systemd (>=1.5)") @@ -256,6 +313,8 @@ SET (DEB_SERVICE_SERVER_EXECPRE "ExecStartPre=/usr/share/mysql/mysql-systemd-start pre") SET (DEB_INIT_APPARMOR "/lib/apparmor/profile-load usr.sbin.mysqld") + SET (DEB_CONTROL_DBGSYM ${DEB_CONTROL_DBGSYM_DEFAULT}) + SET (DEB_RULES_STRIP ${DEB_RULES_STRIP_DEFAULT}) ELSEIF(DEB_CODENAME STREQUAL "bionic") SET (DEB_PLATFORMRELEASE "ubuntu18.04") SET (DEB_CONTROL_BDEPS "dh-apparmor, dh-systemd (>=1.5)") @@ -273,6 +332,27 @@ SET (DEB_SERVICE_SERVER_EXECPRE "ExecStartPre=/usr/share/mysql/mysql-systemd-start pre") SET (DEB_INIT_APPARMOR "/lib/apparmor/profile-load usr.sbin.mysqld") + SET (DEB_CONTROL_DBGSYM "") + SET (DEB_RULES_STRIP "") +ELSEIF(DEB_CODENAME STREQUAL "cosmic") + SET (DEB_PLATFORMRELEASE "ubuntu18.10") + SET (DEB_CONTROL_BDEPS "dh-apparmor, dh-systemd (>=1.5)") + SET (DEB_INSTALL_SOURCE_XZ "../*.tar.xz usr/src/mysql/") + SET (DEB_RULES_INSTALL_SYSTEMD + "install -m 0755 debian/extra/mysql-systemd-start debian/tmp/usr/share/mysql/") + SET (DEB_RULES_INSTALL_APPARMOR + "install -g root -o root -m 0644 -D debian/extra/apparmor-profile debian/tmp/etc/apparmor.d/usr.sbin.mysqld") + SET (DEB_RULES_APPARMOR_LOAD + "dh_apparmor -pmysql-${DEB_PRODUCTNAME}-server --profile-name=usr.sbin.mysqld") + SET (DEB_RULES_SYSTEMD_ENABLE "dh_systemd_enable --name=mysql") + SET (DEB_RULES_SYSTEMD_START "dh_systemd_start --restart-after-upgrade") + SET (DEB_INSTALL_SERVER_SYSTEMD "usr/share/mysql/mysql-systemd-start") + SET (DEB_INSTALL_SERVER_APPARMOR "etc/apparmor.d/usr.sbin.mysqld") + SET (DEB_SERVICE_SERVER_EXECPRE + "ExecStartPre=/usr/share/mysql/mysql-systemd-start pre") + SET (DEB_INIT_APPARMOR "/lib/apparmor/profile-load usr.sbin.mysqld") + SET (DEB_CONTROL_DBGSYM "") + SET (DEB_RULES_STRIP "") ELSE() MESSAGE(STATUS "Skipping deb packaging on unsupported platform ${DEB_CODENAME}.") diff -Nru mysql-5.7-5.7.23/packaging/deb-in/control.in mysql-5.7-5.7.24/packaging/deb-in/control.in --- mysql-5.7-5.7.23/packaging/deb-in/control.in 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/packaging/deb-in/control.in 2018-10-04 05:48:22.000000000 +0000 @@ -227,4 +227,5 @@ as for embedding into mass-deployed software. MySQL is a trademark of Oracle. +@DEB_CONTROL_DBGSYM@ @DEB_NDB_CONTROL_EXTRAS@ diff -Nru mysql-5.7-5.7.23/packaging/deb-in/libmysqlclient20-dbgsym.install.in mysql-5.7-5.7.24/packaging/deb-in/libmysqlclient20-dbgsym.install.in --- mysql-5.7-5.7.23/packaging/deb-in/libmysqlclient20-dbgsym.install.in 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/packaging/deb-in/libmysqlclient20-dbgsym.install.in 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,18 @@ +# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +# legal +usr/share/mysql/@DEB_INSTALL_LICENSEFILE@ usr/share/doc/libmysqlclient20-dbgsym/ +usr/share/mysql/README usr/share/doc/libmysqlclient20-dbgsym/ diff -Nru mysql-5.7-5.7.23/packaging/deb-in/mysql-packagesource-client-dbgsym.install.in mysql-5.7-5.7.24/packaging/deb-in/mysql-packagesource-client-dbgsym.install.in --- mysql-5.7-5.7.23/packaging/deb-in/mysql-packagesource-client-dbgsym.install.in 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/packaging/deb-in/mysql-packagesource-client-dbgsym.install.in 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,19 @@ +# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +# legal +usr/share/mysql/@DEB_INSTALL_LICENSEFILE@ usr/share/doc/mysql-@DEB_PRODUCTNAME@-client-dbgsym/ +usr/share/mysql/README usr/share/doc/mysql-@DEB_PRODUCTNAME@-client-dbgsym/ + diff -Nru mysql-5.7-5.7.23/packaging/deb-in/mysql-packagesource-server-dbgsym.install.in mysql-5.7-5.7.24/packaging/deb-in/mysql-packagesource-server-dbgsym.install.in --- mysql-5.7-5.7.23/packaging/deb-in/mysql-packagesource-server-dbgsym.install.in 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/packaging/deb-in/mysql-packagesource-server-dbgsym.install.in 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,18 @@ +# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +# legal +usr/share/mysql/@DEB_INSTALL_LICENSEFILE@ usr/share/doc/mysql-@DEB_PRODUCTNAME@-server-dbgsym/ +usr/share/mysql/README usr/share/doc/mysql-@DEB_PRODUCTNAME@-server-dbgsym/ diff -Nru mysql-5.7-5.7.23/packaging/deb-in/mysql-packagesource-test-dbgsym.install.in mysql-5.7-5.7.24/packaging/deb-in/mysql-packagesource-test-dbgsym.install.in --- mysql-5.7-5.7.23/packaging/deb-in/mysql-packagesource-test-dbgsym.install.in 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/packaging/deb-in/mysql-packagesource-test-dbgsym.install.in 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,18 @@ +# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +# legal +usr/share/mysql/@DEB_INSTALL_LICENSEFILE@ usr/share/doc/mysql-@DEB_PRODUCTNAME@-test-dbgsym/ +usr/share/mysql/README usr/share/doc/mysql-@DEB_PRODUCTNAME@-test-dbgsym/ diff -Nru mysql-5.7-5.7.23/packaging/deb-in/rules.in mysql-5.7-5.7.24/packaging/deb-in/rules.in --- mysql-5.7-5.7.23/packaging/deb-in/rules.in 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/packaging/deb-in/rules.in 2018-10-04 05:48:22.000000000 +0000 @@ -69,6 +69,8 @@ make test || true touch $@ +@DEB_RULES_STRIP@ + override_dh_auto_install: @echo "RULES.$@" diff -Nru mysql-5.7-5.7.23/packaging/rpm-docker/mysql.spec.in mysql-5.7-5.7.24/packaging/rpm-docker/mysql.spec.in --- mysql-5.7-5.7.23/packaging/rpm-docker/mysql.spec.in 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/packaging/rpm-docker/mysql.spec.in 2018-10-04 05:48:22.000000000 +0000 @@ -324,6 +324,7 @@ %attr(755, root, root) %{_libdir}/mysql/plugin/audit_log.so %attr(644, root, root) %{_datadir}/mysql/audit_log_filter_linux_install.sql %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_pam.so +%attr(755, root, root) %{_libdir}/mysql/plugin/data_masking.so %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_encrypted_file.so %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_okv.so %attr(755, root, root) %{_libdir}/mysql/plugin/thread_pool.so diff -Nru mysql-5.7-5.7.23/packaging/rpm-fedora/mysql.spec.in mysql-5.7-5.7.24/packaging/rpm-fedora/mysql.spec.in --- mysql-5.7-5.7.23/packaging/rpm-fedora/mysql.spec.in 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/packaging/rpm-fedora/mysql.spec.in 2018-10-04 05:48:22.000000000 +0000 @@ -105,6 +105,11 @@ %if 0%{?fedora} > 24 BuildRequires: perl-generators %endif +%if 0%{?fedora} > 28 +BuildRequires: compat-openssl10-devel +%else +BuildRequires: openssl-devel +%endif BuildRequires: time BuildRequires: cyrus-sasl-devel BuildRequires: libaio-devel @@ -113,7 +118,6 @@ BuildRequires: ncurses-devel BuildRequires: numactl-devel BuildRequires: openldap-devel -BuildRequires: openssl-devel BuildRequires: zlib-devel BuildRequires: systemd BuildRequires: pkgconfig(systemd) @@ -163,6 +167,7 @@ Obsoletes: mysql-bench Obsoletes: mariadb-backup Obsoletes: mariadb-bench +Obsoletes: mariadb-connector-c-config Obsoletes: mariadb-cracklib-password-check Obsoletes: mariadb-gssapi-server Obsoletes: mariadb-rocksdb-engine diff -Nru mysql-5.7-5.7.23/packaging/rpm-oel/mysql.init mysql-5.7-5.7.24/packaging/rpm-oel/mysql.init --- mysql-5.7-5.7.23/packaging/rpm-oel/mysql.init 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/packaging/rpm-oel/mysql.init 2018-10-04 05:48:22.000000000 +0000 @@ -175,7 +175,7 @@ fi MYSQLPID=$(cat "$mypidfile") if [ -n "$MYSQLPID" ]; then - /bin/kill "$MYSQLPID" >/dev/null 2>&1 + /bin/su - mysql -s /bin/bash -c "/bin/kill $MYSQLPID" >/dev/null 2>&1 ret=$? if [ $ret -eq 0 ]; then TIMEOUT="$STOPTIMEOUT" diff -Nru mysql-5.7-5.7.23/packaging/rpm-oel/mysql.spec.in mysql-5.7-5.7.24/packaging/rpm-oel/mysql.spec.in --- mysql-5.7-5.7.23/packaging/rpm-oel/mysql.spec.in 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/packaging/rpm-oel/mysql.spec.in 2018-10-04 05:48:22.000000000 +0000 @@ -1061,6 +1061,7 @@ %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_pam.so %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_ldap_sasl.so %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_ldap_simple.so +%attr(755, root, root) %{_libdir}/mysql/plugin/data_masking.so %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_okv.so %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_encrypted_file.so %attr(755, root, root) %{_libdir}/mysql/plugin/thread_pool.so @@ -1071,6 +1072,7 @@ %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_pam.so %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_ldap_sasl.so %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_ldap_simple.so +%attr(755, root, root) %{_libdir}/mysql/plugin/debug/data_masking.so %attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_okv.so %attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_encrypted_file.so %attr(755, root, root) %{_libdir}/mysql/plugin/debug/thread_pool.so diff -Nru mysql-5.7-5.7.23/packaging/rpm-sles/mysql.init mysql-5.7-5.7.24/packaging/rpm-sles/mysql.init --- mysql-5.7-5.7.23/packaging/rpm-sles/mysql.init 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/packaging/rpm-sles/mysql.init 2018-10-04 05:48:22.000000000 +0000 @@ -199,7 +199,7 @@ # We use a signal to avoid having to know the root password # Send single kill command and then wait - if kill $pid >/dev/null 2>&1; then + if su - mysql -s /bin/bash -c "kill $pid" >/dev/null 2>&1; then timer=$STOPTIMEOUT while [ $timer -gt 0 ]; do kill -0 $pid >/dev/null 2>&1 || break @@ -232,7 +232,7 @@ ret=0 if chk_running && mysqladmin --no-defaults --socket="$socket" ping >/dev/null 2>&1 ; then pid=$(cat "$pidfile") - kill -HUP $pid >/dev/null 2>&1 + su - mysql -s /bin/bash -c "kill -HUP $pid" >/dev/null 2>&1 echo -n "Reloading service MySQL:" rc_reset else diff -Nru mysql-5.7-5.7.23/packaging/rpm-sles/mysql.spec.in mysql-5.7-5.7.24/packaging/rpm-sles/mysql.spec.in --- mysql-5.7-5.7.23/packaging/rpm-sles/mysql.spec.in 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/packaging/rpm-sles/mysql.spec.in 2018-10-04 05:48:22.000000000 +0000 @@ -862,6 +862,7 @@ %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_pam.so %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_ldap_sasl.so %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_ldap_simple.so +%attr(755, root, root) %{_libdir}/mysql/plugin/data_masking.so %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_okv.so %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_encrypted_file.so %attr(755, root, root) %{_libdir}/mysql/plugin/thread_pool.so @@ -872,6 +873,7 @@ %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_pam.so %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_ldap_sasl.so %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_ldap_simple.so +%attr(755, root, root) %{_libdir}/mysql/plugin/debug/data_masking.so %attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_okv.so %attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_encrypted_file.so %attr(755, root, root) %{_libdir}/mysql/plugin/debug/thread_pool.so diff -Nru mysql-5.7-5.7.23/packaging/WiX/mysql_server.wxs.in mysql-5.7-5.7.24/packaging/WiX/mysql_server.wxs.in --- mysql-5.7-5.7.23/packaging/WiX/mysql_server.wxs.in 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/packaging/WiX/mysql_server.wxs.in 2018-10-04 05:48:22.000000000 +0000 @@ -39,6 +39,9 @@ + + + @@ -137,6 +140,13 @@ INSTALLDIR2 + + + + + (NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL") AND (NOT MYSQL_INSTALLER="YES") + diff -Nru mysql-5.7-5.7.23/plugin/semisync/semisync_master_ack_receiver.cc mysql-5.7-5.7.24/plugin/semisync/semisync_master_ack_receiver.cc --- mysql-5.7-5.7.23/plugin/semisync/semisync_master_ack_receiver.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/plugin/semisync/semisync_master_ack_receiver.cc 2018-10-04 05:48:22.000000000 +0000 @@ -128,7 +128,9 @@ const char *kWho = "Ack_receiver::add_slave"; function_enter(kWho); - slave.thd= thd; + slave.thread_id= thd->thread_id(); + slave.server_id= thd->server_id; + slave.net_compress= thd->get_protocol_classic()->get_compression(); slave.vio= *thd->get_protocol_classic()->get_vio(); slave.vio.mysql_socket.m_psi= NULL; slave.vio.read_timeout= 1; @@ -163,7 +165,7 @@ for (it= m_slaves.begin(); it != m_slaves.end(); it++) { - if (it->thd == thd) + if (it->thread_id == thd->thread_id()) { m_slaves.erase(it); m_slaves_changed= true; @@ -202,11 +204,7 @@ NET net; unsigned char net_buff[REPLY_MESSAGE_MAX_LENGTH]; uint i; -#ifdef HAVE_POLL - Poll_socket_listener listener(m_slaves); -#else - Select_socket_listener listener(m_slaves); -#endif //HAVE_POLL + Socket_listener listener; sql_print_information("Starting ack receiver thread"); @@ -234,14 +232,14 @@ mysql_mutex_unlock(&m_mutex); continue; } - if (!listener.init_slave_sockets()) + if (!listener.init_slave_sockets(m_slaves)) goto end; m_slaves_changed= false; } + mysql_mutex_unlock(&m_mutex); ret= listener.listen_on_sockets(); if (ret <= 0) { - mysql_mutex_unlock(&m_mutex); ret= DBUG_EVALUATE_IF("rpl_semisync_simulate_select_error", -1, ret); @@ -255,33 +253,32 @@ set_stage_info(stage_reading_semi_sync_ack); i= 0; - while (i < m_slaves.size()) + while (i < listener.number_of_slave_sockets() && m_status == ST_UP) { if (listener.is_socket_active(i)) { + Slave slave_obj= listener.get_slave_obj(i); ulong len; - net.vio= &m_slaves[i].vio; + net.vio= &slave_obj.vio; /* Set compress flag. This is needed to support Slave_compress_protocol flag enabled Slaves */ - net.compress= - m_slaves[i].thd->get_protocol_classic()->get_compression(); + net.compress= slave_obj.net_compress; do { net_clear(&net, 0); len= my_net_read(&net); if (likely(len != packet_error)) - repl_semisync.reportReplyPacket(m_slaves[i].server_id(), + repl_semisync.reportReplyPacket(slave_obj.server_id, net.read_pos, len); else if (net.last_errno == ER_NET_READ_ERROR) listener.clear_socket_info(i); - } while (net.vio->has_data(net.vio)); + } while (net.vio->has_data(net.vio) && m_status == ST_UP); } i++; } - mysql_mutex_unlock(&m_mutex); } end: sql_print_information("Stopping ack receiver thread"); diff -Nru mysql-5.7-5.7.23/plugin/semisync/semisync_master_ack_receiver.h mysql-5.7-5.7.24/plugin/semisync/semisync_master_ack_receiver.h --- mysql-5.7-5.7.23/plugin/semisync/semisync_master_ack_receiver.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/plugin/semisync/semisync_master_ack_receiver.h 2018-10-04 05:48:22.000000000 +0000 @@ -23,11 +23,12 @@ struct Slave { - THD *thd; + uint32_t thread_id; Vio vio; + uint server_id; + bool net_compress; my_socket sock_fd() const { return vio.mysql_socket.fd; } - uint server_id() const { return thd->server_id; } }; typedef std::vector Slave_vector; diff -Nru mysql-5.7-5.7.23/plugin/semisync/semisync_master_socket_listener.h mysql-5.7-5.7.24/plugin/semisync/semisync_master_socket_listener.h --- mysql-5.7-5.7.23/plugin/semisync/semisync_master_socket_listener.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/plugin/semisync/semisync_master_socket_listener.h 2018-10-04 05:48:22.000000000 +0000 @@ -24,8 +24,7 @@ class Poll_socket_listener { public: - Poll_socket_listener(const Slave_vector &slaves) - :m_slaves(slaves) + Poll_socket_listener() { } @@ -45,8 +44,9 @@ m_fds[index].events= 0; } - bool init_slave_sockets() + bool init_slave_sockets(Slave_vector slaves) { + m_slaves= slaves; m_fds.clear(); for (uint i= 0; i < m_slaves.size(); i++) { @@ -57,19 +57,29 @@ } return true; } + uint number_of_slave_sockets() + { + return m_slaves.size(); + } + + Slave get_slave_obj(int index) + { + return m_slaves[index]; + } private: - const Slave_vector &m_slaves; + Slave_vector m_slaves; std::vector m_fds; }; +typedef class Poll_socket_listener Socket_listener; #else //NO POLL class Select_socket_listener { public: - Select_socket_listener(const Slave_vector &slaves) - :m_slaves(slaves), m_max_fd(INVALID_SOCKET) + Select_socket_listener() + :m_max_fd(INVALID_SOCKET) { } @@ -92,8 +102,9 @@ FD_CLR(m_slaves[index].sock_fd(), &m_init_fds); } - bool init_slave_sockets() + bool init_slave_sockets(Slave_vector slaves) { + m_slaves= slaves; FD_ZERO(&m_init_fds); for (uint i= 0; i < m_slaves.size(); i++) { @@ -112,13 +123,23 @@ } return true; } + uint number_of_slave_sockets() + { + return m_slaves.size(); + } + + Slave get_slave_obj(int index) + { + return m_slaves[index]; + } private: - const Slave_vector &m_slaves; + Slave_vector m_slaves; my_socket m_max_fd; fd_set m_init_fds; fd_set m_fds; }; +typedef class Select_socket_listener Socket_listener; #endif //HAVE_POLL #endif //SEMISYNC_MASTER_SOCKET_LISTENER diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/include/gcs_view_modification_notifier.h mysql-5.7-5.7.24/rapid/plugin/group_replication/include/gcs_view_modification_notifier.h --- mysql-5.7-5.7.23/rapid/plugin/group_replication/include/gcs_view_modification_notifier.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/include/gcs_view_modification_notifier.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -53,6 +53,15 @@ bool is_injected_view_modification(); /** + Checks if there is a view modification ongoing. + + @return + @retval true there is a view modification ongoing + @retval false otherwise + */ + bool is_view_modification_ongoing(); + + /** Signals that a view modification has ended */ void end_view_modification(); diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/include/plugin.h mysql-5.7-5.7.24/rapid/plugin/group_replication/include/plugin.h --- mysql-5.7-5.7.23/rapid/plugin/group_replication/include/plugin.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/include/plugin.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -46,6 +46,20 @@ }; typedef st_mysql_sys_var SYS_VAR; +/** + An enum that represents the possible values of the + group_replication_exit_state_action sysvar. +*/ +enum enum_exit_state_action { + /** + When configured to READ_ONLY, the server will go into super_read_only mode + and enter the ERROR GR state. + */ + EXIT_STATE_ACTION_READ_ONLY = 0, + /** When configured to ABORT_SERVER, the server will abort(). */ + EXIT_STATE_ACTION_ABORT_SERVER +}; + //Plugin variables extern const char *group_replication_plugin_name; extern char *group_name_var; @@ -57,6 +71,7 @@ extern bool known_server_reset; //Certification latch extern Wait_ticket *certification_latch; +extern ulong exit_state_action_var; //The modules extern Gcs_operations *gcs_module; diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/include/plugin_utils.h mysql-5.7-5.7.24/rapid/plugin/group_replication/include/plugin_utils.h --- mysql-5.7-5.7.23/rapid/plugin/group_replication/include/plugin_utils.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/include/plugin_utils.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -26,6 +26,8 @@ void log_primary_member_details(); +void abort_plugin_process(const char *message); + class Blocked_transaction_handler { public: diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_control_interface.cc mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_control_interface.cc --- mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_control_interface.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_control_interface.cc 2018-10-04 05:48:22.000000000 +0000 @@ -154,6 +154,8 @@ m_join_attempts(0), m_join_sleep_time(0), m_xcom_running(false), + m_leave_view_requested(false), + m_leave_view_delivered(false), m_boot(boot), m_initial_peers(), m_view_control(view_control), @@ -464,8 +466,17 @@ xcom_port port= 0; char *addr= NULL; std::vector::iterator it; - std::string *local_node_info_str= - m_local_node_info->get_member_representation(); + std::string local_node_info_str_ip; + bool resolve_error = false; + resolve_error = resolve_ip_addr_from_hostname( + m_local_node_info->get_member_ip(), local_node_info_str_ip); + + if (resolve_error) + { + MYSQL_GCS_LOG_ERROR("Error resolving local address name: " + << m_local_node_info->get_member_ip().c_str()) + goto err; + } while(con == NULL && n < Gcs_xcom_proxy::connection_attempts) { @@ -474,18 +485,27 @@ it++) { Gcs_xcom_group_member_information *peer= *(it); - std::string *peer_rep= peer->get_member_representation(); + std::string peer_rep_ip; + + resolve_error = + resolve_ip_addr_from_hostname(peer->get_member_ip(), peer_rep_ip); + if (resolve_error) + { + MYSQL_GCS_LOG_WARN("Unable to resolve peer address " + << peer->get_member_ip().c_str() + << ". Skipping...") + continue; + } - if(peer_rep->compare(*local_node_info_str) == 0) + if (peer_rep_ip.compare(local_node_info_str_ip) == 0 && + peer->get_member_port() == m_local_node_info->get_member_port()) { MYSQL_GCS_LOG_TRACE( "::join():: Skipping own address." ) // Skip own address if configured in the peer list - delete peer_rep; continue; } - delete peer_rep; port= peer->get_member_port(); addr= (char *)peer->get_member_ip().c_str(); @@ -506,10 +526,6 @@ n++; } - // Not needed anymore since it was only used in the loop - // above. As such, claim back memory. - delete local_node_info_str; - if (con != NULL) { if(m_socket_util->disable_nagle_in_socket(con->fd) < 0) @@ -670,6 +686,9 @@ return GCS_NOK; } + m_leave_view_delivered = false; + m_leave_view_requested = true; + m_xcom_proxy->xcom_client_remove_node(&m_node_list_me, m_gid_hash); /* @@ -723,43 +742,7 @@ m_view_control->end_leave(); - /* - There is no need to synchronize here and this method can access - the current_view member stored in the view controller directly. - */ - Gcs_view *current_view= m_view_control->get_unsafe_current_view(); - - if(current_view == NULL) - { - /* - XCOM has stopped but will not proceed with any view install. The - current view might be NULL due to the fact that the view with - the join still hasn't been delivered. - */ - MYSQL_GCS_LOG_WARN("The member has left the group but the new view" << - " will not be installed, probably because it has not" << - " been delivered yet.") - /* - If the node leaves and joins within a 5 second window, it may not - get a global view. See BUG#23718481. - */ - My_xp_util::sleep_seconds(5); - - return GCS_OK; - } - - /* - Notify that the node has left the group because someone has - requested to do so. - */ - install_leave_view(Gcs_view::OK); - - /* - Set that the node does not belong to a group anymore. Note there - is a small window when the node does not belong to the group - anymore but the view is not NULL. - */ - m_view_control->set_belongs_to_group(false); + do_leave_view(); /* Delete current view and set it to NULL. @@ -775,6 +758,30 @@ return GCS_OK; } +void Gcs_xcom_control::do_leave_view() { + /* + There is no need to synchronize here and this method can access + the current_view member stored in the view controller directly. + */ + Gcs_view *current_view = m_view_control->get_unsafe_current_view(); + + if (current_view != NULL && !m_leave_view_delivered) { + MYSQL_GCS_LOG_DEBUG("Will install leave view: requested " << + m_leave_view_requested << ", delivered " << + m_leave_view_delivered); + install_leave_view(m_leave_view_requested ? Gcs_view::OK + : Gcs_view::MEMBER_EXPELLED); + if (m_leave_view_requested) { + m_view_control->set_belongs_to_group(false); + } + + m_leave_view_delivered = m_leave_view_requested; + + MYSQL_GCS_LOG_DEBUG("Installed leave view: requested " << + m_leave_view_requested << ", delivered " << + m_leave_view_delivered); + } +} bool Gcs_xcom_control::belongs_to_group() { diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_control_interface.h mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_control_interface.h --- mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_control_interface.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_control_interface.h 2018-10-04 05:48:22.000000000 +0000 @@ -121,6 +121,12 @@ */ enum_gcs_error do_leave(); + /** + Sends a leave view message to inform that XCOM has already exited or + is about to do so. + */ + void do_leave_view(); + bool belongs_to_group(); Gcs_view *get_current_view(); @@ -368,6 +374,17 @@ */ bool m_xcom_running; + /* + Whether it was requested to make the node leave the group or not. + */ + bool m_leave_view_requested; + + /* + Whether a view saying that the node has voluntarily left the group + was delivered or not. + */ + bool m_leave_view_delivered; + /* Whether this site boots the group or not. */ bool m_boot; diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_interface.cc mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_interface.cc --- mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_interface.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_interface.cc 2018-10-04 05:48:22.000000000 +0000 @@ -81,6 +81,8 @@ void cb_xcom_comms(int status); void cb_xcom_ready(int status); void cb_xcom_exit(int status); +void cb_xcom_expel(int status); + synode_no cb_xcom_get_app_snap(blob *gcs_snap); void cb_xcom_handle_app_snap(blob *gcs_snap); int cb_xcom_socket_accept(int fd, site_def const *xcom_config); @@ -466,6 +468,23 @@ } } +void Gcs_xcom_interface::make_gcs_leave_group_on_error() +{ + Gcs_group_identifier *group_identifier = NULL; + map::iterator xcom_configured_groups_it; + Gcs_xcom_interface *intf = + static_cast(Gcs_xcom_interface::get_interface()); + + for (xcom_configured_groups_it = m_xcom_configured_groups.begin(); + xcom_configured_groups_it != m_xcom_configured_groups.end(); + xcom_configured_groups_it++) + { + group_identifier = (*xcom_configured_groups_it).second; + Gcs_xcom_control *control_if = static_cast( + intf->get_control_session(*group_identifier)); + control_if->do_leave_view(); + } +} enum_gcs_error Gcs_xcom_interface::finalize() { @@ -787,6 +806,7 @@ ::set_xcom_run_cb(cb_xcom_ready); ::set_xcom_comms_cb(cb_xcom_comms); ::set_xcom_exit_cb(cb_xcom_exit); + ::set_xcom_expel_cb(cb_xcom_expel); ::set_xcom_socket_accept_cb(cb_xcom_socket_accept); const std::string *wait_time_str= @@ -1470,6 +1490,31 @@ xcom_proxy->xcom_signal_exit(); } +void do_cb_xcom_expel() { + Gcs_xcom_interface *intf = + static_cast(Gcs_xcom_interface::get_interface()); + if (intf) { + intf->make_gcs_leave_group_on_error(); + } +} + +/* + Callback function used by XCom to signal that a node has left the group + because of a `die_op` or a view where the node does not belong to. +*/ +void cb_xcom_expel(int status MY_ATTRIBUTE((unused))) { + Gcs_xcom_notification *notification = + new Expel_notification(do_cb_xcom_expel); + + bool scheduled = gcs_engine->push(notification); + if (!scheduled) { + MYSQL_GCS_LOG_DEBUG( + "Tried to enqueue an expel request but the member is about to stop.") + delete notification; + } else { + MYSQL_GCS_LOG_TRACE("Expel view notification: " << notification) + } +} void cb_xcom_logger(int level, const char *message) { diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_interface.h mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_interface.h --- mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_interface.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_interface.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -165,6 +165,11 @@ void finalize_xcom(); + /** + Triggers the termination of GCS when an error has caused XCom to terminate + unexpectedly. + */ + void make_gcs_leave_group_on_error(); /** Used to initialize SSL assuming that the necessary parameters have already diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_notification.cc mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_notification.cc --- mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_notification.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_notification.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -129,6 +129,16 @@ } +Expel_notification::Expel_notification(xcom_expel_functor *functor) + : m_functor(functor) {} + + +Expel_notification::~Expel_notification() {} + + +void Expel_notification::do_execute() { (*m_functor)(); } + + Control_notification::Control_notification(xcom_control_functor* functor, Gcs_control_interface *control_if) : m_functor(functor), m_control_if(control_if) { } diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_notification.h mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_notification.h --- mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_notification.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_notification.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -645,4 +645,44 @@ Control_notification(Control_notification const&); Control_notification& operator=(Control_notification const&); }; + +typedef void(xcom_expel_functor)(void); + +/** + Notification used to inform that the node has been expelled or is about + to be. +*/ +class Expel_notification : public Parameterized_notification { + public: + /** + Constructor for Expel_notification. + @param functor Pointer to a function that contains that actual core of + the execution. + */ + explicit Expel_notification(xcom_expel_functor *functor); + + /** + Destructor for Expel_notification. + */ + ~Expel_notification(); + + private: + /** + Task implemented by this notification. + */ + void do_execute(); + + /* + Pointer to a function that contains that actual core of the execution. + */ + xcom_expel_functor *m_functor; + + /* + Disabling the copy constructor and assignment operator. + */ + Expel_notification(Expel_notification const &); + Expel_notification &operator=(Expel_notification const &); + +}; + #endif // GCS_XCOM_NOTIFICATION_INCLUDED diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_state_exchange.cc mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_state_exchange.cc --- mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_state_exchange.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_state_exchange.cc 2018-10-04 05:48:22.000000000 +0000 @@ -618,7 +618,7 @@ return false; } - m_member_states[p_id]= ms_info; + save_member_state(ms_info, p_id); /* The rule of updating the awaited_vector at receiving is simply to @@ -647,6 +647,17 @@ std::copy(in.begin(), in.end(), std::inserter(pset, pset.begin())); } +void Gcs_xcom_state_exchange::save_member_state( + Xcom_member_state *ms_info, const Gcs_member_identifier &p_id) { + /* m_member_states[p_id] may already exist. In that case we delete the + * existing pointer, otherwise it leaks. */ + std::map::iterator + member_state_it = m_member_states.find(p_id); + bool const state_already_exists = (member_state_it != m_member_states.end()); + if (state_already_exists) delete member_state_it->second; + m_member_states[p_id] = ms_info; +} + Gcs_xcom_view_identifier * Gcs_xcom_state_exchange::get_new_view_id() diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_state_exchange.h mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_state_exchange.h --- mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_state_exchange.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_state_exchange.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -506,6 +506,16 @@ void fill_member_set(std::vector &in, std::set &pset); + /** + * Stores the member's state and protocol version. + * + * @param ms_info state + * @param p_id member + * @param protocol_version protocol version + */ + void save_member_state(Xcom_member_state *ms_info, + const Gcs_member_identifier &p_id); + Gcs_communication_interface *m_broadcaster; std::map m_awaited_vector; diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/app_data.c mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/app_data.c --- mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/app_data.c 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/app_data.c 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,8 +33,7 @@ #include "node_list.h" #include "xcom_vp_str.h" -define_xdr_funcs(synode_no) -define_xdr_funcs(app_data_ptr) +clone_xdr_array(synode_no) static app_data_list nextp(app_data_list l); static unsigned long msg_count(app_data_ptr a); diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/site_def.c mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/site_def.c --- mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/site_def.c 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/site_def.c 2018-10-04 05:48:22.000000000 +0000 @@ -45,7 +45,9 @@ }; typedef struct site_def_ptr_array site_def_ptr_array; -define_xdr_funcs(site_def_ptr) +init_xdr_array(site_def_ptr) +free_xdr_array(site_def_ptr) +set_xdr_array(site_def_ptr) /* FIFO of site definitions */ static site_def_ptr_array site_defs; diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/synode_no.c mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/synode_no.c --- mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/synode_no.c 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/synode_no.c 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -60,8 +60,6 @@ } /* purecov: begin deadcode */ -define_xdr_funcs(synode_no) - synode_no vp_count_to_synode(u_long high, u_long low, node_no nodeid, uint32_t groupid) { diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/task.c mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/task.c --- mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/task.c 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/task.c 2018-10-04 05:48:22.000000000 +0000 @@ -87,8 +87,14 @@ task_env_p *task_env_p_array_val; } task_env_p_array; -define_xdr_funcs(pollfd) -define_xdr_funcs(task_env_p) +init_xdr_array(pollfd) +free_xdr_array(pollfd) +set_xdr_array(pollfd) +get_xdr_array(pollfd) +init_xdr_array(task_env_p) +free_xdr_array(task_env_p) +set_xdr_array(task_env_p) +get_xdr_array(task_env_p) struct iotasks { int nwait; diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_base.c mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_base.c --- mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_base.c 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_base.c 2018-10-04 05:48:22.000000000 +0000 @@ -506,9 +506,6 @@ return FALSE; } -define_xdr_funcs(node_no) - - extern node_set *init_node_set(node_set *set, u_int n); extern node_set *alloc_node_set(node_set *set, u_int n); @@ -1067,6 +1064,7 @@ static xcom_state_change_cb xcom_terminate_cb = 0; static xcom_state_change_cb xcom_comms_cb = 0; static xcom_state_change_cb xcom_exit_cb = 0; +static xcom_state_change_cb xcom_expel_cb = 0; void set_xcom_run_cb(xcom_state_change_cb x) { @@ -1088,6 +1086,11 @@ xcom_exit_cb = x; } +void set_xcom_expel_cb(xcom_state_change_cb x) +{ + xcom_expel_cb = x; +} + int xcom_taskmain2(xcom_port listen_port) { init_xcom_transport(listen_port); @@ -2224,6 +2227,7 @@ { XCOM_FSM(xa_terminate, int_arg(0)); /* Tell xcom to stop */ XCOM_FSM(xa_exit, int_arg(0)); /* Tell xcom to exit */ + if (xcom_expel_cb) xcom_expel_cb(0); } int terminator_task(task_arg arg) @@ -3877,10 +3881,11 @@ vector), but I am not convinced that it is worth the effort. */ if(!synode_lt(p->synode, executed_msg)){ - g_critical("Node %u unable to get message, process will now exit. Please ensure that the process is restarted", - get_nodeno(site)); - exit(1); - } + g_critical("Node %u unable to get messages, since the " + "group is too far ahead. Node will now exit.", + get_nodeno(site)); + terminate_and_exit(); + } default: break; } diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_base.h mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_base.h --- mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_base.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_base.h 2018-10-04 05:48:22.000000000 +0000 @@ -186,6 +186,7 @@ void set_xcom_run_cb(xcom_state_change_cb x); void set_xcom_terminate_cb(xcom_state_change_cb x); void set_xcom_exit_cb(xcom_state_change_cb x); +void set_xcom_expel_cb(xcom_state_change_cb x); app_data_ptr init_config_with_group(app_data *a, node_list *nl, cargo_type type, uint32_t group_id); diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_recover.c mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_recover.c --- mysql-5.7-5.7.23/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_recover.c 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_recover.c 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -45,9 +45,6 @@ int netboot_ok = 0; int booting = 0; -define_xdr_funcs(synode_no) -define_xdr_funcs(app_data_ptr) - /* purecov: begin deadcode */ void init_recover_vars() { diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/src/applier.cc mysql-5.7-5.7.24/rapid/plugin/group_replication/src/applier.cc --- mysql-5.7-5.7.23/rapid/plugin/group_replication/src/applier.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/src/applier.cc 2018-10-04 05:48:22.000000000 +0000 @@ -683,6 +683,11 @@ Group_member_info::MEMBER_ERROR); bool set_read_mode= false; + if (view_change_notifier != NULL && + !view_change_notifier->is_view_modification_ongoing()) + { + view_change_notifier->start_view_modification(); + } Gcs_operations::enum_leave_state state= gcs_module->leave(); int error= channel_stop_all(CHANNEL_APPLIER_THREAD|CHANNEL_RECEIVER_THREAD, @@ -745,6 +750,30 @@ enable_server_read_mode(PSESSION_USE_THREAD); } + if (view_change_notifier != NULL) + { + log_message(MY_INFORMATION_LEVEL, "Going to wait for view modification"); + if (view_change_notifier->wait_for_view_modification()) + { + log_message(MY_ERROR_LEVEL, "On shutdown there was a timeout receiving a " + "view change. This can lead to a possible " + "inconsistent state. Check the log for more " + "details"); + } + } + + /* + Only abort() if we successfully asked to leave() the group (and we have + group_replication_exit_state_action set to ABORT_SERVER). + We don't want to abort() during the execution of START GROUP_REPLICATION or + STOP GROUP_REPLICATION. + */ + if (set_read_mode && + exit_state_action_var == EXIT_STATE_ACTION_ABORT_SERVER) + { + abort_plugin_process("Fatal error during execution of Group Replication"); + } + DBUG_VOID_RETURN; } diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/src/gcs_view_modification_notifier.cc mysql-5.7-5.7.24/rapid/plugin/group_replication/src/gcs_view_modification_notifier.cc --- mysql-5.7-5.7.23/rapid/plugin/group_replication/src/gcs_view_modification_notifier.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/src/gcs_view_modification_notifier.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -63,6 +63,15 @@ mysql_mutex_unlock(&wait_for_view_mutex); return result; } + +bool +Plugin_gcs_view_modification_notifier::is_view_modification_ongoing() +{ + mysql_mutex_lock(&wait_for_view_mutex); + bool result = view_changing; + mysql_mutex_unlock(&wait_for_view_mutex); + return result; +} void Plugin_gcs_view_modification_notifier::end_view_modification() diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/src/group_partition_handling.cc mysql-5.7-5.7.24/rapid/plugin/group_replication/src/group_partition_handling.cc --- mysql-5.7-5.7.23/rapid/plugin/group_replication/src/group_partition_handling.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/src/group_partition_handling.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -148,6 +148,11 @@ if (set_read_mode) enable_server_read_mode(PSESSION_INIT_THREAD); + if (exit_state_action_var == EXIT_STATE_ACTION_ABORT_SERVER) + { + abort_plugin_process("Fatal error during execution of Group Replication"); + } + DBUG_VOID_RETURN; } diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/src/member_info.cc mysql-5.7-5.7.24/rapid/plugin/group_replication/src/member_info.cc --- mysql-5.7-5.7.23/rapid/plugin/group_replication/src/member_info.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/src/member_info.cc 2018-10-04 05:48:22.000000000 +0000 @@ -41,7 +41,7 @@ gtid_assignment_block_size(gtid_assignment_block_size_arg), unreachable(false), role(role_arg), - configuration_flags(0), conflict_detection_enable(false), + configuration_flags(0), conflict_detection_enable(!in_single_primary_mode), member_weight(member_weight_arg), lower_case_table_names(lower_case_table_names_arg) { @@ -880,16 +880,17 @@ { std::stringstream hosts_string; map::iterator all_members_it= members->begin(); + bool first_entry = true; while (all_members_it != members->end()) { Group_member_info* member_info= (*all_members_it).second; - if (member_info->get_recovery_status() == Group_member_info::MEMBER_ONLINE || - member_info->get_recovery_status() == Group_member_info::MEMBER_IN_RECOVERY) - hosts_string << member_info->get_hostname() << ":" << member_info->get_port(); + if (!first_entry) + hosts_string << ", "; + else + first_entry = false; + hosts_string << member_info->get_hostname() << ":" << member_info->get_port(); all_members_it++; - if (all_members_it != members->end()) - hosts_string<<", "; } return hosts_string.str(); diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/src/observer_server_state.cc mysql-5.7-5.7.24/rapid/plugin/group_replication/src/observer_server_state.cc --- mysql-5.7-5.7.23/rapid/plugin/group_replication/src/observer_server_state.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/src/observer_server_state.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -54,8 +54,7 @@ int group_replication_after_server_shutdown(Server_state_param *param) { server_shutdown_status= true; - if (plugin_is_group_replication_running()) - group_replication_stop(); + plugin_group_replication_stop(); return 0; } diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/src/plugin.cc mysql-5.7-5.7.24/rapid/plugin/group_replication/src/plugin.cc --- mysql-5.7-5.7.23/rapid/plugin/group_replication/src/plugin.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/src/plugin.cc 2018-10-04 05:48:22.000000000 +0000 @@ -159,6 +159,12 @@ /* The timeout before going to error when majority becomes unreachable */ ulong timeout_on_unreachable_var= 0; +/* + Exit state action that is executed when a server involuntarily leaves the + group. +*/ +ulong exit_state_action_var; + /** The default value for auto_increment_increment is choosen taking into account the maximum usable values for each possible auto_increment_increment @@ -352,6 +358,12 @@ Mutex_autolock auto_lock_mutex(&plugin_running_mutex); + DBUG_EXECUTE_IF("group_replication_wait_on_start", + { + const char act[]= "now signal signal.start_waiting wait_for signal.start_continue"; + DBUG_ASSERT(!debug_sync_set_action(current_thd, STRING_WITH_LEN(act))); + }); + if (plugin_is_group_replication_running()) DBUG_RETURN(GROUP_REPLICATION_ALREADY_RUNNING); if (check_if_server_properly_configured()) @@ -602,6 +614,18 @@ set_read_mode_state(sql_command_interface, read_only_mode, super_read_only_mode); } + + /* + Abort right away if the exit state action was set to ABORT_SERVER (and we + are starting GROUP_REPLICATION on boot). + */ + if (exit_state_action_var == EXIT_STATE_ACTION_ABORT_SERVER && + start_group_replication_at_boot_var) + { + abort_plugin_process("Fatal error during execution of Group Replication " + "group joining process"); + } + if (certification_latch != NULL) { delete certification_latch; /* purecov: inspected */ @@ -803,8 +827,6 @@ // Destroy handlers and notifiers delete events_handler; events_handler= NULL; - delete view_change_notifier; - view_change_notifier= NULL; return 0; } @@ -815,6 +837,12 @@ Mutex_autolock auto_lock_mutex(&plugin_running_mutex); + DBUG_EXECUTE_IF("group_replication_wait_on_stop", + { + const char act[]= "now signal signal.stop_waiting wait_for signal.stop_continue"; + DBUG_ASSERT(!debug_sync_set_action(current_thd, STRING_WITH_LEN(act))); + }); + /* We delete the delayed initialization object here because: @@ -986,7 +1014,7 @@ plugin_info_ptr= plugin_info; - if (group_replication_init(group_replication_plugin_name)) + if (group_replication_init()) { /* purecov: begin inspected */ log_message(MY_ERROR_LEVEL, @@ -1030,13 +1058,14 @@ //Initialize channel observation and auto increment handlers before start auto_increment_handler= new Plugin_group_replication_auto_increment(); channel_observation_manager= new Channel_observation_manager(plugin_info); + view_change_notifier= new Plugin_gcs_view_modification_notifier(); gcs_module= new Gcs_operations(); //Initialize the compatibility module before starting init_compatibility_manager(); plugin_is_auto_starting= start_group_replication_at_boot_var; - if (start_group_replication_at_boot_var && group_replication_start()) + if (start_group_replication_at_boot_var && plugin_group_replication_start()) { log_message(MY_ERROR_LEVEL, "Unable to start Group Replication on boot"); @@ -1054,10 +1083,9 @@ plugin_is_being_uninstalled= true; int observer_unregister_error= 0; - //plugin_group_replication_stop will be called from this method stack - if (group_replication_cleanup()) + if (plugin_group_replication_stop()) log_message(MY_ERROR_LEVEL, - "Failure when cleaning Group Replication server state"); + "Failure when stopping Group Replication on plugin uninstall"); if (group_member_mgr != NULL) { @@ -1112,6 +1140,9 @@ delete gcs_module; gcs_module= NULL; + delete view_change_notifier; + view_change_notifier= NULL; + if(auto_increment_handler != NULL) { delete auto_increment_handler; @@ -1417,7 +1448,6 @@ get_server_id()); } - view_change_notifier= new Plugin_gcs_view_modification_notifier(); events_handler= new Plugin_gcs_events_handler(applier_module, recovery_module, view_change_notifier, @@ -1567,7 +1597,7 @@ //Struct that holds startup and runtime requirements Trans_context_info startup_pre_reqs; - get_server_startup_prerequirements(startup_pre_reqs, true); + get_server_startup_prerequirements(startup_pre_reqs, !plugin_is_auto_starting); if(!startup_pre_reqs.binlog_enabled) { @@ -2792,6 +2822,22 @@ 0 /* block */ ); +const char *exit_state_actions[]= {"READ_ONLY", "ABORT_SERVER", (char *)0}; +TYPELIB exit_state_actions_typelib_t= {array_elements(exit_state_actions) - 1, + "exit_state_actions_typelib_t", + exit_state_actions, NULL}; +static MYSQL_SYSVAR_ENUM(exit_state_action, /* name */ + exit_state_action_var, /* var */ + PLUGIN_VAR_OPCMDARG, /* optional var */ + "The action that is taken when the server " + "leaves the group. " + "Possible values are READ_ONLY or " + "ABORT_SERVER.", /* values */ + NULL, /* check func. */ + NULL, /* update func. */ + EXIT_STATE_ACTION_READ_ONLY, /* default */ + &exit_state_actions_typelib_t); /* type lib */ + static SYS_VAR* group_replication_system_vars[]= { MYSQL_SYSVAR(group_name), MYSQL_SYSVAR(start_on_boot), @@ -2828,6 +2874,7 @@ MYSQL_SYSVAR(transaction_size_limit), MYSQL_SYSVAR(unreachable_majority_timeout), MYSQL_SYSVAR(member_weight), + MYSQL_SYSVAR(exit_state_action), NULL, }; diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/src/plugin_utils.cc mysql-5.7-5.7.24/rapid/plugin/group_replication/src/plugin_utils.cc --- mysql-5.7-5.7.23/rapid/plugin/group_replication/src/plugin_utils.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/src/plugin_utils.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -86,3 +86,12 @@ } } } + +void abort_plugin_process(const char *message) +{ + log_message(MY_ERROR_LEVEL, "The plugin encountered a critical error and will abort: %s", message); +#if !defined(DBUG_OFF) + DBUG_SUICIDE(); +#endif + abort(); +} diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/src/recovery.cc mysql-5.7-5.7.24/rapid/plugin/group_replication/src/recovery.cc --- mysql-5.7-5.7.23/rapid/plugin/group_replication/src/recovery.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/src/recovery.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -185,6 +185,12 @@ group_member_mgr->update_member_status(local_member_info->get_uuid(), Group_member_info::MEMBER_ERROR); + if (view_change_notifier != NULL && + !view_change_notifier->is_view_modification_ongoing()) + { + view_change_notifier->start_view_modification(); + } + Gcs_operations::enum_leave_state state= gcs_module->leave(); int error= channel_stop_all(CHANNEL_APPLIER_THREAD|CHANNEL_RECEIVER_THREAD, @@ -198,6 +204,7 @@ } std::stringstream ss; + bool has_error= true; plugin_log_level log_severity= MY_WARNING_LEVEL; switch (state) { @@ -217,9 +224,27 @@ break; /* purecov: end */ case Gcs_operations::NOW_LEAVING: - return; + has_error= false; + break; } - log_message(log_severity, ss.str().c_str()); + + if (has_error) + log_message(log_severity, ss.str().c_str()); + + if (view_change_notifier != NULL) + { + log_message(MY_INFORMATION_LEVEL, "Going to wait for view modification"); + if (view_change_notifier->wait_for_view_modification()) + { + log_message(MY_WARNING_LEVEL, "On shutdown there was a timeout receiving " + "a view change. This can lead to a possible" + " inconsistent state. Check the log for " + "more details"); + } + } + + if (exit_state_action_var == EXIT_STATE_ACTION_ABORT_SERVER) + abort_plugin_process("Fatal error during execution of Group Replication"); } /* diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/src/recovery_state_transfer.cc mysql-5.7-5.7.24/rapid/plugin/group_replication/src/recovery_state_transfer.cc --- mysql-5.7-5.7.23/rapid/plugin/group_replication/src/recovery_state_transfer.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/src/recovery_state_transfer.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -390,8 +390,16 @@ { mysql_mutex_lock(&donor_selection_lock); + DBUG_EXECUTE_IF("gr_reset_max_connection_attempts_to_donors", { + if (donor_connection_retry_count == 3) { + const char act[] = + "now signal signal.connection_attempt_3 wait_for " + "signal.reset_recovery_retry_count_done"; + DBUG_ASSERT(!debug_sync_set_action(current_thd, STRING_WITH_LEN(act))); + } + };); // max number of retries reached, abort - if (donor_connection_retry_count == max_connection_attempts_to_donors) + if (donor_connection_retry_count >= max_connection_attempts_to_donors) { log_message(MY_ERROR_LEVEL, "Maximum number of retries when trying to " diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_applier_early_failure.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_applier_early_failure.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_applier_early_failure.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_applier_early_failure.result 2018-10-04 05:48:22.000000000 +0000 @@ -7,12 +7,18 @@ # 1. Create a table on server 1 and replicate # [connection server1] +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("On shutdown there was a timeout receiving a view change. This can lead to a possible inconsistent state. Check the log for more details"); +SET SESSION sql_log_bin = 1; CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY) ENGINE=InnoDB; include/rpl_sync.inc # # 2. Insert a row on server 2 with log to the binlog disabled # [connection server2] +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("On shutdown there was a timeout receiving a view change. This can lead to a possible inconsistent state. Check the log for more details"); +SET SESSION sql_log_bin = 1; SET SESSION sql_log_bin= 0; INSERT INTO t1 VALUES (1); SET SESSION sql_log_bin= 1; diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_concurrent_start_uninstall.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_concurrent_start_uninstall.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_concurrent_start_uninstall.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_concurrent_start_uninstall.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,39 @@ +include/group_replication.inc +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection server1] + +# 1. Setup GR environment and execute START GR. + +[connection server1] +SET GLOBAL group_replication_bootstrap_group=ON; +SET GLOBAL group_replication_group_name= "GROUP_REPLICATION_GROUP_NAME"; + +# 2. Block start, so we can execute UNINSTALL. + +SET @debug_save= @@GLOBAL.DEBUG; +SET @@GLOBAL.DEBUG= '+d,group_replication_wait_on_start'; +START GROUP_REPLICATION; + +# 3. Execute UNINSTALL PLUGIN GR should fail with error +# ER_PLUGIN_CANNOT_BE_UNINSTALLED as START GR is already running. + +[connection server_1] +SET DEBUG_SYNC= "now WAIT_FOR signal.start_waiting"; +UNINSTALL PLUGIN group_replication; +ERROR HY000: Plugin 'group_replication' cannot be uninstalled now. Plugin is busy, it cannot be uninstalled. To force a stop run STOP GROUP_REPLICATION and then UNINSTALL PLUGIN group_replication. + +# 4. SIGNAL START GR to resume processing. + +SET DEBUG_SYNC= 'now SIGNAL signal.start_continue'; +[connection server1] + +# 5. Confirm GR is started + +include/gr_wait_for_member_state.inc + +# 6. Cleanup + +SET @@GLOBAL.DEBUG= @debug_save; +include/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_concurrent_stop_select.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_concurrent_stop_select.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_concurrent_stop_select.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_concurrent_stop_select.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,33 @@ +include/group_replication.inc +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection server1] + +# 1. Block Stop Group Replication + +SET @debug_save= @@GLOBAL.DEBUG; +SET @@GLOBAL.DEBUG= '+d,group_replication_wait_on_stop'; +STOP GROUP_REPLICATION; + +# 2. Wait for debug sync to be reached and then execute select query + +[connection server_1] +SET DEBUG_SYNC= "now WAIT_FOR signal.stop_waiting"; +SELECT COUNT(*) FROM performance_schema.replication_connection_status; +COUNT(*) +2 + +# 3. SIGNAL STOP GR to resume processing + +SET DEBUG_SYNC= 'now SIGNAL signal.stop_continue'; +[connection server1] + +# 4. Confirm Group Replication is stopped + +include/gr_wait_for_member_state.inc + +# 5. Cleanup + +SET @@GLOBAL.DEBUG= @debug_save; +include/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_applier_error.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_applier_error.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_applier_error.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_applier_error.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,94 @@ + +######################################################################### +# 0) Setup group of 2 members (M1 and M2). +######################################################################### + +include/group_replication.inc +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection server1] +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("Slave SQL for channel 'group_replication_applier': Could not execute Write_rows event on table test.t1; Duplicate entry.*"); +call mtr.add_suppression("Slave SQL for channel 'group_replication_applier': Worker [0-9] failed executing transaction*"); +call mtr.add_suppression("Slave SQL for channel 'group_replication_applier': ... The slave coordinator and worker threads are stopped,*"); +call mtr.add_suppression("The applier thread execution was aborted. Unable to process more transactions, this member will now leave the group."); +call mtr.add_suppression("Fatal error during execution on the Applier process of Group Replication. The server will now leave the group."); +call mtr.add_suppression("The server was automatically set into read only mode after an error was detected."); +call mtr.add_suppression("Member was expelled from the group due to network failures, changing member status to ERROR."); +call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going."); +call mtr.add_suppression("Fatal error during execution of Group Replication"); +SET SESSION sql_log_bin = 1; + +######################################################################### +# 1) Force applier error on member 1. +######################################################################### + +[connection server1] +CREATE TABLE t1(a INT PRIMARY KEY); +include/rpl_sync.inc +SET SESSION sql_log_bin= 0; +INSERT INTO t1 VALUES (1); +SET SESSION sql_log_bin= 1; +[connection server2] +INSERT INTO t1 VALUES (1); +include/rpl_sync.inc + +######################################################################### +# 1.1) Verify that member 1 went to super_read_only mode. +######################################################################### + +[connection server1] +include/gr_wait_for_member_state.inc +[connection server1] +include/assert.inc [super_read_only should be enabled] + +######################################################################### +# 2) Set exit state action to ABORT_SERVER on member 1. +######################################################################### + +include/stop_group_replication.inc +SET sql_log_bin = 0; +DELETE FROM t1 WHERE a = 1; +SET sql_log_bin = 1; +SET @@GLOBAL.group_replication_exit_state_action = ABORT_SERVER; + +######################################################################### +# 3) Force applier error again on member 1. +######################################################################### + +include/start_group_replication.inc +SET SESSION sql_log_bin= 0; +INSERT INTO t1 VALUES (2); +SET SESSION sql_log_bin= 1; +[connection server2] +INSERT INTO t1 VALUES (2); + +######################################################################### +# 3.1) Verify that member 1 aborted. +######################################################################### + +include/rpl_gr_wait_for_number_of_members.inc +include/assert.inc [Member 1 should have aborted] + +######################################################################### +# 4) Relaunch member 1. +######################################################################### + +[connection server1] +include/rpl_reconnect.inc +[connection server1] +SET SESSION sql_log_bin= 0; +DELETE FROM t1 WHERE a = 2; +SET SESSION sql_log_bin= 1; +SET @@global.group_replication_group_seeds="GROUP_SEEDS_SERVER1"; +SET @@global.group_replication_local_address="LOCAL_ADDRESS_SERVER1"; +include/start_group_replication.inc +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 5) Cleanup. +######################################################################### + +DROP TABLE t1; +include/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_lower_version.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_lower_version.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_lower_version.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_lower_version.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,94 @@ + +######################################################################### +# 0) Setup group of 2 members (M1 and M2). +######################################################################### + +include/group_replication.inc +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection server1] +[connection server2] +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("Error, maximum number of retries exceeded when waiting for the internal server session state to be operating"); +call mtr.add_suppression("Failed to establish an internal server connection to execute plugin operations"); +call mtr.add_suppression("Error when extracting information for group change. Operations and checks made to group joiners may be incomplete."); +call mtr.add_suppression("Member version is incompatible with the group."); +call mtr.add_suppression("Timeout on wait for view after joining group"); +call mtr.add_suppression("\\[GCS\\] Error connecting to all peers. Member join failed.*"); +call mtr.add_suppression("\\[GCS\\] read failed"); +call mtr.add_suppression("\\[GCS\\] The member was unable to join the group.*"); +SET SESSION sql_log_bin = 1; + +######################################################################### +# 1) Simulate a higher version on M1. +######################################################################### + +[connection server1] +SET @debug_saved= @@GLOBAL.DEBUG; +SET @@GLOBAL.DEBUG= '+d,group_replication_compatibility_higher_major_version'; +include/start_and_bootstrap_group_replication.inc + +######################################################################### +# 2) Try to join M2 to the group. +######################################################################### + +[connection server2] +# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME --group_replication_start_on_boot=1 +include/rpl_reconnect.inc + +######################################################################### +# 3) M2 should be in super_read_only mode and in OFFLINE state (since it +# failed to join the group). +######################################################################### + +[connection server2] +include/rpl_gr_wait_for_number_of_members.inc +include/gr_wait_for_member_state.inc +include/assert.inc [super_read_only should be enabled] +include/assert_grep.inc [GR reported expected incompatibility on member version] +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 4) Change the exit_state_action to ABORT_SERVER. Try to join M2 to the +# group again. +######################################################################### + +[connection server2] +# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME --group_replication_start_on_boot=1 --group_replication_exit_state_action=ABORT_SERVER + +######################################################################### +# 5) M2 should have abort()ed. +######################################################################### + +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc +include/rpl_reconnect.inc +[connection server2] +include/rpl_reconnect.inc +include/assert_grep.inc [GR reported expected incompatibility on member version] +include/assert_grep.inc [GR reported expected abort] + +######################################################################### +# 6) Restart M2 again without group_replication_start_on_boot enabled. +# The server should start normally and be able to join the group. +######################################################################### + +[connection server1] +SET @@GLOBAL.DEBUG = @debug_saved; +include/stop_group_replication.inc +include/start_and_bootstrap_group_replication.inc +[connection server2] +# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME +include/rpl_reconnect.inc +include/start_group_replication.inc +include/rpl_gr_wait_for_number_of_members.inc +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 7) Cleanup. +######################################################################### + +include/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_members_exceeded.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_members_exceeded.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_members_exceeded.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_members_exceeded.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,89 @@ + +######################################################################### +# 0) Setup group of 1 member (M1). +######################################################################### + +include/group_replication.inc +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection server1] +include/start_and_bootstrap_group_replication.inc +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("\\[GCS\\] Error connecting to all peers. Member join failed.*"); +call mtr.add_suppression("\\[GCS\\] read failed"); +call mtr.add_suppression("\\[GCS\\] The member was unable to join the group.*"); +SET SESSION sql_log_bin = 1; +[connection server2] +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("\\[GCS\\] Error connecting to all peers. Member join failed.*"); +call mtr.add_suppression("\\[GCS\\] read failed"); +call mtr.add_suppression("\\[GCS\\] The member was unable to join the group.*"); +call mtr.add_suppression("The plugin encountered a critical error and will abort: Fatal error during execution of Group Replication"); +call mtr.add_suppression("Timeout on wait for view after joining group"); +call mtr.add_suppression("Error, maximum number of retries exceeded when waiting for the internal server session state to be operating"); +call mtr.add_suppression("Failed to establish an internal server connection to execute plugin operations"); +call mtr.add_suppression("Error when extracting information for group change. Operations and checks made to group joiners may be incomplete"); +call mtr.add_suppression("The START GROUP_REPLICATION command failed since the group already has 9 members."); +SET SESSION sql_log_bin = 1; + +######################################################################### +# 1) Simulate a group of 10 members when member 2 joins. Member 2 will +# be unable to join. +######################################################################### + +# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME --group_replication_start_on_boot=1 --loose-debug=+d,group_replication_set_number_of_members_on_view_changed_to_10 +include/rpl_reconnect.inc + +######################################################################### +# 2) Verify that member 2 was sent to super_read_only mode and in OFFLINE +# state (since it failed to join the group). +######################################################################### + +[connection server2] +include/rpl_gr_wait_for_number_of_members.inc +include/gr_wait_for_member_state.inc +include/assert.inc [super_read_only should be enabled] +include/assert_grep.inc [GR reported expected excess of members in group] +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 3) Set the exit_state_action to ABORT_SERVER and simulate again a +# group of 10 members when member 2 joins. Member 2 will be unable to +# join again. +######################################################################### + +[connection server2] +# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME --group_replication_start_on_boot=1 --loose-debug=+d,group_replication_set_number_of_members_on_view_changed_to_10 --group_replication_exit_state_action=ABORT_SERVER + +######################################################################### +# 4) Member 2 will have abort()ed. +######################################################################### + +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc +include/rpl_reconnect.inc +[connection server2] +include/rpl_reconnect.inc +include/assert_grep.inc [GR reported expected excess of members in group] +include/assert_grep.inc [GR reported expected abort] + +######################################################################### +# 5) Restart M2 again without group_replication_start_on_boot enabled. +# The server should start normally and be able to join the group. +######################################################################### + +[connection server2] +# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME +include/rpl_reconnect.inc +include/start_group_replication.inc +include/rpl_gr_wait_for_number_of_members.inc +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 6) Cleanup. +######################################################################### + +include/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_transaction_mismatch.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_transaction_mismatch.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_transaction_mismatch.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_transaction_mismatch.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,98 @@ + +######################################################################### +# 0) Setup group of 2 members (M1 and M2). +######################################################################### + +include/group_replication.inc +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection server1] +[connection server2] +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("Timeout on wait for view after joining group"); +call mtr.add_suppression("\\[GCS\\] Error connecting to all peers. Member join failed.*"); +call mtr.add_suppression("\\[GCS\\] read failed"); +call mtr.add_suppression("\\[GCS\\] The member was unable to join the group.*"); +call mtr.add_suppression("This member has more executed transactions than those present in the group. Local transactions*"); +call mtr.add_suppression("The member contains transactions not present in the group. The member will now exit the group"); +call mtr.add_suppression("The plugin encountered a critical error and will abort: Fatal error during execution of Group Replication"); +SET SESSION sql_log_bin = 1; + +######################################################################### +# 1) Run a few transactions on M2. +######################################################################### + +[connection server1] +CREATE TABLE t3(a INT PRIMARY KEY); +INSERT INTO t3 VALUES (2); +include/start_and_bootstrap_group_replication.inc +[connection server2] +SET GTID_NEXT= "aaaaaaaa-bbbb-aaaa-bbbb-aaaaaaaaaaaa:1"; +CREATE TABLE t2(a INT PRIMARY KEY); +SET GTID_NEXT= "AUTOMATIC"; + +######################################################################### +# 2) Restart M2 with start_on_boot enabled. +######################################################################### + +# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME --group_replication_start_on_boot=1 +include/rpl_reconnect.inc + +######################################################################### +# 3) M2 should go to super_read_only mode. +######################################################################### + +[connection server2] +include/rpl_gr_wait_for_number_of_members.inc +include/gr_wait_for_member_state.inc +include/assert.inc [super_read_only should be enabled] +include/assert_grep.inc [GR reported expected transaction mismatch] +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 4) Restart M2 with start_on_boot enabled and exit_state_action set to +# ABORT_SERVER. +######################################################################### + +[connection server2] +# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME --group_replication_start_on_boot=1 --group_replication_exit_state_action=ABORT_SERVER + +######################################################################### +# 5) M2 should have abort()'ed. +######################################################################### + +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc +include/rpl_reconnect.inc +[connection server2] +include/rpl_reconnect.inc +include/assert_grep.inc [GR reported expected transaction mismatch] +include/assert_grep.inc [GR reported expected abort] + +######################################################################### +# 6) Restart M2 again without group_replication_start_on_boot enabled. +# The server should start normally and be able to join the group. +######################################################################### + +[connection server2] +RESET MASTER; +# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME +include/rpl_reconnect.inc +include/start_group_replication.inc +include/rpl_gr_wait_for_number_of_members.inc +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 7) Cleanup. +######################################################################### + +[connection server1] +DROP TABLE t3; +[connection server2] +SET sql_log_bin = 0; +DROP TABLE t2; +SET sql_log_bin = 1; +include/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_wrong_gtid_assignment_block_size.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_wrong_gtid_assignment_block_size.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_wrong_gtid_assignment_block_size.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_wrong_gtid_assignment_block_size.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,79 @@ + +######################################################################### +# 0) Setup group of 2 members (M1 and M2). +######################################################################### + +include/group_replication.inc +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection server1] +include/start_and_bootstrap_group_replication.inc +[connection server2] +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("The plugin encountered a critical error and will abort: Fatal error during execution of Group Replication"); +call mtr.add_suppression("Unable to start Group Replication on boot"); +call mtr.add_suppression("Timeout on wait for view after joining group"); +call mtr.add_suppression("\\[GCS\\] Error connecting to all peers. Member join failed.*"); +call mtr.add_suppression("\\[GCS\\] read failed"); +call mtr.add_suppression("\\[GCS\\] The member was unable to join the group.*"); +SET SESSION sql_log_bin = 1; + +######################################################################### +# 1) Relaunch M2 with a different gtid_assignment_block_size from M1. +######################################################################### + +[connection server2] +# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME --group_replication_start_on_boot=1 --group_replication_gtid_assignment_block_size=GROUP_REPLICATION_GTID_ASSIGNMENT_BLOCK_SIZE +include/rpl_reconnect.inc + +######################################################################### +# 2) M2 should be in super_read_only mode and in OFFLINE state (since it +# failed to join the group). +######################################################################### + +[connection server2] +include/rpl_gr_wait_for_number_of_members.inc +include/gr_wait_for_member_state.inc +include/assert.inc [super_read_only should be enabled] +include/assert_grep.inc [GR reported that it has a different gtid_assignment_block_size value (as expected)] +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 3) Relaunch M2 with a different gtid_assignment_block_size from M1 and +# with exit_state_action set to ABORT_SERVER. +######################################################################### + +[connection server2] +# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME --group_replication_start_on_boot=1 --group_replication_gtid_assignment_block_size=GROUP_REPLICATION_GTID_ASSIGNMENT_BLOCK_SIZE --group_replication_exit_state_action=ABORT_SERVER + +######################################################################### +# 4) M2 should have abort()ed. +######################################################################### + +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc +include/rpl_reconnect.inc +[connection server2] +include/rpl_reconnect.inc +include/assert_grep.inc [GR reported that it has a different gtid_assignment_block_size value (as expected)] +include/assert_grep.inc [GR reported expected abort] + +######################################################################### +# 5) Restart M2 again without group_replication_start_on_boot enabled. +# The server should start normally and be able to join the group. +######################################################################### + +# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME +include/rpl_reconnect.inc +include/start_group_replication.inc +include/rpl_gr_wait_for_number_of_members.inc +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 6) Cleanup. +######################################################################### + +include/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_wrong_hash_algorithm.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_wrong_hash_algorithm.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_wrong_hash_algorithm.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_wrong_hash_algorithm.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,79 @@ + +######################################################################### +# 0) Setup group of 2 members (M1 and M2). +######################################################################### + +include/group_replication.inc +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection server1] +include/start_and_bootstrap_group_replication.inc +[connection server2] +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("The plugin encountered a critical error and will abort: Fatal error during execution of Group Replication"); +call mtr.add_suppression("Unable to start Group Replication on boot"); +call mtr.add_suppression("Timeout on wait for view after joining group"); +call mtr.add_suppression("\\[GCS\\] Error connecting to all peers. Member join failed.*"); +call mtr.add_suppression("\\[GCS\\] read failed"); +call mtr.add_suppression("\\[GCS\\] The member was unable to join the group.*"); +SET SESSION sql_log_bin = 1; + +######################################################################### +# 1) Relaunch M2 with a different hash algorithm from M1. +######################################################################### + +[connection server2] +# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME --group_replication_start_on_boot=1 --transaction-write-set-extraction=HASH_ALGORITHM +include/rpl_reconnect.inc + +######################################################################### +# 2) M2 should be in super_read_only mode and in OFFLINE state (since it +# failed to join the group). +######################################################################### + +[connection server2] +include/rpl_gr_wait_for_number_of_members.inc +include/gr_wait_for_member_state.inc +include/assert.inc [super_read_only should be enabled] +include/assert_grep.inc [GR reported that it has an incompatible option with the group (as expected)] +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 3) Relaunch M2 with a different hash algorithm from M1 and with +# exit_state_action set to ABORT_SERVER. +######################################################################### + +[connection server2] +# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME --group_replication_start_on_boot=1 --transaction-write-set-extraction=HASH_ALGORITHM --group_replication_exit_state_action=ABORT_SERVER + +######################################################################### +# 4) M2 should have abort()ed. +######################################################################### + +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc +include/rpl_reconnect.inc +[connection server2] +include/rpl_reconnect.inc +include/assert_grep.inc [GR reported that it has an incompatible option with the group (as expected)] +include/assert_grep.inc [GR reported expected abort] + +######################################################################### +# 5) Restart M2 again without group_replication_start_on_boot enabled. +# The server should start normally and be able to join the group. +######################################################################### + +# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME +include/rpl_reconnect.inc +include/start_group_replication.inc +include/rpl_gr_wait_for_number_of_members.inc +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 6) Cleanup. +######################################################################### + +include/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_wrong_single_primary_mode.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_wrong_single_primary_mode.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_wrong_single_primary_mode.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_join_wrong_single_primary_mode.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,79 @@ + +######################################################################### +# 0) Setup group of 2 members (M1 and M2). +######################################################################### + +include/group_replication.inc +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection server1] +include/start_and_bootstrap_group_replication.inc +[connection server2] +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("The plugin encountered a critical error and will abort: Fatal error during execution of Group Replication"); +call mtr.add_suppression("Unable to start Group Replication on boot"); +call mtr.add_suppression("Timeout on wait for view after joining group"); +call mtr.add_suppression("\\[GCS\\] Error connecting to all peers. Member join failed.*"); +call mtr.add_suppression("\\[GCS\\] read failed"); +call mtr.add_suppression("\\[GCS\\] The member was unable to join the group.*"); +SET SESSION sql_log_bin = 1; + +######################################################################### +# 1) Relaunch M2 with a different single_primary_mode from M1. +######################################################################### + +[connection server2] +# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME --group_replication_start_on_boot=1 --group_replication_single_primary_mode=FALSE --group_replication_enforce_update_everywhere_checks=FALSE +include/rpl_reconnect.inc + +######################################################################### +# 2) M2 should be in super_read_only mode and in OFFLINE state (since it +# failed to join the group). +######################################################################### + +[connection server2] +include/assert.inc [super_read_only should be enabled] +include/rpl_gr_wait_for_number_of_members.inc +include/gr_wait_for_member_state.inc +include/assert_grep.inc [GR reported that it has an incompatible option with the group (as expected)] +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 3) Relaunch M2 with a different single_primary_mode from M1 and with +# exit_state_action set to ABORT_SERVER. +######################################################################### + +[connection server2] +# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME --group_replication_start_on_boot=1 --group_replication_single_primary_mode=TRUE --group_replication_exit_state_action=ABORT_SERVER --group_replication_enforce_update_everywhere_checks=FALSE + +######################################################################### +# 4) M2 should have abort()ed. +######################################################################### + +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc +include/rpl_reconnect.inc +[connection server2] +include/rpl_reconnect.inc +include/assert_grep.inc [GR reported that it has an incompatible option with the group (as expected)] +include/assert_grep.inc [GR reported expected abort] + +######################################################################### +# 5) Restart M2 again without group_replication_start_on_boot enabled. +# The server should start normally and be able to join the group. +######################################################################### + +# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME +include/rpl_reconnect.inc +include/start_group_replication.inc +include/rpl_gr_wait_for_number_of_members.inc +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 6) Cleanup. +######################################################################### + +include/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_majority_loss.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_majority_loss.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_majority_loss.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_majority_loss.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,99 @@ + +######################################################################### +# 0) Setup group of 3 members (M1, M2 and M3). +######################################################################### + +include/group_replication.inc [rpl_server_count=3] +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection server1] +[connection server1] +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("read failed"); +call mtr.add_suppression("This member could not reach a majority of the members for more than.*"); +call mtr.add_suppression("The server was automatically set into read only mode after an error was detected."); +call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going."); +call mtr.add_suppression("\\[GCS\\] Timeout while waiting for the group communication engine to exit!"); +call mtr.add_suppression("\\[GCS\\] The member has failed to gracefully leave the group."); +call mtr.add_suppression("\\[GCS\\] read failed"); +call mtr.add_suppression("Fatal error during execution of Group Replication"); +SET SESSION sql_log_bin = 1; +[connection server2] +[connection server3] + +######################################################################### +# 1) Force majority loss. +######################################################################### + +[connection server2] +[connection server3] + +######################################################################### +# 1.1) Verify that member 1 went to ERROR state. +######################################################################### + +[connection server1] +include/gr_wait_for_member_state.inc +include/assert.inc [super_read_only should be enabled] + +######################################################################### +# 2) Relaunch group with exit state action to ABORT_SERVER. +######################################################################### + +[connection server1] +include/stop_group_replication.inc +include/start_and_bootstrap_group_replication.inc +include/rpl_reconnect.inc +[connection server2] +SET @@global.group_replication_group_seeds="GROUP_SEEDS_SERVER2"; +SET @@global.group_replication_local_address="LOCAL_ADDRESS_SERVER2"; +include/start_group_replication.inc +include/rpl_reconnect.inc +[connection server3] +SET @@global.group_replication_group_seeds="GROUP_SEEDS_SERVER3"; +SET @@global.group_replication_local_address="LOCAL_ADDRESS_SERVER3"; +include/start_group_replication.inc +include/rpl_gr_wait_for_number_of_members.inc +[connection server1] +SET @@GLOBAL.group_replication_exit_state_action = ABORT_SERVER; + +######################################################################### +# 3) Force another majority loss. +######################################################################### + +[connection server2] +[connection server3] + +######################################################################### +# 4) Verify that member 1 aborted. +######################################################################### + +[connection server1] + +######################################################################### +# 5) Relaunch all members. +######################################################################### + +include/rpl_reconnect.inc +[connection server1] +SET @@global.group_replication_group_seeds="GROUP_SEEDS_SERVER1"; +SET @@global.group_replication_local_address="LOCAL_ADDRESS_SERVER1"; +include/start_and_bootstrap_group_replication.inc +include/rpl_reconnect.inc +[connection server2] +SET @@global.group_replication_group_seeds="GROUP_SEEDS_SERVER2"; +SET @@global.group_replication_local_address="LOCAL_ADDRESS_SERVER2"; +include/start_group_replication.inc +include/rpl_reconnect.inc +[connection server3] +SET @@global.group_replication_group_seeds="GROUP_SEEDS_SERVER3"; +SET @@global.group_replication_local_address="LOCAL_ADDRESS_SERVER3"; +include/start_group_replication.inc +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 6) Cleanup. +######################################################################### + +include/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_member_expel.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_member_expel.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_member_expel.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_member_expel.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,78 @@ + +######################################################################### +# 0) Setup group of 3 members (M1, M2 and M3). +######################################################################### + +include/group_replication.inc [rpl_server_count=3] +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection server1] +[connection server1] +SET SESSION sql_log_bin = 0; +CREATE TABLE pid_table(pid_no INT PRIMARY KEY); +LOAD DATA LOCAL INFILE 'pid_file' INTO TABLE pid_table; +DROP TABLE pid_table; +call mtr.add_suppression("Member was expelled from the group due to network failures, changing member status to ERROR."); +call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going."); +call mtr.add_suppression("Fatal error during execution of Group Replication"); +SET SESSION sql_log_bin = 1; + +######################################################################### +# 1) Force expel of member 1. +######################################################################### + +[connection server2] +include/rpl_gr_wait_for_number_of_members.inc +[connection server3] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 1.1) Verify that member 1 went to super_read_only mode. +######################################################################### + +[connection server1] +include/gr_wait_for_member_state.inc +[connection server1] +include/assert.inc [super_read_only should be enabled] +include/stop_group_replication.inc + +######################################################################### +# 2) Set exit state action to ABORT_SERVER on member 1. +######################################################################### + +SET @@GLOBAL.group_replication_exit_state_action = ABORT_SERVER; +include/start_group_replication.inc +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 3) Force expel again of member 1. +######################################################################### + +[connection server2] +include/rpl_gr_wait_for_number_of_members.inc +[connection server3] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 3.1) Wait until server is aborted. +######################################################################### + +[connection server1] + +######################################################################### +# 4) Relaunch member 1. +######################################################################### + +include/rpl_reconnect.inc +[connection server1] +SET @@global.group_replication_group_seeds="GROUP_SEEDS_SERVER1"; +SET @@global.group_replication_local_address="LOCAL_ADDRESS_SERVER1"; +include/start_group_replication.inc +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 5) Cleanup. +######################################################################### + +include/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_recovery.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_recovery.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_recovery.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_recovery.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,94 @@ + +######################################################################### +# 0) Setup group of 2 members (M1 and M2) but only start GR on M2. +######################################################################### + +include/group_replication.inc +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection server1] +[connection server1] +SET sql_log_bin = 0; +CREATE TABLE t1 (a INT PRIMARY KEY); +INSERT INTO t1 VALUES (1); +SET sql_log_bin = 1; +[connection server2] +include/start_and_bootstrap_group_replication.inc +[connection server1] +SET sql_log_bin = 0; +call mtr.add_suppression("read failed"); +call mtr.add_suppression("Slave SQL for channel 'group_replication_recovery': Error 'Table 't1'*"); +call mtr.add_suppression("Slave SQL for channel 'group_replication_recovery': Worker [0-9] failed executing transaction*"); +call mtr.add_suppression("Slave SQL for channel 'group_replication_recovery': ... The slave coordinator and worker threads are stopped,*"); +call mtr.add_suppression("Slave: Table 't1' already exists Error_code:*"); +call mtr.add_suppression("Maximum number of retries when trying to connect to a donor reached. Aborting group replication recovery."); +call mtr.add_suppression("Fatal error during the recovery process of Group Replication. The server will leave the group."); +call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going."); +call mtr.add_suppression("Fatal error during execution of Group Replication"); +call mtr.add_suppression("Error while starting the group replication recovery receiver/applier threads"); +SET sql_log_bin = 1; + +######################################################################### +# 1) Force error during the catch-up phase of M1. +######################################################################### + +[connection server2] +CREATE TABLE t1 (a INT PRIMARY KEY); +[connection server1] +include/start_group_replication.inc + +######################################################################### +# 1.1) Verify that M1 goes into ERROR state and to super_read_only mode. +######################################################################### + +include/gr_wait_for_member_state.inc +[connection server1] +include/assert.inc [super_read_only should be enabled] +[connection server2] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 2) Set group_replication_exit_state_action to ABORT_SERVER on M1. +######################################################################### + +[connection server1] +include/stop_group_replication.inc +SET @@GLOBAL.group_replication_exit_state_action = ABORT_SERVER; + +######################################################################### +# 3) Force another error during the catch-up phase of M1. +######################################################################### + +include/start_group_replication.inc + +######################################################################### +# 3.1) Verify that M1 aborted. +######################################################################### + +[connection server2] +include/rpl_gr_wait_for_number_of_members.inc +include/assert.inc [Member 1 should have aborted] + +######################################################################### +# 4) Relaunch M1 and join the group. +######################################################################### + +[connection server1] +include/rpl_reconnect.inc +[connection server1] +SET SESSION sql_log_bin= 0; +DROP TABLE t1; +SET SESSION sql_log_bin= 1; +RESET MASTER; +SET @@global.group_replication_group_seeds="GROUP_SEEDS_SERVER1"; +SET @@global.group_replication_local_address="LOCAL_ADDRESS_SERVER1"; +include/start_group_replication.inc +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 5) Cleanup. +######################################################################### + +DROP TABLE t1; +include/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_recovery_stage0.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_recovery_stage0.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_recovery_stage0.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_recovery_stage0.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,98 @@ + +######################################################################### +# 0) Setup group of 3 members (M1, M2 and M3). +######################################################################### + +include/group_replication.inc +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection server1] +[connection server2] +[connection server2] +SET sql_log_bin = 0; +call mtr.add_suppression("Slave SQL for channel 'group_replication_applier': Error 'Table 't1'*"); +call mtr.add_suppression("Slave SQL for channel 'group_replication_applier': Worker [0-9] failed executing transaction*"); +call mtr.add_suppression("Error writing relay log configuration."); +call mtr.add_suppression("Slave SQL for channel 'group_replication_applier': ... The slave coordinator and worker threads are stopped,*"); +call mtr.add_suppression("Slave: Table 't1' already exists Error_code:*"); +call mtr.add_suppression("The applier thread execution was aborted. Unable to process more transactions, this member will now leave the group."); +call mtr.add_suppression("Fatal error during execution on the Applier process of Group Replication. The server will now leave the group."); +call mtr.add_suppression("Unable to confirm whether the server has left the group or not. Check performance_schema.replication_group_members to check group membership information."); +call mtr.add_suppression("There was a previous plugin error while the member joined the group. The member will now exit the group."); +call mtr.add_suppression("On shutdown there was a timeout receiving a view change. This can lead to a possible inconsistent state. Check the log for more details"); +SET sql_log_bin = 1; + +######################################################################### +# 1) Stop the applier on M2. +######################################################################### + +[connection server2] +include/gr_stop_applier_sql_thread.inc +STOP SLAVE SQL_THREAD FOR CHANNEL "group_replication_applier"; + +######################################################################### +# 2) Replicate TRX from M1 to M2 but without M2 applying it. +######################################################################### + +[connection server1] +CREATE TABLE t1 (a INT PRIMARY KEY); +[connection server2] + +######################################################################### +# 3) Stop GR on M2. +######################################################################### + +include/stop_group_replication.inc + +######################################################################### +# 4) Start GR on M2 again so he tries to join the group. +######################################################################### + +SET SESSION sql_log_bin = 0; +CREATE TABLE t1 (a INT PRIMARY KEY); +SET SESSION sql_log_bin = 1; +START GROUP_REPLICATION; +Got one of the listed errors +include/assert_grep.inc [The applier should error out trying to create an already existing table] +include/assert_grep.inc [The applier should error out trying to create an already existing table] +include/assert_grep.inc [The applier should error out trying to create an already existing table] +include/gr_wait_for_member_state.inc +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 5) Set group_replication_exit_state_action sysvar to ABORT_SERVER on +# M2. +######################################################################### + +[connection server2] +SET @group_replication_exit_state_action_saved = @@GLOBAL.group_replication_exit_state_action; +SET GLOBAL group_replication_exit_state_action = ABORT_SERVER; + +######################################################################### +# 6) Start GR on M2 again, so he tries to join the group. M2 should +# not abort. +######################################################################### + +START GROUP_REPLICATION; +Got one of the listed errors +include/assert_grep.inc [The applier should error out trying to create an already existing table] +include/assert_grep.inc [The applier should error out trying to create an already existing table] +include/assert_grep.inc [The applier should error out trying to create an already existing table] +include/gr_wait_for_member_state.inc +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 7) Cleanup. +######################################################################### + +[connection server1] +DROP TABLE t1; +[connection server2] +SET SESSION sql_log_bin = 0; +DROP TABLE t1; +SET SESSION sql_log_bin = 1; +SET GLOBAL group_replication_exit_state_action = @group_replication_exit_state_action_saved; +include/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_start_gr_cmd.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_start_gr_cmd.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_start_gr_cmd.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_on_start_gr_cmd.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,88 @@ + +######################################################################### +# 0) Setup group of 2 members (M1 and M2). +######################################################################### + +include/group_replication.inc +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection server1] +[connection server2] +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("Member version is incompatible with the group."); +SET SESSION sql_log_bin = 1; + +######################################################################### +# 1) Simulate a higher version on M1. +######################################################################### + +[connection server1] +SET @debug_saved= @@GLOBAL.DEBUG; +SET @@GLOBAL.DEBUG= '+d,group_replication_compatibility_higher_major_version'; +include/start_and_bootstrap_group_replication.inc + +######################################################################### +# 2) Try to join M2 to the group by issuing START GROUP_REPLICATION. +######################################################################### + +[connection server2] +SET @super_read_only_saved = @@GLOBAL.super_read_only; +SET @exit_state_action_saved = @@GLOBAL.group_replication_exit_state_action; +START GROUP_REPLICATION; +ERROR HY000: The server is not configured properly to be an active member of the group. Please see more details on error log. + +######################################################################### +# 3) M2 should be in super_read_only mode and in OFFLINE state (since it +# failed to join the group). +######################################################################### + +include/rpl_gr_wait_for_number_of_members.inc +include/gr_wait_for_member_state.inc +include/assert.inc [super_read_only should be enabled] +include/assert_grep.inc [GR reported expected incompatibility on member version] +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 4) Change the exit_state_action to ABORT_SERVER. Try to join M2 to the +# group again. +######################################################################### + +[connection server2] +SET @@GLOBAL.group_replication_exit_state_action = ABORT_SERVER; +START GROUP_REPLICATION; +ERROR HY000: The server is not configured properly to be an active member of the group. Please see more details on error log. + +######################################################################### +# 5) M2 should not abort(). +######################################################################### + +include/rpl_gr_wait_for_number_of_members.inc +include/gr_wait_for_member_state.inc +include/assert.inc [super_read_only should be enabled] +include/assert_grep.inc [GR reported expected incompatibility on member version] +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 6) Remove the higher version from M1 and try to join M2 again. M2 +# should be able to join. +######################################################################### + +SET @@GLOBAL.DEBUG = @debug_saved; +include/stop_group_replication.inc +include/start_and_bootstrap_group_replication.inc +[connection server2] +include/start_group_replication.inc +include/rpl_gr_wait_for_number_of_members.inc +[connection server1] +include/rpl_gr_wait_for_number_of_members.inc + +######################################################################### +# 7) Cleanup. +######################################################################### + +[connection server2] +SET @@GLOBAL.group_replication_exit_state_action = @exit_state_action_saved; +include/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_option.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_option.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_option.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_exit_state_action_option.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,49 @@ +include/group_replication.inc +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection server1] + +######################################################################### +# 0) The test requires one server. +######################################################################### + +[connection server1] +SET @exit_state_action_saved = @@GLOBAL.group_replication_exit_state_action; + +######################################################################### +# 1) Check the default value. It should be READ_ONLY. +######################################################################### + +SET @@GLOBAL.group_replication_exit_state_action = default; +include/assert.inc [The default of group_replication_exit_state_action should be READ_ONLY] + +######################################################################### +# 2) Set the sysvar to the possible valid values. +######################################################################### + +SET GLOBAL group_replication_exit_state_action = "READ_ONLY"; +include/assert.inc [The default of group_replication_exit_state_action should be READ_ONLY] +SET GLOBAL group_replication_exit_state_action = "ABORT_SERVER"; +include/assert.inc [The default of group_replication_exit_state_action should be ABORT_SERVER] + +######################################################################### +# 3) Set the sysvar to invalid values. There should be an error and the +# value of the sysvar should not be altered. +######################################################################### + +SET GLOBAL group_replication_exit_state_action = 42; +ERROR 42000: Variable 'group_replication_exit_state_action' can't be set to the value of '42' +SET GLOBAL group_replication_exit_state_action = on; +ERROR 42000: Variable 'group_replication_exit_state_action' can't be set to the value of 'ON' +SET GLOBAL group_replication_exit_state_action = "abort"; +ERROR 42000: Variable 'group_replication_exit_state_action' can't be set to the value of 'abort' +SET GLOBAL group_replication_exit_state_action = "READ_ONLY"; +include/assert.inc [The default of group_replication_exit_state_action should be READ_ONLY] + +######################################################################### +# 4) Cleanup. +######################################################################### + +SET GLOBAL group_replication_exit_state_action = @exit_state_action_saved; +include/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_recovery_channel.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_recovery_channel.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_recovery_channel.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_recovery_channel.result 2018-10-04 05:48:22.000000000 +0000 @@ -26,6 +26,7 @@ Note 1760 Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. include/assert.inc ['The slave channel is present'] RESET SLAVE ALL; +ERROR HY000: RESET SLAVE ALL FOR CHANNEL cannot be performed on channel 'group_replication_applier'. include/assert.inc ['The group replication recovery channel is present'] include/assert.inc ['The group replication recovery channel is ON'] include/assert.inc ['The slave channel is not present'] diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_recovery_lower_max_retry_count.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_recovery_lower_max_retry_count.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_recovery_lower_max_retry_count.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_recovery_lower_max_retry_count.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,49 @@ +include/group_replication.inc +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection server1] + +# 1. Bootstrap start a group on M1. + +[connection server1] +include/start_and_bootstrap_group_replication.inc + +# 2. Setup environment to fail donor connection and start GR on M2. +# Set DEBUG on M2 to block donor connection attempt when count reaches 3. +# Verify M2 is in recovery state. + +[connection server2] +SET @debug_save= @@GLOBAL.DEBUG; +SET @recovery_reconnect_interval_save= @@GLOBAL.GROUP_REPLICATION_RECOVERY_RECONNECT_INTERVAL; +SET @recovery_retry_count_save= @@GLOBAL.group_replication_recovery_retry_count; +CHANGE MASTER TO MASTER_USER="user_does_not_exist" FOR CHANNEL "group_replication_recovery"; +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("Maximum number of retries when trying to connect to a donor reached. Aborting group replication recovery."); +call mtr.add_suppression("Fatal error during the recovery process of Group Replication. The server will leave the group."); +call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going."); +SET SESSION sql_log_bin = 1; +SET @@GLOBAL.DEBUG='+d,gr_reset_max_connection_attempts_to_donors'; +SET GLOBAL group_replication_recovery_reconnect_interval= 2; +include/start_group_replication.inc + +# 3. Reset group_replication_recovery_retry_count to 2. +# Signal donor connection attempt to continue. + +SET DEBUG_SYNC= "now WAIT_FOR signal.connection_attempt_3"; +SET GLOBAL group_replication_recovery_retry_count= 2; +SET DEBUG_SYNC= "now SIGNAL signal.reset_recovery_retry_count_done"; + +# 4. Verification. + +include/gr_wait_for_member_state.inc +include/assert_grep.inc [3 donor connections attempts were made.] +include/assert_grep.inc [Post change of group_replication_recovery_retry_count, 4th donor connection attempt was not made.] +include/assert_grep.inc [Recovery process aborted.] + +# 5. Clean up. + +SET @@GLOBAL.DEBUG= @debug_save; +SET @@GLOBAL.GROUP_REPLICATION_RECOVERY_RECONNECT_INTERVAL= @recovery_reconnect_interval_save; +SET @@GLOBAL.group_replication_recovery_retry_count= @recovery_retry_count_save; +include/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_recovery_no_donors.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_recovery_no_donors.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_recovery_no_donors.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_recovery_no_donors.result 2018-10-04 05:48:22.000000000 +0000 @@ -19,6 +19,7 @@ call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going."); call mtr.add_suppression("Transaction cannot be executed while Group Replication is stopping."); call mtr.add_suppression("Run function 'before_commit' in plugin 'group_replication' failed"); +call mtr.add_suppression("On shutdown there was a timeout receiving a view change. This can lead to a possible inconsistent state. Check the log for more details"); SET SESSION sql_log_bin= 1; CREATE TABLE t1 (a INT PRIMARY KEY AUTO_INCREMENT NOT NULL); SET GLOBAL EVENT_SCHEDULER= ON; @@ -53,6 +54,7 @@ call mtr.add_suppression("The member is already leaving or joining a group."); call mtr.add_suppression("Skipping leave operation: member already left the group."); call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going."); +call mtr.add_suppression("On shutdown there was a timeout receiving a view change. This can lead to a possible inconsistent state. Check the log for more details"); SET SESSION sql_log_bin= 1; [connection server3] SET SESSION sql_log_bin= 0; @@ -63,6 +65,7 @@ call mtr.add_suppression("The member is already leaving or joining a group."); call mtr.add_suppression("Skipping leave operation: member already left the group."); call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going."); +call mtr.add_suppression("On shutdown there was a timeout receiving a view change. This can lead to a possible inconsistent state. Check the log for more details"); SET SESSION sql_log_bin= 1; ############################################################ diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_reset_slave_channel.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_reset_slave_channel.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_reset_slave_channel.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_reset_slave_channel.result 2018-10-04 05:48:22.000000000 +0000 @@ -18,6 +18,7 @@ include/assert.inc ['The group replication applier channel is present'] include/assert.inc ['The slave channel is present'] RESET SLAVE ALL; +ERROR HY000: RESET SLAVE ALL FOR CHANNEL cannot be performed on channel 'group_replication_applier'. include/assert.inc ['The group replication applier channel is still present'] include/assert.inc ['The group replication applier channel is ON'] include/assert.inc ['The slave channel is not present'] @@ -33,5 +34,25 @@ INSERT INTO t1 VALUES (5); include/rpl_sync.inc include/assert.inc [The table should contain 5 elements] +server2 +Vefiry that group replication channels are present +include/assert.inc ['The group replication applier channel is present'] +include/assert.inc ['The group replication recovery channel is present'] +include/stop_group_replication.inc +RESET SLAVE command clears master and slave info repositories and will flush master info +RESET SLAVE; +include/assert.inc ['mysql.slave_relay_log_info contains no group replication channel information'] +include/assert.inc ['mysql.slave_master_info contains flushed group replication channel information'] +include/start_group_replication.inc +include/assert.inc ['The group replication applier and recovery channel are present'] +include/stop_group_replication.inc +RESET SLAVE ALL; +include/assert.inc ['mysql.slave_relay_log_info does not contrain group replication channel information'] +include/assert.inc ['mysql.slave_master_info does not contrain group replication channel information'] +CHANGE MASTER TO MASTER_USER="root" FOR CHANNEL "group_replication_recovery"; +Warnings: +Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure. +Note 1760 Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +include/start_group_replication.inc DROP TABLE t1; include/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_show_global_and_session_variables.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_show_global_and_session_variables.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_show_global_and_session_variables.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_show_global_and_session_variables.result 2018-10-04 05:48:22.000000000 +0000 @@ -7,8 +7,8 @@ include/start_and_bootstrap_group_replication.inc include/stop_group_replication.inc -# Test#1: Basic check that there are 35 GR variables. -include/assert.inc [There are 35 GR variables at present.] +# Test#1: Basic check that there are 36 GR variables. +include/assert.inc [There are 36 GR variables at present.] # Test#2: Verify that all the group replication variables are GLOBAL variables. SET @@SESSION.group_replication_allow_local_disjoint_gtids_join= 1; @@ -75,6 +75,8 @@ ERROR HY000: Variable 'group_replication_unreachable_majority_timeout' is a GLOBAL variable and should be set with SET GLOBAL SET @@SESSION.group_replication_member_weight= 80; ERROR HY000: Variable 'group_replication_member_weight' is a GLOBAL variable and should be set with SET GLOBAL +SET @@SESSION.group_replication_exit_state_action= "READ_ONLY"; +ERROR HY000: Variable 'group_replication_exit_state_action' is a GLOBAL variable and should be set with SET GLOBAL Warnings: Warning 1681 'group_replication_allow_local_disjoint_gtids_join' is deprecated and will be removed in a future release. @@ -210,6 +212,10 @@ include/assert.inc [Verify GLOBAL value of group_replication_member_weight] include/assert.inc [Verify SESSION value of group_replication_member_weight] include/assert.inc [Verify SESSION value of group_replication_member_weight] +include/assert.inc [Verify GLOBAL value of group_replication_exit_state_action] +include/assert.inc [Verify GLOBAL value of group_replication_exit_state_action] +include/assert.inc [Verify SESSION value of group_replication_exit_state_action] +include/assert.inc [Verify SESSION value of group_replication_exit_state_action] # Clean up include/stop_group_replication.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_startup_check_node_seed_skips_own_address.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_startup_check_node_seed_skips_own_address.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_startup_check_node_seed_skips_own_address.result 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_startup_check_node_seed_skips_own_address.result 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,20 @@ +include/group_replication.inc +Warnings: +Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. +Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. +[connection server1] +server1 +include/start_and_bootstrap_group_replication.inc +server2 +"1. Test local address with raw address and seeds with name" +include/start_group_replication.inc +include/gr_wait_for_member_state.inc +include/stop_group_replication.inc +"2. Test local address with name address and seeds with raw address" +include/start_group_replication.inc +include/gr_wait_for_member_state.inc +include/stop_group_replication.inc +"3. Test local address with name address and seeds with name address" +include/start_group_replication.inc +include/gr_wait_for_member_state.inc +include/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_variables_default_values.result mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_variables_default_values.result --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/r/gr_variables_default_values.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/r/gr_variables_default_values.result 2018-10-04 05:48:22.000000000 +0000 @@ -24,9 +24,9 @@ # # Test Unit#1 # Set global group replication variables to default. -# Curently there are 35 group replication variables. +# Curently there are 36 group replication variables. # -include/assert.inc [There are 35 GR variables at present.] +include/assert.inc [There are 36 GR variables at present.] SET @@GLOBAL.group_replication_auto_increment_increment= default; ERROR 42000: Variable 'group_replication_auto_increment_increment' can't be set to the value of 'DEFAULT' SET @@GLOBAL.group_replication_compression_threshold= default; @@ -68,6 +68,7 @@ SET @@GLOBAL.group_replication_transaction_size_limit= default; SET @@GLOBAL.group_replication_unreachable_majority_timeout= default; SET @@GLOBAL.group_replication_member_weight= default; +SET @@GLOBAL.group_replication_exit_state_action= default; # # Test Unit#2 # Verify default values of the group replication variables. @@ -100,6 +101,7 @@ include/assert.inc [Default group_replication_transaction_size_limit is 0] include/assert.inc [Default group_replication_unreachable_majority_timeout is 0] include/assert.inc [Default group_replication_member_weight is 50] +include/assert.inc [Default group_replication_exit_state_action is READ_ONLY] # # Clean up # diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/rpl_1slave_base.cnf mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/rpl_1slave_base.cnf --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/rpl_1slave_base.cnf 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/rpl_1slave_base.cnf 2018-10-04 05:48:22.000000000 +0000 @@ -26,6 +26,7 @@ loose-group_replication_single_primary_mode= FALSE loose-group_replication_enforce_update_everywhere_checks= TRUE +loose-group_replication_exit_state_action= READ_ONLY # Directory where slaves find the dumps generated by "load data" # on the server. The path need to have constant length otherwise diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_applier_early_failure.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_applier_early_failure.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_applier_early_failure.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_applier_early_failure.test 2018-10-04 05:48:22.000000000 +0000 @@ -31,6 +31,10 @@ --let $rpl_connection_name= server1 --source include/rpl_connection.inc +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("On shutdown there was a timeout receiving a view change. This can lead to a possible inconsistent state. Check the log for more details"); +SET SESSION sql_log_bin = 1; + CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY) ENGINE=InnoDB; --source include/rpl_sync.inc @@ -42,6 +46,10 @@ --let $rpl_connection_name= server2 --source include/rpl_connection.inc +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("On shutdown there was a timeout receiving a view change. This can lead to a possible inconsistent state. Check the log for more details"); +SET SESSION sql_log_bin = 1; + SET SESSION sql_log_bin= 0; INSERT INTO t1 VALUES (1); SET SESSION sql_log_bin= 1; diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_applier_error-slave.opt mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_applier_error-slave.opt --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_applier_error-slave.opt 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_applier_error-slave.opt 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1 @@ +--no-console --log_error=$MYSQLTEST_VARDIR/tmp/gr_applier_error.2.err diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_applier_error.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_applier_error.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_applier_error.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_applier_error.test 2018-10-04 05:48:22.000000000 +0000 @@ -69,8 +69,7 @@ --echo # --echo # Step-6: Grep for the expected error in server log. --echo # ---let $assert_file= $MYSQLTEST_VARDIR/log/mysqld.2.err ---let $assert_only_after = CURRENT_TEST: group_replication.gr_applier_error +--let $assert_file= $MYSQLTEST_VARDIR/tmp/gr_applier_error.2.err --let $assert_count = 1 --let $assert_select = failed executing transaction '.*'; Could not execute Write_rows event on table test.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY, Error_code: 1062 --let $assert_text = Found the expected error in group_replication_applier channel. diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_concurrent_start_uninstall.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_concurrent_start_uninstall.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_concurrent_start_uninstall.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_concurrent_start_uninstall.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,81 @@ +################################################################################ +# This test confirms that when START GR and UNINSTALL PLUGIN GR commands are +# executed concurrently, no deadlock happens. +# +# Test: +# 0. The test requires one server. +# 1. Setup GR environment and execute START GR. +# 2. Block start, so we can execute UNINSTALL. +# 3. Execute UNINSTALL PLUGIN GR should fail with error +# ER_PLUGIN_CANNOT_BE_UNINSTALLED as START GR is already running. +# 4. SIGNAL START GR to resume processing. +# 5. Confirm GR is started +# 6. Cleanup +# +################################################################################ +--source include/have_debug.inc +--source include/have_debug_sync.inc +--source ../inc/have_group_replication_plugin.inc +--let $rpl_skip_group_replication_start= 1 +--source ../inc/group_replication.inc + +--echo +--echo # 1. Setup GR environment and execute START GR. +--echo + +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc + +SET GLOBAL group_replication_bootstrap_group=ON; +--replace_result $group_replication_group_name GROUP_REPLICATION_GROUP_NAME +--eval SET GLOBAL group_replication_group_name= "$group_replication_group_name" + +--echo +--echo # 2. Block start, so we can execute UNINSTALL. +--echo + +## If START GR gets lock and UNINSTALL blocks SQL Query execution, +## GR used to deadlock. + +SET @debug_save= @@GLOBAL.DEBUG; +SET @@GLOBAL.DEBUG= '+d,group_replication_wait_on_start'; + +--send START GROUP_REPLICATION + +--echo +--echo # 3. Execute UNINSTALL PLUGIN GR should fail with error +--echo # ER_PLUGIN_CANNOT_BE_UNINSTALLED as START GR is already running. +--echo + +--let $rpl_connection_name= server_1 +--source include/rpl_connection.inc +# Wait for the debug sync to be reached. +SET DEBUG_SYNC= "now WAIT_FOR signal.start_waiting"; + +--error ER_PLUGIN_CANNOT_BE_UNINSTALLED +UNINSTALL PLUGIN group_replication; + + +--echo +--echo # 4. SIGNAL START GR to resume processing. +--echo +SET DEBUG_SYNC= 'now SIGNAL signal.start_continue'; + +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--reap + +--echo +--echo # 5. Confirm GR is started +--echo + +--let $group_replication_member_state= ONLINE +--source ../inc/gr_wait_for_member_state.inc + + +--echo +--echo # 6. Cleanup +--echo + +SET @@GLOBAL.DEBUG= @debug_save; +--source ../inc/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_concurrent_stop_select.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_concurrent_stop_select.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_concurrent_stop_select.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_concurrent_stop_select.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,66 @@ +################################################################################ +# This test confirms that when STOP GR and select +# performance_schema.replication_connection_status query is executed +# concurrently, no deadlock happens. +# +# Test: +# 0. The test requires one server. +# 1. Block Stop Group Replication +# 2. Wait for debug sync to be reached and then execute select query +# 3. SIGNAL STOP GR to resume processing +# 4. Confirm Group Replication is stopped +# 5. Cleanup +# +################################################################################ +--source include/have_debug.inc +--source include/have_debug_sync.inc +--source ../inc/have_group_replication_plugin.inc +--source ../inc/group_replication.inc + +--echo +--echo # 1. Block Stop Group Replication +--echo + +SET @debug_save= @@GLOBAL.DEBUG; +SET @@GLOBAL.DEBUG= '+d,group_replication_wait_on_stop'; + +--send STOP GROUP_REPLICATION + + +--echo +--echo # 2. Wait for debug sync to be reached and then execute select query +--echo + +--let $rpl_connection_name= server_1 +--source include/rpl_connection.inc + +SET DEBUG_SYNC= "now WAIT_FOR signal.stop_waiting"; + +SELECT COUNT(*) FROM performance_schema.replication_connection_status; + + +--echo +--echo # 3. SIGNAL STOP GR to resume processing +--echo + +SET DEBUG_SYNC= 'now SIGNAL signal.stop_continue'; + +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--reap + + +--echo +--echo # 4. Confirm Group Replication is stopped +--echo + +--let $group_replication_member_state= OFFLINE +--source ../inc/gr_wait_for_member_state.inc + + +--echo +--echo # 5. Cleanup +--echo + +SET @@GLOBAL.DEBUG= @debug_save; +--source ../inc/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_concurrent_uninstall_stop.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_concurrent_uninstall_stop.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_concurrent_uninstall_stop.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_concurrent_uninstall_stop.test 2018-10-04 05:48:22.000000000 +0000 @@ -1,7 +1,7 @@ # ==== Purpose ==== # # Verify that 'UNINSTALL PLUGIN' and 'STOP GROUP_REPLICATION' commands -# run well in parallel. +# don't run in parallel in mysql 5.7. # # ==== Implementation ==== # @@ -30,6 +30,10 @@ --source ../inc/start_and_bootstrap_group_replication.inc +## Warnings depends upon sequence of execution of +## query "STOP GROUP_REPLICATION" and "UNINSTALL PLUGIN group_replication" +--disable_warnings + --send UNINSTALL PLUGIN group_replication --let $rpl_connection_name= server_1 @@ -37,15 +41,19 @@ --echo # --echo # STOP GROUP_REPLICATION in parallel. --echo # +## Uninstall will fail as STOP GR is already running. --error 0, ER_GROUP_REPLICATION_CONFIGURATION STOP GROUP_REPLICATION; --let $rpl_connection_name= server1 --source include/rpl_connection.inc ---error 0, ER_OPTION_PREVENTS_STATEMENT +--error 0, ER_PLUGIN_CANNOT_BE_UNINSTALLED --reap +--enable_warnings + SET @@GLOBAL.read_only= 0; + # The previous UNINSTALL attempt may have failed due to SUPER_READ_ONLY=1, as # such we uninstall the plugin again. --error 0, ER_SP_DOES_NOT_EXIST diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_applier_error.cnf mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_applier_error.cnf --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_applier_error.cnf 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_applier_error.cnf 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,6 @@ +!include ../my.cnf + +[mysqld.1] +local-infile= true + +[mysqld.2] diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_applier_error.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_applier_error.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_applier_error.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_applier_error.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,176 @@ +############################################################################### +# +# group_replication_exit_state_action sysvar specifies which action is taken +# by a server once it has involuntarily left the group. Currently there are +# only two actions: either the server continues running but with +# super_read_only enabled (READ_ONLY) or it aborts (ABORT_SERVER). +# +# This test shall test that the specified exit action is executed correctly +# when an applier error occurs. +# +# Test: +# 0) Setup group of 2 members (M1 and M2). +# 1) Force applier error on member 1. +# 1.1) Verify that member 1 went to super_read_only mode and changed to ERROR +# state. +# 2) Relaunch member 1 with exit state action to ABORT_SERVER. +# 3) Force applier error again on member 1. +# 3.1) Verify that member 1 aborted. +# 4) Relaunch member 1. +# 5) Cleanup. +# +################################################################################ +--source include/have_debug.inc +--source include/not_valgrind.inc +--source include/big_test.inc +--source ../inc/have_group_replication_plugin.inc + +--echo +--echo ######################################################################### +--echo # 0) Setup group of 2 members (M1 and M2). +--echo ######################################################################### +--echo +--source ../inc/group_replication.inc +# Supress log errors since they are expected. +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("Slave SQL for channel 'group_replication_applier': Could not execute Write_rows event on table test.t1; Duplicate entry.*"); +call mtr.add_suppression("Slave SQL for channel 'group_replication_applier': Worker [0-9] failed executing transaction*"); +call mtr.add_suppression("Slave SQL for channel 'group_replication_applier': ... The slave coordinator and worker threads are stopped,*"); +call mtr.add_suppression("The applier thread execution was aborted. Unable to process more transactions, this member will now leave the group."); +call mtr.add_suppression("Fatal error during execution on the Applier process of Group Replication. The server will now leave the group."); +call mtr.add_suppression("The server was automatically set into read only mode after an error was detected."); +call mtr.add_suppression("Member was expelled from the group due to network failures, changing member status to ERROR."); +call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going."); +call mtr.add_suppression("Fatal error during execution of Group Replication"); +SET SESSION sql_log_bin = 1; +--let $member1_uuid= `SELECT @@GLOBAL.server_uuid` +--let $local_address_server1= `SELECT @@GLOBAL.group_replication_local_address` +--let $group_seeds_server1= `SELECT @@GLOBAL.group_replication_group_seeds` + +--echo +--echo ######################################################################### +--echo # 1) Force applier error on member 1. +--echo ######################################################################### +--echo +# Create a table for our tests +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +CREATE TABLE t1(a INT PRIMARY KEY); +--source include/rpl_sync.inc +# Write to it without replicating the trx +SET SESSION sql_log_bin= 0; +INSERT INTO t1 VALUES (1); +SET SESSION sql_log_bin= 1; +# Write to the same row on member 2 +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +INSERT INTO t1 VALUES (1); +# The rows on member 2 will be replicated and clash with member 1, thus +# generating an applier error +--source include/rpl_sync.inc + +--echo +--echo ######################################################################### +--echo # 1.1) Verify that member 1 went to super_read_only mode. +--echo ######################################################################### +--echo +# Firstly verify that the member entered an error state +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_member_state= ERROR +--let $group_replication_member_id= $member1_uuid +--source ../inc/gr_wait_for_member_state.inc +# Then verify that it enabled super_read_only +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $assert_text= super_read_only should be enabled +--let $assert_cond= [SELECT @@GLOBAL.super_read_only] = 1; +--source include/assert.inc + +--echo +--echo ######################################################################### +--echo # 2) Set exit state action to ABORT_SERVER on member 1. +--echo ######################################################################### +--echo +# Stop GR +--source include/stop_group_replication.inc + +# Delete the transaction that clashed, so the server doesn't error out right +# when starting the applier channel. +SET sql_log_bin = 0; +DELETE FROM t1 WHERE a = 1; +SET sql_log_bin = 1; + +# Set the exit state action sysvar to ABORT_SERVER +SET @@GLOBAL.group_replication_exit_state_action = ABORT_SERVER; + +--echo +--echo ######################################################################### +--echo # 3) Force applier error again on member 1. +--echo ######################################################################### +--echo +# Inform MTR that we are expecting an abort and that it should wait before +# restarting the aborting member +--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect +--source include/start_group_replication.inc + +# Write to t1 without replicating the trx +SET SESSION sql_log_bin= 0; +INSERT INTO t1 VALUES (2); +SET SESSION sql_log_bin= 1; + +# Write to the same row on member 2. This will clash with member 1's row and +# thus generate an applier error +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +INSERT INTO t1 VALUES (2); + +--echo +--echo ######################################################################### +--echo # 3.1) Verify that member 1 aborted. +--echo ######################################################################### +--echo +# For simplicity, let's assume that once the group size is 1, then member 1 has +# abort()'ed +--let $group_replication_number_of_members = 1 +--source ../inc/gr_wait_for_number_of_members.inc +# Also, the member should not be in the group view of any of the other members +--let $assert_text = Member 1 should have aborted +--let $assert_cond = COUNT(*) = 0 FROM performance_schema.replication_group_members WHERE MEMBER_ID = "$member1_uuid" +--source include/assert.inc + +--echo +--echo ######################################################################### +--echo # 4) Relaunch member 1. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--source include/wait_until_disconnected.inc +# Inform MTR that it should restart the aborted member +--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect +--let $rpl_server_number= 1 +--source include/rpl_reconnect.inc + +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +SET SESSION sql_log_bin= 0; +DELETE FROM t1 WHERE a = 2; +SET SESSION sql_log_bin= 1; +--replace_result $group_seeds_server1 GROUP_SEEDS_SERVER1 +--eval SET @@global.group_replication_group_seeds="$group_seeds_server1" +--replace_result $local_address_server1 LOCAL_ADDRESS_SERVER1 +--eval SET @@global.group_replication_local_address="$local_address_server1" +--source include/start_group_replication.inc + +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 5) Cleanup. +--echo ######################################################################### +--echo +DROP TABLE t1; + +--source ../inc/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_lower_version-slave.opt mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_lower_version-slave.opt --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_lower_version-slave.opt 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_lower_version-slave.opt 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1 @@ +--no-console --log_error=$MYSQLTEST_VARDIR/tmp/gr_exit_state_action_on_join_lower_version.2.err diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_lower_version.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_lower_version.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_lower_version.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_lower_version.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,204 @@ +############################################################################### +# +# group_replication_exit_state_action sysvar specifies which action is taken by +# a server once it has involuntarily left the group. Currently there are only +# two actions: either the server continues running but with super_read_only +# enabled (READ_ONLY) or it aborts (ABORT_SERVER). +# +# This test shall verify that the correct exit state action is executed when +# an error occurs upon joining the group (in this case, the member version of +# the joining member not being compatible with the rest of the group). +# +# Test: +# 0) Setup group of 2 members (M1 and M2). +# 1) Simulate a higher version on M1. +# 2) Try to join M2 to the group. +# 3) M2 should be in super_read_only mode and in OFFLINE state (since it +# failed to join the group). +# 4) Change the exit_state_action to ABORT_SERVER. Try to join M2 to the group +# again. +# 5) M2 should have abort()ed. +# 6) Restart M2 again without group_replication_start_on_boot enabled. The +# server should start normally and be able to join the group. +# 7) Cleanup. +# +################################################################################ +# By including have_debug.inc we make sure that we are using the debug version +# of the server. This is needed because in the debug version (the one without +# DBUG_OFF defined) the abort_plugin_process() function calls DBUG_SUICIDE() +# which does not send a SIGABRT to itself but a SIGKILL instead (and in this way +# MTR won't assume the process crashed). +--source include/have_debug.inc +--source include/big_test.inc +--source include/not_valgrind.inc +--source ../inc/have_group_replication_plugin.inc + +--echo +--echo ######################################################################### +--echo # 0) Setup group of 2 members (M1 and M2). +--echo ######################################################################### +--echo +--let $rpl_skip_group_replication_start = 1 +--source ../inc/group_replication.inc +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("Error, maximum number of retries exceeded when waiting for the internal server session state to be operating"); +call mtr.add_suppression("Failed to establish an internal server connection to execute plugin operations"); +call mtr.add_suppression("Error when extracting information for group change. Operations and checks made to group joiners may be incomplete."); +call mtr.add_suppression("Member version is incompatible with the group."); +call mtr.add_suppression("Timeout on wait for view after joining group"); +call mtr.add_suppression("\\[GCS\\] Error connecting to all peers. Member join failed.*"); +call mtr.add_suppression("\\[GCS\\] read failed"); +call mtr.add_suppression("\\[GCS\\] The member was unable to join the group.*"); +SET SESSION sql_log_bin = 1; + +--echo +--echo ######################################################################### +--echo # 1) Simulate a higher version on M1. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +SET @debug_saved= @@GLOBAL.DEBUG; +SET @@GLOBAL.DEBUG= '+d,group_replication_compatibility_higher_major_version'; +--source ../inc/start_and_bootstrap_group_replication.inc + +--echo +--echo ######################################################################### +--echo # 2) Try to join M2 to the group. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Save all the context we'll need during the test +--let $error_file = $MYSQLTEST_VARDIR/tmp/gr_exit_state_action_on_join_lower_version.2.err +--let $member2_uuid = `SELECT @@GLOBAL.server_uuid` +--let $local_address_server2= `SELECT @@GLOBAL.group_replication_local_address` +--let $group_seeds_server2= `SELECT @@GLOBAL.group_replication_group_seeds` +# Restart the server with group_replication_start_on_boot enabled +--let $allow_rpl_inited = 1 +--let $restart_parameters=restart:--group_replication_local_address=$local_address_server2 --group_replication_group_seeds=$group_seeds_server2 --group-replication-group-name=$group_replication_group_name --group_replication_start_on_boot=1 +--replace_result $local_address_server2 GROUP_REPLICATION_LOCAL_ADDRESS $group_seeds_server2 GROUP_REPLICATION_GROUP_SEEDS $group_replication_group_name GROUP_REPLICATION_GROUP_NAME +--source include/restart_mysqld.inc +# Reestablish the connection to the server +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc + +--echo +--echo ######################################################################### +--echo # 3) M2 should be in super_read_only mode and in OFFLINE state (since it +--echo # failed to join the group). +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Wait for the member to realize that it couldn't join the group +--let $member2_uuid = `SELECT @@GLOBAL.server_uuid` +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc +--let $group_replication_member_state = OFFLINE +--let $group_replication_member_id = $member2_uuid +--source ../inc/gr_wait_for_member_state.inc +# Verify that it went to super_read_only mode +--let $assert_text= super_read_only should be enabled +--let $assert_cond= [SELECT @@GLOBAL.super_read_only] = 1; +--source include/assert.inc +# Verify that the expected error occurred +--let $assert_file = $error_file +--let $assert_text = GR reported expected incompatibility on member version +--let $assert_select = Member version is incompatible with the group +--let $assert_count = 1 +--source include/assert_grep.inc +# Verify that member 2 didn't join the group +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 1 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 4) Change the exit_state_action to ABORT_SERVER. Try to join M2 to the +--echo # group again. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Restart the server again with group_replication_start_on_boot enabled and with +# group_replication_exit_state_action set to ABORT_SERVER +--let $allow_rpl_inited = 1 +--let $restart_parameters=restart:--group_replication_local_address=$local_address_server2 --group_replication_group_seeds=$group_seeds_server2 --group-replication-group-name=$group_replication_group_name --group_replication_start_on_boot=1 --group_replication_exit_state_action=ABORT_SERVER +--replace_result $local_address_server2 GROUP_REPLICATION_LOCAL_ADDRESS $group_seeds_server2 GROUP_REPLICATION_GROUP_SEEDS $group_replication_group_name GROUP_REPLICATION_GROUP_NAME +--source include/restart_mysqld.inc +--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.2.expect +--source include/wait_until_disconnected.inc + +--echo +--echo ######################################################################### +--echo # 5) M2 should have abort()ed. +--echo ######################################################################### +--echo +# Wait for server 1 to see that server 2 didn't join +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 1 +--source ../inc/gr_wait_for_number_of_members.inc +--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.2.expect +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +# Wait until server 2 is connected again, so we know it has abort()'ed +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +--source include/wait_until_connected_again.inc +# Search for the expected errors in the error log file +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +--let $assert_file = $error_file +--let $assert_text = GR reported expected incompatibility on member version +--let $assert_select = Member version is incompatible with the group +--let $assert_count = 2 +--source include/assert_grep.inc +--let $assert_text = GR reported expected abort +--let $assert_select = The plugin encountered a critical error and will abort +--let $assert_count = 1 +--source include/assert_grep.inc + +--echo +--echo ######################################################################### +--echo # 6) Restart M2 again without group_replication_start_on_boot enabled. +--echo # The server should start normally and be able to join the group. +--echo ######################################################################### +--echo +# Restore the debug sysvar to its original state on server 1, so that we may +# finally join server 2 +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +SET @@GLOBAL.DEBUG = @debug_saved; +# We must restart the GR plugin because updates on the debug sysvar are not +# automatically reflected on the plugin if it is already running +--source include/stop_group_replication.inc +--source ../inc/start_and_bootstrap_group_replication.inc +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Restart server 2 again, now with group_replication_start_on_boot disabled +--let $allow_rpl_inited=1 +--let $restart_parameters=restart:--group_replication_local_address=$local_address_server2 --group_replication_group_seeds=$group_seeds_server2 --group-replication-group-name=$group_replication_group_name +--replace_result $local_address_server2 GROUP_REPLICATION_LOCAL_ADDRESS $group_seeds_server2 GROUP_REPLICATION_GROUP_SEEDS $group_replication_group_name GROUP_REPLICATION_GROUP_NAME +--source include/restart_mysqld.inc +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +# Start GR on server 2 and verify that the group stabilizes itself +--source include/start_group_replication.inc +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 7) Cleanup. +--echo ######################################################################### +--echo +--source ../inc/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_members_exceeded-slave.opt mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_members_exceeded-slave.opt --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_members_exceeded-slave.opt 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_members_exceeded-slave.opt 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1 @@ +--no-console --log_error=$MYSQLTEST_VARDIR/tmp/gr_exit_state_action_on_join_members_exceeded.2.err diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_members_exceeded.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_members_exceeded.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_members_exceeded.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_members_exceeded.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,195 @@ +############################################################################### +# +# group_replication_exit_state_action sysvar specifies which action is taken by +# a server once it has involuntarily left the group. Currently there are only +# two actions: either the server continues running but with super_read_only +# enabled (READ_ONLY) or it aborts (ABORT_SERVER). +# +# This test shall verify that the correct exit state action is executed when +# an error occurs upon joining the group (in this case, number of members +# exceeded). +# +# Test: +# 0) Setup group of 2 members (M1 and M2). +# 1) Simulate a group of 10 members when member 2 joins. Member 2 will be +# unable to join. +# 2) Verify that member 2 was sent to super_read_only mode and in OFFLINE +# state (since it failed to join the group). +# 3) Set the exit_state_aciton on member 2 to ABORT_SERVER and simulate again +# a group of 10 members when member 2 joins. Member 2 will be unable to +# join again. +# 4) Member 2 will have abort()ed. +# 5) Restart M2 again without group_replication_start_on_boot enabled. The +# server should start normally and be able to join the group. +# 6) Cleanup. +# +################################################################################ +# By including have_debug.inc we make sure that we are using the debug version +# of the server. This is needed because in the debug version (the one without +# DBUG_OFF defined) the abort_plugin_process() function calls DBUG_SUICIDE() +# which does not send a SIGABRT to itself but a SIGKILL instead (and in this way +# MTR won't assume the process crashed). +--source include/have_debug.inc +--source include/big_test.inc +--source include/not_valgrind.inc +--source ../inc/have_group_replication_plugin.inc + +--echo +--echo ######################################################################### +--echo # 0) Setup group of 1 member (M1). +--echo ######################################################################### +--echo +--let $allow_rpl_inited=1 +--let $rpl_skip_group_replication_start = 1 +--source ../inc/group_replication.inc +--source ../inc/start_and_bootstrap_group_replication.inc +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("\\[GCS\\] Error connecting to all peers. Member join failed.*"); +call mtr.add_suppression("\\[GCS\\] read failed"); +call mtr.add_suppression("\\[GCS\\] The member was unable to join the group.*"); +SET SESSION sql_log_bin = 1; +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("\\[GCS\\] Error connecting to all peers. Member join failed.*"); +call mtr.add_suppression("\\[GCS\\] read failed"); +call mtr.add_suppression("\\[GCS\\] The member was unable to join the group.*"); +call mtr.add_suppression("The plugin encountered a critical error and will abort: Fatal error during execution of Group Replication"); +call mtr.add_suppression("Timeout on wait for view after joining group"); +call mtr.add_suppression("Error, maximum number of retries exceeded when waiting for the internal server session state to be operating"); +call mtr.add_suppression("Failed to establish an internal server connection to execute plugin operations"); +call mtr.add_suppression("Error when extracting information for group change. Operations and checks made to group joiners may be incomplete"); +call mtr.add_suppression("The START GROUP_REPLICATION command failed since the group already has 9 members."); +SET SESSION sql_log_bin = 1; + +--echo +--echo ######################################################################### +--echo # 1) Simulate a group of 10 members when member 2 joins. Member 2 will +--echo # be unable to join. +--echo ######################################################################### +--echo +# Save all the context we'll need during the test +--let $error_file = $MYSQLTEST_VARDIR/tmp/gr_exit_state_action_on_join_members_exceeded.2.err +--let $member2_uuid = `SELECT @@GLOBAL.server_uuid` +--let $local_address_server2= `SELECT @@GLOBAL.group_replication_local_address` +--let $group_seeds_server2= `SELECT @@GLOBAL.group_replication_group_seeds` +# Restart server 2 with group_replication_start_on_boot enabled and with the +# group_replication_set_number_of_members_on_view_changed_to_10 debug var +# enabled, so that we simulate this test's scenario +--let $allow_rpl_inited = 1 +--let $restart_parameters=restart:--group_replication_local_address=$local_address_server2 --group_replication_group_seeds=$group_seeds_server2 --group-replication-group-name=$group_replication_group_name --group_replication_start_on_boot=1 --loose-debug="+d,group_replication_set_number_of_members_on_view_changed_to_10" +--replace_result $local_address_server2 GROUP_REPLICATION_LOCAL_ADDRESS $group_seeds_server2 GROUP_REPLICATION_GROUP_SEEDS $group_replication_group_name GROUP_REPLICATION_GROUP_NAME +--source include/restart_mysqld.inc +# Reestablish the connection to the server +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc + +--echo +--echo ######################################################################### +--echo # 2) Verify that member 2 was sent to super_read_only mode and in OFFLINE +--echo # state (since it failed to join the group). +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Wait for the member to realize that it couldn't join the group +--let $member2_uuid = `SELECT @@GLOBAL.server_uuid` +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc +--let $group_replication_member_state = OFFLINE +--let $group_replication_member_id = $member2_uuid +--source ../inc/gr_wait_for_member_state.inc +# Verify that it went to super_read_only mode +--let $assert_text= super_read_only should be enabled +--let $assert_cond= [SELECT @@GLOBAL.super_read_only] = 1; +--source include/assert.inc +# Verify that the expected error occurred +--let $assert_file = $error_file +--let $assert_text = GR reported expected excess of members in group +--let $assert_select = The START GROUP_REPLICATION command failed since the group already has 9 members +--let $assert_count = 1 +--source include/assert_grep.inc +# Verify that member 2 didn't join the group +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 1 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 3) Set the exit_state_action to ABORT_SERVER and simulate again a +--echo # group of 10 members when member 2 joins. Member 2 will be unable to +--echo # join again. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Restart the server again with group_replication_start_on_boot enabled and with +# group_replication_exit_state_action set to ABORT_SERVER +--let $allow_rpl_inited = 1 +--let $restart_parameters=restart:--group_replication_local_address=$local_address_server2 --group_replication_group_seeds=$group_seeds_server2 --group-replication-group-name=$group_replication_group_name --group_replication_start_on_boot=1 --loose-debug="+d,group_replication_set_number_of_members_on_view_changed_to_10" --group_replication_exit_state_action=ABORT_SERVER +--replace_result $local_address_server2 GROUP_REPLICATION_LOCAL_ADDRESS $group_seeds_server2 GROUP_REPLICATION_GROUP_SEEDS $group_replication_group_name GROUP_REPLICATION_GROUP_NAME +--source include/restart_mysqld.inc +--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.2.expect +--source include/wait_until_disconnected.inc + +--echo +--echo ######################################################################### +--echo # 4) Member 2 will have abort()ed. +--echo ######################################################################### +--echo +# Wait for server 1 to see that server 2 didn't join +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 1 +--source ../inc/gr_wait_for_number_of_members.inc +--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.2.expect +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +# Wait until server 2 is connected again, so we know it has abort()'ed +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +--source include/wait_until_connected_again.inc +# Search for the expected errors in the error log file +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +--let $assert_file = $error_file +--let $assert_text = GR reported expected excess of members in group +--let $assert_select = The START GROUP_REPLICATION command failed since the group already has 9 members +--let $assert_count = 2 +--source include/assert_grep.inc +--let $assert_text = GR reported expected abort +--let $assert_select = The plugin encountered a critical error and will abort +--let $assert_count = 1 +--source include/assert_grep.inc + +--echo +--echo ######################################################################### +--echo # 5) Restart M2 again without group_replication_start_on_boot enabled. +--echo # The server should start normally and be able to join the group. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Restart server 2 again, now with group_replication_start_on_boot disabled +--let $allow_rpl_inited=1 +--let $restart_parameters=restart:--group_replication_local_address=$local_address_server2 --group_replication_group_seeds=$group_seeds_server2 --group-replication-group-name=$group_replication_group_name +--replace_result $local_address_server2 GROUP_REPLICATION_LOCAL_ADDRESS $group_seeds_server2 GROUP_REPLICATION_GROUP_SEEDS $group_replication_group_name GROUP_REPLICATION_GROUP_NAME +--source include/restart_mysqld.inc +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +# Start GR on server 2 and verify that the group stabilizes itself +--source include/start_group_replication.inc +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 6) Cleanup. +--echo ######################################################################### +--echo +--source ../inc/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_transaction_mismatch-slave.opt mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_transaction_mismatch-slave.opt --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_transaction_mismatch-slave.opt 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_transaction_mismatch-slave.opt 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1 @@ +--no-console --log_error=$MYSQLTEST_VARDIR/tmp/gr_exit_state_action_on_join_transaction_mismatch.2.err diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_transaction_mismatch.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_transaction_mismatch.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_transaction_mismatch.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_transaction_mismatch.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,210 @@ +############################################################################### +# +# group_replication_exit_state_action sysvar specifies which action is taken by +# a server once it has involuntarily left the group. Currently there are only +# two actions: either the server continues running but with super_read_only +# enabled (READ_ONLY) or it aborts (ABORT_SERVER). +# +# This test shall verify that the correct exit state action is executed when +# an error occurs upon joining the group (in this case, when the joining +# member's transaction set is not a subset of the group's transaction set). +# +# Test: +# 0) Setup group of 2 members (M1 and M2). +# 1) Run a few transactions on M2. +# 2) Restart M2 with start_on_boot enabled. +# 3) M2 should go to super_read_only mode and to OFFLINE state (since it +# failed to join the group). +# 4) Restart M2 with start_on_boot enabled and exit_state_action set to +# ABORT_SERVER. +# 5) M2 should have abort()'ed. +# 6) Restart M2 again without group_replication_start_on_boot enabled. The +# server should start normally and be able to join the group. +# 7) Cleanup. +# +################################################################################ +# By including have_debug.inc we make sure that we are using the debug version +# of the server. This is needed because in the debug version (the one without +# DBUG_OFF defined) the abort_plugin_process() function calls DBUG_SUICIDE() +# which does not send a SIGABRT to itself but a SIGKILL instead (and in this way +# MTR won't assume the process crashed). +--source include/have_debug.inc +--source include/big_test.inc +--source include/not_valgrind.inc +--source ../inc/have_group_replication_plugin.inc + +--echo +--echo ######################################################################### +--echo # 0) Setup group of 2 members (M1 and M2). +--echo ######################################################################### +--echo +--let $rpl_skip_group_replication_start = 1 +--source ../inc/group_replication.inc +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("Timeout on wait for view after joining group"); +call mtr.add_suppression("\\[GCS\\] Error connecting to all peers. Member join failed.*"); +call mtr.add_suppression("\\[GCS\\] read failed"); +call mtr.add_suppression("\\[GCS\\] The member was unable to join the group.*"); +call mtr.add_suppression("This member has more executed transactions than those present in the group. Local transactions*"); +call mtr.add_suppression("The member contains transactions not present in the group. The member will now exit the group"); +call mtr.add_suppression("The plugin encountered a critical error and will abort: Fatal error during execution of Group Replication"); +SET SESSION sql_log_bin = 1; + +--echo +--echo ######################################################################### +--echo # 1) Run a few transactions on M2. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +CREATE TABLE t3(a INT PRIMARY KEY); +INSERT INTO t3 VALUES (2); +--source ../inc/start_and_bootstrap_group_replication.inc +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +--let $errand_transaction_uuid= aaaaaaaa-bbbb-aaaa-bbbb-aaaaaaaaaaaa +# Advance GTID_NEXT so that we have a clashing transaction with server 1 +--eval SET GTID_NEXT= "$errand_transaction_uuid:1" +CREATE TABLE t2(a INT PRIMARY KEY); +SET GTID_NEXT= "AUTOMATIC"; + +--echo +--echo ######################################################################### +--echo # 2) Restart M2 with start_on_boot enabled. +--echo ######################################################################### +--echo +# Save all the context we'll need during the test +--let $error_file = $MYSQLTEST_VARDIR/tmp/gr_exit_state_action_on_join_transaction_mismatch.2.err +--let $member2_uuid = `SELECT @@GLOBAL.server_uuid` +--let $local_address_server2= `SELECT @@GLOBAL.group_replication_local_address` +--let $group_seeds_server2= `SELECT @@GLOBAL.group_replication_group_seeds` +# Restart the server with group_replication_start_on_boot enabled +--let $allow_rpl_inited = 1 +--let $restart_parameters=restart:--group_replication_local_address=$local_address_server2 --group_replication_group_seeds=$group_seeds_server2 --group-replication-group-name=$group_replication_group_name --group_replication_start_on_boot=1 +--replace_result $local_address_server2 GROUP_REPLICATION_LOCAL_ADDRESS $group_seeds_server2 GROUP_REPLICATION_GROUP_SEEDS $group_replication_group_name GROUP_REPLICATION_GROUP_NAME +--source include/restart_mysqld.inc +# Reestablish the connection to the server +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc + +--echo +--echo ######################################################################### +--echo # 3) M2 should go to super_read_only mode. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Wait for the member to realize that it couldn't join the group +--let $member2_uuid = `SELECT @@GLOBAL.server_uuid` +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc +--let $group_replication_member_state = OFFLINE +--let $group_replication_member_id = $member2_uuid +--source ../inc/gr_wait_for_member_state.inc +# Verify that super_read_only mode reverted to its original state +--let $assert_text= super_read_only should be enabled +--let $assert_cond= [SELECT @@GLOBAL.super_read_only] = 1; +--source include/assert.inc +# Verify that the expected error occurred +--let $assert_file = $error_file +--let $assert_text = GR reported expected transaction mismatch +--let $assert_select = This member has more executed transactions than those present in the group +--let $assert_count = 1 +--source include/assert_grep.inc +# Verify that member 2 didn't join the group +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 1 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 4) Restart M2 with start_on_boot enabled and exit_state_action set to +--echo # ABORT_SERVER. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Restart the server again with group_replication_start_on_boot enabled and with +# group_replication_exit_state_action set to ABORT_SERVER +--let $allow_rpl_inited=1 +--let $restart_parameters=restart:--group_replication_local_address=$local_address_server2 --group_replication_group_seeds=$group_seeds_server2 --group-replication-group-name=$group_replication_group_name --group_replication_start_on_boot=1 --group_replication_exit_state_action=ABORT_SERVER +--replace_result $local_address_server2 GROUP_REPLICATION_LOCAL_ADDRESS $group_seeds_server2 GROUP_REPLICATION_GROUP_SEEDS $group_replication_group_name GROUP_REPLICATION_GROUP_NAME +--source include/restart_mysqld.inc +--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.2.expect +--source include/wait_until_disconnected.inc + +--echo +--echo ######################################################################### +--echo # 5) M2 should have abort()'ed. +--echo ######################################################################### +--echo +# Wait for server 1 to see that server 2 didn't join +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 1 +--source ../inc/gr_wait_for_number_of_members.inc +--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.2.expect +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +# Wait until server 2 is connected again, so we know it has abort()'ed +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +--source include/wait_until_connected_again.inc +# Search for the expected errors in the error log file +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +--let $assert_file = $error_file +--let $assert_text = GR reported expected transaction mismatch +--let $assert_select = This member has more executed transactions than those present in the group +--let $assert_count = 2 +--source include/assert_grep.inc +--let $assert_text = GR reported expected abort +--let $assert_select = The plugin encountered a critical error and will abort +--let $assert_count = 1 +--source include/assert_grep.inc + +--echo +--echo ######################################################################### +--echo # 6) Restart M2 again without group_replication_start_on_boot enabled. +--echo # The server should start normally and be able to join the group. +--echo ######################################################################### +--echo +# Delete all transations on server 2's binary log, so that we may join the group +# finally +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +RESET MASTER; +# Restart server 2 again, now with group_replication_start_on_boot disabled +--let $allow_rpl_inited=1 +--let $restart_parameters=restart:--group_replication_local_address=$local_address_server2 --group_replication_group_seeds=$group_seeds_server2 --group-replication-group-name=$group_replication_group_name +--replace_result $local_address_server2 GROUP_REPLICATION_LOCAL_ADDRESS $group_seeds_server2 GROUP_REPLICATION_GROUP_SEEDS $group_replication_group_name GROUP_REPLICATION_GROUP_NAME +--source include/restart_mysqld.inc +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +# Start GR on server 2 and verify that the group stabilizes itself +--source include/start_group_replication.inc +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 7) Cleanup. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +DROP TABLE t3; +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +SET sql_log_bin = 0; +DROP TABLE t2; +SET sql_log_bin = 1; +--source ../inc/group_replication_end.inc + diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_gtid_assignment_block_size-slave.opt mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_gtid_assignment_block_size-slave.opt --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_gtid_assignment_block_size-slave.opt 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_gtid_assignment_block_size-slave.opt 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1 @@ +--no-console --log_error=$MYSQLTEST_VARDIR/tmp/gr_exit_state_action_on_join_wrong_gtid_assignment_block_size.2.err diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_gtid_assignment_block_size.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_gtid_assignment_block_size.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_gtid_assignment_block_size.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_gtid_assignment_block_size.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,179 @@ +############################################################################### +# +# group_replication_exit_state_action sysvar specifies which action is taken by +# a server once it has involuntarily left the group. Currently there are only +# two actions: either the server continues running but with super_read_only +# enabled (READ_ONLY) or it aborts (ABORT_SERVER). +# +# This test shall verify that the correct exit state action is executed when +# an error occurs upon joining the group (in this case, when the +# group_replication_gtid_assignment_block_size value on a joining member +# differs from the group). +# +# Test: +# 0) Setup group of 2 members (M1 and M2). +# 1) Relaunch M2 with a different gtid_assignment_block_size from M1. +# 2) M2 should be in super_read_only mode and in OFFLINE state (since it +# failed to join the group). +# 3) Relaunch M2 with a different gtid_assignment_block_size from M1 and with +# exit_state_action set to ABORT_SERVER. +# 4) M2 should have abort()ed. +# 5) Restart M2 again without group_replication_start_on_boot enabled. The +# server should start normally and be able to join the group. +# 6) Cleanup. +# +################################################################################ +--source include/have_debug.inc +--source include/not_valgrind.inc +--source ../inc/have_group_replication_plugin.inc + +--echo +--echo ######################################################################### +--echo # 0) Setup group of 2 members (M1 and M2). +--echo ######################################################################### +--echo +--let $rpl_skip_group_replication_start = 1 +--source ../inc/group_replication.inc +--source ../inc/start_and_bootstrap_group_replication.inc +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("The plugin encountered a critical error and will abort: Fatal error during execution of Group Replication"); +call mtr.add_suppression("Unable to start Group Replication on boot"); +call mtr.add_suppression("Timeout on wait for view after joining group"); +call mtr.add_suppression("\\[GCS\\] Error connecting to all peers. Member join failed.*"); +call mtr.add_suppression("\\[GCS\\] read failed"); +call mtr.add_suppression("\\[GCS\\] The member was unable to join the group.*"); +SET SESSION sql_log_bin = 1; + +--echo +--echo ######################################################################### +--echo # 1) Relaunch M2 with a different gtid_assignment_block_size from M1. +--echo ######################################################################### +--echo +# We need a different value to trigger a group incompatibility +--let $gtid_assignment_block_size = `SELECT @@GLOBAL.group_replication_gtid_assignment_block_size` +--inc $gtid_assignment_block_size +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Save all the context we'll need during the test +--let $error_file = $MYSQLTEST_VARDIR/tmp/gr_exit_state_action_on_join_wrong_gtid_assignment_block_size.2.err +--let $member2_uuid=`SELECT @@GLOBAL.server_uuid` +--let $local_address_server2= `SELECT @@GLOBAL.group_replication_local_address` +--let $group_seeds_server2= `SELECT @@GLOBAL.group_replication_group_seeds` +# Restart the server with group_replication_start_on_boot enabled +--let $allow_rpl_inited = 1 +--let $restart_parameters=restart:--group_replication_local_address=$local_address_server2 --group_replication_group_seeds=$group_seeds_server2 --group-replication-group-name=$group_replication_group_name --group_replication_start_on_boot=1 --group_replication_gtid_assignment_block_size=$gtid_assignment_block_size +--replace_result $local_address_server2 GROUP_REPLICATION_LOCAL_ADDRESS $group_seeds_server2 GROUP_REPLICATION_GROUP_SEEDS $gtid_assignment_block_size GROUP_REPLICATION_GTID_ASSIGNMENT_BLOCK_SIZE $group_replication_group_name GROUP_REPLICATION_GROUP_NAME +--source include/restart_mysqld.inc +# Reestablish the connection to the server +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc + +--echo +--echo ######################################################################### +--echo # 2) M2 should be in super_read_only mode and in OFFLINE state (since it +--echo # failed to join the group). +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Wait for the member to realize that it couldn't join the group +--let $member2_uuid = `SELECT @@GLOBAL.server_uuid` +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc +--let $group_replication_member_state = OFFLINE +--let $group_replication_member_id = $member2_uuid +--source ../inc/gr_wait_for_member_state.inc +# Verify that it went to super_read_only mode +--let $assert_text= super_read_only should be enabled +--let $assert_cond= [SELECT @@GLOBAL.super_read_only] = 1; +--source include/assert.inc +# Verify that the expected error occurred +--let $assert_file = $error_file +--let $assert_text = GR reported that it has a different gtid_assignment_block_size value (as expected) +--let $assert_select = The member is configured with a group_replication_gtid_assignment_block_size option value .+ different from the group +--let $assert_count = 1 +--source include/assert_grep.inc +# Verify that member 2 didn't join the group +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 1 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 3) Relaunch M2 with a different gtid_assignment_block_size from M1 and +--echo # with exit_state_action set to ABORT_SERVER. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Restart the server again with group_replication_start_on_boot enabled and with +# group_replication_exit_state_action set to ABORT_SERVER +--let $allow_rpl_inited = 1 +--let $restart_parameters=restart:--group_replication_local_address=$local_address_server2 --group_replication_group_seeds=$group_seeds_server2 --group-replication-group-name=$group_replication_group_name --group_replication_start_on_boot=1 --group_replication_gtid_assignment_block_size=$gtid_assignment_block_size --group_replication_exit_state_action=ABORT_SERVER +--replace_result $local_address_server2 GROUP_REPLICATION_LOCAL_ADDRESS $group_seeds_server2 GROUP_REPLICATION_GROUP_SEEDS $gtid_assignment_block_size GROUP_REPLICATION_GTID_ASSIGNMENT_BLOCK_SIZE $group_replication_group_name GROUP_REPLICATION_GROUP_NAME +--source include/restart_mysqld.inc +--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.2.expect +--source include/wait_until_disconnected.inc + +--echo +--echo ######################################################################### +--echo # 4) M2 should have abort()ed. +--echo ######################################################################### +--echo +# Wait for server 1 to see that server 2 didn't join +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 1 +--source ../inc/gr_wait_for_number_of_members.inc +--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.2.expect +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +# Wait until server 2 is connected again, so we know it has abort()'ed +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +--source include/wait_until_connected_again.inc +# Search for the expected errors in the error log file +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +--let $assert_file = $error_file +--let $assert_text = GR reported that it has a different gtid_assignment_block_size value (as expected) +--let $assert_select = The member is configured with a group_replication_gtid_assignment_block_size option value .+ different from the group +--let $assert_count = 2 +--source include/assert_grep.inc +--let $assert_text = GR reported expected abort +--let $assert_select = The plugin encountered a critical error and will abort +--let $assert_count = 1 +--source include/assert_grep.inc + +--echo +--echo ######################################################################### +--echo # 5) Restart M2 again without group_replication_start_on_boot enabled. +--echo # The server should start normally and be able to join the group. +--echo ######################################################################### +--echo +# Restart server 2 again, now with group_replication_start_on_boot disabled +--let $allow_rpl_inited=1 +--let $restart_parameters=restart:--group_replication_local_address=$local_address_server2 --group_replication_group_seeds=$group_seeds_server2 --group-replication-group-name=$group_replication_group_name +--replace_result $local_address_server2 GROUP_REPLICATION_LOCAL_ADDRESS $group_seeds_server2 GROUP_REPLICATION_GROUP_SEEDS $group_replication_group_name GROUP_REPLICATION_GROUP_NAME +--source include/restart_mysqld.inc +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +# Start GR on server 2 and verify that the group stabilizes itself +--source include/start_group_replication.inc +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 6) Cleanup. +--echo ######################################################################### +--echo +--source ../inc/group_replication_end.inc + diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_hash_algorithm-slave.opt mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_hash_algorithm-slave.opt --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_hash_algorithm-slave.opt 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_hash_algorithm-slave.opt 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1 @@ +--no-console --log_error=$MYSQLTEST_VARDIR/tmp/gr_exit_state_action_on_join_wrong_hash_algorithm.2.err diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_hash_algorithm.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_hash_algorithm.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_hash_algorithm.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_hash_algorithm.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,192 @@ +############################################################################### +# +# group_replication_exit_state_action sysvar specifies which action is taken by +# a server once it has involuntarily left the group. Currently there are only +# two actions: either the server continues running but with super_read_only +# enabled (READ_ONLY) or it aborts (ABORT_SERVER). +# +# This test shall verify that the correct exit state action is executed when +# an error occurs upon joining the group (in this case, when the +# transaction_write_set_extraction value on a joining member differs from +# the group). +# +# Test: +# 0) Setup group of 2 members (M1 and M2). +# 1) Relaunch M2 with a different hash algorithm from M1. +# 2) M2 should be in super_read_only mode and in OFFLINE state (since it +# failed to join the group). +# 3) Relaunch M2 with a different hash algorithm from M1 and with +# exit_state_action set to ABORT_SERVER. +# 4) M2 should have abort()ed. +# 5) Restart M2 again without group_replication_start_on_boot enabled. The +# server should start normally and be able to join the group. +# 6) Cleanup. +# +################################################################################ +# By including have_debug.inc we make sure that we are using the debug version +# of the server. This is needed because in the debug version (the one without +# DBUG_OFF defined) the abort_plugin_process() function calls DBUG_SUICIDE() +# which does not send a SIGABRT to itself but a SIGKILL instead (and in this way +# MTR won't assume the process crashed). +--source include/have_debug.inc +--source include/not_valgrind.inc +--source ../inc/have_group_replication_plugin.inc + +--echo +--echo ######################################################################### +--echo # 0) Setup group of 2 members (M1 and M2). +--echo ######################################################################### +--echo +--let $rpl_skip_group_replication_start = 1 +--source ../inc/group_replication.inc +--source ../inc/start_and_bootstrap_group_replication.inc +--let $group_hash_algorithm = `SELECT @@GLOBAL.transaction_write_set_extraction` + +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("The plugin encountered a critical error and will abort: Fatal error during execution of Group Replication"); +call mtr.add_suppression("Unable to start Group Replication on boot"); +call mtr.add_suppression("Timeout on wait for view after joining group"); +call mtr.add_suppression("\\[GCS\\] Error connecting to all peers. Member join failed.*"); +call mtr.add_suppression("\\[GCS\\] read failed"); +call mtr.add_suppression("\\[GCS\\] The member was unable to join the group.*"); +SET SESSION sql_log_bin = 1; + +--echo +--echo ######################################################################### +--echo # 1) Relaunch M2 with a different hash algorithm from M1. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Save all the context we'll need during the test +--let $error_file = $MYSQLTEST_VARDIR/tmp/gr_exit_state_action_on_join_wrong_hash_algorithm.2.err +--let $member2_uuid=`SELECT @@GLOBAL.server_uuid` +--let $local_address_server2= `SELECT @@GLOBAL.group_replication_local_address` +--let $group_seeds_server2= `SELECT @@GLOBAL.group_replication_group_seeds` + +# Choose a hash algorithm that clashes with the group +--let $hash_algorithm = XXHASH64 +if ($group_hash_algorithm == 'XXHASH64') +{ + --let $hash_algorithm = MURMUR32 +} + +# Restart the server with group_replication_start_on_boot enabled +--let $allow_rpl_inited = 1 +--let $restart_parameters=restart:--group_replication_local_address=$local_address_server2 --group_replication_group_seeds=$group_seeds_server2 --group-replication-group-name=$group_replication_group_name --group_replication_start_on_boot=1 --transaction-write-set-extraction=$hash_algorithm +--replace_result $local_address_server2 GROUP_REPLICATION_LOCAL_ADDRESS $group_seeds_server2 GROUP_REPLICATION_GROUP_SEEDS $group_replication_group_name GROUP_REPLICATION_GROUP_NAME $hash_algorithm HASH_ALGORITHM +--source include/restart_mysqld.inc + +# Reestablish the connection to the server +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc + +--echo +--echo ######################################################################### +--echo # 2) M2 should be in super_read_only mode and in OFFLINE state (since it +--echo # failed to join the group). +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Wait for the member to realize that it couldn't join the group +--let $member2_uuid = `SELECT @@GLOBAL.server_uuid` +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc +--let $group_replication_member_state = OFFLINE +--let $group_replication_member_id = $member2_uuid +--source ../inc/gr_wait_for_member_state.inc +# Verify that it went to super_read_only mode +--let $assert_text= super_read_only should be enabled +--let $assert_cond= [SELECT @@GLOBAL.super_read_only] = 1; +--source include/assert.inc +# Verify that the expected error occurred +--let $assert_file = $error_file +--let $assert_text = GR reported that it has an incompatible option with the group (as expected) +--let $assert_select = The member is configured with a transaction-write-set-extraction option value .+ different from the group +--let $assert_count = 1 +--source include/assert_grep.inc +# Verify that member 2 didn't join the group +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 1 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 3) Relaunch M2 with a different hash algorithm from M1 and with +--echo # exit_state_action set to ABORT_SERVER. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Restart the server again with group_replication_start_on_boot enabled and with +# group_replication_exit_state_action set to ABORT_SERVER +--let $allow_rpl_inited = 1 +--let $restart_parameters=restart:--group_replication_local_address=$local_address_server2 --group_replication_group_seeds=$group_seeds_server2 --group-replication-group-name=$group_replication_group_name --group_replication_start_on_boot=1 --transaction-write-set-extraction=$hash_algorithm --group_replication_exit_state_action=ABORT_SERVER +--replace_result $local_address_server2 GROUP_REPLICATION_LOCAL_ADDRESS $group_seeds_server2 GROUP_REPLICATION_GROUP_SEEDS $group_replication_group_name GROUP_REPLICATION_GROUP_NAME $hash_algorithm HASH_ALGORITHM +--source include/restart_mysqld.inc +--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.2.expect +--source include/wait_until_disconnected.inc + +--echo +--echo ######################################################################### +--echo # 4) M2 should have abort()ed. +--echo ######################################################################### +--echo +# Wait for server 1 to see that server 2 didn't join +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 1 +--source ../inc/gr_wait_for_number_of_members.inc +--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.2.expect +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +# Wait until server 2 is connected again, so we know it has abort()'ed +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +--source include/wait_until_connected_again.inc +# Search for the expected errors in the error log file +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +--let $assert_file = $error_file +--let $assert_text = GR reported that it has an incompatible option with the group (as expected) +--let $assert_select = The member is configured with a transaction-write-set-extraction option value .+ different from the group +--let $assert_count = 2 +--source include/assert_grep.inc +--let $assert_text = GR reported expected abort +--let $assert_select = The plugin encountered a critical error and will abort +--let $assert_count = 1 +--source include/assert_grep.inc + +--echo +--echo ######################################################################### +--echo # 5) Restart M2 again without group_replication_start_on_boot enabled. +--echo # The server should start normally and be able to join the group. +--echo ######################################################################### +--echo +# Restart server 2 again, now with group_replication_start_on_boot disabled +--let $allow_rpl_inited=1 +--let $restart_parameters=restart:--group_replication_local_address=$local_address_server2 --group_replication_group_seeds=$group_seeds_server2 --group-replication-group-name=$group_replication_group_name +--replace_result $local_address_server2 GROUP_REPLICATION_LOCAL_ADDRESS $group_seeds_server2 GROUP_REPLICATION_GROUP_SEEDS $group_replication_group_name GROUP_REPLICATION_GROUP_NAME $hash_algorithm HASH_ALGORITHM +--source include/restart_mysqld.inc +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +# Start GR on server 2 and verify that the group stabilizes itself +--source include/start_group_replication.inc +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 6) Cleanup. +--echo ######################################################################### +--echo +--source ../inc/group_replication_end.inc + diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_single_primary_mode-slave.opt mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_single_primary_mode-slave.opt --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_single_primary_mode-slave.opt 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_single_primary_mode-slave.opt 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1 @@ +--no-console --log_error=$MYSQLTEST_VARDIR/tmp/gr_exit_state_action_on_join_wrong_single_primary_mode.2.err diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_single_primary_mode.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_single_primary_mode.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_single_primary_mode.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_join_wrong_single_primary_mode.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,181 @@ +############################################################################### +# +# group_replication_exit_state_action sysvar specifies which action is taken by +# a server once it has involuntarily left the group. Currently there are only +# two actions: either the server continues running but with super_read_only +# enabled (READ_ONLY) or it aborts (ABORT_SERVER). +# +# This test shall verify that the correct exit state action is executed when +# an error occurs upon joining the group (in this case, when the +# group_replication_single_primary_mode sysvar value on a joining member +# differs from the group). +# +# Test: +# 0) Setup group of 2 members (M1 and M2). +# 1) Relaunch M2 with a different single_primary_mode from M1. +# 2) M2 should be in super_read_only mode and in OFFLINE state (since it +# failed to join the group). +# 3) Relaunch M2 with a different single_primary_mode from M1 and with +# exit_state_action set to ABORT_SERVER. +# 4) M2 should have abort()ed. +# 5) Restart M2 again without group_replication_start_on_boot enabled. The +# server should start normally and be able to join the group. +# 6) Cleanup. +# +################################################################################ +# By including have_debug.inc we make sure that we are using the debug version +# of the server. This is needed because in the debug version (the one without +# DBUG_OFF defined) the abort_plugin_process() function calls DBUG_SUICIDE() +# which does not send a SIGABRT to itself but a SIGKILL instead (and in this way +# MTR won't assume the process crashed). +--source include/have_debug.inc +--source include/big_test.inc +--source include/not_valgrind.inc +--source ../inc/have_group_replication_plugin.inc + +--echo +--echo ######################################################################### +--echo # 0) Setup group of 2 members (M1 and M2). +--echo ######################################################################### +--echo +--let $rpl_skip_group_replication_start = 1 +--source ../inc/group_replication.inc +--source ../inc/start_and_bootstrap_group_replication.inc +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("The plugin encountered a critical error and will abort: Fatal error during execution of Group Replication"); +call mtr.add_suppression("Unable to start Group Replication on boot"); +call mtr.add_suppression("Timeout on wait for view after joining group"); +call mtr.add_suppression("\\[GCS\\] Error connecting to all peers. Member join failed.*"); +call mtr.add_suppression("\\[GCS\\] read failed"); +call mtr.add_suppression("\\[GCS\\] The member was unable to join the group.*"); +SET SESSION sql_log_bin = 1; + +--echo +--echo ######################################################################### +--echo # 1) Relaunch M2 with a different single_primary_mode from M1. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Save all the context we'll need during the test +--let $error_file = $MYSQLTEST_VARDIR/tmp/gr_exit_state_action_on_join_wrong_single_primary_mode.2.err +--let $member2_uuid=`SELECT @@GLOBAL.server_uuid` +--let $local_address_server2= `SELECT @@GLOBAL.group_replication_local_address` +--let $group_seeds_server2= `SELECT @@GLOBAL.group_replication_group_seeds` +# Restart the server with group_replication_start_on_boot enabled +--let $allow_rpl_inited = 1 +--let $restart_parameters=restart:--group_replication_local_address=$local_address_server2 --group_replication_group_seeds=$group_seeds_server2 --group-replication-group-name=$group_replication_group_name --group_replication_start_on_boot=1 --group_replication_single_primary_mode=FALSE --group_replication_enforce_update_everywhere_checks=FALSE +--replace_result $local_address_server2 GROUP_REPLICATION_LOCAL_ADDRESS $group_seeds_server2 GROUP_REPLICATION_GROUP_SEEDS $group_replication_group_name GROUP_REPLICATION_GROUP_NAME +--source include/restart_mysqld.inc +# Reestablish the connection to the server +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc + +--echo +--echo ######################################################################### +--echo # 2) M2 should be in super_read_only mode and in OFFLINE state (since it +--echo # failed to join the group). +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Verify that it went to super_read_only mode +--let $assert_text= super_read_only should be enabled +--let $assert_cond= [SELECT @@GLOBAL.super_read_only] = 1; +--source include/assert.inc +# Wait for the member to realize that it couldn't join the group +--let $member2_uuid = `SELECT @@GLOBAL.server_uuid` +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc +--let $group_replication_member_state = OFFLINE +--let $group_replication_member_id = $member2_uuid +--source ../inc/gr_wait_for_member_state.inc +--let $assert_file = $error_file +--let $assert_text = GR reported that it has an incompatible option with the group (as expected) +--let $assert_select = The member configuration is not compatible with the group configuration. Variables such as single_primary_mode or enforce_update_everywhere_checks must have the same value +--let $assert_count = 1 +--source include/assert_grep.inc +# Verify that member 2 didn't join the group +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 1 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 3) Relaunch M2 with a different single_primary_mode from M1 and with +--echo # exit_state_action set to ABORT_SERVER. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Restart the server again with group_replication_start_on_boot enabled and with +# group_replication_exit_state_action set to ABORT_SERVER +--let $allow_rpl_inited = 1 +--let $restart_parameters=restart:--group_replication_local_address=$local_address_server2 --group_replication_group_seeds=$group_seeds_server2 --group-replication-group-name=$group_replication_group_name --group_replication_start_on_boot=1 --group_replication_single_primary_mode=TRUE --group_replication_exit_state_action=ABORT_SERVER --group_replication_enforce_update_everywhere_checks=FALSE +--replace_result $local_address_server2 GROUP_REPLICATION_LOCAL_ADDRESS $group_seeds_server2 GROUP_REPLICATION_GROUP_SEEDS $group_replication_group_name GROUP_REPLICATION_GROUP_NAME +--source include/restart_mysqld.inc +--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.2.expect +--source include/wait_until_disconnected.inc + +--echo +--echo ######################################################################### +--echo # 4) M2 should have abort()ed. +--echo ######################################################################### +--echo +# Wait for server 1 to see that server 2 didn't join +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 1 +--source ../inc/gr_wait_for_number_of_members.inc +# Wait until server 2 is connected again, so we know it has abort()'ed +--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.2.expect +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +--source include/wait_until_connected_again.inc +# Search for the expected errors in the error log file +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +--let $assert_file = $error_file +--let $assert_text = GR reported that it has an incompatible option with the group (as expected) +--let $assert_select = The member configuration is not compatible with the group configuration. Variables such as single_primary_mode or enforce_update_everywhere_checks must have the same value +--let $assert_count = 2 +--source include/assert_grep.inc +--let $assert_text = GR reported expected abort +--let $assert_select = The plugin encountered a critical error and will abort +--let $assert_count = 1 +--source include/assert_grep.inc + +--echo +--echo ######################################################################### +--echo # 5) Restart M2 again without group_replication_start_on_boot enabled. +--echo # The server should start normally and be able to join the group. +--echo ######################################################################### +--echo +# Restart server 2 again, now with group_replication_start_on_boot disabled +--let $allow_rpl_inited=1 +--let $restart_parameters=restart:--group_replication_local_address=$local_address_server2 --group_replication_group_seeds=$group_seeds_server2 --group-replication-group-name=$group_replication_group_name +--replace_result $local_address_server2 GROUP_REPLICATION_LOCAL_ADDRESS $group_seeds_server2 GROUP_REPLICATION_GROUP_SEEDS $group_replication_group_name GROUP_REPLICATION_GROUP_NAME +--source include/restart_mysqld.inc +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +# Start GR on server 2 and verify that the group stabilizes itself +--source include/start_group_replication.inc +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 6) Cleanup. +--echo ######################################################################### +--echo +--source ../inc/group_replication_end.inc + diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_majority_loss.cnf mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_majority_loss.cnf --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_majority_loss.cnf 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_majority_loss.cnf 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,13 @@ +!include ../my.cnf + +[mysqld.1] +group_replication_unreachable_majority_timeout= 10 + +[mysqld.2] + +[mysqld.3] +report-port= @mysqld.3.port + +[ENV] +SERVER_MYPORT_3= @mysqld.3.port +SERVER_MYSOCK_3= @mysqld.3.socket diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_majority_loss.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_majority_loss.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_majority_loss.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_majority_loss.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,228 @@ +############################################################################### +# +# group_replication_exit_state_action sysvar specifies which action is taken +# by a server once it has involuntarily left the group. Currently there are +# only two actions: either the server continues running but with super_read_only +# enabled (READ_ONLY) or it aborts (ABORT_SERVER). +# +# In order to verify the expected behaviour, this test shall test that the +# specified exit action is executed correctly after a member can't contact the +# rest of the group after group_replication_unreachable_timeout ellapsed. +# +# Test: +# 0) Setup group of 3 members (M1, M2 and M3). +# 1) Force majority loss. +# 1.1) Verify that member 1 went to ERROR state. +# 2) Relaunch group with exit state action to ABORT_SERVER. +# 3) Force another majority loss. +# 4) Verify that member 1 aborted. +# 5) Relaunch all members. +# 6) Cleanup. +# +################################################################################ +--source include/big_test.inc +--source include/have_debug.inc +--source ../inc/have_group_replication_plugin.inc + +--echo +--echo ######################################################################### +--echo # 0) Setup group of 3 members (M1, M2 and M3). +--echo ######################################################################### +--echo +--let $rpl_server_count= 3 +--source ../inc/group_replication.inc + +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +SET SESSION sql_log_bin = 0; +# Supress log errors since they are expected. +call mtr.add_suppression("read failed"); +call mtr.add_suppression("This member could not reach a majority of the members for more than.*"); +call mtr.add_suppression("The server was automatically set into read only mode after an error was detected."); +call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going."); +call mtr.add_suppression("\\[GCS\\] Timeout while waiting for the group communication engine to exit!"); +call mtr.add_suppression("\\[GCS\\] The member has failed to gracefully leave the group."); +call mtr.add_suppression("\\[GCS\\] read failed"); +call mtr.add_suppression("Fatal error during execution of Group Replication"); +SET SESSION sql_log_bin = 1; + +# Get address, seeds and UUID of all servers +--let $local_address_server1= `SELECT @@GLOBAL.group_replication_local_address` +--let $group_seeds_server1= `SELECT @@GLOBAL.group_replication_group_seeds` +--let $member1_uuid= `SELECT @@GLOBAL.server_uuid` +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +--let $local_address_server2= `SELECT @@GLOBAL.group_replication_local_address` +--let $group_seeds_server2= `SELECT @@GLOBAL.group_replication_group_seeds` +--let $member2_uuid= `SELECT @@GLOBAL.server_uuid` +--let $rpl_connection_name= server3 +--source include/rpl_connection.inc +--let $local_address_server3= `SELECT @@GLOBAL.group_replication_local_address` +--let $group_seeds_server3= `SELECT @@GLOBAL.group_replication_group_seeds` +--let $member3_uuid= `SELECT @@GLOBAL.server_uuid` + +--echo +--echo ######################################################################### +--echo # 1) Force majority loss. +--echo ######################################################################### +--echo +# Crash server 2 +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +--enable_reconnect +--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.2.expect +--shutdown_server 0 +--source include/wait_until_disconnected.inc +--source include/wait_until_connected_again.inc +--disable_reconnect +# Crash server 3 +--let $rpl_connection_name= server3 +--source include/rpl_connection.inc +--enable_reconnect +--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.3.expect +--shutdown_server 0 +--source include/wait_until_disconnected.inc +--source include/wait_until_connected_again.inc +--disable_reconnect + +--echo +--echo ######################################################################### +--echo # 1.1) Verify that member 1 went to ERROR state. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_member_state= ERROR +--let $group_replication_member_id= $member1_uuid +--source ../inc/gr_wait_for_member_state.inc +# Verify that it enabled super_read_only +--let $assert_text= super_read_only should be enabled +--let $assert_cond= [SELECT @@GLOBAL.super_read_only] = 1; +--source include/assert.inc + +--echo +--echo ######################################################################### +--echo # 2) Relaunch group with exit state action to ABORT_SERVER. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc + +--source include/stop_group_replication.inc +--source ../inc/start_and_bootstrap_group_replication.inc + +# First we relaunch server 2 and 3 +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc + +--replace_result $group_seeds_server2 GROUP_SEEDS_SERVER2 +--eval SET @@global.group_replication_group_seeds="$group_seeds_server2" +--replace_result $local_address_server2 LOCAL_ADDRESS_SERVER2 +--eval SET @@global.group_replication_local_address="$local_address_server2" +--source include/start_group_replication.inc + +--let $rpl_server_number= 3 +--source include/rpl_reconnect.inc + +--let $rpl_connection_name= server3 +--source include/rpl_connection.inc + +--replace_result $group_seeds_server3 GROUP_SEEDS_SERVER3 +--eval SET @@global.group_replication_group_seeds="$group_seeds_server3" +--replace_result $local_address_server3 LOCAL_ADDRESS_SERVER3 +--eval SET @@global.group_replication_local_address="$local_address_server3" +--source include/start_group_replication.inc + +# Wait for everyone to settle down +--let $group_replication_number_of_members= 3 +--source ../inc/gr_wait_for_number_of_members.inc + +# Then we set server 1's exit_state_action to ABORT_SERVER +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc + +# Set the exit state action sysvar to ABORT_SERVER +SET @@GLOBAL.group_replication_exit_state_action = ABORT_SERVER; + +--echo +--echo ######################################################################### +--echo # 3) Force another majority loss. +--echo ######################################################################### +--echo +# Prevent server 1 from restart after the abort() +--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect +--enable_reconnect +# Crash server 2 +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +--enable_reconnect +--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.2.expect +--shutdown_server 0 +--source include/wait_until_disconnected.inc +--source include/wait_until_connected_again.inc +--disable_reconnect +# Crash server 3 +--let $rpl_connection_name= server3 +--source include/rpl_connection.inc +--enable_reconnect +--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.3.expect +--shutdown_server 0 +--source include/wait_until_disconnected.inc +--source include/wait_until_connected_again.inc +--disable_reconnect + +--echo +--echo ######################################################################### +--echo # 4) Verify that member 1 aborted. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +# Wait until the connection is dropped +--source include/wait_until_disconnected.inc + +--echo +--echo ######################################################################### +--echo # 5) Relaunch all members. +--echo ######################################################################### +--echo +--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect +--let $rpl_server_number= 1 +--source include/rpl_reconnect.inc +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--replace_result $group_seeds_server1 GROUP_SEEDS_SERVER1 +--eval SET @@global.group_replication_group_seeds="$group_seeds_server1" +--replace_result $local_address_server1 LOCAL_ADDRESS_SERVER1 +--eval SET @@global.group_replication_local_address="$local_address_server1" +--source ../inc/start_and_bootstrap_group_replication.inc +--let $rpl_server_number= 2 +--source include/rpl_reconnect.inc +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +--replace_result $group_seeds_server2 GROUP_SEEDS_SERVER2 +--eval SET @@global.group_replication_group_seeds="$group_seeds_server2" +--replace_result $local_address_server2 LOCAL_ADDRESS_SERVER2 +--eval SET @@global.group_replication_local_address="$local_address_server2" +--source include/start_group_replication.inc +--let $rpl_server_number= 3 +--source include/rpl_reconnect.inc +--let $rpl_connection_name= server3 +--source include/rpl_connection.inc +--replace_result $group_seeds_server3 GROUP_SEEDS_SERVER3 +--eval SET @@global.group_replication_group_seeds="$group_seeds_server3" +--replace_result $local_address_server3 LOCAL_ADDRESS_SERVER3 +--eval SET @@global.group_replication_local_address="$local_address_server3" +--source include/start_group_replication.inc +# Wait for everyone to settle down +--let $group_replication_number_of_members= 3 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 6) Cleanup. +--echo ######################################################################### +--echo +--source ../inc/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_member_expel.cnf mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_member_expel.cnf --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_member_expel.cnf 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_member_expel.cnf 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,13 @@ +!include ../my.cnf + +[mysqld.1] +local-infile= true + +[mysqld.2] + +[mysqld.3] +report-port= @mysqld.3.port + +[ENV] +SERVER_MYPORT_3= @mysqld.3.port +SERVER_MYSOCK_3= @mysqld.3.socket diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_member_expel.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_member_expel.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_member_expel.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_member_expel.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,171 @@ +############################################################################### +# +# group_replication_exit_state_action sysvar specifies which action is taken by +# a server once it has involuntarily left the group. Currently there are only +# two actions: either the server continues running but with super_read_only +# enabled (READ_ONLY) or it aborts (ABORT_SERVER). +# +# In order to verify the expected behaviour, this test shall test that the +# specified exit action is executed correctly after an expel by the other +# members of the group. +# +# Test: +# 0) Setup group of 3 members (M1, M2 and M3). +# 1) Force expel of member 1. +# 1.1) Verify that member 1 went to super_read_only mode. +# 2) Relaunch member 1 with exit state action to ABORT_SERVER. +# 3) Force expel again of member 1. +# 3.1) Verify that member 1 aborted. +# 4) Relaunch member 1. +# 5) Cleanup. +# +################################################################################ +# Test involves sending SIGSTOP and SIGCONT signals using kill Linux command. +--source include/linux.inc +--source include/have_debug.inc +--source include/not_valgrind.inc +--source include/big_test.inc +--source ../inc/have_group_replication_plugin.inc + +--echo +--echo ######################################################################### +--echo # 0) Setup group of 3 members (M1, M2 and M3). +--echo ######################################################################### +--echo +--let $rpl_server_count= 3 +--source ../inc/group_replication.inc + +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +SET SESSION sql_log_bin = 0; +CREATE TABLE pid_table(pid_no INT PRIMARY KEY); +--let $pid_file=`SELECT @@pid_file` +--replace_result $pid_file pid_file +--eval LOAD DATA LOCAL INFILE '$pid_file' INTO TABLE pid_table +--let $server_pid=`SELECT pid_no FROM pid_table` +DROP TABLE pid_table; + +# Supress log errors since they are expected. +call mtr.add_suppression("Member was expelled from the group due to network failures, changing member status to ERROR."); +call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going."); +call mtr.add_suppression("Fatal error during execution of Group Replication"); +SET SESSION sql_log_bin = 1; + +--let $member1_uuid= `SELECT @@GLOBAL.server_uuid` +--let $local_address_server1= `SELECT @@GLOBAL.group_replication_local_address` +--let $group_seeds_server1= `SELECT @@GLOBAL.group_replication_group_seeds` + + +--echo +--echo ######################################################################### +--echo # 1) Force expel of member 1. +--echo ######################################################################### +--echo +# Then we send a SIGSTOP to it. This will stop the server from sending the +# keep-alive message and thus it will be viewed as a faulty node by the rest of +# the group (and consequently expelled). +--exec kill -19 $server_pid + +# Wait until the group settles on 2 members +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +--let $group_replication_number_of_members= 2 +--source ../inc/gr_wait_for_number_of_members.inc + +--let $rpl_connection_name= server3 +--source include/rpl_connection.inc +--let $group_replication_number_of_members= 2 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 1.1) Verify that member 1 went to super_read_only mode. +--echo ######################################################################### +--echo +# Send SIGCONT to server, so it can continue (now that he is expelled) +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--exec kill -18 $server_pid + +# Verify that the member entered an error state +--let $group_replication_member_state= ERROR +--let $group_replication_member_id= $member1_uuid +--source ../inc/gr_wait_for_member_state.inc + +# Then verify that it enabled super_read_only +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $assert_text= super_read_only should be enabled +--let $assert_cond= [SELECT @@GLOBAL.super_read_only] = 1; +--source include/assert.inc +--source include/stop_group_replication.inc + +--echo +--echo ######################################################################### +--echo # 2) Set exit state action to ABORT_SERVER on member 1. +--echo ######################################################################### +--echo +# Set the exit state action sysvar to ABORT_SERVER +SET @@GLOBAL.group_replication_exit_state_action = ABORT_SERVER; +--source include/start_group_replication.inc +--let $group_replication_number_of_members = 3 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 3) Force expel again of member 1. +--echo ######################################################################### +--echo +# Inform MTR that we are expecting an abort and that it should wait before +# restarting the aborting member +--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect +# Send SIGSTOP again +--exec kill -19 $server_pid +# Wait until the group settles on 2 members +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +--let $group_replication_number_of_members= 2 +--source ../inc/gr_wait_for_number_of_members.inc +--let $rpl_connection_name= server3 +--source include/rpl_connection.inc +--let $group_replication_number_of_members= 2 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 3.1) Wait until server is aborted. +--echo ######################################################################### +--echo +# Send SIGCONT to server, so it can continue (now that he is expelled) +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--exec kill -18 $server_pid +# Wait until the connection is dropped +--source include/wait_until_disconnected.inc + +--echo +--echo ######################################################################### +--echo # 4) Relaunch member 1. +--echo ######################################################################### +--echo +--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect +--let $rpl_server_number= 1 +--source include/rpl_reconnect.inc + +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--replace_result $group_seeds_server1 GROUP_SEEDS_SERVER1 +--eval SET @@global.group_replication_group_seeds="$group_seeds_server1" +--replace_result $local_address_server1 LOCAL_ADDRESS_SERVER1 +--eval SET @@global.group_replication_local_address="$local_address_server1" +--source include/start_group_replication.inc +# Wait for member to stabilize in the group +--let $group_replication_number_of_members = 3 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 5) Cleanup. +--echo ######################################################################### +--echo +--source ../inc/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_recovery.cnf mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_recovery.cnf --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_recovery.cnf 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_recovery.cnf 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,6 @@ +!include ../my.cnf + +[mysqld.1] +loose-group_replication_recovery_retry_count= 1 + +[mysqld.2] diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_recovery_stage0-slave.opt mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_recovery_stage0-slave.opt --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_recovery_stage0-slave.opt 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_recovery_stage0-slave.opt 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1 @@ +--no-console --log_error=$MYSQLTEST_VARDIR/tmp/gr_exit_state_action_on_recovery_stage0.2.err diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_recovery_stage0.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_recovery_stage0.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_recovery_stage0.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_recovery_stage0.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,203 @@ +############################################################################### +# +# group_replication_exit_state_action sysvar specifies which action is taken by +# a server once it has involuntarily left the group. Currently there are only +# two actions: either the server continues running but with super_read_only +# enabled (READ_ONLY) or it aborts (ABORT_SERVER). +# +# This test shall verify that the correct exit state action is executed when +# an error occurs during the stage 0 of distributed recovery. +# +# Test: +# 0) Setup group of 2 members (M1 and M2). +# 1) Stop the applier on M2. +# 2) Replicate TRX from M1 to M2 but without M2 applying it. +# 3) Stop GR on M2. +# 4) Start GR on M2 again so he tries to join the group. M2 should go to +# OFFLINE state. +# 5) Set group_replication_exit_state_action sysvar to ABORT_SERVER on M2. +# 6) Start GR on M2 again, so he tries to join the group. M2 should not abort. +# 7) Cleanup. +# +################################################################################ +--source include/have_debug.inc +--source include/have_debug_sync.inc +--source include/big_test.inc +--source ../inc/have_group_replication_plugin.inc + +--echo +--echo ######################################################################### +--echo # 0) Setup group of 3 members (M1, M2 and M3). +--echo ######################################################################### +--echo +--source ../inc/group_replication.inc +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +--let $member2_uuid= `SELECT @@GLOBAL.server_uuid` +--let $local_address_server2= `SELECT @@GLOBAL.group_replication_local_address` +--let $group_seeds_server2= `SELECT @@GLOBAL.group_replication_group_seeds` + +# Suppress expected errors and warnings +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc + +--let $error_file = $MYSQLTEST_VARDIR/tmp/gr_exit_state_action_on_recovery_stage0.2.err + +SET sql_log_bin = 0; +call mtr.add_suppression("Slave SQL for channel 'group_replication_applier': Error 'Table 't1'*"); +call mtr.add_suppression("Slave SQL for channel 'group_replication_applier': Worker [0-9] failed executing transaction*"); +call mtr.add_suppression("Error writing relay log configuration."); +call mtr.add_suppression("Slave SQL for channel 'group_replication_applier': ... The slave coordinator and worker threads are stopped,*"); +call mtr.add_suppression("Slave: Table 't1' already exists Error_code:*"); +call mtr.add_suppression("The applier thread execution was aborted. Unable to process more transactions, this member will now leave the group."); +call mtr.add_suppression("Fatal error during execution on the Applier process of Group Replication. The server will now leave the group."); +call mtr.add_suppression("Unable to confirm whether the server has left the group or not. Check performance_schema.replication_group_members to check group membership information."); +call mtr.add_suppression("There was a previous plugin error while the member joined the group. The member will now exit the group."); +call mtr.add_suppression("On shutdown there was a timeout receiving a view change. This can lead to a possible inconsistent state. Check the log for more details"); +SET sql_log_bin = 1; + +--echo +--echo ######################################################################### +--echo # 1) Stop the applier on M2. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc + +--source ../inc/gr_stop_applier_sql_thread.inc + +--echo +--echo ######################################################################### +--echo # 2) Replicate TRX from M1 to M2 but without M2 applying it. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc + +CREATE TABLE t1 (a INT PRIMARY KEY); + +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc + +# Verify that M2 certified one transaction but hasn't yet applied any +--let $wait_condition= SELECT COUNT(*) = 1 FROM performance_schema.replication_group_member_stats WHERE member_id='$member2_uuid' AND count_transactions_checked = 1 +--source include/wait_condition.inc + +--echo +--echo ######################################################################### +--echo # 3) Stop GR on M2. +--echo ######################################################################### +--echo +--source include/stop_group_replication.inc + +--echo +--echo ######################################################################### +--echo # 4) Start GR on M2 again so he tries to join the group. +--echo ######################################################################### +--echo +SET SESSION sql_log_bin = 0; +CREATE TABLE t1 (a INT PRIMARY KEY); +SET SESSION sql_log_bin = 1; + +# Start GR +--error ER_GROUP_REPLICATION_CONFIGURATION,ER_GROUP_REPLICATION_APPLIER_INIT_ERROR +START GROUP_REPLICATION; + +# Verify that the applier errored out +--let $assert_file = $error_file +--let $assert_text = The applier should error out trying to create an already existing table +--let $assert_select = Error 'Table 't1' already exists' on query. +--let $assert_count = 1 +--source include/assert_grep.inc + +--let $assert_file = $error_file +--let $assert_text = The applier should error out trying to create an already existing table +--let $assert_select = The applier thread execution was aborted. Unable to process more transactions, this member will now leave the group. +--let $assert_count = 1 +--source include/assert_grep.inc + +--let $assert_file = $error_file +--let $assert_text = The applier should error out trying to create an already existing table +--let $assert_select = Fatal error during execution on the Applier process of Group Replication. The server will now leave the group. +--let $assert_count = 1 +--source include/assert_grep.inc + +# Verify that M2 goes into OFFLINE state +--let $group_replication_member_state= OFFLINE +--let $group_replication_member_id= $member2_uuid +--source ../inc/gr_wait_for_member_state.inc + +# Lastly, verify that the member is not viewed as part of the group on M1 +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members= 1 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 5) Set group_replication_exit_state_action sysvar to ABORT_SERVER on +--echo # M2. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +SET @group_replication_exit_state_action_saved = @@GLOBAL.group_replication_exit_state_action; +SET GLOBAL group_replication_exit_state_action = ABORT_SERVER; + +--echo +--echo ######################################################################### +--echo # 6) Start GR on M2 again, so he tries to join the group. M2 should +--echo # not abort. +--echo ######################################################################### +--echo +# Start GR on M2 +--error ER_GROUP_REPLICATION_CONFIGURATION,ER_GROUP_REPLICATION_APPLIER_INIT_ERROR +START GROUP_REPLICATION; + +# Verify that the applier errored out +--let $assert_file = $error_file +--let $assert_text = The applier should error out trying to create an already existing table +--let $assert_select = Error 'Table 't1' already exists' on query. +--let $assert_count = 2 +--source include/assert_grep.inc + +--let $assert_file = $error_file +--let $assert_text = The applier should error out trying to create an already existing table +--let $assert_select = The applier thread execution was aborted. Unable to process more transactions, this member will now leave the group. +--let $assert_count = 2 +--source include/assert_grep.inc + +--let $assert_file = $error_file +--let $assert_text = The applier should error out trying to create an already existing table +--let $assert_select = Fatal error during execution on the Applier process of Group Replication. The server will now leave the group. +--let $assert_count = 2 +--source include/assert_grep.inc + +# Verify that M2 goes into OFFLINE state +--let $group_replication_member_state= OFFLINE +--let $group_replication_member_id= $member2_uuid +--source ../inc/gr_wait_for_member_state.inc + +# Lastly, verify that the member is not viewed as part of the group on M1 +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members= 1 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 7) Cleanup. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +DROP TABLE t1; + +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +SET SESSION sql_log_bin = 0; +DROP TABLE t1; +SET SESSION sql_log_bin = 1; +SET GLOBAL group_replication_exit_state_action = @group_replication_exit_state_action_saved; + +--source ../inc/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_recovery.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_recovery.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_recovery.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_recovery.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,179 @@ +############################################################################### +# +# group_replication_exit_state_action sysvar specifies which action is taken by +# a server once it has involuntarily left the group. Currently there are only +# two actions: either the server continues running but with super_read_only +# enabled (READ_ONLY) or it aborts (ABORT_SERVER). +# +# This test shall verify that the correct exit state action is executed when +# an error occurs during the catch-up phase of distributed recovery. +# +# Test: +# 0) Setup group of 2 members (M1 and M2). +# 1) Force error during the catch-up phase of M1. +# 1.1) Verify that M1 goes into ERROR state and to super_read_only mode. +# 2) Set group_replication_exit_state_action to ABORT_SERVER on M1. +# 3) Force another error during the catch-up phase of M1. +# 3.1) Verify that M1 aborted. +# 4) Relaunch M1 and join the group. +# 5) Cleanup. +# +################################################################################ +--source include/have_debug.inc +--source include/not_valgrind.inc +--source include/big_test.inc +--source ../inc/have_group_replication_plugin.inc + +--echo +--echo ######################################################################### +--echo # 0) Setup group of 2 members (M1 and M2) but only start GR on M2. +--echo ######################################################################### +--echo +--let $rpl_skip_group_replication_start= 1 +--source ../inc/group_replication.inc +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $member1_uuid= `SELECT @@GLOBAL.server_uuid` +--let $local_address_server1= `SELECT @@GLOBAL.group_replication_local_address` +--let $group_seeds_server1= `SELECT @@GLOBAL.group_replication_group_seeds` +# Create a table on M1 while it isn't part of the group +SET sql_log_bin = 0; +CREATE TABLE t1 (a INT PRIMARY KEY); +INSERT INTO t1 VALUES (1); +SET sql_log_bin = 1; +# Bootstrap the rest of the group (minus M1) +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +--source ../inc/start_and_bootstrap_group_replication.inc +# Suppress expected errors and warnings +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +SET sql_log_bin = 0; +call mtr.add_suppression("read failed"); +call mtr.add_suppression("Slave SQL for channel 'group_replication_recovery': Error 'Table 't1'*"); +call mtr.add_suppression("Slave SQL for channel 'group_replication_recovery': Worker [0-9] failed executing transaction*"); +call mtr.add_suppression("Slave SQL for channel 'group_replication_recovery': ... The slave coordinator and worker threads are stopped,*"); +call mtr.add_suppression("Slave: Table 't1' already exists Error_code:*"); +call mtr.add_suppression("Maximum number of retries when trying to connect to a donor reached. Aborting group replication recovery."); +call mtr.add_suppression("Fatal error during the recovery process of Group Replication. The server will leave the group."); +call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going."); +call mtr.add_suppression("Fatal error during execution of Group Replication"); +call mtr.add_suppression("Error while starting the group replication recovery receiver/applier threads"); +SET sql_log_bin = 1; + +--echo +--echo ######################################################################### +--echo # 1) Force error during the catch-up phase of M1. +--echo ######################################################################### +--echo +# Create and replicate a table on the group +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +CREATE TABLE t1 (a INT PRIMARY KEY); +# Add M1 to the group +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_start_member_state= ERROR +--source include/start_group_replication.inc + +--echo +--echo ######################################################################### +--echo # 1.1) Verify that M1 goes into ERROR state and to super_read_only mode. +--echo ######################################################################### +--echo +# Firstly verify that the member entered an error state +--let $group_replication_member_state= ERROR +--let $group_replication_member_id= $member1_uuid +--source ../inc/gr_wait_for_member_state.inc +# Then verify that it enabled super_read_only +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $assert_text= super_read_only should be enabled +--let $assert_cond= [SELECT @@GLOBAL.super_read_only] = 1; +--source include/assert.inc +# Lastly, verify that the member is not viewed as part of the group on M2 and +# M3 +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +--let $group_replication_number_of_members= 1 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 2) Set group_replication_exit_state_action to ABORT_SERVER on M1. +--echo ######################################################################### +--echo +# Stop GR +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--source include/stop_group_replication.inc + +# Set the exit state action sysvar to ABORT_SERVER +SET @@GLOBAL.group_replication_exit_state_action = ABORT_SERVER; + +--echo +--echo ######################################################################### +--echo # 3) Force another error during the catch-up phase of M1. +--echo ######################################################################### +--echo +# Inform MTR that we are expecting an abort and that it should wait before +# restarting the aborting member +--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect + +# Join the group again +--let $group_replication_start_member_state= ERROR +--source include/start_group_replication.inc + +--echo +--echo ######################################################################### +--echo # 3.1) Verify that M1 aborted. +--echo ######################################################################### +--echo +# For simplicity, let's assume that once the group size is 1, then member 1 has +# abort()'ed +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 1 +--source ../inc/gr_wait_for_number_of_members.inc +# Also, the member should not be in the group view of any of the other members +--let $assert_text = Member 1 should have aborted +--let $assert_cond = COUNT(*) = 0 FROM performance_schema.replication_group_members WHERE MEMBER_ID = "$member1_uuid" +--source include/assert.inc + +--echo +--echo ######################################################################### +--echo # 4) Relaunch M1 and join the group. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--source include/wait_until_disconnected.inc +# Inform MTR that it should restart the aborted member +--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect +# Reconnect +--let $rpl_server_number= 1 +--source include/rpl_reconnect.inc +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +# Remove conflicting trx so M1 can stay in the group +SET SESSION sql_log_bin= 0; +DROP TABLE t1; +SET SESSION sql_log_bin= 1; +RESET MASTER; +--replace_result $group_seeds_server1 GROUP_SEEDS_SERVER1 +--eval SET @@global.group_replication_group_seeds="$group_seeds_server1" +--replace_result $local_address_server1 LOCAL_ADDRESS_SERVER1 +--eval SET @@global.group_replication_local_address="$local_address_server1" +--source include/start_group_replication.inc +# Wait for group to stabilize +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 5) Cleanup. +--echo ######################################################################### +--echo +DROP TABLE t1; + +--source ../inc/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_start_gr_cmd-slave.opt mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_start_gr_cmd-slave.opt --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_start_gr_cmd-slave.opt 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_start_gr_cmd-slave.opt 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1 @@ +--no-console --log_error=$MYSQLTEST_VARDIR/tmp/gr_exit_state_action_on_start_gr_cmd.2.err diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_start_gr_cmd.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_start_gr_cmd.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_start_gr_cmd.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_on_start_gr_cmd.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,187 @@ +############################################################################### +# +# group_replication_exit_state_action sysvar specifies which action is taken by +# a server once it has involuntarily left the group. Currently there are only +# two actions: either the server continues running but with super_read_only +# enabled (READ_ONLY) or it aborts (ABORT_SERVER). +# +# This test shall verify that when a join fails after issuing a START +# GROUP_REPLICATION command, the command returns with the appropriate error +# and does not crash or abort, even when group_replication_exit_state_action is +# set to ABORT_SERVER. +# +# Test: +# 0) Setup group of 2 members (M1 and M2). +# 1) Simulate a higher version on M1. +# 2) Try to join M2 to the group by issuing START GROUP_REPLICATION. +# 3) M2 should be in super_read_only mode and in OFFLINE state (since it +# failed to join the group). +# 4) Change the exit_state_action to ABORT_SERVER. Try to join M2 to the group +# again. +# 5) M2 should not abort(). +# 6) Remove the higher version from M1 and try to join M2 again. M2 should be +# able to join. +# 7) Cleanup. +# +################################################################################ +# By including have_debug.inc we make sure that we are using the debug version +# of the server. This is needed because in the debug version (the one without +# DBUG_OFF defined) the abort_plugin_process() function calls DBUG_SUICIDE() +# which does not send a SIGABRT to itself but a SIGKILL instead (and in this way +# MTR won't assume the process crashed). +--source include/have_debug.inc +--source include/big_test.inc +--source ../inc/have_group_replication_plugin.inc + +--echo +--echo ######################################################################### +--echo # 0) Setup group of 2 members (M1 and M2). +--echo ######################################################################### +--echo +--let $rpl_skip_group_replication_start = 1 +--source ../inc/group_replication.inc +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("Member version is incompatible with the group."); +SET SESSION sql_log_bin = 1; + +--echo +--echo ######################################################################### +--echo # 1) Simulate a higher version on M1. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +SET @debug_saved= @@GLOBAL.DEBUG; +SET @@GLOBAL.DEBUG= '+d,group_replication_compatibility_higher_major_version'; +--source ../inc/start_and_bootstrap_group_replication.inc + +--echo +--echo ######################################################################### +--echo # 2) Try to join M2 to the group by issuing START GROUP_REPLICATION. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Save the super_read_only mode, so we can assert the server reverted to it when +# it failed to join the group +SET @super_read_only_saved = @@GLOBAL.super_read_only; +# Save the group_replication_exit_state_action +SET @exit_state_action_saved = @@GLOBAL.group_replication_exit_state_action; +# Save the group SID, so the server gets a member ID +--disable_query_log +--eval SET GLOBAL group_replication_group_name= "$group_replication_group_name" +--enable_query_log +# We expect a config error since this server's version is different from the +# group +--error ER_GROUP_REPLICATION_CONFIGURATION +START GROUP_REPLICATION; + +--echo +--echo ######################################################################### +--echo # 3) M2 should be in super_read_only mode and in OFFLINE state (since it +--echo # failed to join the group). +--echo ######################################################################### +--echo +# Wait for the member to realize that it couldn't join the group +--let $member2_uuid = `SELECT @@GLOBAL.server_uuid` +--let $group_replication_number_of_members = 1 +--source ../inc/gr_wait_for_number_of_members.inc +--let $group_replication_member_state = OFFLINE +--let $group_replication_member_id = $member2_uuid +--source ../inc/gr_wait_for_member_state.inc +# Verify that super_read_only reverted to its original state +--let $assert_text= super_read_only should be enabled +--let $assert_cond= [SELECT @@GLOBAL.super_read_only] = @super_read_only_saved; +--source include/assert.inc +--let $error_file = $MYSQLTEST_VARDIR/tmp/gr_exit_state_action_on_start_gr_cmd.2.err +--let $assert_file = $error_file +--let $assert_text = GR reported expected incompatibility on member version +--let $assert_select = Member version is incompatible with the group +--let $assert_count = 1 +--source include/assert_grep.inc +# Verify that member 2 didn't join the group +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 1 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 4) Change the exit_state_action to ABORT_SERVER. Try to join M2 to the +--echo # group again. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Set the exit state action to ABORT_SERVER +SET @@GLOBAL.group_replication_exit_state_action = ABORT_SERVER; +# We must restart GR to trigger another join +# We expect a config error since this server's version is different from the +# group +--error ER_GROUP_REPLICATION_CONFIGURATION +START GROUP_REPLICATION; + +--echo +--echo ######################################################################### +--echo # 5) M2 should not abort(). +--echo ######################################################################### +--echo +# Wait for the member to realize that it couldn't join the group +--let $member2_uuid = `SELECT @@GLOBAL.server_uuid` +--let $group_replication_number_of_members = 1 +--source ../inc/gr_wait_for_number_of_members.inc +--let $group_replication_member_state = OFFLINE +--let $group_replication_member_id = $member2_uuid +--source ../inc/gr_wait_for_member_state.inc +# Verify that super_read_only reverted to its original state +--let $assert_text= super_read_only should be enabled +--let $assert_cond= [SELECT @@GLOBAL.super_read_only] = @super_read_only_saved; +--source include/assert.inc +# Verify that the expected error occurred +--let $assert_file = $error_file +--let $assert_text = GR reported expected incompatibility on member version +--let $assert_select = Member version is incompatible with the group +--let $assert_count = 2 +--source include/assert_grep.inc +# Verify that member 2 didn't join the group +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 1 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 6) Remove the higher version from M1 and try to join M2 again. M2 +--echo # should be able to join. +--echo ######################################################################### +--echo +# Restore the debug sysvar to its original state on server 1, so that we may +# finally join server 2 +SET @@GLOBAL.DEBUG = @debug_saved; +# We must restart the GR plugin because updates on the debug sysvar are not +# automatically reflected on the plugin if it is already running +--source include/stop_group_replication.inc +--source ../inc/start_and_bootstrap_group_replication.inc +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +# Start GR on server 2 and verify that the group stabilizes itself +--source include/start_group_replication.inc +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +--let $group_replication_number_of_members = 2 +--source ../inc/gr_wait_for_number_of_members.inc + +--echo +--echo ######################################################################### +--echo # 7) Cleanup. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc +SET @@GLOBAL.group_replication_exit_state_action = @exit_state_action_saved; + +--source ../inc/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_option.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_option.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_option.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_exit_state_action_option.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,83 @@ +################################################################################ +# +# exit_state_action sysvar specifies which action is taken by a server once it +# has involuntarily left the group. Currently there are only two actions: +# either the server continues running but with super_read_only enabled +# (READ_ONLY) or it aborts (ABORT_SERVER). +# +# This test verifies that the sysvar behaves as expected, meaning that the +# default value is the expected one (READ_ONLY), that we can change it +# and the value is maintained and that invalid values result in error. +# +# Test: +# 0) The test requires one server. +# 1) Check the default value. It should be READ_ONLY. +# 2) Set the sysvar to the possible valid values. Verify that the valid values +# are accepted with no error and the values are set correctly. +# 3) Set the sysvar to invalid values. There should be an error and the value of +# the sysvar should not be altered. +# 4) Cleanup. +# +################################################################################ +--source include/have_debug.inc +--source ../inc/have_group_replication_plugin.inc +--let $rpl_skip_group_replication_start= 1 +--source ../inc/group_replication.inc + +--echo +--echo ######################################################################### +--echo # 0) The test requires one server. +--echo ######################################################################### +--echo +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc +SET @exit_state_action_saved = @@GLOBAL.group_replication_exit_state_action; + +--echo +--echo ######################################################################### +--echo # 1) Check the default value. It should be READ_ONLY. +--echo ######################################################################### +--echo +SET @@GLOBAL.group_replication_exit_state_action = default; +--let $assert_text= The default of group_replication_exit_state_action should be READ_ONLY +--let $assert_cond= "[SELECT @@GLOBAL.group_replication_exit_state_action]" = "READ_ONLY" +--source include/assert.inc + +--echo +--echo ######################################################################### +--echo # 2) Set the sysvar to the possible valid values. +--echo ######################################################################### +--echo +SET GLOBAL group_replication_exit_state_action = "READ_ONLY"; +--let $assert_text= The default of group_replication_exit_state_action should be READ_ONLY +--let $assert_cond= "[SELECT @@GLOBAL.group_replication_exit_state_action]" = "READ_ONLY" +--source include/assert.inc +SET GLOBAL group_replication_exit_state_action = "ABORT_SERVER"; +--let $assert_text= The default of group_replication_exit_state_action should be ABORT_SERVER +--let $assert_cond= "[SELECT @@GLOBAL.group_replication_exit_state_action]" = "ABORT_SERVER" +--source include/assert.inc + +--echo +--echo ######################################################################### +--echo # 3) Set the sysvar to invalid values. There should be an error and the +--echo # value of the sysvar should not be altered. +--echo ######################################################################### +--echo +--error ER_WRONG_VALUE_FOR_VAR +SET GLOBAL group_replication_exit_state_action = 42; +--error ER_WRONG_VALUE_FOR_VAR +SET GLOBAL group_replication_exit_state_action = on; +--error ER_WRONG_VALUE_FOR_VAR +SET GLOBAL group_replication_exit_state_action = "abort"; +SET GLOBAL group_replication_exit_state_action = "READ_ONLY"; +--let $assert_text= The default of group_replication_exit_state_action should be READ_ONLY +--let $assert_cond= "[SELECT @@GLOBAL.group_replication_exit_state_action]" = "READ_ONLY" +--source include/assert.inc + +--echo +--echo ######################################################################### +--echo # 4) Cleanup. +--echo ######################################################################### +--echo +SET GLOBAL group_replication_exit_state_action = @exit_state_action_saved; +--source ../inc/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_recovery_channel.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_recovery_channel.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_recovery_channel.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_recovery_channel.test 2018-10-04 05:48:22.000000000 +0000 @@ -9,7 +9,7 @@ # 2. Stop replication on M1. On M2 lock a table to block recovery. Start M1. # 3. Execute a STOP SLAVE command and see the recovery channel still active. # 4. Execute a RESET SLAVE ALL command and see the recovery channel is not -# affected on M1. +# affected on M1 when GR node is active. # 5. Kill the server M1. The recovery channel should still be there but it's # not started. Recreate the slave channel to test that it started # 6. Clean the created channels and tables. @@ -84,7 +84,8 @@ --source include/assert.inc # -# Phase 4: Execute a RESET SLAVE ALL command and see the channel is not affected +# Phase 4: Execute a RESET SLAVE ALL command and see the recovery channel is +# not affected as GR node is active. # --connection server1 @@ -104,6 +105,7 @@ --let $recovery_relay_log_index= `SELECT CONCAT('$datadir_1', 'mgr-group_replication_recovery.index')` --file_exists $recovery_relay_log_index +--error ER_SLAVE_CHANNEL_OPERATION_NOT_ALLOWED RESET SLAVE ALL; --let $assert_text= 'The group replication recovery channel is present' diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_recovery_lower_max_retry_count-slave.opt mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_recovery_lower_max_retry_count-slave.opt --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_recovery_lower_max_retry_count-slave.opt 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_recovery_lower_max_retry_count-slave.opt 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1 @@ +--log_error=$MYSQLTEST_VARDIR/tmp/gr_recovery_lower_max_retry_count.2.err diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_recovery_lower_max_retry_count.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_recovery_lower_max_retry_count.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_recovery_lower_max_retry_count.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_recovery_lower_max_retry_count.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,103 @@ +################################################################################ +# This test verifies that recovery aborts successfully if +# group_replication_recovery_retry_count is made smaller then connection +# retry count in middle of recovery donor connection attempts. +# +# Test: +# 0. The test requires two servers: M1 and M2. +# 1. Bootstrap start a group on M1. +# 2. Setup environment to fail donor connection and start GR on M2. +# Set DEBUG on M2 to block donor connection attempt when count reaches 3. +# Verify M2 is in recovery state. +# 3. Reset group_replication_recovery_retry_count to 2. +# Signal donor connection attempt to continue. +# 4. Verification. +# 5. Clean up. +################################################################################ +--source include/have_debug_sync.inc +--source ../inc/have_group_replication_plugin.inc +--let $rpl_skip_group_replication_start= 1 +--source ../inc/group_replication.inc + +--let $error_file = $MYSQLTEST_VARDIR/tmp/gr_recovery_lower_max_retry_count.2.err + +--echo +--echo # 1. Bootstrap start a group on M1. +--echo + +--let $rpl_connection_name= server1 +--source include/rpl_connection.inc + +--source ../inc/start_and_bootstrap_group_replication.inc + +--echo +--echo # 2. Setup environment to fail donor connection and start GR on M2. +--echo # Set DEBUG on M2 to block donor connection attempt when count reaches 3. +--echo # Verify M2 is in recovery state. +--echo + +--let $rpl_connection_name= server2 +--source include/rpl_connection.inc + +SET @debug_save= @@GLOBAL.DEBUG; +SET @recovery_reconnect_interval_save= @@GLOBAL.GROUP_REPLICATION_RECOVERY_RECONNECT_INTERVAL; +SET @recovery_retry_count_save= @@GLOBAL.group_replication_recovery_retry_count; +--disable_warnings +CHANGE MASTER TO MASTER_USER="user_does_not_exist" FOR CHANNEL "group_replication_recovery"; +--enable_warnings + +SET SESSION sql_log_bin = 0; +call mtr.add_suppression("Maximum number of retries when trying to connect to a donor reached. Aborting group replication recovery."); +call mtr.add_suppression("Fatal error during the recovery process of Group Replication. The server will leave the group."); +call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going."); +SET SESSION sql_log_bin = 1; +SET @@GLOBAL.DEBUG='+d,gr_reset_max_connection_attempts_to_donors'; + +SET GLOBAL group_replication_recovery_reconnect_interval= 2; + +--let $group_replication_start_member_state= RECOVERING +--source include/start_group_replication.inc + +--echo +--echo # 3. Reset group_replication_recovery_retry_count to 2. +--echo # Signal donor connection attempt to continue. +--echo +SET DEBUG_SYNC= "now WAIT_FOR signal.connection_attempt_3"; + +SET GLOBAL group_replication_recovery_retry_count= 2; + +SET DEBUG_SYNC= "now SIGNAL signal.reset_recovery_retry_count_done"; + +--echo +--echo # 4. Verification. +--echo + +--let $group_replication_member_state= ERROR +--source ../inc/gr_wait_for_member_state.inc + +--let $assert_file = $error_file +--let $assert_text = 3 donor connections attempts were made. +--let $assert_select = Retrying group recovery connection with another donor. Attempt 3/10 +--let $assert_count = 1 +--source include/assert_grep.inc + +--let $assert_file = $error_file +--let $assert_text = Post change of group_replication_recovery_retry_count, 4th donor connection attempt was not made. +--let $assert_select = Retrying group recovery connection with another donor. Attempt 4 +--let $assert_count = 0 +--source include/assert_grep.inc + +--let $assert_file = $error_file +--let $assert_text = Recovery process aborted. +--let $assert_select = Maximum number of retries when trying to connect to a donor reached. Aborting group replication recovery. +--let $assert_count = 1 +--source include/assert_grep.inc + +--echo +--echo # 5. Clean up. +--echo +SET @@GLOBAL.DEBUG= @debug_save; +SET @@GLOBAL.GROUP_REPLICATION_RECOVERY_RECONNECT_INTERVAL= @recovery_reconnect_interval_save; +SET @@GLOBAL.group_replication_recovery_retry_count= @recovery_retry_count_save; + +--source ../inc/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_recovery_no_donors.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_recovery_no_donors.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_recovery_no_donors.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_recovery_no_donors.test 2018-10-04 05:48:22.000000000 +0000 @@ -39,6 +39,7 @@ call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going."); call mtr.add_suppression("Transaction cannot be executed while Group Replication is stopping."); call mtr.add_suppression("Run function 'before_commit' in plugin 'group_replication' failed"); +call mtr.add_suppression("On shutdown there was a timeout receiving a view change. This can lead to a possible inconsistent state. Check the log for more details"); SET SESSION sql_log_bin= 1; CREATE TABLE t1 (a INT PRIMARY KEY AUTO_INCREMENT NOT NULL); @@ -82,6 +83,7 @@ call mtr.add_suppression("The member is already leaving or joining a group."); call mtr.add_suppression("Skipping leave operation: member already left the group."); call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going."); +call mtr.add_suppression("On shutdown there was a timeout receiving a view change. This can lead to a possible inconsistent state. Check the log for more details"); SET SESSION sql_log_bin= 1; --let $rpl_connection_name= server3 @@ -94,6 +96,7 @@ call mtr.add_suppression("The member is already leaving or joining a group."); call mtr.add_suppression("Skipping leave operation: member already left the group."); call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going."); +call mtr.add_suppression("On shutdown there was a timeout receiving a view change. This can lead to a possible inconsistent state. Check the log for more details"); SET SESSION sql_log_bin= 1; diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_reset_slave_channel.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_reset_slave_channel.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_reset_slave_channel.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_reset_slave_channel.test 2018-10-04 05:48:22.000000000 +0000 @@ -1,7 +1,8 @@ ################################################################################ # This test verifies that group replication channels are not affect by global -# RESET SLAVE commands. -# If a command is however used directly in a group channel it should work. +# RESET SLAVE commands when the group replication is running. +# If a command is used directly in a group channel it should work. +# If a command is used when group replication is stopped it should work. # # Test: # 0. The test requires two servers: M1, M2 and M3. @@ -18,7 +19,8 @@ # c) On M2, group applier files should now be present with the channel. # b) On M2, recovery files should be present. # -# 3. Phase 3: Check that the RESET SLAVE command doesn't affect GR. +# 3. Phase 3: Check that the RESET SLAVE command doesn't affect GR specific +# channels when the GR member is ONLINE. # a) Execute RESET SLAVE ALL command on M1. # b) Validate that group applier files are still present on M1. # c) Check that slave files are removed on M1. @@ -35,6 +37,23 @@ # c) Add some data on M1 to check if all is fine. # d) Validate that both members have all the data. # +# 6. Phase 6: When GR is stopped, after global reset command all files +# should disappear. +# a) Stop GR on M2. +# b) Execute RESET SLAVE command on M2 +# c) Validate that slave_master_info and slave_relay_log_info tables are +# cleared. +# d) Start GR on M2. The node should be ONLINE. +# +# 7. Phase 7: When GR is stopped, after global RESET SLAVE ALL command all +# files should disappear including recovery channel specific credentials. +# a) Stop GR on M2. +# b) Execute RESET SLAVE ALL command on M2 +# c) Validate that slave_master_info and slave_relay_log_info tables are +# cleared. +# d) Execute CHANGE MASTER command to provide recovery channel credentials. +# f) Start GR on M2. The node should be ONLINE. +# # 6. Phase 6: Cleanup. ################################################################################ @@ -136,11 +155,15 @@ # # Phase 3: Check that the RESET SLAVE command doesn't affect group replication -# The slave channel should not be there +# specific channels when the GR member is ONLINE. Only the slave channel should +# not be there # --connection server1 +# Global RESET SLAVE ALL command will not work on group replication channels +# when the group memeber is ONLINE. +--error ER_SLAVE_CHANNEL_OPERATION_NOT_ALLOWED RESET SLAVE ALL; --let $relay_log_file=`SELECT CONCAT('$datadir_1','mgr-group_replication_applier.000001')` @@ -216,7 +239,81 @@ --source include/assert.inc # -# Phase 6: Cleanup +# Phase 6: After a global reset command all files should disappear +# +--connection server2 +--echo server2 + +--echo Vefiry that group replication channels are present +--let $assert_text= 'The group replication applier channel is present' +--let $assert_cond= [SELECT COUNT(*) AS count FROM mysql.slave_relay_log_info WHERE channel_name="group_replication_applier", count, 1] = 1 +--source include/assert.inc + +--let $assert_text= 'The group replication recovery channel is present' +--let $assert_cond= [SELECT COUNT(*) AS count FROM mysql.slave_relay_log_info WHERE channel_name="group_replication_recovery", count, 1] = 1 +--source include/assert.inc +--let $datadir_2= `SELECT @@GLOBAL.datadir` + +--source include/stop_group_replication.inc + +--echo RESET SLAVE command clears master and slave info repositories and will flush master info +RESET SLAVE; + +--let $assert_text= 'mysql.slave_relay_log_info contains no group replication channel information' +--let $assert_cond= [SELECT COUNT(*) AS count FROM mysql.slave_relay_log_info WHERE channel_name like "group_replication%", count, 1] = 0 +--source include/assert.inc + +--let $assert_text= 'mysql.slave_master_info contains flushed group replication channel information' +--let $assert_cond= [SELECT COUNT(*) AS count FROM mysql.slave_master_info WHERE channel_name like "group_replication%", count, 1] = 2 +--source include/assert.inc + +# Applier files are recreated +--let $relay_log_index= `SELECT CONCAT('$datadir_2', 'mgr-group_replication_applier.index')` +--file_exists $relay_log_index + +# Recovery files are recreated +--let $recovery_relay_log_index= `SELECT CONCAT('$datadir_2', 'mgr-group_replication_recovery.index')` +--file_exists $recovery_relay_log_index + +--source include/start_group_replication.inc + +--let $assert_text= 'The group replication applier and recovery channel are present' +--let $assert_cond= [SELECT COUNT(*) AS count FROM mysql.slave_relay_log_info WHERE channel_name like "group_replication%", count, 1] = 2 +--source include/assert.inc + +# +# Phase 7: After a global reset slave all command, all files should disappear +# Executed the CHANGE MASTER command to create recovery channel and enable +# group replication. +# + +--source include/stop_group_replication.inc +RESET SLAVE ALL; + +--let $assert_text= 'mysql.slave_relay_log_info does not contrain group replication channel information' +--let $assert_cond= [SELECT COUNT(*) AS count FROM mysql.slave_relay_log_info WHERE channel_name like "group_replication%", count, 1] = 0 +--source include/assert.inc + +--let $assert_text= 'mysql.slave_master_info does not contrain group replication channel information' +--let $assert_cond= [SELECT COUNT(*) AS count FROM mysql.slave_master_info WHERE channel_name like "group_replication%", count, 1] = 0 +--source include/assert.inc + +--let $relay_log_index= `SELECT CONCAT('$datadir_2', 'mgr-group_replication_applier.index')` +--error 1 +--file_exists $relay_log_index + +# Recovery files are also removed + +--let $recovery_relay_log_index= `SELECT CONCAT('$datadir_2', 'mgr-group_replication_recovery.index')` +--error 1 +--file_exists $recovery_relay_log_index + +CHANGE MASTER TO MASTER_USER="root" FOR CHANNEL "group_replication_recovery"; + +--source include/start_group_replication.inc + +# +# Phase 8: Cleanup # DROP TABLE t1; diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_show_global_and_session_variables.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_show_global_and_session_variables.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_show_global_and_session_variables.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_show_global_and_session_variables.test 2018-10-04 05:48:22.000000000 +0000 @@ -3,7 +3,7 @@ # # Test: # 0. This test requires one server. -# 1. Basic check that there are 35 GR variables. +# 1. Basic check that there are 36 GR variables. # 2. Verify that all the group replication variables are GLOBAL variables. # 3. Verify values of GLOBAL and SESSION variables using below commands:- # - SHOW GLOBAL VARIABLES LIKE 'group_replication_..' @@ -29,12 +29,12 @@ --sleep 30 --echo ---echo # Test#1: Basic check that there are 35 GR variables. +--echo # Test#1: Basic check that there are 36 GR variables. # Note: If a new GR variable is added or an old GR variable is removed, then # update this testcase for the sanity check. ---let $assert_text= There are 35 GR variables at present. ---let $assert_cond= "[SELECT COUNT(*) FROM performance_schema.global_variables WHERE VARIABLE_NAME LIKE \\'group_replication%\']" = 35 +--let $assert_text= There are 36 GR variables at present. +--let $assert_cond= "[SELECT COUNT(*) FROM performance_schema.global_variables WHERE VARIABLE_NAME LIKE \\'group_replication%\']" = 36 --source include/assert.inc # Take backup of GR variables @@ -71,6 +71,7 @@ --let $saved_gr_transaction_size_limit = `SELECT @@GLOBAL.group_replication_transaction_size_limit;` --let $saved_gr_unreachable_majority_timeout = `SELECT @@GLOBAL.group_replication_unreachable_majority_timeout` --let $saved_gr_member_weight = `SELECT @@GLOBAL.group_replication_member_weight;` +--let $saved_gr_exit_state_action = `SELECT @@GLOBAL.group_replication_exit_state_action;` --enable_query_log --echo @@ -141,6 +142,8 @@ SET @@SESSION.group_replication_unreachable_majority_timeout= 10240; --error ER_GLOBAL_VARIABLE SET @@SESSION.group_replication_member_weight= 80; +--error ER_GLOBAL_VARIABLE +SET @@SESSION.group_replication_exit_state_action= "READ_ONLY"; # GR variables should be set at GLOBAL level. # Set values to GLOBAL GR variables to test further. @@ -177,6 +180,7 @@ SET GLOBAL group_replication_transaction_size_limit= 100000; SET GLOBAL group_replication_unreachable_majority_timeout= 100000; SET GLOBAL group_replication_member_weight= 70; +SET GLOBAL group_replication_exit_state_action= "READ_ONLY"; --enable_query_log --echo @@ -729,6 +733,23 @@ --let $assert_cond= "[SELECT * FROM performance_schema.session_variables WHERE VARIABLE_NAME=\'group_replication_member_weight\', VARIABLE_VALUE, 1]" = 70 --source include/assert.inc +# group_replication_exit_state_action +--let $assert_text= Verify GLOBAL value of group_replication_exit_state_action +--let $assert_cond= "[SHOW GLOBAL VARIABLES LIKE \'group_replication_exit_state_action\', Value, 1]" = "READ_ONLY" +--source include/assert.inc + +--let $assert_text= Verify GLOBAL value of group_replication_exit_state_action +--let $assert_cond= "[SELECT * FROM performance_schema.global_variables WHERE VARIABLE_NAME=\'group_replication_exit_state_action\', VARIABLE_VALUE, 1]" = "READ_ONLY" +--source include/assert.inc + +--let $assert_text= Verify SESSION value of group_replication_exit_state_action +--let $assert_cond= "[SHOW SESSION VARIABLES LIKE \'group_replication_exit_state_action\', Value, 1]" = "READ_ONLY" +--source include/assert.inc + +--let $assert_text= Verify SESSION value of group_replication_exit_state_action +--let $assert_cond= "[SELECT * FROM performance_schema.session_variables WHERE VARIABLE_NAME=\'group_replication_exit_state_action\', VARIABLE_VALUE, 1]" = "READ_ONLY" +--source include/assert.inc + --echo --echo # Clean up --source include/stop_group_replication.inc @@ -767,6 +788,7 @@ --eval SET @@GLOBAL.group_replication_transaction_size_limit= $saved_gr_transaction_size_limit --eval SET @@GLOBAL.group_replication_unreachable_majority_timeout= $saved_gr_unreachable_majority_timeout --eval SET @@GLOBAL.group_replication_member_weight= $saved_gr_member_weight +--eval SET @@GLOBAL.group_replication_exit_state_action= $saved_gr_exit_state_action --enable_query_log --source ../inc/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_startup_check_node_seed_skips_own_address.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_startup_check_node_seed_skips_own_address.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_startup_check_node_seed_skips_own_address.test 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_startup_check_node_seed_skips_own_address.test 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,117 @@ +############################################################### +# The purpose of this test is to exercise all possible options +# that avoid a node connecting to himself as seed, if a +# misconfiguration accidentally happens, when using names. +# +# +# The following combinations (as an example) must succeed: +# +# boot_node = off +# local_address = name:12345 //name resolves to 127.0.0.1 +# peers = 127.0.0.1:12345,127.0.0.1:12346 +# +# boot_node = off +# local_address = 127.0.0.1:12345 +# peers = name:12345,127.0.0.1:12346 //name resolves to 127.0.0.1 +# +# +# For that one needs to: +# - Skip start as a whole +# - Start server 1 +# - Build scenario 1 +# - Start server 2 +# - Make sure it comes online +# - Build and run scenario 2 +# - Cleanup +# +############################################################### + +--let $group_replication_group_name= 89ab83b0-9f17-11e3-a5e2-0800200c9a66 + +--source ../inc/have_group_replication_plugin.inc +--let $rpl_skip_group_replication_start= 1 +--source ../inc/group_replication.inc + +# Start server 1 by hand +--connection server1 +--echo server1 +--source ../inc/start_and_bootstrap_group_replication.inc + +# Go to server 2 +--connection server2 +--echo server2 + +# Backup the original values +--let $original_server_2_local_address= `SELECT @@GLOBAL.group_replication_local_address` +--let $original_server_2_seeds= `SELECT @@GLOBAL.group_replication_group_seeds` + +--echo "1. Test local address with raw address and seeds with name" + +# Assemble the new values: +# - local address with raw values +# - local address first in seeds with name (which is default) +--let $localhost_address= 127.0.0.1: +--let $local_address_with_raw_address= $localhost_address$SERVER_GR_PORT_2 + +# Set values +--disable_query_log +--eval SET GLOBAL group_replication_local_address= "$local_address_with_raw_address" +--eval SET GLOBAL group_replication_group_seeds= "$original_server_2_local_address,$original_server_2_seeds" +--enable_query_log + +# Start the server and wait for successful start +--source include/start_group_replication.inc + +--let $group_replication_member_state= ONLINE +--source ../inc/gr_wait_for_member_state.inc + +# Stop the server +--source include/stop_group_replication.inc + +--echo "2. Test local address with name address and seeds with raw address" + +# Assemble the new values: +# - local address with name values +# - local address first in seeds with raw value + +--disable_query_log +--eval SET GLOBAL group_replication_local_address= "$original_server_2_local_address" +--eval SET GLOBAL group_replication_group_seeds= "$local_address_with_raw_address,$original_server_2_seeds" +--enable_query_log + +--source include/start_group_replication.inc + +# Start the server and wait for successful start + +--let $group_replication_member_state= ONLINE +--source ../inc/gr_wait_for_member_state.inc + +# Stop the server +--source include/stop_group_replication.inc + +--echo "3. Test local address with name address and seeds with name address" + +# Assemble the new values: +# - local address with name values +# - local address first in seeds with name value + +--disable_query_log +--eval SET GLOBAL group_replication_local_address= "$original_server_2_local_address" +--eval SET GLOBAL group_replication_group_seeds= "$original_server_2_local_address,$original_server_2_seeds" +--enable_query_log + +--source include/start_group_replication.inc + +# Start the server and wait for successful start + +--let $group_replication_member_state= ONLINE +--source ../inc/gr_wait_for_member_state.inc + +# Cleanup + +--disable_query_log +--eval SET GLOBAL group_replication_local_address= "$original_server_2_local_address" +--eval SET GLOBAL group_replication_group_seeds= "$original_server_2_seeds" +--enable_query_log + +--source ../inc/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_variables_default_values.test mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_variables_default_values.test --- mysql-5.7-5.7.23/rapid/plugin/group_replication/tests/mtr/t/gr_variables_default_values.test 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/group_replication/tests/mtr/t/gr_variables_default_values.test 2018-10-04 05:48:22.000000000 +0000 @@ -68,17 +68,18 @@ --let $saved_gr_transaction_size_limit = `SELECT @@GLOBAL.group_replication_transaction_size_limit;` --let $saved_gr_unreachable_majority_timeout = `SELECT @@GLOBAL.group_replication_unreachable_majority_timeout` --let $saved_gr_member_weight = `SELECT @@GLOBAL.group_replication_member_weight;` +--let $saved_gr_exit_state_action = `SELECT @@GLOBAL.group_replication_exit_state_action;` --echo # --echo # Test Unit#1 --echo # Set global group replication variables to default. ---echo # Curently there are 35 group replication variables. +--echo # Curently there are 36 group replication variables. --echo # # Note: If a new GR variable is added or an old GR variable is removed, then # update this testcase for the sanity check. ---let $assert_text= There are 35 GR variables at present. ---let $assert_cond= "[SELECT COUNT(*) FROM performance_schema.global_variables WHERE VARIABLE_NAME LIKE \\'group_replication%\']" = 35 +--let $assert_text= There are 36 GR variables at present. +--let $assert_cond= "[SELECT COUNT(*) FROM performance_schema.global_variables WHERE VARIABLE_NAME LIKE \\'group_replication%\']" = 36 --source include/assert.inc --error ER_WRONG_VALUE_FOR_VAR @@ -121,6 +122,7 @@ SET @@GLOBAL.group_replication_transaction_size_limit= default; SET @@GLOBAL.group_replication_unreachable_majority_timeout= default; SET @@GLOBAL.group_replication_member_weight= default; +SET @@GLOBAL.group_replication_exit_state_action= default; --echo # --echo # Test Unit#2 @@ -267,6 +269,11 @@ --let $assert_cond= "[SELECT @@GLOBAL.group_replication_member_weight]" = 50 --source include/assert.inc +#group_replication_exit_state_action +--let $assert_text= Default group_replication_exit_state_action is READ_ONLY +--let $assert_cond= "[SELECT @@GLOBAL.group_replication_exit_state_action]" = "READ_ONLY" +--source include/assert.inc + --echo # --echo # Clean up --echo # @@ -306,6 +313,7 @@ --eval SET @@GLOBAL.group_replication_transaction_size_limit= $saved_gr_transaction_size_limit --eval SET @@GLOBAL.group_replication_unreachable_majority_timeout= $saved_gr_unreachable_majority_timeout --eval SET @@GLOBAL.group_replication_member_weight= $saved_gr_member_weight +--eval SET @@GLOBAL.group_replication_exit_state_action= $saved_gr_exit_state_action --enable_query_log --source ../inc/group_replication_end.inc diff -Nru mysql-5.7-5.7.23/rapid/plugin/x/CMakeLists.txt mysql-5.7-5.7.24/rapid/plugin/x/CMakeLists.txt --- mysql-5.7-5.7.23/rapid/plugin/x/CMakeLists.txt 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/x/CMakeLists.txt 2018-10-04 05:48:22.000000000 +0000 @@ -93,7 +93,6 @@ ${CMAKE_CURRENT_SOURCE_DIR}/include/mysql ${CMAKE_CURRENT_BINARY_DIR}/generated ${SSL_INCLUDE_DIRS} - ${ZLIB_INCLUDE_DIR} ) INCLUDE_DIRECTORIES(SYSTEM diff -Nru mysql-5.7-5.7.23/rapid/plugin/x/tests/mtr/r/delete_crud_o.result mysql-5.7-5.7.24/rapid/plugin/x/tests/mtr/r/delete_crud_o.result --- mysql-5.7-5.7.23/rapid/plugin/x/tests/mtr/r/delete_crud_o.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/x/tests/mtr/r/delete_crud_o.result 2018-10-04 05:48:22.000000000 +0000 @@ -244,7 +244,7 @@ Mysqlx.Error { severity: ERROR code: 1175 - msg: "You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column" + msg: "You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. " sql_state: "HY000" } @@ -306,7 +306,7 @@ Mysqlx.Error { severity: ERROR code: 1175 - msg: "You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column" + msg: "You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. " sql_state: "HY000" } @@ -341,7 +341,7 @@ Mysqlx.Error { severity: ERROR code: 1175 - msg: "You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column" + msg: "You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. " sql_state: "HY000" } diff -Nru mysql-5.7-5.7.23/rapid/plugin/x/tests/mtr/r/delete_sql_o.result mysql-5.7-5.7.24/rapid/plugin/x/tests/mtr/r/delete_sql_o.result --- mysql-5.7-5.7.23/rapid/plugin/x/tests/mtr/r/delete_sql_o.result 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/rapid/plugin/x/tests/mtr/r/delete_sql_o.result 2018-10-04 05:48:22.000000000 +0000 @@ -71,20 +71,20 @@ 1 rows affected RUN DELETE FROM ExtraCategoryInfo WHERE MainParentCategoryName = 'People' While executing DELETE FROM ExtraCategoryInfo WHERE MainParentCategoryName = 'People': -Got expected error: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column (code 1175) +Got expected error: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. (code 1175) RUN DELETE FROM ExtraCategoryInfo WHERE MainParentCategoryName = 'House' AND CategoryID in (4) While executing DELETE FROM ExtraCategoryInfo WHERE MainParentCategoryName = 'House' AND CategoryID in (4): -Got expected error: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column (code 1175) +Got expected error: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. (code 1175) RUN DELETE FROM Categories WHERE CategoryIMEI = 1 While executing DELETE FROM Categories WHERE CategoryIMEI = 1: -Got expected error: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column (code 1175) +Got expected error: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. (code 1175) RUN DELETE FROM ExtraCategoryInfo WHERE EXISTS (SELECT * FROM Categories WHERE Categories.CategoryID = ExtraCategoryInfo.CategoryID AND ExtraCategoryInfo.MainParentCategoryName = 'People' ) While executing DELETE FROM ExtraCategoryInfo WHERE EXISTS (SELECT * FROM Categories WHERE Categories.CategoryID = ExtraCategoryInfo.CategoryID AND ExtraCategoryInfo.MainParentCategoryName = 'People' ): -Got expected error: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column (code 1175) +Got expected error: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. (code 1175) RUN SELECT * FROM ExtraCategoryInfo ExtraCategoryInfoID CategoryID MainParentCategoryName 3 2 House diff -Nru mysql-5.7-5.7.23/regex/CMakeLists.txt mysql-5.7-5.7.24/regex/CMakeLists.txt --- mysql-5.7-5.7.23/regex/CMakeLists.txt 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/regex/CMakeLists.txt 2018-10-04 05:48:22.000000000 +0000 @@ -15,6 +15,8 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include) +INCLUDE(${MYSQL_CMAKE_SCRIPT_DIR}/compile_flags.cmake) + MY_CHECK_C_COMPILER_FLAG("-Wstringop-truncation" HAVE_STRINGOP_TRUNCATION) IF(HAVE_STRINGOP_TRUNCATION) ADD_COMPILE_FLAGS( diff -Nru mysql-5.7-5.7.23/scripts/fill_help_tables.sql mysql-5.7-5.7.24/scripts/fill_help_tables.sql --- mysql-5.7-5.7.23/scripts/fill_help_tables.sql 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/scripts/fill_help_tables.sql 2018-10-04 06:01:50.000000000 +0000 @@ -17,9 +17,9 @@ -- team. If you require changes to the format of this file, contact the -- docs team. --- File generation date: 2018-06-07 +-- File generation date: 2018-10-03 -- MySQL series: 5.7 --- Document repository revision: 57614 +-- Document repository revision: 59320 -- To use this file, load its contents into the mysql database. For example, -- with the mysql client program, process the file like this, where @@ -91,23 +91,23 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (10,38,'CHAR FUNCTION','Syntax:\nCHAR(N,... [USING charset_name])\n\nCHAR() interprets each argument N as an integer and returns a string\nconsisting of the characters given by the code values of those\nintegers. NULL values are skipped.\nBy default, CHAR() returns a binary string. To produce a string in a\ngiven character set, use the optional USING clause:\n\nmysql> SELECT CHARSET(CHAR(X\'65\')), CHARSET(CHAR(X\'65\' USING utf8));\n+----------------------+---------------------------------+\n| CHARSET(CHAR(X\'65\')) | CHARSET(CHAR(X\'65\' USING utf8)) |\n+----------------------+---------------------------------+\n| binary | utf8 |\n+----------------------+---------------------------------+\n\nIf USING is given and the result string is illegal for the given\ncharacter set, a warning is issued. Also, if strict SQL mode is\nenabled, the result from CHAR() becomes NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-functions.html\n\n','mysql> SELECT CHAR(77,121,83,81,\'76\');\n -> \'MySQL\'\nmysql> SELECT CHAR(77,77.3,\'77.3\');\n -> \'MMM\'\n','http://dev.mysql.com/doc/refman/5.7/en/string-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (11,7,'ASYMMETRIC_DECRYPT','Syntax:\nASYMMETRIC_DECRYPT(algorithm, crypt_str, key_str)\n\nDecrypts an encrypted string using the given algorithm and key string,\nand returns the resulting cleartext as a binary string. If decryption\nfails, the result is NULL.\n\nkey_str must be a valid key string in PEM format. For successful\ndecryption, it must be the public or private key string corresponding\nto the private or public key string used with ASYMMETRIC_ENCRYPT() to\nproduce the encrypted string. algorithm indicates the encryption\nalgorithm used to create the key.\n\nSupported algorithm values: \'RSA\'\n\nFor a usage example, see the description of ASYMMETRIC_ENCRYPT().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (12,27,'SHOW CREATE TRIGGER','Syntax:\nSHOW CREATE TRIGGER trigger_name\n\nThis statement shows the CREATE TRIGGER statement that creates the\nnamed trigger. This statement requires the TRIGGER privilege for the\ntable associated with the trigger.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-create-trigger.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-create-trigger.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (13,27,'SHOW CREATE PROCEDURE','Syntax:\nSHOW CREATE PROCEDURE proc_name\n\nThis statement is a MySQL extension. It returns the exact string that\ncan be used to re-create the named stored procedure. A similar\nstatement, SHOW CREATE FUNCTION, displays information about stored\nfunctions (see [HELP SHOW CREATE FUNCTION]).\n\nTo use either statement, you must be the user named in the routine\nDEFINER clause or have SELECT access to the mysql.proc table. If you do\nnot have privileges for the routine itself, the value displayed for the\nCreate Procedure or Create Function field will be NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-create-procedure.html\n\n','mysql> SHOW CREATE PROCEDURE test.simpleproc\\G\n*************************** 1. row ***************************\n Procedure: simpleproc\n sql_mode:\n Create Procedure: CREATE PROCEDURE `simpleproc`(OUT param1 INT)\n BEGIN\n SELECT COUNT(*) INTO param1 FROM t;\n END\ncharacter_set_client: latin1\ncollation_connection: latin1_swedish_ci\n Database Collation: latin1_swedish_ci\n\nmysql> SHOW CREATE FUNCTION test.hello\\G\n*************************** 1. row ***************************\n Function: hello\n sql_mode:\n Create Function: CREATE FUNCTION `hello`(s CHAR(20))\n RETURNS CHAR(50)\n RETURN CONCAT(\'Hello, \',s,\'!\')\ncharacter_set_client: latin1\ncollation_connection: latin1_swedish_ci\n Database Collation: latin1_swedish_ci\n','http://dev.mysql.com/doc/refman/5.7/en/show-create-procedure.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (13,27,'SHOW CREATE PROCEDURE','Syntax:\nSHOW CREATE PROCEDURE proc_name\n\nThis statement is a MySQL extension. It returns the exact string that\ncan be used to re-create the named stored procedure. A similar\nstatement, SHOW CREATE FUNCTION, displays information about stored\nfunctions (see [HELP SHOW CREATE FUNCTION]).\n\nTo use either statement, you must be the user named in the routine\nDEFINER clause or have SELECT access to the mysql.proc table. If you do\nnot have privileges for the routine itself, the value displayed for the\nCreate Procedure or Create Function field will be NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-create-procedure.html\n\n','mysql> SHOW CREATE PROCEDURE test.simpleproc\\G\n*************************** 1. row ***************************\n Procedure: simpleproc\n sql_mode: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,\n NO_ZERO_IN_DATE,NO_ZERO_DATE,\n ERROR_FOR_DIVISION_BY_ZERO,\n NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\n Create Procedure: CREATE PROCEDURE `simpleproc`(OUT param1 INT)\n BEGIN\n SELECT COUNT(*) INTO param1 FROM t;\n END\ncharacter_set_client: utf8\ncollation_connection: utf8_general_ci\n Database Collation: latin1_swedish_ci\n\nmysql> SHOW CREATE FUNCTION test.hello\\G\n*************************** 1. row ***************************\n Function: hello\n sql_mode: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,\n NO_ZERO_IN_DATE,NO_ZERO_DATE,\n ERROR_FOR_DIVISION_BY_ZERO,\n NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\n Create Function: CREATE FUNCTION `hello`(s CHAR(20))\n RETURNS char(50) CHARSET latin1\n RETURN CONCAT(\'Hello, \',s,\'!\')\ncharacter_set_client: utf8\ncollation_connection: utf8_general_ci\n Database Collation: latin1_swedish_ci\n','http://dev.mysql.com/doc/refman/5.7/en/show-create-procedure.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (14,24,'OPEN','Syntax:\nOPEN cursor_name\n\nThis statement opens a previously declared cursor. For an example, see\nhttp://dev.mysql.com/doc/refman/5.7/en/cursors.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/open.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/open.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (15,31,'ST_INTERSECTS','ST_Intersects(g1, g2)\n\nReturns 1 or 0 to indicate whether g1 spatially intersects g2.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-object-shapes.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-object-shapes.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (16,38,'LOWER','Syntax:\nLOWER(str)\n\nReturns the string str with all characters changed to lowercase\naccording to the current character set mapping. The default is latin1\n(cp1252 West European).\n\nmysql> SELECT LOWER(\'QUADRATICALLY\');\n -> \'quadratically\'\n\nLOWER() (and UPPER()) are ineffective when applied to binary strings\n(BINARY, VARBINARY, BLOB). To perform lettercase conversion, convert\nthe string to a nonbinary string:\n\nmysql> SET @str = BINARY \'New York\';\nmysql> SELECT LOWER(@str), LOWER(CONVERT(@str USING latin1));\n+-------------+-----------------------------------+\n| LOWER(@str) | LOWER(CONVERT(@str USING latin1)) |\n+-------------+-----------------------------------+\n| New York | new york |\n+-------------+-----------------------------------+\n\nFor collations of Unicode character sets, LOWER() and UPPER() work\naccording to the Unicode Collation Algorithm (UCA) version in the\ncollation name, if there is one, and UCA 4.0.0 if no version is\nspecified. For example, utf8_unicode_520_ci works according to UCA\n5.2.0, whereas utf8_unicode_ci works according to UCA 4.0.0. See\nhttp://dev.mysql.com/doc/refman/5.7/en/charset-unicode-sets.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/string-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (17,40,'CREATE TRIGGER','Syntax:\nCREATE\n [DEFINER = { user | CURRENT_USER }]\n TRIGGER trigger_name\n trigger_time trigger_event\n ON tbl_name FOR EACH ROW\n [trigger_order]\n trigger_body\n\ntrigger_time: { BEFORE | AFTER }\n\ntrigger_event: { INSERT | UPDATE | DELETE }\n\ntrigger_order: { FOLLOWS | PRECEDES } other_trigger_name\n\nThis statement creates a new trigger. A trigger is a named database\nobject that is associated with a table, and that activates when a\nparticular event occurs for the table. The trigger becomes associated\nwith the table named tbl_name, which must refer to a permanent table.\nYou cannot associate a trigger with a TEMPORARY table or a view.\n\nTrigger names exist in the schema namespace, meaning that all triggers\nmust have unique names within a schema. Triggers in different schemas\ncan have the same name.\n\nThis section describes CREATE TRIGGER syntax. For additional\ndiscussion, see\nhttp://dev.mysql.com/doc/refman/5.7/en/trigger-syntax.html.\n\nCREATE TRIGGER requires the TRIGGER privilege for the table associated\nwith the trigger. The statement might also require the SUPER privilege,\ndepending on the DEFINER value, as described later in this section. If\nbinary logging is enabled, CREATE TRIGGER might require the SUPER\nprivilege, as described in\nhttp://dev.mysql.com/doc/refman/5.7/en/stored-programs-logging.html.\n\nThe DEFINER clause determines the security context to be used when\nchecking access privileges at trigger activation time, as described\nlater in this section.\n\ntrigger_time is the trigger action time. It can be BEFORE or AFTER to\nindicate that the trigger activates before or after each row to be\nmodified.\n\nBasic column value checks occur prior to trigger activation, so you\ncannot use BEFORE triggers to convert values inappropriate for the\ncolumn type to valid values.\n\ntrigger_event indicates the kind of operation that activates the\ntrigger. These trigger_event values are permitted:\n\no INSERT: The trigger activates whenever a new row is inserted into the\n table; for example, through INSERT, LOAD DATA, and REPLACE\n statements.\n\no UPDATE: The trigger activates whenever a row is modified; for\n example, through UPDATE statements.\n\no DELETE: The trigger activates whenever a row is deleted from the\n table; for example, through DELETE and REPLACE statements. DROP TABLE\n and TRUNCATE TABLE statements on the table do not activate this\n trigger, because they do not use DELETE. Dropping a partition does\n not activate DELETE triggers, either.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-trigger.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/create-trigger.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (18,32,'MONTH','Syntax:\nMONTH(date)\n\nReturns the month for date, in the range 1 to 12 for January to\nDecember, or 0 for dates such as \'0000-00-00\' or \'2008-00-00\' that have\na zero month part.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT MONTH(\'2008-02-03\');\n -> 2\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (19,7,'ASYMMETRIC_ENCRYPT','Syntax:\nASYMMETRIC_ENCRYPT(algorithm, str, key_str)\n\nEncrypts a string using the given algorithm and key string, and returns\nthe resulting ciphertext as a binary string. If encryption fails, the\nresult is NULL.\n\nThe str length cannot be greater than the key_str length − 11, in\nbytes\n\nkey_str must be a valid key string in PEM format. algorithm indicates\nthe encryption algorithm used to create the key.\n\nSupported algorithm values: \'RSA\'\n\nTo encrypt a string, pass a private or public key string to\nASYMMETRIC_ENCRYPT(). To recover the original unencrypted string, pass\nthe encrypted string to ASYMMETRIC_DECRYPT(), along with the public or\nprivate key string correponding to the private or public key string\nused for encryption.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html\n\n','-- Generate private/public key pair\nSET @priv = CREATE_ASYMMETRIC_PRIV_KEY(\'RSA\', 1024);\nSET @pub = CREATE_ASYMMETRIC_PUB_KEY(\'RSA\', @priv);\n\n-- Encrypt using private key, decrypt using public key\nSET @ciphertext = ASYMMETRIC_ENCRYPT(\'RSA\', \'The quick brown fox\', @priv);\nSET @cleartext = ASYMMETRIC_DECRYPT(\'RSA\', @ciphertext, @pub);\n\n-- Encrypt using public key, decrypt using private key\nSET @ciphertext = ASYMMETRIC_ENCRYPT(\'RSA\', \'The quick brown fox\', @pub);\nSET @cleartext = ASYMMETRIC_DECRYPT(\'RSA\', @ciphertext, @priv);\n','http://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (20,27,'SHOW TRIGGERS','Syntax:\nSHOW TRIGGERS\n [{FROM | IN} db_name]\n [LIKE \'pattern\' | WHERE expr]\n\nSHOW TRIGGERS lists the triggers currently defined for tables in a\ndatabase (the default database unless a FROM clause is given). This\nstatement returns results only for databases and tables for which you\nhave the TRIGGER privilege. The LIKE clause, if present, indicates\nwhich table names to match (not trigger names) and causes the statement\nto display triggers for those tables. The WHERE clause can be given to\nselect rows using more general conditions, as discussed in\nhttp://dev.mysql.com/doc/refman/5.7/en/extended-show.html.\n\nFor the trigger ins_sum as defined in\nhttp://dev.mysql.com/doc/refman/5.7/en/triggers.html, the output of\nthis statement is as shown here:\n\nmysql> SHOW TRIGGERS LIKE \'acc%\'\\G\n*************************** 1. row ***************************\n Trigger: ins_sum\n Event: INSERT\n Table: account\n Statement: SET @sum = @sum + NEW.amount\n Timing: BEFORE\n Created: 2013-07-09 10:39:34.96\n sql_mode: NO_ENGINE_SUBSTITUTION\n Definer: me@localhost\ncharacter_set_client: utf8\ncollation_connection: utf8_general_ci\n Database Collation: latin1_swedish_ci\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-triggers.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-triggers.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (20,27,'SHOW TRIGGERS','Syntax:\nSHOW TRIGGERS\n [{FROM | IN} db_name]\n [LIKE \'pattern\' | WHERE expr]\n\nSHOW TRIGGERS lists the triggers currently defined for tables in a\ndatabase (the default database unless a FROM clause is given). This\nstatement returns results only for databases and tables for which you\nhave the TRIGGER privilege. The LIKE clause, if present, indicates\nwhich table names (not trigger names) to match and causes the statement\nto display triggers for those tables. The WHERE clause can be given to\nselect rows using more general conditions, as discussed in\nhttp://dev.mysql.com/doc/refman/5.7/en/extended-show.html.\n\nFor the ins_sum trigger defined in\nhttp://dev.mysql.com/doc/refman/5.7/en/triggers.html, the output of\nSHOW TRIGGERS is as shown here:\n\nmysql> SHOW TRIGGERS LIKE \'acc%\'\\G\n*************************** 1. row ***************************\n Trigger: ins_sum\n Event: INSERT\n Table: account\n Statement: SET @sum = @sum + NEW.amount\n Timing: BEFORE\n Created: 2018-08-08 10:10:12.61\n sql_mode: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,\n NO_ZERO_IN_DATE,NO_ZERO_DATE,\n ERROR_FOR_DIVISION_BY_ZERO,\n NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\n Definer: me@localhost\ncharacter_set_client: utf8\ncollation_connection: utf8_general_ci\n Database Collation: latin1_swedish_ci\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-triggers.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-triggers.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (21,13,'ISCLOSED','IsClosed(ls)\n\nST_IsClosed() and IsClosed() are synonyms. For more information, see\nthe description of ST_IsClosed().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-linestring-property-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-linestring-property-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (22,38,'REGEXP','Syntax:\nexpr REGEXP pat, expr RLIKE pat\n\nReturns 1 if the string expr matches the regular expression specified\nby the pattern pat, 0 otherwise. If either expr or pat is NULL, the\nreturn value is NULL.\n\nRLIKE is a synonym for REGEXP.\n\nThe pattern can be an extended regular expression, the syntax for which\nis discussed in\nhttp://dev.mysql.com/doc/refman/5.7/en/regexp.html#regexp-syntax. The\npattern need not be a literal string. For example, it can be specified\nas a string expression or table column.\n\n*Note*:\n\nBecause MySQL uses the C escape syntax in strings (for example, \\n to\nrepresent the newline character), you must double any \\ that you use in\nyour REGEXP arguments.\n\nRegular expression operations use the character set and collation of\nthe string expression and pattern arguments when deciding the type of a\ncharacter and performing the comparison. If the arguments have\ndifferent character sets or collations, coercibility rules apply as\ndescribed in\nhttp://dev.mysql.com/doc/refman/5.7/en/charset-collation-coercibility.h\ntml. If either argument is a binary string, the arguments are handled\nin case-sensitive fashion as binary strings.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/regexp.html\n\n','mysql> SELECT \'Michael!\' REGEXP \'.*\';\n+------------------------+\n| \'Michael!\' REGEXP \'.*\' |\n+------------------------+\n| 1 |\n+------------------------+\nmysql> SELECT \'new*\\n*line\' REGEXP \'new\\\\*.\\\\*line\';\n+---------------------------------------+\n| \'new*\\n*line\' REGEXP \'new\\\\*.\\\\*line\' |\n+---------------------------------------+\n| 0 |\n+---------------------------------------+\nmysql> SELECT \'a\' REGEXP \'^[a-d]\';\n+---------------------+\n| \'a\' REGEXP \'^[a-d]\' |\n+---------------------+\n| 1 |\n+---------------------+\nmysql> SELECT \'a\' REGEXP \'A\', \'a\' REGEXP BINARY \'A\';\n+----------------+-----------------------+\n| \'a\' REGEXP \'A\' | \'a\' REGEXP BINARY \'A\' |\n+----------------+-----------------------+\n| 1 | 0 |\n+----------------+-----------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/regexp.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (23,13,'ST_POINTN','ST_PointN(ls, N)\n\nReturns the N-th Point in the Linestring value ls. Points are numbered\nbeginning with 1. If any argument is NULL or the geometry argument is\nan empty geometry, the return value is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-linestring-property-functions.html\n\n','mysql> SET @ls = \'LineString(1 1,2 2,3 3)\';\nmysql> SELECT ST_AsText(ST_PointN(ST_GeomFromText(@ls),2));\n+----------------------------------------------+\n| ST_AsText(ST_PointN(ST_GeomFromText(@ls),2)) |\n+----------------------------------------------+\n| POINT(2 2) |\n+----------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/gis-linestring-property-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (24,24,'IF STATEMENT','Syntax:\nIF search_condition THEN statement_list\n [ELSEIF search_condition THEN statement_list] ...\n [ELSE statement_list]\nEND IF\n\nThe IF statement for stored programs implements a basic conditional\nconstruct.\n\n*Note*:\n\nThere is also an IF() function, which differs from the IF statement\ndescribed here. See\nhttp://dev.mysql.com/doc/refman/5.7/en/control-flow-functions.html. The\nIF statement can have THEN, ELSE, and ELSEIF clauses, and it is\nterminated with END IF.\n\nIf the search_condition evaluates to true, the corresponding THEN or\nELSEIF clause statement_list executes. If no search_condition matches,\nthe ELSE clause statement_list executes.\n\nEach statement_list consists of one or more SQL statements; an empty\nstatement_list is not permitted.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/if.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/if.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (25,12,'VALIDATE_PASSWORD_STRENGTH','Syntax:\nVALIDATE_PASSWORD_STRENGTH(str)\n\nGiven an argument representing a cleartext password, this function\nreturns an integer to indicate how strong the password is. The return\nvalue ranges from 0 (weak) to 100 (strong).\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (26,7,'WITHIN','Within(g1, g2)\n\nMBRWithin() and Within() are synonyms. For more information, see the\ndescription of MBRWithin().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-mbr.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-mbr.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (27,27,'SHOW PLUGINS','Syntax:\nSHOW PLUGINS\n\nSHOW PLUGINS displays information about server plugins. Plugin\ninformation is also available in the INFORMATION_SCHEMA.PLUGINS table.\nSee http://dev.mysql.com/doc/refman/5.7/en/plugins-table.html.\n\nExample of SHOW PLUGINS output:\n\nmysql> SHOW PLUGINS\\G\n*************************** 1. row ***************************\n Name: binlog\n Status: ACTIVE\n Type: STORAGE ENGINE\nLibrary: NULL\nLicense: GPL\n*************************** 2. row ***************************\n Name: CSV\n Status: ACTIVE\n Type: STORAGE ENGINE\nLibrary: NULL\nLicense: GPL\n*************************** 3. row ***************************\n Name: MEMORY\n Status: ACTIVE\n Type: STORAGE ENGINE\nLibrary: NULL\nLicense: GPL\n*************************** 4. row ***************************\n Name: MyISAM\n Status: ACTIVE\n Type: STORAGE ENGINE\nLibrary: NULL\nLicense: GPL\n...\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-plugins.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-plugins.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (27,27,'SHOW PLUGINS','Syntax:\nSHOW PLUGINS\n\nSHOW PLUGINS displays information about server plugins.\n\nExample of SHOW PLUGINS output:\n\nmysql> SHOW PLUGINS\\G\n*************************** 1. row ***************************\n Name: binlog\n Status: ACTIVE\n Type: STORAGE ENGINE\nLibrary: NULL\nLicense: GPL\n*************************** 2. row ***************************\n Name: CSV\n Status: ACTIVE\n Type: STORAGE ENGINE\nLibrary: NULL\nLicense: GPL\n*************************** 3. row ***************************\n Name: MEMORY\n Status: ACTIVE\n Type: STORAGE ENGINE\nLibrary: NULL\nLicense: GPL\n*************************** 4. row ***************************\n Name: MyISAM\n Status: ACTIVE\n Type: STORAGE ENGINE\nLibrary: NULL\nLicense: GPL\n...\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-plugins.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-plugins.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (28,8,'PREPARE','Syntax:\nPREPARE stmt_name FROM preparable_stmt\n\nThe PREPARE statement prepares a SQL statement and assigns it a name,\nstmt_name, by which to refer to the statement later. The prepared\nstatement is executed with EXECUTE and released with DEALLOCATE\nPREPARE. For examples, see\nhttp://dev.mysql.com/doc/refman/5.7/en/sql-syntax-prepared-statements.h\ntml.\n\nStatement names are not case-sensitive. preparable_stmt is either a\nstring literal or a user variable that contains the text of the SQL\nstatement. The text must represent a single statement, not multiple\nstatements. Within the statement, ? characters can be used as parameter\nmarkers to indicate where data values are to be bound to the query\nlater when you execute it. The ? characters should not be enclosed\nwithin quotation marks, even if you intend to bind them to string\nvalues. Parameter markers can be used only where data values should\nappear, not for SQL keywords, identifiers, and so forth.\n\nIf a prepared statement with the given name already exists, it is\ndeallocated implicitly before the new statement is prepared. This means\nthat if the new statement contains an error and cannot be prepared, an\nerror is returned and no statement with the given name exists.\n\nThe scope of a prepared statement is the session within which it is\ncreated, which as several implications:\n\no A prepared statement created in one session is not available to other\n sessions.\n\no When a session ends, whether normally or abnormally, its prepared\n statements no longer exist. If auto-reconnect is enabled, the client\n is not notified that the connection was lost. For this reason,\n clients may wish to disable auto-reconnect. See\n http://dev.mysql.com/doc/refman/5.7/en/c-api-auto-reconnect.html.\n\no A prepared statement created within a stored program continues to\n exist after the program finishes executing and can be executed\n outside the program later.\n\no A statement prepared in stored program context cannot refer to stored\n procedure or function parameters or local variables because they go\n out of scope when the program ends and would be unavailable were the\n statement to be executed later outside the program. As a workaround,\n refer instead to user-defined variables, which also have session\n scope; see\n http://dev.mysql.com/doc/refman/5.7/en/user-variables.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/prepare.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/prepare.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (29,8,'LOCK','Syntax:\nLOCK TABLES\n tbl_name [[AS] alias] lock_type\n [, tbl_name [[AS] alias] lock_type] ...\n\nlock_type:\n READ [LOCAL]\n | [LOW_PRIORITY] WRITE\n\nUNLOCK TABLES\n\nMySQL enables client sessions to acquire table locks explicitly for the\npurpose of cooperating with other sessions for access to tables, or to\nprevent other sessions from modifying tables during periods when a\nsession requires exclusive access to them. A session can acquire or\nrelease locks only for itself. One session cannot acquire locks for\nanother session or release locks held by another session.\n\nLocks may be used to emulate transactions or to get more speed when\nupdating tables. This is explained in more detail later in this\nsection.\n\nLOCK TABLES explicitly acquires table locks for the current client\nsession. Table locks can be acquired for base tables or views. You must\nhave the LOCK TABLES privilege, and the SELECT privilege for each\nobject to be locked.\n\nFor view locking, LOCK TABLES adds all base tables used in the view to\nthe set of tables to be locked and locks them automatically. If you\nlock a table explicitly with LOCK TABLES, any tables used in triggers\nare also locked implicitly, as described in\nhttp://dev.mysql.com/doc/refman/5.7/en/lock-tables-and-triggers.html.\n\nUNLOCK TABLES explicitly releases any table locks held by the current\nsession. LOCK TABLES implicitly releases any table locks held by the\ncurrent session before acquiring new locks.\n\nAnother use for UNLOCK TABLES is to release the global read lock\nacquired with the FLUSH TABLES WITH READ LOCK statement, which enables\nyou to lock all tables in all databases. See [HELP FLUSH]. (This is a\nvery convenient way to get backups if you have a file system such as\nVeritas that can take snapshots in time.)\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/lock-tables.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/lock-tables.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (29,8,'LOCK','Syntax:\nLOCK TABLES\n tbl_name [[AS] alias] lock_type\n [, tbl_name [[AS] alias] lock_type] ...\n\nlock_type: {\n READ [LOCAL]\n | [LOW_PRIORITY] WRITE\n}\n\nUNLOCK TABLES\n\nMySQL enables client sessions to acquire table locks explicitly for the\npurpose of cooperating with other sessions for access to tables, or to\nprevent other sessions from modifying tables during periods when a\nsession requires exclusive access to them. A session can acquire or\nrelease locks only for itself. One session cannot acquire locks for\nanother session or release locks held by another session.\n\nLocks may be used to emulate transactions or to get more speed when\nupdating tables. This is explained in more detail later in this\nsection.\n\nLOCK TABLES explicitly acquires table locks for the current client\nsession. Table locks can be acquired for base tables or views. You must\nhave the LOCK TABLES privilege, and the SELECT privilege for each\nobject to be locked.\n\nFor view locking, LOCK TABLES adds all base tables used in the view to\nthe set of tables to be locked and locks them automatically. If you\nlock a table explicitly with LOCK TABLES, any tables used in triggers\nare also locked implicitly, as described in\nhttp://dev.mysql.com/doc/refman/5.7/en/lock-tables-and-triggers.html.\n\nUNLOCK TABLES explicitly releases any table locks held by the current\nsession. LOCK TABLES implicitly releases any table locks held by the\ncurrent session before acquiring new locks.\n\nAnother use for UNLOCK TABLES is to release the global read lock\nacquired with the FLUSH TABLES WITH READ LOCK statement, which enables\nyou to lock all tables in all databases. See [HELP FLUSH]. (This is a\nvery convenient way to get backups if you have a file system such as\nVeritas that can take snapshots in time.)\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/lock-tables.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/lock-tables.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (30,27,'SHOW BINARY LOGS','Syntax:\nSHOW BINARY LOGS\nSHOW MASTER LOGS\n\nLists the binary log files on the server. This statement is used as\npart of the procedure described in [HELP PURGE BINARY LOGS], that shows\nhow to determine which logs can be purged.\n\nmysql> SHOW BINARY LOGS;\n+---------------+-----------+\n| Log_name | File_size |\n+---------------+-----------+\n| binlog.000015 | 724935 |\n| binlog.000016 | 733481 |\n+---------------+-----------+\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-binary-logs.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-binary-logs.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (31,25,'POLYGON','Polygon(ls [, ls] ...)\n\nConstructs a Polygon value from a number of LineString or WKB\nLineString arguments. If any argument does not represent a LinearRing\n(that is, not a closed and simple LineString), the return value is\nNULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-mysql-specific-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-mysql-specific-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (32,32,'MINUTE','Syntax:\nMINUTE(time)\n\nReturns the minute for time, in the range 0 to 59.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT MINUTE(\'2008-02-03 10:05:03\');\n -> 5\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); @@ -117,7 +117,7 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (36,7,'JSON_SEARCH','Syntax:\nJSON_SEARCH(json_doc, one_or_all, search_str[, escape_char[, path]\n...])\n\nReturns the path to the given string within a JSON document. Returns\nNULL if any of the json_doc, search_str, or path arguments are NULL; no\npath exists within the document; or search_str is not found. An error\noccurs if the json_doc argument is not a valid JSON document, any path\nargument is not a valid path expression, one_or_all is not \'one\' or\n\'all\', or escape_char is not a constant expression.\n\nThe one_or_all argument affects the search as follows:\n\no \'one\': The search terminates after the first match and returns one\n path string. It is undefined which match is considered first.\n\no \'all\': The search returns all matching path strings such that no\n duplicate paths are included. If there are multiple strings, they are\n autowrapped as an array. The order of the array elements is\n undefined.\n\nWithin the search_str search string argument, the % and _ characters\nwork as for the LIKE operator: % matches any number of characters\n(including zero characters), and _ matches exactly one character.\n\nTo specify a literal % or _ character in the search string, precede it\nby the escape character. The default is \\ if the escape_char argument\nis missing or NULL. Otherwise, escape_char must be a constant that is\nempty or one character.\n\nFor more information about matching and escape character behavior, see\nthe description of LIKE in\nhttp://dev.mysql.com/doc/refman/5.7/en/string-comparison-functions.html\n. For escape character handling, a difference from the LIKE behavior is\nthat the escape character for JSON_SEARCH() must evaluate to a constant\nat compile time, not just at execution time. For example, if\nJSON_SEARCH() is used in a prepared statement and the escape_char\nargument is supplied using a ? parameter, the parameter value might be\nconstant at execution time, but is not at compile time.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/json-search-functions.html\n\n','mysql> SET @j = \'["abc", [{"k": "10"}, "def"], {"x":"abc"}, {"y":"bcd"}]\';\n\nmysql> SELECT JSON_SEARCH(@j, \'one\', \'abc\');\n+-------------------------------+\n| JSON_SEARCH(@j, \'one\', \'abc\') |\n+-------------------------------+\n| "$[0]" |\n+-------------------------------+\n\nmysql> SELECT JSON_SEARCH(@j, \'all\', \'abc\');\n+-------------------------------+\n| JSON_SEARCH(@j, \'all\', \'abc\') |\n+-------------------------------+\n| ["$[0]", "$[2].x"] |\n+-------------------------------+\n\nmysql> SELECT JSON_SEARCH(@j, \'all\', \'ghi\');\n+-------------------------------+\n| JSON_SEARCH(@j, \'all\', \'ghi\') |\n+-------------------------------+\n| NULL |\n+-------------------------------+\n\nmysql> SELECT JSON_SEARCH(@j, \'all\', \'10\');\n+------------------------------+\n| JSON_SEARCH(@j, \'all\', \'10\') |\n+------------------------------+\n| "$[1][0].k" |\n+------------------------------+\n\nmysql> SELECT JSON_SEARCH(@j, \'all\', \'10\', NULL, \'$\');\n+-----------------------------------------+\n| JSON_SEARCH(@j, \'all\', \'10\', NULL, \'$\') |\n+-----------------------------------------+\n| "$[1][0].k" |\n+-----------------------------------------+\n\nmysql> SELECT JSON_SEARCH(@j, \'all\', \'10\', NULL, \'$[*]\');\n+--------------------------------------------+\n| JSON_SEARCH(@j, \'all\', \'10\', NULL, \'$[*]\') |\n+--------------------------------------------+\n| "$[1][0].k" |\n+--------------------------------------------+\n\nmysql> SELECT JSON_SEARCH(@j, \'all\', \'10\', NULL, \'$**.k\');\n+---------------------------------------------+\n| JSON_SEARCH(@j, \'all\', \'10\', NULL, \'$**.k\') |\n+---------------------------------------------+\n| "$[1][0].k" |\n+---------------------------------------------+\n\nmysql> SELECT JSON_SEARCH(@j, \'all\', \'10\', NULL, \'$[*][0].k\');\n+-------------------------------------------------+\n| JSON_SEARCH(@j, \'all\', \'10\', NULL, \'$[*][0].k\') |\n+-------------------------------------------------+\n| "$[1][0].k" |\n+-------------------------------------------------+\n\nmysql> SELECT JSON_SEARCH(@j, \'all\', \'10\', NULL, \'$[1]\');\n+--------------------------------------------+\n| JSON_SEARCH(@j, \'all\', \'10\', NULL, \'$[1]\') |\n+--------------------------------------------+\n| "$[1][0].k" |\n+--------------------------------------------+\n\nmysql> SELECT JSON_SEARCH(@j, \'all\', \'10\', NULL, \'$[1][0]\');\n+-----------------------------------------------+\n| JSON_SEARCH(@j, \'all\', \'10\', NULL, \'$[1][0]\') |\n+-----------------------------------------------+\n| "$[1][0].k" |\n+-----------------------------------------------+\n\nmysql> SELECT JSON_SEARCH(@j, \'all\', \'abc\', NULL, \'$[2]\');\n+---------------------------------------------+\n| JSON_SEARCH(@j, \'all\', \'abc\', NULL, \'$[2]\') |\n+---------------------------------------------+\n| "$[2].x" |\n+---------------------------------------------+\n\nmysql> SELECT JSON_SEARCH(@j, \'all\', \'%a%\');\n+-------------------------------+\n| JSON_SEARCH(@j, \'all\', \'%a%\') |\n+-------------------------------+\n| ["$[0]", "$[2].x"] |\n+-------------------------------+\n\nmysql> SELECT JSON_SEARCH(@j, \'all\', \'%b%\');\n+-------------------------------+\n| JSON_SEARCH(@j, \'all\', \'%b%\') |\n+-------------------------------+\n| ["$[0]", "$[2].x", "$[3].y"] |\n+-------------------------------+\n\nmysql> SELECT JSON_SEARCH(@j, \'all\', \'%b%\', NULL, \'$[0]\');\n+---------------------------------------------+\n| JSON_SEARCH(@j, \'all\', \'%b%\', NULL, \'$[0]\') |\n+---------------------------------------------+\n| "$[0]" |\n+---------------------------------------------+\n\nmysql> SELECT JSON_SEARCH(@j, \'all\', \'%b%\', NULL, \'$[2]\');\n+---------------------------------------------+\n| JSON_SEARCH(@j, \'all\', \'%b%\', NULL, \'$[2]\') |\n+---------------------------------------------+\n| "$[2].x" |\n+---------------------------------------------+\n\nmysql> SELECT JSON_SEARCH(@j, \'all\', \'%b%\', NULL, \'$[1]\');\n+---------------------------------------------+\n| JSON_SEARCH(@j, \'all\', \'%b%\', NULL, \'$[1]\') |\n+---------------------------------------------+\n| NULL |\n+---------------------------------------------+\n\nmysql> SELECT JSON_SEARCH(@j, \'all\', \'%b%\', \'\', \'$[1]\');\n+-------------------------------------------+\n| JSON_SEARCH(@j, \'all\', \'%b%\', \'\', \'$[1]\') |\n+-------------------------------------------+\n| NULL |\n+-------------------------------------------+\n\nmysql> SELECT JSON_SEARCH(@j, \'all\', \'%b%\', \'\', \'$[3]\');\n+-------------------------------------------+\n| JSON_SEARCH(@j, \'all\', \'%b%\', \'\', \'$[3]\') |\n+-------------------------------------------+\n| "$[3].y" |\n+-------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/json-search-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (37,24,'CLOSE','Syntax:\nCLOSE cursor_name\n\nThis statement closes a previously opened cursor. For an example, see\nhttp://dev.mysql.com/doc/refman/5.7/en/cursors.html.\n\nAn error occurs if the cursor is not open.\n\nIf not closed explicitly, a cursor is closed at the end of the BEGIN\n... END block in which it was declared.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/close.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/close.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (38,38,'REPLACE FUNCTION','Syntax:\nREPLACE(str,from_str,to_str)\n\nReturns the string str with all occurrences of the string from_str\nreplaced by the string to_str. REPLACE() performs a case-sensitive\nmatch when searching for from_str.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-functions.html\n\n','mysql> SELECT REPLACE(\'www.mysql.com\', \'w\', \'Ww\');\n -> \'WwWwWw.mysql.com\'\n','http://dev.mysql.com/doc/refman/5.7/en/string-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (39,29,'USE','Syntax:\nUSE db_name\n\nThe USE db_name statement tells MySQL to use the db_name database as\nthe default (current) database for subsequent statements. The database\nremains the default until the end of the session or another USE\nstatement is issued:\n\nUSE db1;\nSELECT COUNT(*) FROM mytable; # selects from db1.mytable\nUSE db2;\nSELECT COUNT(*) FROM mytable; # selects from db2.mytable\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/use.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/use.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (39,29,'USE','Syntax:\nUSE db_name\n\nThe USE db_name statement tells MySQL to use the db_name database as\nthe default (current) database for subsequent statements. The database\nremains the default until the end of the session or another USE\nstatement is issued:\n\nUSE db1;\nSELECT COUNT(*) FROM mytable; # selects from db1.mytable\nUSE db2;\nSELECT COUNT(*) FROM mytable; # selects from db2.mytable\n\nThe database name must be specified on a single line. Newlines in\ndatabase names are not supported.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/use.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/use.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (40,6,'CASE OPERATOR','Syntax:\nCASE value WHEN [compare_value] THEN result [WHEN [compare_value] THEN\nresult ...] [ELSE result] END\n\nCASE WHEN [condition] THEN result [WHEN [condition] THEN result ...]\n[ELSE result] END\n\nThe first CASE syntax returns the result for the first\nvalue=compare_value comparison that is true. The second syntax returns\nthe result for the first condition that is true. If no comparison or\ncondition is true, the result after ELSE is returned, or NULL if there\nis no ELSE part.\n\n*Note*:\n\nThe syntax of the CASE expression described here differs slightly from\nthat of the SQL CASE statement described in [HELP CASE statement], for\nuse inside stored programs. The CASE statement cannot have an ELSE NULL\nclause, and it is terminated with END CASE instead of END.\n\nThe return type of a CASE expression result is the aggregated type of\nall result values.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/control-flow-functions.html\n\n','mysql> SELECT CASE 1 WHEN 1 THEN \'one\'\n -> WHEN 2 THEN \'two\' ELSE \'more\' END;\n -> \'one\'\nmysql> SELECT CASE WHEN 1>0 THEN \'true\' ELSE \'false\' END;\n -> \'true\'\nmysql> SELECT CASE BINARY \'B\'\n -> WHEN \'a\' THEN 1 WHEN \'b\' THEN 2 END;\n -> NULL\n','http://dev.mysql.com/doc/refman/5.7/en/control-flow-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (41,27,'SHOW MASTER STATUS','Syntax:\nSHOW MASTER STATUS\n\nThis statement provides status information about the binary log files\nof the master. It requires either the SUPER or REPLICATION CLIENT\nprivilege.\n\nExample:\n\nmysql> SHOW MASTER STATUS\\G\n*************************** 1. row ***************************\n File: master-bin.000002\n Position: 1307\n Binlog_Do_DB: test\n Binlog_Ignore_DB: manual, mysql\nExecuted_Gtid_Set: 3E11FA47-71CA-11E1-9E33-C80AA9429562:1-5\n1 row in set (0.00 sec)\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-master-status.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-master-status.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (42,32,'TO_SECONDS','Syntax:\nTO_SECONDS(expr)\n\nGiven a date or datetime expr, returns the number of seconds since the\nyear 0. If expr is not a valid date or datetime value, returns NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT TO_SECONDS(950501);\n -> 62966505600\nmysql> SELECT TO_SECONDS(\'2009-11-29\');\n -> 63426672000\nmysql> SELECT TO_SECONDS(\'2009-11-29 13:43:32\');\n -> 63426721412\nmysql> SELECT TO_SECONDS( NOW() );\n -> 63426721458\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); @@ -131,7 +131,7 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (50,23,'BLOB DATA TYPE','A BLOB is a binary large object that can hold a variable amount of\ndata. The four BLOB types are TINYBLOB, BLOB, MEDIUMBLOB, and LONGBLOB.\nThese differ only in the maximum length of the values they can hold.\nThe four TEXT types are TINYTEXT, TEXT, MEDIUMTEXT, and LONGTEXT. These\ncorrespond to the four BLOB types and have the same maximum lengths and\nstorage requirements. See\nhttp://dev.mysql.com/doc/refman/5.7/en/storage-requirements.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/blob.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/blob.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (51,17,'CURRENT_USER','Syntax:\nCURRENT_USER, CURRENT_USER()\n\nReturns the user name and host name combination for the MySQL account\nthat the server used to authenticate the current client. This account\ndetermines your access privileges. The return value is a string in the\nutf8 character set.\n\nThe value of CURRENT_USER() can differ from the value of USER().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/information-functions.html\n\n','mysql> SELECT USER();\n -> \'davida@localhost\'\nmysql> SELECT * FROM mysql.user;\nERROR 1044: Access denied for user \'\'@\'localhost\' to\ndatabase \'mysql\'\nmysql> SELECT CURRENT_USER();\n -> \'@localhost\'\n','http://dev.mysql.com/doc/refman/5.7/en/information-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (52,20,'<=','Syntax:\n<=\n\nLess than or equal:\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html\n\n','mysql> SELECT 0.1 <= 2;\n -> 1\n','http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (53,27,'SHOW PROFILES','Syntax:\nSHOW PROFILES\n\nThe SHOW PROFILES statement, together with SHOW PROFILE, displays\nprofiling information that indicates resource usage for statements\nexecuted during the course of the current session. For more\ninformation, see [HELP SHOW PROFILE].\n\n*Note*:\n\nThese statements are deprecated and will be removed in a future MySQL\nrelease. Use the Performance Schema instead; see\nhttp://dev.mysql.com/doc/refman/5.7/en/performance-schema.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-profiles.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-profiles.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (53,27,'SHOW PROFILES','Syntax:\nSHOW PROFILES\n\nThe SHOW PROFILES statement, together with SHOW PROFILE, displays\nprofiling information that indicates resource usage for statements\nexecuted during the course of the current session. For more\ninformation, see [HELP SHOW PROFILE].\n\n*Note*:\n\nThe SHOW PROFILE and SHOW PROFILES statements are deprecated and will\nbe removed in a future MySQL release. Use the Performance Schema\ninstead; see\nhttp://dev.mysql.com/doc/refman/5.7/en/performance-schema-query-profili\nng.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-profiles.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-profiles.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (54,28,'UPDATE','Syntax:\nUPDATE is a DML statement that modifies rows in a table.\n\nSingle-table syntax:\n\nUPDATE [LOW_PRIORITY] [IGNORE] table_reference\n SET assignment_list\n [WHERE where_condition]\n [ORDER BY ...]\n [LIMIT row_count]\n\nvalue:\n {expr | DEFAULT}\n\nassignment:\n col_name = value\n\nassignment_list:\n assignment [, assignment] ...\n\nMultiple-table syntax:\n\nUPDATE [LOW_PRIORITY] [IGNORE] table_references\n SET assignment_list\n [WHERE where_condition]\n\nFor the single-table syntax, the UPDATE statement updates columns of\nexisting rows in the named table with new values. The SET clause\nindicates which columns to modify and the values they should be given.\nEach value can be given as an expression, or the keyword DEFAULT to set\na column explicitly to its default value. The WHERE clause, if given,\nspecifies the conditions that identify which rows to update. With no\nWHERE clause, all rows are updated. If the ORDER BY clause is\nspecified, the rows are updated in the order that is specified. The\nLIMIT clause places a limit on the number of rows that can be updated.\n\nFor the multiple-table syntax, UPDATE updates rows in each table named\nin table_references that satisfy the conditions. Each matching row is\nupdated once, even if it matches the conditions multiple times. For\nmultiple-table syntax, ORDER BY and LIMIT cannot be used.\n\nFor partitioned tables, both the single-single and multiple-table forms\nof this statement support the use of a PARTITION option as part of a\ntable reference. This option takes a list of one or more partitions or\nsubpartitions (or both). Only the partitions (or subpartitions) listed\nare checked for matches, and a row that is not in any of these\npartitions or subpartitions is not updated, whether it satisfies the\nwhere_condition or not.\n\n*Note*:\n\nUnlike the case when using PARTITION with an INSERT or REPLACE\nstatement, an otherwise valid UPDATE ... PARTITION statement is\nconsidered successful even if no rows in the listed partitions (or\nsubpartitions) match the where_condition.\n\nFor more information and examples, see\nhttp://dev.mysql.com/doc/refman/5.7/en/partitioning-selection.html.\n\nwhere_condition is an expression that evaluates to true for each row to\nbe updated. For expression syntax, see\nhttp://dev.mysql.com/doc/refman/5.7/en/expressions.html.\n\ntable_references and where_condition are specified as described in\nhttp://dev.mysql.com/doc/refman/5.7/en/select.html.\n\nYou need the UPDATE privilege only for columns referenced in an UPDATE\nthat are actually updated. You need only the SELECT privilege for any\ncolumns that are read but not modified.\n\nThe UPDATE statement supports the following modifiers:\n\no With the LOW_PRIORITY modifier, execution of the UPDATE is delayed\n until no other clients are reading from the table. This affects only\n storage engines that use only table-level locking (such as MyISAM,\n MEMORY, and MERGE).\n\no With the IGNORE modifier, the update statement does not abort even if\n errors occur during the update. Rows for which duplicate-key\n conflicts occur on a unique key value are not updated. Rows updated\n to values that would cause data conversion errors are updated to the\n closest valid values instead. For more information, see\n http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#ignore-strict-co\n mparison.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/update.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/update.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (55,24,'CASE STATEMENT','Syntax:\nCASE case_value\n WHEN when_value THEN statement_list\n [WHEN when_value THEN statement_list] ...\n [ELSE statement_list]\nEND CASE\n\nOr:\n\nCASE\n WHEN search_condition THEN statement_list\n [WHEN search_condition THEN statement_list] ...\n [ELSE statement_list]\nEND CASE\n\nThe CASE statement for stored programs implements a complex conditional\nconstruct.\n\n*Note*:\n\nThere is also a CASE expression, which differs from the CASE statement\ndescribed here. See\nhttp://dev.mysql.com/doc/refman/5.7/en/control-flow-functions.html. The\nCASE statement cannot have an ELSE NULL clause, and it is terminated\nwith END CASE instead of END.\n\nFor the first syntax, case_value is an expression. This value is\ncompared to the when_value expression in each WHEN clause until one of\nthem is equal. When an equal when_value is found, the corresponding\nTHEN clause statement_list executes. If no when_value is equal, the\nELSE clause statement_list executes, if there is one.\n\nThis syntax cannot be used to test for equality with NULL because NULL\n= NULL is false. See\nhttp://dev.mysql.com/doc/refman/5.7/en/working-with-null.html.\n\nFor the second syntax, each WHEN clause search_condition expression is\nevaluated until one is true, at which point its corresponding THEN\nclause statement_list executes. If no search_condition is equal, the\nELSE clause statement_list executes, if there is one.\n\nIf no when_value or search_condition matches the value tested and the\nCASE statement contains no ELSE clause, a Case not found for CASE\nstatement error results.\n\nEach statement_list consists of one or more SQL statements; an empty\nstatement_list is not permitted.\n\nTo handle situations where no value is matched by any WHEN clause, use\nan ELSE containing an empty BEGIN ... END block, as shown in this\nexample. (The indentation used here in the ELSE clause is for purposes\nof clarity only, and is not otherwise significant.)\n\nDELIMITER |\n\nCREATE PROCEDURE p()\n BEGIN\n DECLARE v INT DEFAULT 1;\n\n CASE v\n WHEN 2 THEN SELECT v;\n WHEN 3 THEN SELECT 0;\n ELSE\n BEGIN\n END;\n END CASE;\n END;\n |\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/case.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/case.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (56,7,'ST_SIMPLIFY','ST_Simplify(g, max_distance)\n\nSimplifies a geometry using the Douglas-Peucker algorithm and returns a\nsimplified value of the same type. If any argument is NULL, the return\nvalue is NULL.\n\nThe geometry may be any geometry type, although the Douglas-Peucker\nalgorithm may not actually process every type. A geometry collection is\nprocessed by giving its components one by one to the simplification\nalgorithm, and the returned geometries are put into a geometry\ncollection as result.\n\nThe max_distance argument is the distance (in units of the input\ncoordinates) of a vertex to other segments to be removed. Vertices\nwithin this distance of the simplified linestring are removed. If the\nmax_distance argument is not positive, or is NaN, an ER_WRONG_ARGUMENTS\nerror occurs.\n\nAccording to Boost.Geometry, geometries might become invalid as a\nresult of the simplification process, and the process might create\nself-intersections. To check the validity of the result, pass it to\nST_IsValid().\n\nIf the geometry argument is not a syntactically well-formed geometry\nbyte string, an ER_GIS_INVALID_DATA error occurs.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-convenience-functions.html\n\n','mysql> SET @g = ST_GeomFromText(\'LINESTRING(0 0,0 1,1 1,1 2,2 2,2 3,3 3)\');\nmysql> SELECT ST_AsText(ST_Simplify(@g, 0.5));\n+---------------------------------+\n| ST_AsText(ST_Simplify(@g, 0.5)) |\n+---------------------------------+\n| LINESTRING(0 0,0 1,1 1,2 3,3 3) |\n+---------------------------------+\nmysql> SELECT ST_AsText(ST_Simplify(@g, 1.0));\n+---------------------------------+\n| ST_AsText(ST_Simplify(@g, 1.0)) |\n+---------------------------------+\n| LINESTRING(0 0,3 3) |\n+---------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/spatial-convenience-functions.html'); @@ -143,14 +143,14 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (62,38,'NOT LIKE','Syntax:\nexpr NOT LIKE pat [ESCAPE \'escape_char\']\n\nThis is the same as NOT (expr LIKE pat [ESCAPE \'escape_char\']).\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-comparison-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/string-comparison-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (63,38,'SPACE','Syntax:\nSPACE(N)\n\nReturns a string consisting of N space characters.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-functions.html\n\n','mysql> SELECT SPACE(6);\n -> \' \'\n','http://dev.mysql.com/doc/refman/5.7/en/string-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (64,16,'MAX','Syntax:\nMAX([DISTINCT] expr)\n\nReturns the maximum value of expr. MAX() may take a string argument; in\nsuch cases, it returns the maximum string value. See\nhttp://dev.mysql.com/doc/refman/5.7/en/mysql-indexes.html. The DISTINCT\nkeyword can be used to find the maximum of the distinct values of expr,\nhowever, this produces the same result as omitting DISTINCT.\n\nIf there are no matching rows, MAX() returns NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/group-by-functions.html\n\n','mysql> SELECT student_name, MIN(test_score), MAX(test_score)\n FROM student\n GROUP BY student_name;\n','http://dev.mysql.com/doc/refman/5.7/en/group-by-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (65,22,'CREATE FUNCTION UDF','Syntax:\nCREATE [AGGREGATE] FUNCTION function_name\n RETURNS {STRING|INTEGER|REAL|DECIMAL}\n SONAME shared_library_name\n\nA user-defined function (UDF) is a way to extend MySQL with a new\nfunction that works like a native (built-in) MySQL function such as\nABS() or CONCAT().\n\nfunction_name is the name that should be used in SQL statements to\ninvoke the function. The RETURNS clause indicates the type of the\nfunction\'s return value. DECIMAL is a legal value after RETURNS, but\ncurrently DECIMAL functions return string values and should be written\nlike STRING functions.\n\nshared_library_name is the base name of the shared library file that\ncontains the code that implements the function. The file must be\nlocated in the plugin directory. This directory is given by the value\nof the plugin_dir system variable. For more information, see\nhttp://dev.mysql.com/doc/refman/5.7/en/udf-compiling.html.\n\nTo create a function, you must have the INSERT privilege for the mysql\ndatabase. This is necessary because CREATE FUNCTION adds a row to the\nmysql.func system table that records the function\'s name, type, and\nshared library name. If you do not have this table, you should run the\nmysql_upgrade command to create it. See\nhttp://dev.mysql.com/doc/refman/5.7/en/mysql-upgrade.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-function-udf.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/create-function-udf.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (65,22,'CREATE FUNCTION UDF','Syntax:\nCREATE [AGGREGATE] FUNCTION function_name\n RETURNS {STRING|INTEGER|REAL|DECIMAL}\n SONAME shared_library_name\n\nA user-defined function (UDF) is a way to extend MySQL with a new\nfunction that works like a native (built-in) MySQL function such as\nABS() or CONCAT().\n\nfunction_name is the name that should be used in SQL statements to\ninvoke the function. The RETURNS clause indicates the type of the\nfunction\'s return value. DECIMAL is a legal value after RETURNS, but\ncurrently DECIMAL functions return string values and should be written\nlike STRING functions.\n\nshared_library_name is the base name of the shared library file that\ncontains the code that implements the function. The file must be\nlocated in the plugin directory. This directory is given by the value\nof the plugin_dir system variable. For more information, see\nhttp://dev.mysql.com/doc/refman/5.7/en/udf-compiling.html.\n\nTo create a function, you must have the INSERT privilege for the mysql\nsystem database. This is necessary because CREATE FUNCTION adds a row\nto the mysql.func system table that records the function\'s name, type,\nand shared library name. If you do not have this table, you should run\nthe mysql_upgrade command to create it. See\nhttp://dev.mysql.com/doc/refman/5.7/en/mysql-upgrade.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-function-udf.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/create-function-udf.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (66,23,'TIMESTAMP','TIMESTAMP[(fsp)]\n\nA timestamp. The range is \'1970-01-01 00:00:01.000000\' UTC to\n\'2038-01-19 03:14:07.999999\' UTC. TIMESTAMP values are stored as the\nnumber of seconds since the epoch (\'1970-01-01 00:00:00\' UTC). A\nTIMESTAMP cannot represent the value \'1970-01-01 00:00:00\' because that\nis equivalent to 0 seconds from the epoch and the value 0 is reserved\nfor representing \'0000-00-00 00:00:00\', the "zero" TIMESTAMP value.\n\nAn optional fsp value in the range from 0 to 6 may be given to specify\nfractional seconds precision. A value of 0 signifies that there is no\nfractional part. If omitted, the default precision is 0.\n\nThe way the server handles TIMESTAMP definitions depends on the value\nof the explicit_defaults_for_timestamp system variable (see\nhttp://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html).\n\nIf explicit_defaults_for_timestamp is enabled, there is no automatic\nassignment of the DEFAULT CURRENT_TIMESTAMP or ON UPDATE\nCURRENT_TIMESTAMP attributes to any TIMESTAMP column. They must be\nincluded explicitly in the column definition. Also, any TIMESTAMP not\nexplicitly declared as NOT NULL permits NULL values.\n\nIf explicit_defaults_for_timestamp is disabled, the server handles\nTIMESTAMP as follows:\n\nUnless specified otherwise, the first TIMESTAMP column in a table is\ndefined to be automatically set to the date and time of the most recent\nmodification if not explicitly assigned a value. This makes TIMESTAMP\nuseful for recording the timestamp of an INSERT or UPDATE operation.\nYou can also set any TIMESTAMP column to the current date and time by\nassigning it a NULL value, unless it has been defined with the NULL\nattribute to permit NULL values.\n\nAutomatic initialization and updating to the current date and time can\nbe specified using DEFAULT CURRENT_TIMESTAMP and ON UPDATE\nCURRENT_TIMESTAMP column definition clauses. By default, the first\nTIMESTAMP column has these properties, as previously noted. However,\nany TIMESTAMP column in a table can be defined to have these\nproperties.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-type-overview.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-type-overview.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (67,7,'CREATE_ASYMMETRIC_PUB_KEY','Syntax:\nCREATE_ASYMMETRIC_PUB_KEY(algorithm, priv_key_str)\n\nDerives a public key from the given private key using the given\nalgorithm, and returns the key as a binary string in PEM format. If key\nderivation fails, the result is NULL.\n\npriv_key_str must be a valid key string in PEM format. algorithm\nindicates the encryption algorithm used to create the key.\n\nSupported algorithm values: \'RSA\', \'DSA\', \'DH\'\n\nFor a usage example, see the description of\nCREATE_ASYMMETRIC_PRIV_KEY().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (68,27,'CACHE INDEX','Syntax:\nCACHE INDEX\n tbl_index_list [, tbl_index_list] ...\n [PARTITION (partition_list | ALL)]\n IN key_cache_name\n\ntbl_index_list:\n tbl_name [[INDEX|KEY] (index_name[, index_name] ...)]\n\npartition_list:\n partition_name[, partition_name][, ...]\n\nThe CACHE INDEX statement assigns table indexes to a specific key\ncache. It is used only for MyISAM tables. After the indexes have been\nassigned, they can be preloaded into the cache if desired with LOAD\nINDEX INTO CACHE.\n\nThe following statement assigns indexes from the tables t1, t2, and t3\nto the key cache named hot_cache:\n\nmysql> CACHE INDEX t1, t2, t3 IN hot_cache;\n+---------+--------------------+----------+----------+\n| Table | Op | Msg_type | Msg_text |\n+---------+--------------------+----------+----------+\n| test.t1 | assign_to_keycache | status | OK |\n| test.t2 | assign_to_keycache | status | OK |\n| test.t3 | assign_to_keycache | status | OK |\n+---------+--------------------+----------+----------+\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/cache-index.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/cache-index.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (69,12,'COMPRESS','Syntax:\nCOMPRESS(string_to_compress)\n\nCompresses a string and returns the result as a binary string. This\nfunction requires MySQL to have been compiled with a compression\nlibrary such as zlib. Otherwise, the return value is always NULL. The\ncompressed string can be uncompressed with UNCOMPRESS().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html\n\n','mysql> SELECT LENGTH(COMPRESS(REPEAT(\'a\',1000)));\n -> 21\nmysql> SELECT LENGTH(COMPRESS(\'\'));\n -> 0\nmysql> SELECT LENGTH(COMPRESS(\'a\'));\n -> 13\nmysql> SELECT LENGTH(COMPRESS(REPEAT(\'a\',16)));\n -> 15\n','http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (70,28,'HANDLER','Syntax:\nHANDLER tbl_name OPEN [ [AS] alias]\n\nHANDLER tbl_name READ index_name { = | <= | >= | < | > } (value1,value2,...)\n [ WHERE where_condition ] [LIMIT ... ]\nHANDLER tbl_name READ index_name { FIRST | NEXT | PREV | LAST }\n [ WHERE where_condition ] [LIMIT ... ]\nHANDLER tbl_name READ { FIRST | NEXT }\n [ WHERE where_condition ] [LIMIT ... ]\n\nHANDLER tbl_name CLOSE\n\nThe HANDLER statement provides direct access to table storage engine\ninterfaces. It is available for InnoDB and MyISAM tables.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/handler.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/handler.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (71,9,'HELP_DATE','This help information was generated from the MySQL 5.7 Reference Manual\non: 2018-06-07\n','',''); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (72,40,'RENAME TABLE','Syntax:\nRENAME TABLE\n tbl_name TO new_tbl_name\n [, tbl_name2 TO new_tbl_name2] ...\n\nRENAME TABLE renames one or more tables. You must have ALTER and DROP\nprivileges for the original table, and CREATE and INSERT privileges for\nthe new table.\n\nFor example, to rename a table named old_table to to new_table, use\nthis statement:\n\nRENAME TABLE old_table TO new_table;\n\nThat statement is equivalent to the following ALTER TABLE statement:\n\nALTER TABLE old_table RENAME new_table;\n\nRENAME TABLE, unlike ALTER TABLE, can rename multiple tables within a\nsingle statement:\n\nRENAME TABLE old_table1 TO new_table1,\n old_table2 TO new_table2,\n old_table3 TO new_table3;\n\nRenaming operations are performed left to right. Thus, to swap two\ntable names, do this (assuming that a table with the intermediary name\ntmp_table does not already exist):\n\nRENAME TABLE old_table TO tmp_table,\n new_table TO old_table,\n tmp_table TO new_table;\n\nWhen you execute RENAME TABLE, you cannot have any locked tables or\nactive transactions. With that condition satisfied, the rename\noperation is done atomically; no other session can access any of the\ntables while the rename is in progress.\n\nIf any errors occur during a RENAME TABLE, the statement fails and no\nchanges are made.\n\nYou can use RENAME TABLE to move a table from one database to another:\n\nRENAME TABLE current_db.tbl_name TO other_db.tbl_name;\n\nUsing this method to move all tables from one database to a different\none in effect renames the database (an operation for which MySQL has no\nsingle statement), except that the original database continues to\nexist, albeit with no tables.\n\nLike RENAME TABLE, ALTER TABLE ... RENAME can also be used to move a\ntable to a different database. Regardless of the statement used, if the\nrename operation would move the table to a database located on a\ndifferent file system, the success of the outcome is platform specific\nand depends on the underlying operating system calls used to move the\ntable files.\n\nIf a table has triggers, attempts to rename the table into a different\ndatabase fail with a Trigger in wrong schema error.\n\nRENAME TABLE does not work for TEMPORARY tables. However, you can use\nALTER TABLE to rename TEMPORARY tables.\n\nRENAME TABLE works for views, except that views cannot be renamed into\na different database.\n\nAny privileges granted specifically for a renamed table or view are not\nmigrated to the new name. They must be changed manually.\n\nRENAME TABLE changes internally generated foreign key constraint names\nand user-defined foreign key constraint names that contain the string\n"tbl_name_ibfk_" to reflect the new table name. InnoDB interprets\nforeign key constraint names that contain the string "tbl_name_ibfk_"\nas internally generated names.\n\nForeign key constraint names that point to the renamed table are\nautomatically updated unless there is a conflict, in which case, the\nstatement fails with an error. A conflict occurs if the renamed\nconstraint name already exists. In such cases, you must drop and\nre-create the foreign keys in order for them to function properly.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/rename-table.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/rename-table.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (71,9,'HELP_DATE','This help information was generated from the MySQL 5.7 Reference Manual\non: 2018-10-03\n','',''); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (72,40,'RENAME TABLE','Syntax:\nRENAME TABLE\n tbl_name TO new_tbl_name\n [, tbl_name2 TO new_tbl_name2] ...\n\nRENAME TABLE renames one or more tables. You must have ALTER and DROP\nprivileges for the original table, and CREATE and INSERT privileges for\nthe new table.\n\nFor example, to rename a table named old_table to to new_table, use\nthis statement:\n\nRENAME TABLE old_table TO new_table;\n\nThat statement is equivalent to the following ALTER TABLE statement:\n\nALTER TABLE old_table RENAME new_table;\n\nRENAME TABLE, unlike ALTER TABLE, can rename multiple tables within a\nsingle statement:\n\nRENAME TABLE old_table1 TO new_table1,\n old_table2 TO new_table2,\n old_table3 TO new_table3;\n\nRenaming operations are performed left to right. Thus, to swap two\ntable names, do this (assuming that a table with the intermediary name\ntmp_table does not already exist):\n\nRENAME TABLE old_table TO tmp_table,\n new_table TO old_table,\n tmp_table TO new_table;\n\nTo execute RENAME TABLE, there must be no active transactions or tables\nlocked with LOCK TABLES. With the transaction table locking conditions\nsatisfied, the rename operation is done atomically; no other session\ncan access any of the tables while the rename is in progress.\n\nIf any errors occur during a RENAME TABLE, the statement fails and no\nchanges are made.\n\nYou can use RENAME TABLE to move a table from one database to another:\n\nRENAME TABLE current_db.tbl_name TO other_db.tbl_name;\n\nUsing this method to move all tables from one database to a different\none in effect renames the database (an operation for which MySQL has no\nsingle statement), except that the original database continues to\nexist, albeit with no tables.\n\nLike RENAME TABLE, ALTER TABLE ... RENAME can also be used to move a\ntable to a different database. Regardless of the statement used, if the\nrename operation would move the table to a database located on a\ndifferent file system, the success of the outcome is platform specific\nand depends on the underlying operating system calls used to move table\nfiles.\n\nIf a table has triggers, attempts to rename the table into a different\ndatabase fail with a Trigger in wrong schema (ER_TRG_IN_WRONG_SCHEMA)\nerror.\n\nTo rename TEMPORARY tables, RENAME TABLE does not work. Use ALTER TABLE\ninstead.\n\nRENAME TABLE works for views, except that views cannot be renamed into\na different database.\n\nAny privileges granted specifically for a renamed table or view are not\nmigrated to the new name. They must be changed manually.\n\nRENAME TABLE changes internally generated foreign key constraint names\nand user-defined foreign key constraint names that contain the string\n"tbl_name_ibfk_" to reflect the new table name. InnoDB interprets\nforeign key constraint names that contain the string "tbl_name_ibfk_"\nas internally generated names.\n\nForeign key constraint names that point to the renamed table are\nautomatically updated unless there is a conflict, in which case the\nstatement fails with an error. A conflict occurs if the renamed\nconstraint name already exists. In such cases, you must drop and\nre-create the foreign keys for them to function properly.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/rename-table.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/rename-table.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (73,23,'BOOLEAN','BOOL, BOOLEAN\n\nThese types are synonyms for TINYINT(1). A value of zero is considered\nfalse. Nonzero values are considered true:\n\nmysql> SELECT IF(0, \'true\', \'false\');\n+------------------------+\n| IF(0, \'true\', \'false\') |\n+------------------------+\n| false |\n+------------------------+\n\nmysql> SELECT IF(1, \'true\', \'false\');\n+------------------------+\n| IF(1, \'true\', \'false\') |\n+------------------------+\n| true |\n+------------------------+\n\nmysql> SELECT IF(2, \'true\', \'false\');\n+------------------------+\n| IF(2, \'true\', \'false\') |\n+------------------------+\n| true |\n+------------------------+\n\nHowever, the values TRUE and FALSE are merely aliases for 1 and 0,\nrespectively, as shown here:\n\nmysql> SELECT IF(0 = FALSE, \'true\', \'false\');\n+--------------------------------+\n| IF(0 = FALSE, \'true\', \'false\') |\n+--------------------------------+\n| true |\n+--------------------------------+\n\nmysql> SELECT IF(1 = TRUE, \'true\', \'false\');\n+-------------------------------+\n| IF(1 = TRUE, \'true\', \'false\') |\n+-------------------------------+\n| true |\n+-------------------------------+\n\nmysql> SELECT IF(2 = TRUE, \'true\', \'false\');\n+-------------------------------+\n| IF(2 = TRUE, \'true\', \'false\') |\n+-------------------------------+\n| false |\n+-------------------------------+\n\nmysql> SELECT IF(2 = FALSE, \'true\', \'false\');\n+--------------------------------+\n| IF(2 = FALSE, \'true\', \'false\') |\n+--------------------------------+\n| false |\n+--------------------------------+\n\nThe last two statements display the results shown because 2 is equal to\nneither 1 nor 0.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/numeric-type-overview.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/numeric-type-overview.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (74,7,'JSON_EXTRACT','Syntax:\nJSON_EXTRACT(json_doc, path[, path] ...)\n\nReturns data from a JSON document, selected from the parts of the\ndocument matched by the path arguments. Returns NULL if any argument is\nNULL or no paths locate a value in the document. An error occurs if the\njson_doc argument is not a valid JSON document or any path argument is\nnot a valid path expression.\n\nThe return value consists of all values matched by the path arguments.\nIf it is possible that those arguments could return multiple values,\nthe matched values are autowrapped as an array, in the order\ncorresponding to the paths that produced them. Otherwise, the return\nvalue is the single matched value.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/json-search-functions.html\n\n','mysql> SELECT JSON_EXTRACT(\'[10, 20, [30, 40]]\', \'$[1]\');\n+--------------------------------------------+\n| JSON_EXTRACT(\'[10, 20, [30, 40]]\', \'$[1]\') |\n+--------------------------------------------+\n| 20 |\n+--------------------------------------------+\nmysql> SELECT JSON_EXTRACT(\'[10, 20, [30, 40]]\', \'$[1]\', \'$[0]\');\n+----------------------------------------------------+\n| JSON_EXTRACT(\'[10, 20, [30, 40]]\', \'$[1]\', \'$[0]\') |\n+----------------------------------------------------+\n| [20, 10] |\n+----------------------------------------------------+\nmysql> SELECT JSON_EXTRACT(\'[10, 20, [30, 40]]\', \'$[2][*]\');\n+-----------------------------------------------+\n| JSON_EXTRACT(\'[10, 20, [30, 40]]\', \'$[2][*]\') |\n+-----------------------------------------------+\n| [30, 40] |\n+-----------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/json-search-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (75,3,'MOD','Syntax:\nMOD(N,M), N % M, N MOD M\n\nModulo operation. Returns the remainder of N divided by M.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html\n\n','mysql> SELECT MOD(234, 10);\n -> 4\nmysql> SELECT 253 % 7;\n -> 1\nmysql> SELECT MOD(29,9);\n -> 2\nmysql> SELECT 29 MOD 9;\n -> 2\n','http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html'); @@ -186,21 +186,21 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (105,27,'SHOW DATABASES','Syntax:\nSHOW {DATABASES | SCHEMAS}\n [LIKE \'pattern\' | WHERE expr]\n\nSHOW DATABASES lists the databases on the MySQL server host. SHOW\nSCHEMAS is a synonym for SHOW DATABASES. The LIKE clause, if present,\nindicates which database names to match. The WHERE clause can be given\nto select rows using more general conditions, as discussed in\nhttp://dev.mysql.com/doc/refman/5.7/en/extended-show.html.\n\nYou see only those databases for which you have some kind of privilege,\nunless you have the global SHOW DATABASES privilege. You can also get\nthis list using the mysqlshow command.\n\nIf the server was started with the --skip-show-database option, you\ncannot use this statement at all unless you have the SHOW DATABASES\nprivilege.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-databases.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-databases.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (106,32,'SEC_TO_TIME','Syntax:\nSEC_TO_TIME(seconds)\n\nReturns the seconds argument, converted to hours, minutes, and seconds,\nas a TIME value. The range of the result is constrained to that of the\nTIME data type. A warning occurs if the argument corresponds to a value\noutside that range.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT SEC_TO_TIME(2378);\n -> \'00:39:38\'\nmysql> SELECT SEC_TO_TIME(2378) + 0;\n -> 3938\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (107,38,'LOCATE','Syntax:\nLOCATE(substr,str), LOCATE(substr,str,pos)\n\nThe first syntax returns the position of the first occurrence of\nsubstring substr in string str. The second syntax returns the position\nof the first occurrence of substring substr in string str, starting at\nposition pos. Returns 0 if substr is not in str. Returns NULL if substr\nor str is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-functions.html\n\n','mysql> SELECT LOCATE(\'bar\', \'foobarbar\');\n -> 4\nmysql> SELECT LOCATE(\'xbar\', \'foobar\');\n -> 0\nmysql> SELECT LOCATE(\'bar\', \'foobarbar\', 5);\n -> 7\n','http://dev.mysql.com/doc/refman/5.7/en/string-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (108,27,'SHOW EVENTS','Syntax:\nSHOW EVENTS\n [{FROM | IN} schema_name]\n [LIKE \'pattern\' | WHERE expr]\n\nThis statement displays information about Event Manager events. It\nrequires the EVENT privilege for the database from which the events are\nto be shown.\n\nIn its simplest form, SHOW EVENTS lists all of the events in the\ncurrent schema:\n\nmysql> SELECT CURRENT_USER(), SCHEMA();\n+----------------+----------+\n| CURRENT_USER() | SCHEMA() |\n+----------------+----------+\n| jon@ghidora | myschema |\n+----------------+----------+\n1 row in set (0.00 sec)\n\nmysql> SHOW EVENTS\\G\n*************************** 1. row ***************************\n Db: myschema\n Name: e_daily\n Definer: jon@ghidora\n Time zone: SYSTEM\n Type: RECURRING\n Execute at: NULL\n Interval value: 10\n Interval field: SECOND\n Starts: 2006-02-09 10:41:23\n Ends: NULL\n Status: ENABLED\n Originator: 0\ncharacter_set_client: latin1\ncollation_connection: latin1_swedish_ci\n Database Collation: latin1_swedish_ci\n\nTo see events for a specific schema, use the FROM clause. For example,\nto see events for the test schema, use the following statement:\n\nSHOW EVENTS FROM test;\n\nThe LIKE clause, if present, indicates which event names to match. The\nWHERE clause can be given to select rows using more general conditions,\nas discussed in\nhttp://dev.mysql.com/doc/refman/5.7/en/extended-show.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-events.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-events.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (108,27,'SHOW EVENTS','Syntax:\nSHOW EVENTS\n [{FROM | IN} schema_name]\n [LIKE \'pattern\' | WHERE expr]\n\nThis statement displays information about Event Manager events, which\nare discussed in\nhttp://dev.mysql.com/doc/refman/5.7/en/event-scheduler.html. It\nrequires the EVENT privilege for the database from which the events are\nto be shown.\n\nIn its simplest form, SHOW EVENTS lists all of the events in the\ncurrent schema:\n\nmysql> SELECT CURRENT_USER(), SCHEMA();\n+----------------+----------+\n| CURRENT_USER() | SCHEMA() |\n+----------------+----------+\n| jon@ghidora | myschema |\n+----------------+----------+\n1 row in set (0.00 sec)\n\nmysql> SHOW EVENTS\\G\n*************************** 1. row ***************************\n Db: myschema\n Name: e_daily\n Definer: jon@ghidora\n Time zone: SYSTEM\n Type: RECURRING\n Execute at: NULL\n Interval value: 1\n Interval field: DAY\n Starts: 2018-08-08 11:06:34\n Ends: NULL\n Status: ENABLED\n Originator: 1\ncharacter_set_client: utf8\ncollation_connection: utf8_general_ci\n Database Collation: latin1_swedish_ci\n\nTo see events for a specific schema, use the FROM clause. For example,\nto see events for the test schema, use the following statement:\n\nSHOW EVENTS FROM test;\n\nThe LIKE clause, if present, indicates which event names to match. The\nWHERE clause can be given to select rows using more general conditions,\nas discussed in\nhttp://dev.mysql.com/doc/refman/5.7/en/extended-show.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-events.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-events.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (109,7,'JSON_INSERT','Syntax:\nJSON_INSERT(json_doc, path, val[, path, val] ...)\n\nInserts data into a JSON document and returns the result. Returns NULL\nif any argument is NULL. An error occurs if the json_doc argument is\nnot a valid JSON document or any path argument is not a valid path\nexpression or contains a * or ** wildcard.\n\nThe path-value pairs are evaluated left to right. The document produced\nby evaluating one pair becomes the new value against which the next\npair is evaluated.\n\nA path-value pair for an existing path in the document is ignored and\ndoes not overwrite the existing document value. A path-value pair for a\nnonexisting path in the document adds the value to the document if the\npath identifies one of these types of values:\n\no A member not present in an existing object. The member is added to\n the object and associated with the new value.\n\no A position past the end of an existing array. The array is extended\n with the new value. If the existing value is not an array, it is\n autowrapped as an array, then extended with the new value.\n\nOtherwise, a path-value pair for a nonexisting path in the document is\nignored and has no effect.\n\nFor a comparison of JSON_INSERT(), JSON_REPLACE(), and JSON_SET(), see\nthe discussion of JSON_SET().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/json-modification-functions.html\n\n','mysql> SET @j = \'{ "a": 1, "b": [2, 3]}\';\nmysql> SELECT JSON_INSERT(@j, \'$.a\', 10, \'$.c\', \'[true, false]\');\n+----------------------------------------------------+\n| JSON_INSERT(@j, \'$.a\', 10, \'$.c\', \'[true, false]\') |\n+----------------------------------------------------+\n| {"a": 1, "b": [2, 3], "c": "[true, false]"} |\n+----------------------------------------------------+\n\nmysql> SELECT JSON_INSERT(@j, \'$.a\', 10, \'$.c\', CAST(\'[true, false]\' AS JSON));\n+------------------------------------------------------------------+\n| JSON_INSERT(@j, \'$.a\', 10, \'$.c\', CAST(\'[true, false]\' AS JSON)) |\n+------------------------------------------------------------------+\n| {"a": 1, "b": [2, 3], "c": [true, false]} |\n+------------------------------------------------------------------+\n1 row in set (0.00 sec)\n','http://dev.mysql.com/doc/refman/5.7/en/json-modification-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (110,7,'JSON_UNQUOTE','Syntax:\nJSON_UNQUOTE(json_val)\n\nUnquotes JSON value and returns the result as a utf8mb4 string. Returns\nNULL if the argument is NULL. An error occurs if the value starts and\nends with double quotes but is not a valid JSON string literal.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/json-modification-functions.html\n\n','mysql> SET @j = \'"abc"\';\nmysql> SELECT @j, JSON_UNQUOTE(@j);\n+-------+------------------+\n| @j | JSON_UNQUOTE(@j) |\n+-------+------------------+\n| "abc" | abc |\n+-------+------------------+\nmysql> SET @j = \'[1, 2, 3]\';\nmysql> SELECT @j, JSON_UNQUOTE(@j);\n+-----------+------------------+\n| @j | JSON_UNQUOTE(@j) |\n+-----------+------------------+\n| [1, 2, 3] | [1, 2, 3] |\n+-----------+------------------+\n\nmysql> SELECT @@sql_mode;\n+------------+\n| @@sql_mode |\n+------------+\n| |\n+------------+\n\nmysql> SELECT JSON_UNQUOTE(\'"\\\\t\\\\u0032"\');\n+------------------------------+\n| JSON_UNQUOTE(\'"\\\\t\\\\u0032"\') |\n+------------------------------+\n| 2 |\n+------------------------------+\n\nmysql> SET @@sql_mode = \'NO_BACKSLASH_ESCAPES\';\nmysql> SELECT JSON_UNQUOTE(\'"\\\\t\\\\u0032"\');\n+------------------------------+\n| JSON_UNQUOTE(\'"\\\\t\\\\u0032"\') |\n+------------------------------+\n| \\t\\u0032 |\n+------------------------------+\n\nmysql> SELECT JSON_UNQUOTE(\'"\\t\\u0032"\');\n+----------------------------+\n| JSON_UNQUOTE(\'"\\t\\u0032"\') |\n+----------------------------+\n| 2 |\n+----------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/json-modification-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (111,23,'LONGTEXT','LONGTEXT [CHARACTER SET charset_name] [COLLATE collation_name]\n\nA TEXT column with a maximum length of 4,294,967,295 or 4GB (232 − 1)\ncharacters. The effective maximum length is less if the value contains\nmultibyte characters. The effective maximum length of LONGTEXT columns\nalso depends on the configured maximum packet size in the client/server\nprotocol and available memory. Each LONGTEXT value is stored using a\n4-byte length prefix that indicates the number of bytes in the value.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-type-overview.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/string-type-overview.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (112,27,'KILL','Syntax:\nKILL [CONNECTION | QUERY] processlist_id\n\nEach connection to mysqld runs in a separate thread. You can kill a\nthread with the KILL processlist_id statement.\n\nThread processlist identifiers can be determined from the ID column of\nthe INFORMATION_SCHEMA.PROCESSLIST table, the Id column of SHOW\nPROCESSLIST output, and the PROCESSLIST_ID column of the Performance\nSchema threads table. The value for the current thread is returned by\nthe CONNECTION_ID() function.\n\nKILL permits an optional CONNECTION or QUERY modifier:\n\no KILL CONNECTION is the same as KILL with no modifier: It terminates\n the connection associated with the given processlist_id, after\n terminating any statement the connection is executing.\n\no KILL QUERY terminates the statement the connection is currently\n executing, but leaves the connection itself intact.\n\nIf you have the PROCESS privilege, you can see all threads. If you have\nthe SUPER privilege, you can kill all threads and statements.\nOtherwise, you can see and kill only your own threads and statements.\n\nYou can also use the mysqladmin processlist and mysqladmin kill\ncommands to examine and kill threads.\n\n*Note*:\n\nYou cannot use KILL with the Embedded MySQL Server library because the\nembedded server merely runs inside the threads of the host application.\nIt does not create any connection threads of its own.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/kill.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/kill.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (112,27,'KILL','Syntax:\nKILL [CONNECTION | QUERY] processlist_id\n\nEach connection to mysqld runs in a separate thread. You can kill a\nthread with the KILL processlist_id statement.\n\nThread processlist identifiers can be determined from the ID column of\nthe INFORMATION_SCHEMA PROCESSLIST table, the Id column of SHOW\nPROCESSLIST output, and the PROCESSLIST_ID column of the Performance\nSchema threads table. The value for the current thread is returned by\nthe CONNECTION_ID() function.\n\nKILL permits an optional CONNECTION or QUERY modifier:\n\no KILL CONNECTION is the same as KILL with no modifier: It terminates\n the connection associated with the given processlist_id, after\n terminating any statement the connection is executing.\n\no KILL QUERY terminates the statement the connection is currently\n executing, but leaves the connection itself intact.\n\nIf you have the PROCESS privilege, you can see all threads. If you have\nthe SUPER privilege, you can kill all threads and statements.\nOtherwise, you can see and kill only your own threads and statements.\n\nYou can also use the mysqladmin processlist and mysqladmin kill\ncommands to examine and kill threads.\n\n*Note*:\n\nYou cannot use KILL with the Embedded MySQL Server library because the\nembedded server merely runs inside the threads of the host application.\nIt does not create any connection threads of its own.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/kill.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/kill.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (113,7,'DISJOINT','Disjoint(g1, g2)\n\nMBRDisjoint() and Disjoint() are synonyms. For more information, see\nthe description of MBRDisjoint().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-mbr.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-mbr.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (114,38,'LPAD','Syntax:\nLPAD(str,len,padstr)\n\nReturns the string str, left-padded with the string padstr to a length\nof len characters. If str is longer than len, the return value is\nshortened to len characters.\n\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-functions.html\n\n','mysql> SELECT LPAD(\'hi\',4,\'??\');\n -> \'??hi\'\nmysql> SELECT LPAD(\'hi\',1,\'??\');\n -> \'h\'\n','http://dev.mysql.com/doc/refman/5.7/en/string-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (115,7,'OVERLAPS','Overlaps(g1, g2)\n\nMBROverlaps() and Overlaps() are synonyms. For more information, see\nthe description of MBROverlaps().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-mbr.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-mbr.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (116,8,'SET GLOBAL SQL_SLAVE_SKIP_COUNTER','Syntax:\nSET GLOBAL sql_slave_skip_counter = N\n\nThis statement skips the next N events from the master. This is useful\nfor recovering from replication stops caused by a statement.\n\nThis statement is valid only when the slave threads are not running.\nOtherwise, it produces an error.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/set-global-sql-slave-skip-counter.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/set-global-sql-slave-skip-counter.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (117,7,'MBREQUAL','MBREqual(g1, g2)\n\nReturns 1 or 0 to indicate whether the minimum bounding rectangles of\nthe two geometries g1 and g2 are the same.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-mbr.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-mbr.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (118,34,'PROCEDURE ANALYSE','Syntax:\nANALYSE([max_elements[,max_memory]])\n\n*Note*:\n\nPROCEDURE ANALYSE() is deprecated as of MySQL 5.7.18, and is removed in\nMySQL 8.0.\n\nANALYSE() examines the result from a query and returns an analysis of\nthe results that suggests optimal data types for each column that may\nhelp reduce table sizes. To obtain this analysis, append PROCEDURE\nANALYSE to the end of a SELECT statement:\n\nSELECT ... FROM ... WHERE ... PROCEDURE ANALYSE([max_elements,[max_memory]])\n\nFor example:\n\nSELECT col1, col2 FROM table1 PROCEDURE ANALYSE(10, 2000);\n\nThe results show some statistics for the values returned by the query,\nand propose an optimal data type for the columns. This can be helpful\nfor checking your existing tables, or after importing new data. You may\nneed to try different settings for the arguments so that PROCEDURE\nANALYSE() does not suggest the ENUM data type when it is not\nappropriate.\n\nThe arguments are optional and are used as follows:\n\no max_elements (default 256) is the maximum number of distinct values\n that ANALYSE() notices per column. This is used by ANALYSE() to check\n whether the optimal data type should be of type ENUM; if there are\n more than max_elements distinct values, then ENUM is not a suggested\n type.\n\no max_memory (default 8192) is the maximum amount of memory that\n ANALYSE() should allocate per column while trying to find all\n distinct values.\n\nA PROCEDURE clause is not permitted in a UNION statement.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/procedure-analyse.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/procedure-analyse.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (119,9,'HELP_VERSION','This help information was generated from the MySQL 5.7 Reference Manual\non: 2018-06-07 (revision: 57614)\n\nThis information applies to MySQL 5.7 through 5.7.24.\n','',''); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (119,9,'HELP_VERSION','This help information was generated from the MySQL 5.7 Reference Manual\non: 2018-10-03 (revision: 59320)\n\nThis information applies to MySQL 5.7 through 5.7.25.\n','',''); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (120,38,'CHARACTER_LENGTH','Syntax:\nCHARACTER_LENGTH(str)\n\nCHARACTER_LENGTH() is a synonym for CHAR_LENGTH().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/string-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (121,27,'SHOW PRIVILEGES','Syntax:\nSHOW PRIVILEGES\n\nSHOW PRIVILEGES shows the list of system privileges that the MySQL\nserver supports. The exact list of privileges depends on the version of\nyour server.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-privileges.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-privileges.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (122,40,'CREATE TABLESPACE','Syntax:\nCREATE TABLESPACE tablespace_name\n\n InnoDB and NDB:\n ADD DATAFILE \'file_name\'\n\n InnoDB only:\n [FILE_BLOCK_SIZE = value]\n\n NDB only:\n USE LOGFILE GROUP logfile_group\n [EXTENT_SIZE [=] extent_size]\n [INITIAL_SIZE [=] initial_size]\n [AUTOEXTEND_SIZE [=] autoextend_size]\n [MAX_SIZE [=] max_size]\n [NODEGROUP [=] nodegroup_id]\n [WAIT]\n [COMMENT [=] \'string\']\n\n InnoDB and NDB:\n [ENGINE [=] engine_name]\n\nThis statement is used to create a tablespace. The precise syntax and\nsemantics depend on the storage engine used. In standard MySQL 5.7\nreleases, this is always an InnoDB tablespace. MySQL NDB Cluster 7.5\nalso supports tablespaces using the NDB storage engine in addition to\nthose using InnoDB.\n\nConsiderations for InnoDB\n\nAn InnoDB tablespace created using CREATE TABLESPACE is referred to as\na general tablespace. This is a shared tablespace, similar to the\nsystem tablespace. It can hold multiple tables, and supports all table\nrow formats. General tablespaces can be created in a location relative\nto or independent of the MySQL data directory.\n\nAfter creating an InnoDB general tablespace, you can use CREATE TABLE\ntbl_name ... TABLESPACE [=] tablespace_name or ALTER TABLE tbl_name\nTABLESPACE [=] tablespace_name to add tables to the tablespace.\n\nFor more information, see\nhttp://dev.mysql.com/doc/refman/5.7/en/general-tablespaces.html.\n\nConsiderations for NDB Cluster\n\nThis statement is used to create a tablespace, which can contain one or\nmore data files, providing storage space for NDB Cluster Disk Data\ntables (see\nhttp://dev.mysql.com/doc/refman/5.7/en/mysql-cluster-disk-data.html).\nOne data file is created and added to the tablespace using this\nstatement. Additional data files may be added to the tablespace by\nusing the ALTER TABLESPACE statement (see [HELP ALTER TABLESPACE]).\n\n*Note*:\n\nAll NDB Cluster Disk Data objects share the same namespace. This means\nthat each Disk Data object must be uniquely named (and not merely each\nDisk Data object of a given type). For example, you cannot have a\ntablespace and a log file group with the same name, or a tablespace and\na data file with the same name.\n\nA log file group of one or more UNDO log files must be assigned to the\ntablespace to be created with the USE LOGFILE GROUP clause.\nlogfile_group must be an existing log file group created with CREATE\nLOGFILE GROUP (see [HELP CREATE LOGFILE GROUP]). Multiple tablespaces\nmay use the same log file group for UNDO logging.\n\nWhen setting EXTENT_SIZE or INITIAL_SIZE, you may optionally follow the\nnumber with a one-letter abbreviation for an order of magnitude,\nsimilar to those used in my.cnf. Generally, this is one of the letters\nM (for megabytes) or G (for gigabytes).\n\nINITIAL_SIZE and EXTENT_SIZE are subject to rounding as follows:\n\no EXTENT_SIZE is rounded up to the nearest whole multiple of 32K.\n\no INITIAL_SIZE is rounded down to the nearest whole multiple of 32K;\n this result is rounded up to the nearest whole multiple of\n EXTENT_SIZE (after any rounding).\n\nThe rounding just described is done explicitly, and a warning is issued\nby the MySQL Server when any such rounding is performed. The rounded\nvalues are also used by the NDB kernel for calculating\nINFORMATION_SCHEMA.FILES column values and other purposes. However, to\navoid an unexpected result, we suggest that you always use whole\nmultiples of 32K in specifying these options.\n\nWhen CREATE TABLESPACE is used with ENGINE [=] NDB, a tablespace and\nassociated data file are created on each Cluster data node. You can\nverify that the data files were created and obtain information about\nthem by querying the INFORMATION_SCHEMA.FILES table. (See the example\nlater in this section.)\n\n(See http://dev.mysql.com/doc/refman/5.7/en/files-table.html.)\n\nOptions\n\no ADD DATAFILE: Defines the name of a tablespace data file; this option\n is always required. An InnoDB tablespace supports only a single data\n file, whose name must include a .ibd extension. An NDB Cluster\n tablespace supports multiple data files which can have any legal file\n names; more data files can be added to an NDB Cluster tablespace\n following its creation by using an ALTER TABLESPACE statement.\n\n *Note*:\n\n ALTER TABLESPACE is not supported by InnoDB.\n\n To place the data file in a location outside of the MySQL data\n directory (datadir), include an absolute directory path or a path\n relative to the MySQL data directory. If you do not specify a path,\n the tablespace is created in the MySQL data directory. An isl file is\n created in the MySQL data directory when an InnoDB tablespace is\n created outside of the MySQL data directory.\n\n To avoid conflicts with implicitly created file-per-table\n tablespaces, creating a general tablespace in a subdirectory under\n the MySQL data directory is not supported. Also, when creating a\n general tablespace outside of the MySQL data directory, the directory\n must exist prior to creating the tablespace.\n\n The file_name, including the path (optional), must be quoted with\n single or double quotations marks. File names (not counting any\n ".ibd" extension for InnoDB files) and directory names must be at\n least one byte in length. Zero length file names and directory names\n are not supported.\n\no FILE_BLOCK_SIZE: This option---which is specific to InnoDB, and is\n ignored by NDB---defines the block size for the tablespace data file.\n If you do not specify this option, FILE_BLOCK_SIZE defaults to\n innodb_page_size. FILE_BLOCK_SIZE is required when you intend to use\n the tablespace for storing compressed InnoDB tables\n (ROW_FORMAT=COMPRESSED).\n\n If FILE_BLOCK_SIZE is equal innodb_page_size, the tablespace can\n contain only tables having an uncompressed row format (COMPACT,\n REDUNDANT, or DYNAMIC). The physical page size for tables using\n COMPRESSED differs from that of uncompressed tables; this means that\n compressed tables and uncompressed tables cannot coexist in the same\n tablespace.\n\n For a general tablespace to contain compressed tables,\n FILE_BLOCK_SIZE must be specified, and the FILE_BLOCK_SIZE value must\n be a valid compressed page size in relation to the innodb_page_size\n value. Also, the physical page size of the compressed table\n (KEY_BLOCK_SIZE) must be equal to FILE_BLOCK_SIZE/1024. For example,\n if innodb_page_size=16K, and FILE_BLOCK_SIZE=8K, the KEY_BLOCK_SIZE\n of the table must be 8. For more information, see\n http://dev.mysql.com/doc/refman/5.7/en/general-tablespaces.html.\n\no USE LOGFILE GROUP: Required for NDB, this is the name of a log file\n group previously created using CREATE LOGFILE GROUP. Not supported\n for InnoDB, where it fails with an error.\n\no EXTENT_SIZE: This option is specific to NDB, and is not supported by\n InnoDB, where it fails with an error. EXTENT_SIZE sets the size, in\n bytes, of the extents used by any files belonging to the tablespace.\n The default value is 1M. The minimum size is 32K, and theoretical\n maximum is 2G, although the practical maximum size depends on a\n number of factors. In most cases, changing the extent size does not\n have any measurable effect on performance, and the default value is\n recommended for all but the most unusual situations.\n\n An extent is a unit of disk space allocation. One extent is filled\n with as much data as that extent can contain before another extent is\n used. In theory, up to 65,535 (64K) extents may used per data file;\n however, the recommended maximum is 32,768 (32K). The recommended\n maximum size for a single data file is 32G---that is, 32K extents x 1\n MB per extent. In addition, once an extent is allocated to a given\n partition, it cannot be used to store data from a different\n partition; an extent cannot store data from more than one partition.\n This means, for example that a tablespace having a single datafile\n whose INITIAL_SIZE (described in the following item) is 256 MB and\n whose EXTENT_SIZE is 128M has just two extents, and so can be used to\n store data from at most two different disk data table partitions.\n\n You can see how many extents remain free in a given data file by\n querying the INFORMATION_SCHEMA.FILES table, and so derive an\n estimate for how much space remains free in the file. For further\n discussion and examples, see\n http://dev.mysql.com/doc/refman/5.7/en/files-table.html.\n\no INITIAL_SIZE: This option is specific to NDB, and is not supported by\n InnoDB, where it fails with an error.\n\n The INITIAL_SIZE parameter sets the total size in bytes of the data\n file that was specific using ADD DATATFILE. Once this file has been\n created, its size cannot be changed; however, you can add more data\n files to the tablespace using ALTER TABLESPACE ... ADD DATAFILE.\n\n INITIAL_SIZE is optional; its default value is 134217728 (128 MB).\n\n On 32-bit systems, the maximum supported value for INITIAL_SIZE is\n 4294967296 (4 GB).\n\no AUTOEXTEND_SIZE: Currently ignored by MySQL; reserved for possible\n future use. Has no effect in any release of MySQL 5.7 or MySQL NDB\n Cluster 7.5, regardless of the storage engine used.\n\no MAX_SIZE: Currently ignored by MySQL; reserved for possible future\n use. Has no effect in any release of MySQL 5.7 or MySQL NDB Cluster\n 7.5, regardless of the storage engine used.\n\no NODEGROUP: Currently ignored by MySQL; reserved for possible future\n use. Has no effect in any release of MySQL 5.7 or MySQL NDB Cluster\n 7.5, regardless of the storage engine used.\n\no WAIT: Currently ignored by MySQL; reserved for possible future use.\n Has no effect in any release of MySQL 5.7 or MySQL NDB Cluster 7.5,\n regardless of the storage engine used.\n\no COMMENT: Currently ignored by MySQL; reserved for possible future\n use. Has no effect in any release of MySQL 5.7 or MySQL NDB Cluster\n 7.5, regardless of the storage engine used.\n\no ENGINE: Defines the storage engine which uses the tablespace, where\n engine_name is the name of the storage engine. Currently, only the\n InnoDB storage engine is supported by standard MySQL 5.7 releases.\n MySQL NDB Cluster 7.5 supports both NDB and InnoDB tablespaces. The\n value of the default_storage_engine system variable is used for\n ENGINE if the option is not specified.\n\nNotes\n\no For the rules covering the naming of MySQL tablespaces, see\n http://dev.mysql.com/doc/refman/5.7/en/identifiers.html. In addition\n to these rules, the slash character ("/") is not permitted, nor can\n you use names beginning with innodb_, as this prefix is reserved for\n system use.\n\no Tablespaces do not support temporary tables.\n\no The TABLESPACE option may be used with CREATE TABLE or ALTER TABLE to\n assign InnoDB table partitions or subpartitions to a general\n tablespace, a separate file-per-table tablespace, or the system\n tablespace. TABLESPACE option support for table partitions and\n subpartitions was added in MySQL 5.7. All partitions must belong to\n the same storage engine. For more information, see\n http://dev.mysql.com/doc/refman/5.7/en/general-tablespaces.html.\n\no innodb_file_per_table, innodb_file_format, and innodb_file_format_max\n settings have no influence on CREATE TABLESPACE operations.\n innodb_file_per_table does not need to be enabled. General\n tablespaces support all table row formats regardless of file format\n settings. Likewise, general tablespaces support the addition of\n tables of any row format using CREATE TABLE ... TABLESPACE,\n regardless of file format settings.\n\no innodb_strict_mode is not applicable to general tablespaces.\n Tablespace management rules are strictly enforced independently of\n innodb_strict_mode. If CREATE TABLESPACE parameters are incorrect or\n incompatible, the operation fails regardless of the\n innodb_strict_mode setting. When a table is added to a general\n tablespace using CREATE TABLE ... TABLESPACE or ALTER TABLE ...\n TABLESPACE, innodb_strict_mode is ignored but the statement is\n evaluated as if innodb_strict_mode is enabled.\n\no Use DROP TABLESPACE to remove a tablespace. All tables must be\n dropped from a tablespace using DROP TABLE prior to dropping the\n tablespace. Before dropping an NDB Cluster tablespace you must also\n remove all its data files using one or more ALTER TABLESPACE ... DROP\n DATATFILE statements. See\n http://dev.mysql.com/doc/refman/5.7/en/mysql-cluster-disk-data-object\n s.html.\n\no All parts of an InnoDB table added to an InnoDB general tablespace\n reside in the general tablespace, including indexes and BLOB pages.\n\n For an NDB table assigned to a tablespace, only those columns which\n are not indexed are stored on disk, and actually use the tablespace\n data files. Indexes and indexed columns for all NDB tables are always\n kept in memory.\n\no Similar to the system tablespace, truncating or dropping tables\n stored in a general tablespace creates free space internally in the\n general tablespace .ibd data file which can only be used for new\n InnoDB data. Space is not released back to the operating system as it\n is for file-per-table tablespaces.\n\no A general tablespace is not associated with any database or schema.\n\no ALTER TABLE ... DISCARD TABLESPACE and ALTER TABLE ...IMPORT\n TABLESPACE are not supported for tables that belong to a general\n tablespace.\n\no The server uses tablespace-level metadata locking for DDL that\n references general tablespaces. By comparison, the server uses\n table-level metadata locking for DDL that references file-per-table\n tablespaces.\n\no A generated or existing tablespace cannot be changed to a general\n tablespace.\n\no Tables stored in a general tablespace can only be opened in MySQL\n 5.7.6 or later due to the addition of new table flags.\n\no There is no conflict between general tablespace names and\n file-per-table tablespace names. The "/" character, which is present\n in file-per-table tablespace names, is not permitted in general\n tablespace names.\n\nInnoDB Examples\n\nThis example demonstrates creating a general tablespace and adding\nthree uncompressed tables of different row formats.\n\nmysql> CREATE TABLESPACE `ts1`\n -> ADD DATAFILE \'ts1.ibd\'\n -> ENGINE=INNODB;\nQuery OK, 0 rows affected (0.01 sec)\n\nmysql> CREATE TABLE t1 (c1 INT PRIMARY KEY)\n -> TABLESPACE ts1\n -> ROW_FORMAT=REDUNDANT;\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> CREATE TABLE t2 (c1 INT PRIMARY KEY)\n -> TABLESPACE ts1\n -> ROW_FORMAT=COMPACT;\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> CREATE TABLE t3 (c1 INT PRIMARY KEY)\n -> TABLESPACE ts1\n -> ROW_FORMAT=DYNAMIC;\nQuery OK, 0 rows affected (0.00 sec)\n\nThis example demonstrates creating a general tablespace and adding a\ncompressed table. The example assumes a default innodb_page_size of\n16K. The FILE_BLOCK_SIZE of 8192 requires that the compressed table\nhave a KEY_BLOCK_SIZE of 8.\n\nmysql> CREATE TABLESPACE `ts2`\n -> ADD DATAFILE \'ts2.ibd\'\n -> FILE_BLOCK_SIZE = 8192\n -> ENGINE=INNODB;\nQuery OK, 0 rows affected (0.01 sec)\n\nmysql> CREATE TABLE t4 (c1 INT PRIMARY KEY)\n -> TABLESPACE ts2\n -> ROW_FORMAT=COMPRESSED\n -> KEY_BLOCK_SIZE=8;\nQuery OK, 0 rows affected (0.00 sec)\n\nNDB Example\n\nSuppose that you wish to create an NDB Cluster Disk Data tablespace\nnamed myts using a datafile named mydata-1.dat. An NDB tablespace\nalways requires the use of a log file group consisting of one or more\nundo log files. For this example, we first create a log file group\nnamed mylg that contains one undo long file named myundo-1.dat, using\nthe CREATE LOGFILE GROUP statement shown here:\n\nmysql> CREATE LOGFILE GROUP myg1\n -> ADD UNDOFILE \'myundo-1.dat\'\n -> ENGINE=NDB;\nQuery OK, 0 rows affected (3.29 sec)\n\nNow you can create the tablespace previously described using the\nfollowing statement:\n\nmysql> CREATE TABLESPACE myts\n -> ADD DATAFILE \'mydata-1.dat\'\n -> USE LOGFILE GROUP mylg\n -> ENGINE=NDB;\nQuery OK, 0 rows affected (2.98 sec)\n\nYou can now create a Disk Data table using a CREATE TABLE statement\nwith the TABLESPACE and STORAGE DISK options, similar to what is shown\nhere:\n\nmysql> CREATE TABLE mytable (\n -> id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,\n -> lname VARCHAR(50) NOT NULL,\n -> fname VARCHAR(50) NOT NULL,\n -> dob DATE NOT NULL,\n -> joined DATE NOT NULL,\n -> INDEX(last_name, first_name)\n -> )\n -> TABLESPACE myts STORAGE DISK\n -> ENGINE=NDB;\nQuery OK, 0 rows affected (1.41 sec)\n\nIt is important to note that only the dob and joined columns from\nmytable are actually stored on disk, due to the fact that the id,\nlname, and fname columns are all indexed.\n\nAs mentioned previously, when CREATE TABLESPACE is used with ENGINE [=]\nNDB, a tablespace and associated data file are created on each NDB\nCluster data node. You can verify that the data files were created and\nobtain information about them by querying the INFORMATION_SCHEMA.FILES\ntable, as shown here:\n\nmysql> SELECT FILE_NAME, FILE_TYPE, LOGFILE_GROUP_NAME, STATUS, EXTRA\n -> FROM INFORMATION_SCHEMA.FILES\n -> WHERE TABLESPACE_NAME = \'myts\';\n\n+--------------+------------+--------------------+--------+----------------+\n| file_name | file_type | logfile_group_name | status | extra |\n+--------------+------------+--------------------+--------+----------------+\n| mydata-1.dat | DATAFILE | mylg | NORMAL | CLUSTER_NODE=5 |\n| mydata-1.dat | DATAFILE | mylg | NORMAL | CLUSTER_NODE=6 |\n| NULL | TABLESPACE | mylg | NORMAL | NULL |\n+--------------+------------+--------------------+--------+----------------+\n3 rows in set (0.01 sec)\n\nFor additional information and examples, see\nhttp://dev.mysql.com/doc/refman/5.7/en/mysql-cluster-disk-data-objects.\nhtml.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-tablespace.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/create-tablespace.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (122,40,'CREATE TABLESPACE','Syntax:\nCREATE TABLESPACE tablespace_name\n\n InnoDB and NDB:\n ADD DATAFILE \'file_name\'\n\n InnoDB only:\n [FILE_BLOCK_SIZE = value]\n\n NDB only:\n USE LOGFILE GROUP logfile_group\n [EXTENT_SIZE [=] extent_size]\n [INITIAL_SIZE [=] initial_size]\n [AUTOEXTEND_SIZE [=] autoextend_size]\n [MAX_SIZE [=] max_size]\n [NODEGROUP [=] nodegroup_id]\n [WAIT]\n [COMMENT [=] \'string\']\n\n InnoDB and NDB:\n [ENGINE [=] engine_name]\n\nThis statement is used to create a tablespace. The precise syntax and\nsemantics depend on the storage engine used. In standard MySQL 5.7\nreleases, this is always an InnoDB tablespace. MySQL NDB Cluster 7.5\nalso supports tablespaces using the NDB storage engine in addition to\nthose using InnoDB.\n\nConsiderations for InnoDB\n\nAn InnoDB tablespace created using CREATE TABLESPACE is referred to as\na general tablespace. This is a shared tablespace, similar to the\nsystem tablespace. It can hold multiple tables, and supports all table\nrow formats. General tablespaces can be created in a location relative\nto or independent of the MySQL data directory.\n\nAfter creating an InnoDB general tablespace, you can use CREATE TABLE\ntbl_name ... TABLESPACE [=] tablespace_name or ALTER TABLE tbl_name\nTABLESPACE [=] tablespace_name to add tables to the tablespace.\n\nFor more information, see\nhttp://dev.mysql.com/doc/refman/5.7/en/general-tablespaces.html.\n\nConsiderations for NDB Cluster\n\nThis statement is used to create a tablespace, which can contain one or\nmore data files, providing storage space for NDB Cluster Disk Data\ntables (see\nhttp://dev.mysql.com/doc/refman/5.7/en/mysql-cluster-disk-data.html).\nOne data file is created and added to the tablespace using this\nstatement. Additional data files may be added to the tablespace by\nusing the ALTER TABLESPACE statement (see [HELP ALTER TABLESPACE]).\n\n*Note*:\n\nAll NDB Cluster Disk Data objects share the same namespace. This means\nthat each Disk Data object must be uniquely named (and not merely each\nDisk Data object of a given type). For example, you cannot have a\ntablespace and a log file group with the same name, or a tablespace and\na data file with the same name.\n\nA log file group of one or more UNDO log files must be assigned to the\ntablespace to be created with the USE LOGFILE GROUP clause.\nlogfile_group must be an existing log file group created with CREATE\nLOGFILE GROUP (see [HELP CREATE LOGFILE GROUP]). Multiple tablespaces\nmay use the same log file group for UNDO logging.\n\nWhen setting EXTENT_SIZE or INITIAL_SIZE, you may optionally follow the\nnumber with a one-letter abbreviation for an order of magnitude,\nsimilar to those used in my.cnf. Generally, this is one of the letters\nM (for megabytes) or G (for gigabytes).\n\nINITIAL_SIZE and EXTENT_SIZE are subject to rounding as follows:\n\no EXTENT_SIZE is rounded up to the nearest whole multiple of 32K.\n\no INITIAL_SIZE is rounded down to the nearest whole multiple of 32K;\n this result is rounded up to the nearest whole multiple of\n EXTENT_SIZE (after any rounding).\n\nThe rounding just described is done explicitly, and a warning is issued\nby the MySQL Server when any such rounding is performed. The rounded\nvalues are also used by the NDB kernel for calculating\nINFORMATION_SCHEMA.FILES column values and other purposes. However, to\navoid an unexpected result, we suggest that you always use whole\nmultiples of 32K in specifying these options.\n\nWhen CREATE TABLESPACE is used with ENGINE [=] NDB, a tablespace and\nassociated data file are created on each Cluster data node. You can\nverify that the data files were created and obtain information about\nthem by querying the INFORMATION_SCHEMA.FILES table. (See the example\nlater in this section.)\n\n(See http://dev.mysql.com/doc/refman/5.7/en/files-table.html.)\n\nOptions\n\no ADD DATAFILE: Defines the name of a tablespace data file; this option\n is always required. An InnoDB tablespace supports only a single data\n file, whose name must include a .ibd extension. An NDB Cluster\n tablespace supports multiple data files which can have any legal file\n names; more data files can be added to an NDB Cluster tablespace\n following its creation by using an ALTER TABLESPACE statement.\n\n *Note*:\n\n ALTER TABLESPACE is not supported by InnoDB.\n\n To place the data file in a location outside of the MySQL data\n directory (datadir), include an absolute directory path or a path\n relative to the MySQL data directory. If you do not specify a path,\n the tablespace is created in the MySQL data directory. An isl file is\n created in the MySQL data directory when an InnoDB tablespace is\n created outside of the MySQL data directory.\n\n To avoid conflicts with implicitly created file-per-table\n tablespaces, creating a general tablespace in a subdirectory under\n the MySQL data directory is not supported. Also, when creating a\n general tablespace outside of the MySQL data directory, the directory\n must exist prior to creating the tablespace.\n\n The file_name, including the path (optional), must be quoted with\n single or double quotations marks. File names (not counting any\n ".ibd" extension for InnoDB files) and directory names must be at\n least one byte in length. Zero length file names and directory names\n are not supported.\n\no FILE_BLOCK_SIZE: This option---which is specific to InnoDB, and is\n ignored by NDB---defines the block size for the tablespace data file.\n Values can be specified in bytes or kilobytes. For example, an 8\n kilobyte file block size can be specified as 8192 or 8K. If you do\n not specify this option, FILE_BLOCK_SIZE defaults to\n innodb_page_size. FILE_BLOCK_SIZE is required when you intend to use\n the tablespace for storing compressed InnoDB tables\n (ROW_FORMAT=COMPRESSED).\n\n If FILE_BLOCK_SIZE is equal innodb_page_size, the tablespace can\n contain only tables having an uncompressed row format (COMPACT,\n REDUNDANT, or DYNAMIC). The physical page size for tables using\n COMPRESSED differs from that of uncompressed tables; this means that\n compressed tables and uncompressed tables cannot coexist in the same\n tablespace.\n\n For a general tablespace to contain compressed tables,\n FILE_BLOCK_SIZE must be specified, and the FILE_BLOCK_SIZE value must\n be a valid compressed page size in relation to the innodb_page_size\n value. Also, the physical page size of the compressed table\n (KEY_BLOCK_SIZE) must be equal to FILE_BLOCK_SIZE/1024. For example,\n if innodb_page_size=16K, and FILE_BLOCK_SIZE=8K, the KEY_BLOCK_SIZE\n of the table must be 8. For more information, see\n http://dev.mysql.com/doc/refman/5.7/en/general-tablespaces.html.\n\no USE LOGFILE GROUP: Required for NDB, this is the name of a log file\n group previously created using CREATE LOGFILE GROUP. Not supported\n for InnoDB, where it fails with an error.\n\no EXTENT_SIZE: This option is specific to NDB, and is not supported by\n InnoDB, where it fails with an error. EXTENT_SIZE sets the size, in\n bytes, of the extents used by any files belonging to the tablespace.\n The default value is 1M. The minimum size is 32K, and theoretical\n maximum is 2G, although the practical maximum size depends on a\n number of factors. In most cases, changing the extent size does not\n have any measurable effect on performance, and the default value is\n recommended for all but the most unusual situations.\n\n An extent is a unit of disk space allocation. One extent is filled\n with as much data as that extent can contain before another extent is\n used. In theory, up to 65,535 (64K) extents may used per data file;\n however, the recommended maximum is 32,768 (32K). The recommended\n maximum size for a single data file is 32G---that is, 32K extents x 1\n MB per extent. In addition, once an extent is allocated to a given\n partition, it cannot be used to store data from a different\n partition; an extent cannot store data from more than one partition.\n This means, for example that a tablespace having a single datafile\n whose INITIAL_SIZE (described in the following item) is 256 MB and\n whose EXTENT_SIZE is 128M has just two extents, and so can be used to\n store data from at most two different disk data table partitions.\n\n You can see how many extents remain free in a given data file by\n querying the INFORMATION_SCHEMA.FILES table, and so derive an\n estimate for how much space remains free in the file. For further\n discussion and examples, see\n http://dev.mysql.com/doc/refman/5.7/en/files-table.html.\n\no INITIAL_SIZE: This option is specific to NDB, and is not supported by\n InnoDB, where it fails with an error.\n\n The INITIAL_SIZE parameter sets the total size in bytes of the data\n file that was specific using ADD DATATFILE. Once this file has been\n created, its size cannot be changed; however, you can add more data\n files to the tablespace using ALTER TABLESPACE ... ADD DATAFILE.\n\n INITIAL_SIZE is optional; its default value is 134217728 (128 MB).\n\n On 32-bit systems, the maximum supported value for INITIAL_SIZE is\n 4294967296 (4 GB).\n\no AUTOEXTEND_SIZE: Currently ignored by MySQL; reserved for possible\n future use. Has no effect in any release of MySQL 5.7 or MySQL NDB\n Cluster 7.5, regardless of the storage engine used.\n\no MAX_SIZE: Currently ignored by MySQL; reserved for possible future\n use. Has no effect in any release of MySQL 5.7 or MySQL NDB Cluster\n 7.5, regardless of the storage engine used.\n\no NODEGROUP: Currently ignored by MySQL; reserved for possible future\n use. Has no effect in any release of MySQL 5.7 or MySQL NDB Cluster\n 7.5, regardless of the storage engine used.\n\no WAIT: Currently ignored by MySQL; reserved for possible future use.\n Has no effect in any release of MySQL 5.7 or MySQL NDB Cluster 7.5,\n regardless of the storage engine used.\n\no COMMENT: Currently ignored by MySQL; reserved for possible future\n use. Has no effect in any release of MySQL 5.7 or MySQL NDB Cluster\n 7.5, regardless of the storage engine used.\n\no ENGINE: Defines the storage engine which uses the tablespace, where\n engine_name is the name of the storage engine. Currently, only the\n InnoDB storage engine is supported by standard MySQL 5.7 releases.\n MySQL NDB Cluster 7.5 supports both NDB and InnoDB tablespaces. The\n value of the default_storage_engine system variable is used for\n ENGINE if the option is not specified.\n\nNotes\n\no For the rules covering the naming of MySQL tablespaces, see\n http://dev.mysql.com/doc/refman/5.7/en/identifiers.html. In addition\n to these rules, the slash character ("/") is not permitted, nor can\n you use names beginning with innodb_, as this prefix is reserved for\n system use.\n\no Tablespaces do not support temporary tables.\n\no innodb_file_per_table, innodb_file_format, and innodb_file_format_max\n settings have no influence on CREATE TABLESPACE operations.\n innodb_file_per_table does not need to be enabled. General\n tablespaces support all table row formats regardless of file format\n settings. Likewise, general tablespaces support the addition of\n tables of any row format using CREATE TABLE ... TABLESPACE,\n regardless of file format settings.\n\no innodb_strict_mode is not applicable to general tablespaces.\n Tablespace management rules are strictly enforced independently of\n innodb_strict_mode. If CREATE TABLESPACE parameters are incorrect or\n incompatible, the operation fails regardless of the\n innodb_strict_mode setting. When a table is added to a general\n tablespace using CREATE TABLE ... TABLESPACE or ALTER TABLE ...\n TABLESPACE, innodb_strict_mode is ignored but the statement is\n evaluated as if innodb_strict_mode is enabled.\n\no Use DROP TABLESPACE to remove a tablespace. All tables must be\n dropped from a tablespace using DROP TABLE prior to dropping the\n tablespace. Before dropping an NDB Cluster tablespace you must also\n remove all its data files using one or more ALTER TABLESPACE ... DROP\n DATATFILE statements. See\n http://dev.mysql.com/doc/refman/5.7/en/mysql-cluster-disk-data-object\n s.html.\n\no All parts of an InnoDB table added to an InnoDB general tablespace\n reside in the general tablespace, including indexes and BLOB pages.\n\n For an NDB table assigned to a tablespace, only those columns which\n are not indexed are stored on disk, and actually use the tablespace\n data files. Indexes and indexed columns for all NDB tables are always\n kept in memory.\n\no Similar to the system tablespace, truncating or dropping tables\n stored in a general tablespace creates free space internally in the\n general tablespace .ibd data file which can only be used for new\n InnoDB data. Space is not released back to the operating system as it\n is for file-per-table tablespaces.\n\no A general tablespace is not associated with any database or schema.\n\no ALTER TABLE ... DISCARD TABLESPACE and ALTER TABLE ...IMPORT\n TABLESPACE are not supported for tables that belong to a general\n tablespace.\n\no The server uses tablespace-level metadata locking for DDL that\n references general tablespaces. By comparison, the server uses\n table-level metadata locking for DDL that references file-per-table\n tablespaces.\n\no A generated or existing tablespace cannot be changed to a general\n tablespace.\n\no Tables stored in a general tablespace can only be opened in MySQL\n 5.7.6 or later due to the addition of new table flags.\n\no There is no conflict between general tablespace names and\n file-per-table tablespace names. The "/" character, which is present\n in file-per-table tablespace names, is not permitted in general\n tablespace names.\n\no mysqldump and mysqlpump do not dump InnoDB CREATE TABLESPACE\n statements.\n\nInnoDB Examples\n\nThis example demonstrates creating a general tablespace and adding\nthree uncompressed tables of different row formats.\n\nmysql> CREATE TABLESPACE `ts1`\n -> ADD DATAFILE \'ts1.ibd\'\n -> ENGINE=INNODB;\nQuery OK, 0 rows affected (0.01 sec)\n\nmysql> CREATE TABLE t1 (c1 INT PRIMARY KEY)\n -> TABLESPACE ts1\n -> ROW_FORMAT=REDUNDANT;\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> CREATE TABLE t2 (c1 INT PRIMARY KEY)\n -> TABLESPACE ts1\n -> ROW_FORMAT=COMPACT;\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> CREATE TABLE t3 (c1 INT PRIMARY KEY)\n -> TABLESPACE ts1\n -> ROW_FORMAT=DYNAMIC;\nQuery OK, 0 rows affected (0.00 sec)\n\nThis example demonstrates creating a general tablespace and adding a\ncompressed table. The example assumes a default innodb_page_size of\n16KB. The FILE_BLOCK_SIZE of 8192 requires that the compressed table\nhave a KEY_BLOCK_SIZE of 8.\n\nmysql> CREATE TABLESPACE `ts2`\n -> ADD DATAFILE \'ts2.ibd\'\n -> FILE_BLOCK_SIZE = 8192\n -> ENGINE=INNODB;\nQuery OK, 0 rows affected (0.01 sec)\n\nmysql> CREATE TABLE t4 (c1 INT PRIMARY KEY)\n -> TABLESPACE ts2\n -> ROW_FORMAT=COMPRESSED\n -> KEY_BLOCK_SIZE=8;\nQuery OK, 0 rows affected (0.00 sec)\n\nNDB Example\n\nSuppose that you wish to create an NDB Cluster Disk Data tablespace\nnamed myts using a datafile named mydata-1.dat. An NDB tablespace\nalways requires the use of a log file group consisting of one or more\nundo log files. For this example, we first create a log file group\nnamed mylg that contains one undo long file named myundo-1.dat, using\nthe CREATE LOGFILE GROUP statement shown here:\n\nmysql> CREATE LOGFILE GROUP myg1\n -> ADD UNDOFILE \'myundo-1.dat\'\n -> ENGINE=NDB;\nQuery OK, 0 rows affected (3.29 sec)\n\nNow you can create the tablespace previously described using the\nfollowing statement:\n\nmysql> CREATE TABLESPACE myts\n -> ADD DATAFILE \'mydata-1.dat\'\n -> USE LOGFILE GROUP mylg\n -> ENGINE=NDB;\nQuery OK, 0 rows affected (2.98 sec)\n\nYou can now create a Disk Data table using a CREATE TABLE statement\nwith the TABLESPACE and STORAGE DISK options, similar to what is shown\nhere:\n\nmysql> CREATE TABLE mytable (\n -> id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,\n -> lname VARCHAR(50) NOT NULL,\n -> fname VARCHAR(50) NOT NULL,\n -> dob DATE NOT NULL,\n -> joined DATE NOT NULL,\n -> INDEX(last_name, first_name)\n -> )\n -> TABLESPACE myts STORAGE DISK\n -> ENGINE=NDB;\nQuery OK, 0 rows affected (1.41 sec)\n\nIt is important to note that only the dob and joined columns from\nmytable are actually stored on disk, due to the fact that the id,\nlname, and fname columns are all indexed.\n\nAs mentioned previously, when CREATE TABLESPACE is used with ENGINE [=]\nNDB, a tablespace and associated data file are created on each NDB\nCluster data node. You can verify that the data files were created and\nobtain information about them by querying the INFORMATION_SCHEMA.FILES\ntable, as shown here:\n\nmysql> SELECT FILE_NAME, FILE_TYPE, LOGFILE_GROUP_NAME, STATUS, EXTRA\n -> FROM INFORMATION_SCHEMA.FILES\n -> WHERE TABLESPACE_NAME = \'myts\';\n\n+--------------+------------+--------------------+--------+----------------+\n| file_name | file_type | logfile_group_name | status | extra |\n+--------------+------------+--------------------+--------+----------------+\n| mydata-1.dat | DATAFILE | mylg | NORMAL | CLUSTER_NODE=5 |\n| mydata-1.dat | DATAFILE | mylg | NORMAL | CLUSTER_NODE=6 |\n| NULL | TABLESPACE | mylg | NORMAL | NULL |\n+--------------+------------+--------------------+--------+----------------+\n3 rows in set (0.01 sec)\n\nFor additional information and examples, see\nhttp://dev.mysql.com/doc/refman/5.7/en/mysql-cluster-disk-data-objects.\nhtml.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-tablespace.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/create-tablespace.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (123,4,'ST_GEOMFROMTEXT','ST_GeomFromText(wkt[, srid]), ST_GeometryFromText(wkt[, srid])\n\nConstructs a geometry value of any type using its WKT representation\nand SRID.\n\nIf the geometry argument is NULL or not a syntactically well-formed\ngeometry, or if the SRID argument is NULL, the return value is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-wkt-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-wkt-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (124,38,'INSERT FUNCTION','Syntax:\nINSERT(str,pos,len,newstr)\n\nReturns the string str, with the substring beginning at position pos\nand len characters long replaced by the string newstr. Returns the\noriginal string if pos is not within the length of the string. Replaces\nthe rest of the string from position pos if len is not within the\nlength of the rest of the string. Returns NULL if any argument is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-functions.html\n\n','mysql> SELECT INSERT(\'Quadratic\', 3, 4, \'What\');\n -> \'QuWhattic\'\nmysql> SELECT INSERT(\'Quadratic\', -1, 4, \'What\');\n -> \'Quadratic\'\nmysql> SELECT INSERT(\'Quadratic\', 3, 100, \'What\');\n -> \'QuWhat\'\n','http://dev.mysql.com/doc/refman/5.7/en/string-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (125,15,'XOR','Syntax:\nXOR\n\nLogical XOR. Returns NULL if either operand is NULL. For non-NULL\noperands, evaluates to 1 if an odd number of operands is nonzero,\notherwise 0 is returned.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/logical-operators.html\n\n','mysql> SELECT 1 XOR 1;\n -> 0\nmysql> SELECT 1 XOR 0;\n -> 1\nmysql> SELECT 1 XOR NULL;\n -> NULL\nmysql> SELECT 1 XOR 1 XOR 1;\n -> 1\n','http://dev.mysql.com/doc/refman/5.7/en/logical-operators.html'); @@ -209,7 +209,7 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (128,20,'IS NOT','Syntax:\nIS NOT boolean_value\n\nTests a value against a boolean value, where boolean_value can be TRUE,\nFALSE, or UNKNOWN.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html\n\n','mysql> SELECT 1 IS NOT UNKNOWN, 0 IS NOT UNKNOWN, NULL IS NOT UNKNOWN;\n -> 1, 1, 0\n','http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (129,3,'SQRT','Syntax:\nSQRT(X)\n\nReturns the square root of a nonnegative number X.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html\n\n','mysql> SELECT SQRT(4);\n -> 2\nmysql> SELECT SQRT(20);\n -> 4.4721359549996\nmysql> SELECT SQRT(-16);\n -> NULL\n','http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (130,33,'ST_MPOLYFROMWKB','ST_MPolyFromWKB(wkb[, srid]), ST_MultiPolygonFromWKB(wkb[, srid])\n\nConstructs a MultiPolygon value using its WKB representation and SRID.\n\nThe result is NULL if the WKB or SRID argument is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (131,40,'CREATE INDEX','Syntax:\nCREATE [UNIQUE|FULLTEXT|SPATIAL] INDEX index_name\n [index_type]\n ON tbl_name (index_col_name,...)\n [index_option]\n [algorithm_option | lock_option] ...\n\nindex_col_name:\n col_name [(length)] [ASC | DESC]\n\nindex_option:\n KEY_BLOCK_SIZE [=] value\n | index_type\n | WITH PARSER parser_name\n | COMMENT \'string\'\n\nindex_type:\n USING {BTREE | HASH}\n\nalgorithm_option:\n ALGORITHM [=] {DEFAULT|INPLACE|COPY}\n\nlock_option:\n LOCK [=] {DEFAULT|NONE|SHARED|EXCLUSIVE}\n\nCREATE INDEX is mapped to an ALTER TABLE statement to create indexes.\nSee [HELP ALTER TABLE]. CREATE INDEX cannot be used to create a PRIMARY\nKEY; use ALTER TABLE instead. For more information about indexes, see\nhttp://dev.mysql.com/doc/refman/5.7/en/mysql-indexes.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-index.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/create-index.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (131,40,'CREATE INDEX','Syntax:\nCREATE [UNIQUE | FULLTEXT | SPATIAL] INDEX index_name\n [index_type]\n ON tbl_name (key_part,...)\n [index_option]\n [algorithm_option | lock_option] ...\n\nkey_part:\n col_name [(length)] [ASC | DESC]\n\nindex_option:\n KEY_BLOCK_SIZE [=] value\n | index_type\n | WITH PARSER parser_name\n | COMMENT \'string\'\n\nindex_type:\n USING {BTREE | HASH}\n\nalgorithm_option:\n ALGORITHM [=] {DEFAULT | INPLACE | COPY}\n\nlock_option:\n LOCK [=] {DEFAULT | NONE | SHARED | EXCLUSIVE}\n\nNormally, you create all indexes on a table at the time the table\nitself is created with CREATE TABLE. See [HELP CREATE TABLE]. This\nguideline is especially important for InnoDB tables, where the primary\nkey determines the physical layout of rows in the data file. CREATE\nINDEX enables you to add indexes to existing tables.\n\nCREATE INDEX is mapped to an ALTER TABLE statement to create indexes.\nSee [HELP ALTER TABLE]. CREATE INDEX cannot be used to create a PRIMARY\nKEY; use ALTER TABLE instead. For more information about indexes, see\nhttp://dev.mysql.com/doc/refman/5.7/en/mysql-indexes.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-index.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/create-index.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (132,40,'ALTER DATABASE','Syntax:\nALTER {DATABASE | SCHEMA} [db_name]\n alter_specification ...\nALTER {DATABASE | SCHEMA} db_name\n UPGRADE DATA DIRECTORY NAME\n\nalter_specification:\n [DEFAULT] CHARACTER SET [=] charset_name\n | [DEFAULT] COLLATE [=] collation_name\n\nALTER DATABASE enables you to change the overall characteristics of a\ndatabase. These characteristics are stored in the db.opt file in the\ndatabase directory. To use ALTER DATABASE, you need the ALTER privilege\non the database. ALTER SCHEMA is a synonym for ALTER DATABASE.\n\nThe database name can be omitted from the first syntax, in which case\nthe statement applies to the default database.\n\nNational Language Characteristics\n\nThe CHARACTER SET clause changes the default database character set.\nThe COLLATE clause changes the default database collation.\nhttp://dev.mysql.com/doc/refman/5.7/en/charset.html, discusses\ncharacter set and collation names.\n\nYou can see what character sets and collations are available using,\nrespectively, the SHOW CHARACTER SET and SHOW COLLATION statements. See\n[HELP SHOW CHARACTER SET], and [HELP SHOW COLLATION], for more\ninformation.\n\nIf you change the default character set or collation for a database,\nstored routines that use the database defaults must be dropped and\nrecreated so that they use the new defaults. (In a stored routine,\nvariables with character data types use the database defaults if the\ncharacter set or collation are not specified explicitly. See [HELP\nCREATE PROCEDURE].)\n\nUpgrading from Versions Older than MySQL 5.1\n\nThe syntax that includes the UPGRADE DATA DIRECTORY NAME clause updates\nthe name of the directory associated with the database to use the\nencoding implemented in MySQL 5.1 for mapping database names to\ndatabase directory names (see\nhttp://dev.mysql.com/doc/refman/5.7/en/identifier-mapping.html). This\nclause is for use under these conditions:\n\no It is intended when upgrading MySQL to 5.1 or later from older\n versions.\n\no It is intended to update a database directory name to the current\n encoding format if the name contains special characters that need\n encoding.\n\no The statement is used by mysqlcheck (as invoked by mysql_upgrade).\n\nFor example, if a database in MySQL 5.0 has the name a-b-c, the name\ncontains instances of the - (dash) character. In MySQL 5.0, the\ndatabase directory is also named a-b-c, which is not necessarily safe\nfor all file systems. In MySQL 5.1 and later, the same database name is\nencoded as a@002db@002dc to produce a file system-neutral directory\nname.\n\nWhen a MySQL installation is upgraded to MySQL 5.1 or later from an\nolder version,the server displays a name such as a-b-c (which is in the\nold format) as #mysql50#a-b-c, and you must refer to the name using the\n#mysql50# prefix. Use UPGRADE DATA DIRECTORY NAME in this case to\nexplicitly tell the server to re-encode the database directory name to\nthe current encoding format:\n\nALTER DATABASE `#mysql50#a-b-c` UPGRADE DATA DIRECTORY NAME;\n\nAfter executing this statement, you can refer to the database as a-b-c\nwithout the special #mysql50# prefix.\n\n*Note*:\n\nThe UPGRADE DATA DIRECTORY NAME clause is deprecated in MySQL 5.7.6 and\nwill be removed in a future version of MySQL. If it is necessary to\nconvert MySQL 5.0 database or table names, a workaround is to upgrade a\nMySQL 5.0 installation to MySQL 5.1 before upgrading to a more recent\nrelease.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/alter-database.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/alter-database.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (133,7,'JSON_ARRAY','Syntax:\nJSON_ARRAY([val[, val] ...])\n\nEvaluates a (possibly empty) list of values and returns a JSON array\ncontaining those values.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/json-creation-functions.html\n\n','mysql> SELECT JSON_ARRAY(1, "abc", NULL, TRUE, CURTIME());\n+---------------------------------------------+\n| JSON_ARRAY(1, "abc", NULL, TRUE, CURTIME()) |\n+---------------------------------------------+\n| [1, "abc", null, true, "11:30:24.000000"] |\n+---------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/json-creation-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (134,26,'GEOMETRYN','GeometryN(gc, N)\n\nST_GeometryN() and GeometryN() are synonyms. For more information, see\nthe description of ST_GeometryN().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-geometrycollection-property-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-geometrycollection-property-functions.html'); @@ -235,7 +235,7 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (154,32,'CURRENT_TIME','Syntax:\nCURRENT_TIME, CURRENT_TIME([fsp])\n\nCURRENT_TIME and CURRENT_TIME() are synonyms for CURTIME().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (155,4,'WKT DEFINITION','The Well-Known Text (WKT) representation of geometry values is designed\nfor exchanging geometry data in ASCII form. The OpenGIS specification\nprovides a Backus-Naur grammar that specifies the formal production\nrules for writing WKT values (see\nhttp://dev.mysql.com/doc/refman/5.7/en/spatial-types.html).\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-data-formats.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-data-formats.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (156,11,'ST_Y','ST_Y(p)\n\nReturns the Y-coordinate value for the Point object p as a\ndouble-precision number.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-point-property-functions.html\n\n','mysql> SELECT ST_Y(Point(56.7, 53.34));\n+--------------------------+\n| ST_Y(Point(56.7, 53.34)) |\n+--------------------------+\n| 53.34 |\n+--------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/gis-point-property-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (157,10,'REVOKE','Syntax:\nREVOKE\n priv_type [(column_list)]\n [, priv_type [(column_list)]] ...\n ON [object_type] priv_level\n FROM user [, user] ...\n\nREVOKE ALL [PRIVILEGES], GRANT OPTION\n FROM user [, user] ...\n\nREVOKE PROXY ON user\n FROM user [, user] ...\n\nThe REVOKE statement enables system administrators to revoke privileges\nfrom MySQL accounts.\n\nWhen the read_only system variable is enabled, REVOKE requires the\nSUPER privilege in addition to any other required privileges described\nin the following discussion.\n\nEach account name uses the format described in\nhttp://dev.mysql.com/doc/refman/5.7/en/account-names.html. For example:\n\nREVOKE INSERT ON *.* FROM \'jeffrey\'@\'localhost\';\n\nThe host name part of the account name, if omitted, defaults to \'%\'.\n\nFor details on the levels at which privileges exist, the permissible\npriv_type, priv_level, and object_type values, and the syntax for\nspecifying users and passwords, see [HELP GRANT]\n\nTo use the first REVOKE syntax, you must have the GRANT OPTION\nprivilege, and you must have the privileges that you are revoking.\n\nTo revoke all privileges, use the second syntax, which drops all\nglobal, database, table, column, and routine privileges for the named\nuser or users:\n\nREVOKE ALL PRIVILEGES, GRANT OPTION FROM user [, user] ...\n\nTo use this REVOKE syntax, you must have the global CREATE USER\nprivilege, or the UPDATE privilege for the mysql database.\n\nUser accounts from which privileges are to be revoked must exist.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/revoke.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/revoke.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (157,10,'REVOKE','Syntax:\nREVOKE\n priv_type [(column_list)]\n [, priv_type [(column_list)]] ...\n ON [object_type] priv_level\n FROM user [, user] ...\n\nREVOKE ALL [PRIVILEGES], GRANT OPTION\n FROM user [, user] ...\n\nREVOKE PROXY ON user\n FROM user [, user] ...\n\nThe REVOKE statement enables system administrators to revoke privileges\nfrom MySQL accounts.\n\nWhen the read_only system variable is enabled, REVOKE requires the\nSUPER privilege in addition to any other required privileges described\nin the following discussion.\n\nEach account name uses the format described in\nhttp://dev.mysql.com/doc/refman/5.7/en/account-names.html. For example:\n\nREVOKE INSERT ON *.* FROM \'jeffrey\'@\'localhost\';\n\nThe host name part of the account name, if omitted, defaults to \'%\'.\n\nFor details on the levels at which privileges exist, the permissible\npriv_type, priv_level, and object_type values, and the syntax for\nspecifying users and passwords, see [HELP GRANT].\n\nTo use the first REVOKE syntax, you must have the GRANT OPTION\nprivilege, and you must have the privileges that you are revoking.\n\nTo revoke all privileges, use the second syntax, which drops all\nglobal, database, table, column, and routine privileges for the named\nuser or users:\n\nREVOKE ALL PRIVILEGES, GRANT OPTION FROM user [, user] ...\n\nTo use this REVOKE syntax, you must have the global CREATE USER\nprivilege, or the UPDATE privilege for the mysql system database.\n\nUser accounts from which privileges are to be revoked must exist.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/revoke.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/revoke.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (158,32,'LAST_DAY','Syntax:\nLAST_DAY(date)\n\nTakes a date or datetime value and returns the corresponding value for\nthe last day of the month. Returns NULL if the argument is invalid.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT LAST_DAY(\'2003-02-05\');\n -> \'2003-02-28\'\nmysql> SELECT LAST_DAY(\'2004-02-05\');\n -> \'2004-02-29\'\nmysql> SELECT LAST_DAY(\'2004-01-01 01:01:01\');\n -> \'2004-01-31\'\nmysql> SELECT LAST_DAY(\'2003-03-32\');\n -> NULL\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (159,23,'MEDIUMINT','MEDIUMINT[(M)] [UNSIGNED] [ZEROFILL]\n\nA medium-sized integer. The signed range is -8388608 to 8388607. The\nunsigned range is 0 to 16777215.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/numeric-type-overview.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/numeric-type-overview.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (160,12,'RANDOM_BYTES','Syntax:\nRANDOM_BYTES(len)\n\nThis function returns a binary string of len random bytes generated\nusing the random number generator of the SSL library. Permitted values\nof len range from 1 to 1024. For values outside that range,\nRANDOM_BYTES() generates a warning and returns NULL.\n\nRANDOM_BYTES() can be used to provide the initialization vector for the\nAES_DECRYPT() and AES_ENCRYPT() functions. For use in that context, len\nmust be at least 16. Larger values are permitted, but bytes in excess\nof 16 are ignored.\n\nRANDOM_BYTES() generates a random value, which makes its result\nnondeterministic. Consequently, statements that use this function are\nunsafe for statement-based replication and cannot be stored in the\nquery cache.\n\nThis function is available as of MySQL 5.7.4.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html'); @@ -265,17 +265,17 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (184,13,'POINTN','PointN(ls, N)\n\nST_PointN() and PointN() are synonyms. For more information, see the\ndescription of ST_PointN().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-linestring-property-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-linestring-property-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (185,38,'OCT','Syntax:\nOCT(N)\n\nReturns a string representation of the octal value of N, where N is a\nlonglong (BIGINT) number. This is equivalent to CONV(N,10,8). Returns\nNULL if N is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-functions.html\n\n','mysql> SELECT OCT(12);\n -> \'14\'\n','http://dev.mysql.com/doc/refman/5.7/en/string-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (186,32,'SYSDATE','Syntax:\nSYSDATE([fsp])\n\nReturns the current date and time as a value in \'YYYY-MM-DD HH:MM:SS\'\nor YYYYMMDDHHMMSS format, depending on whether the function is used in\na string or numeric context.\n\nIf the fsp argument is given to specify a fractional seconds precision\nfrom 0 to 6, the return value includes a fractional seconds part of\nthat many digits.\n\nSYSDATE() returns the time at which it executes. This differs from the\nbehavior for NOW(), which returns a constant time that indicates the\ntime at which the statement began to execute. (Within a stored function\nor trigger, NOW() returns the time at which the function or triggering\nstatement began to execute.)\n\nmysql> SELECT NOW(), SLEEP(2), NOW();\n+---------------------+----------+---------------------+\n| NOW() | SLEEP(2) | NOW() |\n+---------------------+----------+---------------------+\n| 2006-04-12 13:47:36 | 0 | 2006-04-12 13:47:36 |\n+---------------------+----------+---------------------+\n\nmysql> SELECT SYSDATE(), SLEEP(2), SYSDATE();\n+---------------------+----------+---------------------+\n| SYSDATE() | SLEEP(2) | SYSDATE() |\n+---------------------+----------+---------------------+\n| 2006-04-12 13:47:44 | 0 | 2006-04-12 13:47:46 |\n+---------------------+----------+---------------------+\n\nIn addition, the SET TIMESTAMP statement affects the value returned by\nNOW() but not by SYSDATE(). This means that timestamp settings in the\nbinary log have no effect on invocations of SYSDATE().\n\nBecause SYSDATE() can return different values even within the same\nstatement, and is not affected by SET TIMESTAMP, it is nondeterministic\nand therefore unsafe for replication if statement-based binary logging\nis used. If that is a problem, you can use row-based logging.\n\nAlternatively, you can use the --sysdate-is-now option to cause\nSYSDATE() to be an alias for NOW(). This works if the option is used on\nboth the master and the slave.\n\nThe nondeterministic nature of SYSDATE() also means that indexes cannot\nbe used for evaluating expressions that refer to it.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (187,5,'UNINSTALL PLUGIN','Syntax:\nUNINSTALL PLUGIN plugin_name\n\nThis statement removes an installed server plugin. It requires the\nDELETE privilege for the mysql.plugin system table. UNINSTALL PLUGIN is\nthe complement of INSTALL PLUGIN.\n\nplugin_name must be the name of some plugin that is listed in the\nmysql.plugin table. The server executes the plugin\'s deinitialization\nfunction and removes the row for the plugin from the mysql.plugin\ntable, so that subsequent server restarts will not load and initialize\nthe plugin. UNINSTALL PLUGIN does not remove the plugin\'s shared\nlibrary file.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/uninstall-plugin.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/uninstall-plugin.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (187,5,'UNINSTALL PLUGIN','Syntax:\nUNINSTALL PLUGIN plugin_name\n\nThis statement removes an installed server plugin. It requires the\nDELETE privilege for the mysql.plugin system table. UNINSTALL PLUGIN is\nthe complement of INSTALL PLUGIN.\n\nplugin_name must be the name of some plugin that is listed in the\nmysql.plugin table. The server executes the plugin\'s deinitialization\nfunction and removes the row for the plugin from the mysql.plugin\nsystem table, so that subsequent server restarts will not load and\ninitialize the plugin. UNINSTALL PLUGIN does not remove the plugin\'s\nshared library file.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/uninstall-plugin.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/uninstall-plugin.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (188,33,'ASBINARY','AsBinary(g), AsWKB(g)\n\nST_AsBinary(), ST_AsWKB(), AsBinary(), and AsWKB() are synonyms. For\nmore information, see the description of ST_AsBinary().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-format-conversion-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-format-conversion-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (189,33,'ST_MLINEFROMWKB','ST_MLineFromWKB(wkb[, srid]), ST_MultiLineStringFromWKB(wkb[, srid])\n\nConstructs a MultiLineString value using its WKB representation and\nSRID.\n\nThe result is NULL if the WKB or SRID argument is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (190,27,'SHOW TABLES','Syntax:\nSHOW [FULL] TABLES\n [{FROM | IN} db_name]\n [LIKE \'pattern\' | WHERE expr]\n\nSHOW TABLES lists the non-TEMPORARY tables in a given database. You can\nalso get this list using the mysqlshow db_name command. The LIKE\nclause, if present, indicates which table names to match. The WHERE\nclause can be given to select rows using more general conditions, as\ndiscussed in http://dev.mysql.com/doc/refman/5.7/en/extended-show.html.\n\nMatching performed by the LIKE clause is dependent on the setting of\nthe lower_case_table_names system variable.\n\nThis statement also lists any views in the database. The optional FULL\nmodifier causes SHOW TABLES to display a second output column with\nvalues of BASE TABLE for a table and VIEW for a view.\n\nIf you have no privileges for a base table or view, it does not show up\nin the output from SHOW TABLES or mysqlshow db_name.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-tables.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-tables.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (190,27,'SHOW TABLES','Syntax:\nSHOW [FULL] TABLES\n [{FROM | IN} db_name]\n [LIKE \'pattern\' | WHERE expr]\n\nSHOW TABLES lists the non-TEMPORARY tables in a given database. You can\nalso get this list using the mysqlshow db_name command. The LIKE\nclause, if present, indicates which table names to match. The WHERE\nclause can be given to select rows using more general conditions, as\ndiscussed in http://dev.mysql.com/doc/refman/5.7/en/extended-show.html.\n\nMatching performed by the LIKE clause is dependent on the setting of\nthe lower_case_table_names system variable.\n\nThis statement also lists any views in the database. The optional FULL\nmodifier causes SHOW TABLES to display a second output column with\nvalues of BASE TABLE for a table, VIEW for a view, or SYSTEM VIEW for\nan INFORMATION_SCHEMA table.\n\nIf you have no privileges for a base table or view, it does not show up\nin the output from SHOW TABLES or mysqlshow db_name.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-tables.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-tables.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (191,32,'MAKEDATE','Syntax:\nMAKEDATE(year,dayofyear)\n\nReturns a date, given year and day-of-year values. dayofyear must be\ngreater than 0 or the result is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT MAKEDATE(2011,31), MAKEDATE(2011,32);\n -> \'2011-01-31\', \'2011-02-01\'\nmysql> SELECT MAKEDATE(2011,365), MAKEDATE(2014,365);\n -> \'2011-12-31\', \'2014-12-31\'\nmysql> SELECT MAKEDATE(2011,0);\n -> NULL\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (192,38,'BINARY OPERATOR','Syntax:\nBINARY expr\n\nThe BINARY operator converts the expression to a binary string. A\ncommon use for BINARY is to force a character string comparison to be\ndone byte by byte rather than character by character, in effect\nbecoming case-sensitive. The BINARY operator also causes trailing\nspaces in comparisons to be significant.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/cast-functions.html\n\n','mysql> SELECT \'a\' = \'A\';\n -> 1\nmysql> SELECT BINARY \'a\' = \'A\';\n -> 0\nmysql> SELECT \'a\' = \'a \';\n -> 1\nmysql> SELECT BINARY \'a\' = \'a \';\n -> 0\n','http://dev.mysql.com/doc/refman/5.7/en/cast-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (193,7,'MBROVERLAPS','MBROverlaps(g1, g2)\n\nTwo geometries spatially overlap if they intersect and their\nintersection results in a geometry of the same dimension but not equal\nto either of the given geometries.\n\nThis function returns 1 or 0 to indicate whether the minimum bounding\nrectangles of the two geometries g1 and g2 overlap.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-mbr.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-mbr.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (194,33,'ST_LINEFROMWKB','ST_LineFromWKB(wkb[, srid]), ST_LineStringFromWKB(wkb[, srid])\n\nConstructs a LineString value using its WKB representation and SRID.\n\nThe result is NULL if the WKB or SRID argument is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (195,7,'ASYMMETRIC_DERIVE','Syntax:\nASYMMETRIC_DERIVE(pub_key_str, priv_key_str)\n\nDerives a symmetric key using the private key of one party and the\npublic key of another, and returns the resulting key as a binary\nstring. If key derivation fails, the result is NULL.\n\npub_key_str and priv_key_str must be valid key strings in PEM format.\nThey must be created using the DH algorithm.\n\nSuppose that you have two pairs of public and private keys:\n\nSET @dhp = CREATE_DH_PARAMETERS(1024);\nSET @priv1 = CREATE_ASYMMETRIC_PRIV_KEY(\'DH\', @dhp);\nSET @pub1 = CREATE_ASYMMETRIC_PUB_KEY(\'DH\', @priv1);\nSET @priv2 = CREATE_ASYMMETRIC_PRIV_KEY(\'DH\', @dhp);\nSET @pub2 = CREATE_ASYMMETRIC_PUB_KEY(\'DH\', @priv2);\n\nSuppose further that you use the private key from one pair and the\npublic key from the other pair to create a symmetric key string. Then\nthis symmetric key identity relationship holds:\n\nASYMMETRIC_DERIVE(@pub1, @priv2) = ASYMMETRIC_DERIVE(@pub2, @priv1)\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (196,28,'INSERT SELECT','Syntax:\nINSERT [LOW_PRIORITY | HIGH_PRIORITY] [IGNORE]\n [INTO] tbl_name\n [PARTITION (partition_name [, partition_name] ...)]\n [(col_name [, col_name] ...)]\n SELECT ...\n [ON DUPLICATE KEY UPDATE assignment_list]\n\nvalue:\n {expr | DEFAULT}\n\nassignment:\n col_name = value\n\nassignment_list:\n assignment [, assignment] ...\n\nWith INSERT ... SELECT, you can quickly insert many rows into a table\nfrom the result of a SELECT statement, which can select from one or\nmany tables. For example:\n\nINSERT INTO tbl_temp2 (fld_id)\n SELECT tbl_temp1.fld_order_id\n FROM tbl_temp1 WHERE tbl_temp1.fld_order_id > 100;\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/insert-select.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/insert-select.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (197,40,'CREATE PROCEDURE','Syntax:\nCREATE\n [DEFINER = { user | CURRENT_USER }]\n PROCEDURE sp_name ([proc_parameter[,...]])\n [characteristic ...] routine_body\n\nCREATE\n [DEFINER = { user | CURRENT_USER }]\n FUNCTION sp_name ([func_parameter[,...]])\n RETURNS type\n [characteristic ...] routine_body\n\nproc_parameter:\n [ IN | OUT | INOUT ] param_name type\n\nfunc_parameter:\n param_name type\n\ntype:\n Any valid MySQL data type\n\ncharacteristic:\n COMMENT \'string\'\n | LANGUAGE SQL\n | [NOT] DETERMINISTIC\n | { CONTAINS SQL | NO SQL | READS SQL DATA | MODIFIES SQL DATA }\n | SQL SECURITY { DEFINER | INVOKER }\n\nroutine_body:\n Valid SQL routine statement\n\nThese statements create stored routines. By default, a routine is\nassociated with the default database. To associate the routine\nexplicitly with a given database, specify the name as db_name.sp_name\nwhen you create it.\n\nThe CREATE FUNCTION statement is also used in MySQL to support UDFs\n(user-defined functions). See\nhttp://dev.mysql.com/doc/refman/5.7/en/adding-functions.html. A UDF can\nbe regarded as an external stored function. Stored functions share\ntheir namespace with UDFs. See\nhttp://dev.mysql.com/doc/refman/5.7/en/function-resolution.html, for\nthe rules describing how the server interprets references to different\nkinds of functions.\n\nTo invoke a stored procedure, use the CALL statement (see [HELP CALL]).\nTo invoke a stored function, refer to it in an expression. The function\nreturns a value during expression evaluation.\n\nCREATE PROCEDURE and CREATE FUNCTION require the CREATE ROUTINE\nprivilege. They might also require the SUPER privilege, depending on\nthe DEFINER value, as described later in this section. If binary\nlogging is enabled, CREATE FUNCTION might require the SUPER privilege,\nas described in\nhttp://dev.mysql.com/doc/refman/5.7/en/stored-programs-logging.html.\n\nBy default, MySQL automatically grants the ALTER ROUTINE and EXECUTE\nprivileges to the routine creator. This behavior can be changed by\ndisabling the automatic_sp_privileges system variable. See\nhttp://dev.mysql.com/doc/refman/5.7/en/stored-routines-privileges.html.\n\nThe DEFINER and SQL SECURITY clauses specify the security context to be\nused when checking access privileges at routine execution time, as\ndescribed later in this section.\n\nIf the routine name is the same as the name of a built-in SQL function,\na syntax error occurs unless you use a space between the name and the\nfollowing parenthesis when defining the routine or invoking it later.\nFor this reason, avoid using the names of existing SQL functions for\nyour own stored routines.\n\nThe IGNORE_SPACE SQL mode applies to built-in functions, not to stored\nroutines. It is always permissible to have spaces after a stored\nroutine name, regardless of whether IGNORE_SPACE is enabled.\n\nThe parameter list enclosed within parentheses must always be present.\nIf there are no parameters, an empty parameter list of () should be\nused. Parameter names are not case sensitive.\n\nEach parameter is an IN parameter by default. To specify otherwise for\na parameter, use the keyword OUT or INOUT before the parameter name.\n\n*Note*:\n\nSpecifying a parameter as IN, OUT, or INOUT is valid only for a\nPROCEDURE. For a FUNCTION, parameters are always regarded as IN\nparameters.\n\nAn IN parameter passes a value into a procedure. The procedure might\nmodify the value, but the modification is not visible to the caller\nwhen the procedure returns. An OUT parameter passes a value from the\nprocedure back to the caller. Its initial value is NULL within the\nprocedure, and its value is visible to the caller when the procedure\nreturns. An INOUT parameter is initialized by the caller, can be\nmodified by the procedure, and any change made by the procedure is\nvisible to the caller when the procedure returns.\n\nFor each OUT or INOUT parameter, pass a user-defined variable in the\nCALL statement that invokes the procedure so that you can obtain its\nvalue when the procedure returns. If you are calling the procedure from\nwithin another stored procedure or function, you can also pass a\nroutine parameter or local routine variable as an IN or INOUT\nparameter.\n\nRoutine parameters cannot be referenced in statements prepared within\nthe routine; see\nhttp://dev.mysql.com/doc/refman/5.7/en/stored-program-restrictions.html\n.\n\nThe following example shows a simple stored procedure that uses an OUT\nparameter:\n\nmysql> delimiter //\n\nmysql> CREATE PROCEDURE simpleproc (OUT param1 INT)\n -> BEGIN\n -> SELECT COUNT(*) INTO param1 FROM t;\n -> END//\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> delimiter ;\n\nmysql> CALL simpleproc(@a);\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> SELECT @a;\n+------+\n| @a |\n+------+\n| 3 |\n+------+\n1 row in set (0.00 sec)\n\nThe example uses the mysql client delimiter command to change the\nstatement delimiter from ; to // while the procedure is being defined.\nThis enables the ; delimiter used in the procedure body to be passed\nthrough to the server rather than being interpreted by mysql itself.\nSee\nhttp://dev.mysql.com/doc/refman/5.7/en/stored-programs-defining.html.\n\nThe RETURNS clause may be specified only for a FUNCTION, for which it\nis mandatory. It indicates the return type of the function, and the\nfunction body must contain a RETURN value statement. If the RETURN\nstatement returns a value of a different type, the value is coerced to\nthe proper type. For example, if a function specifies an ENUM or SET\nvalue in the RETURNS clause, but the RETURN statement returns an\ninteger, the value returned from the function is the string for the\ncorresponding ENUM member of set of SET members.\n\nThe following example function takes a parameter, performs an operation\nusing an SQL function, and returns the result. In this case, it is\nunnecessary to use delimiter because the function definition contains\nno internal ; statement delimiters:\n\nmysql> CREATE FUNCTION hello (s CHAR(20))\nmysql> RETURNS CHAR(50) DETERMINISTIC\n -> RETURN CONCAT(\'Hello, \',s,\'!\');\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> SELECT hello(\'world\');\n+----------------+\n| hello(\'world\') |\n+----------------+\n| Hello, world! |\n+----------------+\n1 row in set (0.00 sec)\n\nParameter types and function return types can be declared to use any\nvalid data type. The COLLATE attribute can be used if preceded by the\nCHARACTER SET attribute.\n\nThe routine_body consists of a valid SQL routine statement. This can be\na simple statement such as SELECT or INSERT, or a compound statement\nwritten using BEGIN and END. Compound statements can contain\ndeclarations, loops, and other control structure statements. The syntax\nfor these statements is described in\nhttp://dev.mysql.com/doc/refman/5.7/en/sql-syntax-compound-statements.h\ntml.\n\nMySQL permits routines to contain DDL statements, such as CREATE and\nDROP. MySQL also permits stored procedures (but not stored functions)\nto contain SQL transaction statements such as COMMIT. Stored functions\nmay not contain statements that perform explicit or implicit commit or\nrollback. Support for these statements is not required by the SQL\nstandard, which states that each DBMS vendor may decide whether to\npermit them.\n\nStatements that return a result set can be used within a stored\nprocedure but not within a stored function. This prohibition includes\nSELECT statements that do not have an INTO var_list clause and other\nstatements such as SHOW, EXPLAIN, and CHECK TABLE. For statements that\ncan be determined at function definition time to return a result set, a\nNot allowed to return a result set from a function error occurs\n(ER_SP_NO_RETSET). For statements that can be determined only at\nruntime to return a result set, a PROCEDURE %s can\'t return a result\nset in the given context error occurs (ER_SP_BADSELECT).\n\nUSE statements within stored routines are not permitted. When a routine\nis invoked, an implicit USE db_name is performed (and undone when the\nroutine terminates). The causes the routine to have the given default\ndatabase while it executes. References to objects in databases other\nthan the routine default database should be qualified with the\nappropriate database name.\n\nFor additional information about statements that are not permitted in\nstored routines, see\nhttp://dev.mysql.com/doc/refman/5.7/en/stored-program-restrictions.html\n.\n\nFor information about invoking stored procedures from within programs\nwritten in a language that has a MySQL interface, see [HELP CALL].\n\nMySQL stores the sql_mode system variable setting in effect when a\nroutine is created or altered, and always executes the routine with\nthis setting in force, regardless of the current server SQL mode when\nthe routine begins executing.\n\nThe switch from the SQL mode of the invoker to that of the routine\noccurs after evaluation of arguments and assignment of the resulting\nvalues to routine parameters. If you define a routine in strict SQL\nmode but invoke it in nonstrict mode, assignment of arguments to\nroutine parameters does not take place in strict mode. If you require\nthat expressions passed to a routine be assigned in strict SQL mode,\nyou should invoke the routine with strict mode in effect.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-procedure.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/create-procedure.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (197,40,'CREATE PROCEDURE','Syntax:\nCREATE\n [DEFINER = { user | CURRENT_USER }]\n PROCEDURE sp_name ([proc_parameter[,...]])\n [characteristic ...] routine_body\n\nCREATE\n [DEFINER = { user | CURRENT_USER }]\n FUNCTION sp_name ([func_parameter[,...]])\n RETURNS type\n [characteristic ...] routine_body\n\nproc_parameter:\n [ IN | OUT | INOUT ] param_name type\n\nfunc_parameter:\n param_name type\n\ntype:\n Any valid MySQL data type\n\ncharacteristic:\n COMMENT \'string\'\n | LANGUAGE SQL\n | [NOT] DETERMINISTIC\n | { CONTAINS SQL | NO SQL | READS SQL DATA | MODIFIES SQL DATA }\n | SQL SECURITY { DEFINER | INVOKER }\n\nroutine_body:\n Valid SQL routine statement\n\nThese statements create stored routines. By default, a routine is\nassociated with the default database. To associate the routine\nexplicitly with a given database, specify the name as db_name.sp_name\nwhen you create it.\n\nThe CREATE FUNCTION statement is also used in MySQL to support UDFs\n(user-defined functions). See\nhttp://dev.mysql.com/doc/refman/5.7/en/adding-functions.html. A UDF can\nbe regarded as an external stored function. Stored functions share\ntheir namespace with UDFs. See\nhttp://dev.mysql.com/doc/refman/5.7/en/function-resolution.html, for\nthe rules describing how the server interprets references to different\nkinds of functions.\n\nTo invoke a stored procedure, use the CALL statement (see [HELP CALL]).\nTo invoke a stored function, refer to it in an expression. The function\nreturns a value during expression evaluation.\n\nCREATE PROCEDURE and CREATE FUNCTION require the CREATE ROUTINE\nprivilege. They might also require the SUPER privilege, depending on\nthe DEFINER value, as described later in this section. If binary\nlogging is enabled, CREATE FUNCTION might require the SUPER privilege,\nas described in\nhttp://dev.mysql.com/doc/refman/5.7/en/stored-programs-logging.html.\n\nBy default, MySQL automatically grants the ALTER ROUTINE and EXECUTE\nprivileges to the routine creator. This behavior can be changed by\ndisabling the automatic_sp_privileges system variable. See\nhttp://dev.mysql.com/doc/refman/5.7/en/stored-routines-privileges.html.\n\nThe DEFINER and SQL SECURITY clauses specify the security context to be\nused when checking access privileges at routine execution time, as\ndescribed later in this section.\n\nIf the routine name is the same as the name of a built-in SQL function,\na syntax error occurs unless you use a space between the name and the\nfollowing parenthesis when defining the routine or invoking it later.\nFor this reason, avoid using the names of existing SQL functions for\nyour own stored routines.\n\nThe IGNORE_SPACE SQL mode applies to built-in functions, not to stored\nroutines. It is always permissible to have spaces after a stored\nroutine name, regardless of whether IGNORE_SPACE is enabled.\n\nThe parameter list enclosed within parentheses must always be present.\nIf there are no parameters, an empty parameter list of () should be\nused. Parameter names are not case sensitive.\n\nEach parameter is an IN parameter by default. To specify otherwise for\na parameter, use the keyword OUT or INOUT before the parameter name.\n\n*Note*:\n\nSpecifying a parameter as IN, OUT, or INOUT is valid only for a\nPROCEDURE. For a FUNCTION, parameters are always regarded as IN\nparameters.\n\nAn IN parameter passes a value into a procedure. The procedure might\nmodify the value, but the modification is not visible to the caller\nwhen the procedure returns. An OUT parameter passes a value from the\nprocedure back to the caller. Its initial value is NULL within the\nprocedure, and its value is visible to the caller when the procedure\nreturns. An INOUT parameter is initialized by the caller, can be\nmodified by the procedure, and any change made by the procedure is\nvisible to the caller when the procedure returns.\n\nFor each OUT or INOUT parameter, pass a user-defined variable in the\nCALL statement that invokes the procedure so that you can obtain its\nvalue when the procedure returns. If you are calling the procedure from\nwithin another stored procedure or function, you can also pass a\nroutine parameter or local routine variable as an OUT or INOUT\nparameter. If you are calling the procedure from within a trigger, you\ncan also pass NEW.col_name as an OUT or INOUT parameter.\n\nRoutine parameters cannot be referenced in statements prepared within\nthe routine; see\nhttp://dev.mysql.com/doc/refman/5.7/en/stored-program-restrictions.html\n.\n\nThe following example shows a simple stored procedure that uses an OUT\nparameter:\n\nmysql> delimiter //\n\nmysql> CREATE PROCEDURE simpleproc (OUT param1 INT)\n -> BEGIN\n -> SELECT COUNT(*) INTO param1 FROM t;\n -> END//\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> delimiter ;\n\nmysql> CALL simpleproc(@a);\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> SELECT @a;\n+------+\n| @a |\n+------+\n| 3 |\n+------+\n1 row in set (0.00 sec)\n\nThe example uses the mysql client delimiter command to change the\nstatement delimiter from ; to // while the procedure is being defined.\nThis enables the ; delimiter used in the procedure body to be passed\nthrough to the server rather than being interpreted by mysql itself.\nSee\nhttp://dev.mysql.com/doc/refman/5.7/en/stored-programs-defining.html.\n\nThe RETURNS clause may be specified only for a FUNCTION, for which it\nis mandatory. It indicates the return type of the function, and the\nfunction body must contain a RETURN value statement. If the RETURN\nstatement returns a value of a different type, the value is coerced to\nthe proper type. For example, if a function specifies an ENUM or SET\nvalue in the RETURNS clause, but the RETURN statement returns an\ninteger, the value returned from the function is the string for the\ncorresponding ENUM member of set of SET members.\n\nThe following example function takes a parameter, performs an operation\nusing an SQL function, and returns the result. In this case, it is\nunnecessary to use delimiter because the function definition contains\nno internal ; statement delimiters:\n\nmysql> CREATE FUNCTION hello (s CHAR(20))\nmysql> RETURNS CHAR(50) DETERMINISTIC\n -> RETURN CONCAT(\'Hello, \',s,\'!\');\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> SELECT hello(\'world\');\n+----------------+\n| hello(\'world\') |\n+----------------+\n| Hello, world! |\n+----------------+\n1 row in set (0.00 sec)\n\nParameter types and function return types can be declared to use any\nvalid data type. The COLLATE attribute can be used if preceded by the\nCHARACTER SET attribute.\n\nThe routine_body consists of a valid SQL routine statement. This can be\na simple statement such as SELECT or INSERT, or a compound statement\nwritten using BEGIN and END. Compound statements can contain\ndeclarations, loops, and other control structure statements. The syntax\nfor these statements is described in\nhttp://dev.mysql.com/doc/refman/5.7/en/sql-syntax-compound-statements.h\ntml.\n\nMySQL permits routines to contain DDL statements, such as CREATE and\nDROP. MySQL also permits stored procedures (but not stored functions)\nto contain SQL transaction statements such as COMMIT. Stored functions\nmay not contain statements that perform explicit or implicit commit or\nrollback. Support for these statements is not required by the SQL\nstandard, which states that each DBMS vendor may decide whether to\npermit them.\n\nStatements that return a result set can be used within a stored\nprocedure but not within a stored function. This prohibition includes\nSELECT statements that do not have an INTO var_list clause and other\nstatements such as SHOW, EXPLAIN, and CHECK TABLE. For statements that\ncan be determined at function definition time to return a result set, a\nNot allowed to return a result set from a function error occurs\n(ER_SP_NO_RETSET). For statements that can be determined only at\nruntime to return a result set, a PROCEDURE %s can\'t return a result\nset in the given context error occurs (ER_SP_BADSELECT).\n\nUSE statements within stored routines are not permitted. When a routine\nis invoked, an implicit USE db_name is performed (and undone when the\nroutine terminates). The causes the routine to have the given default\ndatabase while it executes. References to objects in databases other\nthan the routine default database should be qualified with the\nappropriate database name.\n\nFor additional information about statements that are not permitted in\nstored routines, see\nhttp://dev.mysql.com/doc/refman/5.7/en/stored-program-restrictions.html\n.\n\nFor information about invoking stored procedures from within programs\nwritten in a language that has a MySQL interface, see [HELP CALL].\n\nMySQL stores the sql_mode system variable setting in effect when a\nroutine is created or altered, and always executes the routine with\nthis setting in force, regardless of the current server SQL mode when\nthe routine begins executing.\n\nThe switch from the SQL mode of the invoker to that of the routine\noccurs after evaluation of arguments and assignment of the resulting\nvalues to routine parameters. If you define a routine in strict SQL\nmode but invoke it in nonstrict mode, assignment of arguments to\nroutine parameters does not take place in strict mode. If you require\nthat expressions passed to a routine be assigned in strict SQL mode,\nyou should invoke the routine with strict mode in effect.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-procedure.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/create-procedure.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (198,24,'GET DIAGNOSTICS','Syntax:\nGET [CURRENT | STACKED] DIAGNOSTICS\n{\n statement_information_item\n [, statement_information_item] ...\n | CONDITION condition_number\n condition_information_item\n [, condition_information_item] ...\n}\n\nstatement_information_item:\n target = statement_information_item_name\n\ncondition_information_item:\n target = condition_information_item_name\n\nstatement_information_item_name:\n NUMBER\n | ROW_COUNT\n\ncondition_information_item_name:\n CLASS_ORIGIN\n | SUBCLASS_ORIGIN\n | RETURNED_SQLSTATE\n | MESSAGE_TEXT\n | MYSQL_ERRNO\n | CONSTRAINT_CATALOG\n | CONSTRAINT_SCHEMA\n | CONSTRAINT_NAME\n | CATALOG_NAME\n | SCHEMA_NAME\n | TABLE_NAME\n | COLUMN_NAME\n | CURSOR_NAME\n\ncondition_number, target:\n (see following discussion)\n\nSQL statements produce diagnostic information that populates the\ndiagnostics area. The GET DIAGNOSTICS statement enables applications to\ninspect this information. (You can also use SHOW WARNINGS or SHOW\nERRORS to see conditions or errors.)\n\nNo special privileges are required to execute GET DIAGNOSTICS.\n\nThe keyword CURRENT means to retrieve information from the current\ndiagnostics area. The keyword STACKED means to retrieve information\nfrom the second diagnostics area, which is available only if the\ncurrent context is a condition handler. If neither keyword is given,\nthe default is to use the current diagnostics area.\n\nThe GET DIAGNOSTICS statement is typically used in a handler within a\nstored program. It is a MySQL extension that GET [CURRENT] DIAGNOSTICS\nis permitted outside handler context to check the execution of any SQL\nstatement. For example, if you invoke the mysql client program, you can\nenter these statements at the prompt:\n\nmysql> DROP TABLE test.no_such_table;\nERROR 1051 (42S02): Unknown table \'test.no_such_table\'\nmysql> GET DIAGNOSTICS CONDITION 1\n -> @p1 = RETURNED_SQLSTATE, @p2 = MESSAGE_TEXT;\nmysql> SELECT @p1, @p2;\n+-------+------------------------------------+\n| @p1 | @p2 |\n+-------+------------------------------------+\n| 42S02 | Unknown table \'test.no_such_table\' |\n+-------+------------------------------------+\n\nThis extension applies only to the current diagnostics area. It does\nnot apply to the second diagnostics area because GET STACKED\nDIAGNOSTICS is permitted only if the current context is a condition\nhandler. If that is not the case, a GET STACKED DIAGNOSTICS when\nhandler not active error occurs.\n\nFor a description of the diagnostics area, see\nhttp://dev.mysql.com/doc/refman/5.7/en/diagnostics-area.html. Briefly,\nit contains two kinds of information:\n\no Statement information, such as the number of conditions that occurred\n or the affected-rows count.\n\no Condition information, such as the error code and message. If a\n statement raises multiple conditions, this part of the diagnostics\n area has a condition area for each one. If a statement raises no\n conditions, this part of the diagnostics area is empty.\n\nFor a statement that produces three conditions, the diagnostics area\ncontains statement and condition information like this:\n\nStatement information:\n row count\n ... other statement information items ...\nCondition area list:\n Condition area 1:\n error code for condition 1\n error message for condition 1\n ... other condition information items ...\n Condition area 2:\n error code for condition 2:\n error message for condition 2\n ... other condition information items ...\n Condition area 3:\n error code for condition 3\n error message for condition 3\n ... other condition information items ...\n\nGET DIAGNOSTICS can obtain either statement or condition information,\nbut not both in the same statement:\n\no To obtain statement information, retrieve the desired statement items\n into target variables. This instance of GET DIAGNOSTICS assigns the\n number of available conditions and the rows-affected count to the\n user variables @p1 and @p2:\n\nGET DIAGNOSTICS @p1 = NUMBER, @p2 = ROW_COUNT;\n\no To obtain condition information, specify the condition number and\n retrieve the desired condition items into target variables. This\n instance of GET DIAGNOSTICS assigns the SQLSTATE value and error\n message to the user variables @p3 and @p4:\n\nGET DIAGNOSTICS CONDITION 1\n @p3 = RETURNED_SQLSTATE, @p4 = MESSAGE_TEXT;\n\nThe retrieval list specifies one or more target = item_name\nassignments, separated by commas. Each assignment names a target\nvariable and either a statement_information_item_name or\ncondition_information_item_name designator, depending on whether the\nstatement retrieves statement or condition information.\n\nValid target designators for storing item information can be stored\nprocedure or function parameters, stored program local variables\ndeclared with DECLARE, or user-defined variables.\n\nValid condition_number designators can be stored procedure or function\nparameters, stored program local variables declared with DECLARE,\nuser-defined variables, system variables, or literals. A character\nliteral may include a _charset introducer. A warning occurs if the\ncondition number is not in the range from 1 to the number of condition\nareas that have information. In this case, the warning is added to the\ndiagnostics area without clearing it.\n\nWhen a condition occurs, MySQL does not populate all condition items\nrecognized by GET DIAGNOSTICS. For example:\n\nmysql> GET DIAGNOSTICS CONDITION 1\n -> @p5 = SCHEMA_NAME, @p6 = TABLE_NAME;\nmysql> SELECT @p5, @p6;\n+------+------+\n| @p5 | @p6 |\n+------+------+\n| | |\n+------+------+\n\nIn standard SQL, if there are multiple conditions, the first condition\nrelates to the SQLSTATE value returned for the previous SQL statement.\nIn MySQL, this is not guaranteed. To get the main error, you cannot do\nthis:\n\nGET DIAGNOSTICS CONDITION 1 @errno = MYSQL_ERRNO;\n\nInstead, retrieve the condition count first, then use it to specify\nwhich condition number to inspect:\n\nGET DIAGNOSTICS @cno = NUMBER;\nGET DIAGNOSTICS CONDITION @cno @errno = MYSQL_ERRNO;\n\nFor information about permissible statement and condition information\nitems, and which ones are populated when a condition occurs, see\nhttp://dev.mysql.com/doc/refman/5.7/en/diagnostics-area.html#diagnostic\ns-area-information-items.\n\nHere is an example that uses GET DIAGNOSTICS and an exception handler\nin stored procedure context to assess the outcome of an insert\noperation. If the insert was successful, the procedure uses GET\nDIAGNOSTICS to get the rows-affected count. This shows that you can use\nGET DIAGNOSTICS multiple times to retrieve information about a\nstatement as long as the current diagnostics area has not been cleared.\n\nCREATE PROCEDURE do_insert(value INT)\nBEGIN\n -- Declare variables to hold diagnostics area information\n DECLARE code CHAR(5) DEFAULT \'00000\';\n DECLARE msg TEXT;\n DECLARE rows INT;\n DECLARE result TEXT;\n -- Declare exception handler for failed insert\n DECLARE CONTINUE HANDLER FOR SQLEXCEPTION\n BEGIN\n GET DIAGNOSTICS CONDITION 1\n code = RETURNED_SQLSTATE, msg = MESSAGE_TEXT;\n END;\n\n -- Perform the insert\n INSERT INTO t1 (int_col) VALUES(value);\n -- Check whether the insert was successful\n IF code = \'00000\' THEN\n GET DIAGNOSTICS rows = ROW_COUNT;\n SET result = CONCAT(\'insert succeeded, row count = \',rows);\n ELSE\n SET result = CONCAT(\'insert failed, error = \',code,\', message = \',msg);\n END IF;\n -- Say what happened\n SELECT result;\nEND;\n\nSuppose that t1.int_col is an integer column that is declared as NOT\nNULL. The procedure produces these results when invoked to insert\nnon-NULL and NULL values, respectively:\n\nmysql> CALL do_insert(1);\n+---------------------------------+\n| result |\n+---------------------------------+\n| insert succeeded, row count = 1 |\n+---------------------------------+\n\nmysql> CALL do_insert(NULL);\n+-------------------------------------------------------------------------+\n| result |\n+-------------------------------------------------------------------------+\n| insert failed, error = 23000, message = Column \'int_col\' cannot be null |\n+-------------------------------------------------------------------------+\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/get-diagnostics.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/get-diagnostics.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (199,38,'NOT REGEXP','Syntax:\nexpr NOT REGEXP pat, expr NOT RLIKE pat\n\nThis is the same as NOT (expr REGEXP pat).\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/regexp.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/regexp.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (200,24,'LEAVE','Syntax:\nLEAVE label\n\nThis statement is used to exit the flow control construct that has the\ngiven label. If the label is for the outermost stored program block,\nLEAVE exits the program.\n\nLEAVE can be used within BEGIN ... END or loop constructs (LOOP,\nREPEAT, WHILE).\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/leave.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/leave.html'); @@ -289,21 +289,21 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (208,7,'->>','Syntax:\ncolumn->>path\n\nThis is an improved, unquoting extraction operator available in MySQL\n5.7.13 and later. Whereas the -> operator simply extracts a value, the\n->> operator in addition unquotes the extracted result. In other words,\ngiven a JSON column value column and a path expression path, the\nfollowing three expressions return the same value:\n\no JSON_UNQUOTE( JSON_EXTRACT(column, path) )\n\no JSON_UNQUOTE(column -> path)\n\no column->>path\n\nThe ->> operator can be used wherever JSON_UNQUOTE(JSON_EXTRACT())\nwould be allowed. This includes (but is not limited to) SELECT lists,\nWHERE and HAVING clauses, and ORDER BY and GROUP BY clauses.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/json-search-functions.html\n\n','mysql> SELECT * FROM jemp WHERE g > 2;\n+-------------------------------+------+\n| c | g |\n+-------------------------------+------+\n| {"id": "3", "name": "Barney"} | 3 |\n| {"id": "4", "name": "Betty"} | 4 |\n+-------------------------------+------+\n2 rows in set (0.01 sec)\n\nmysql> SELECT c->\'$.name\' AS name\n -> FROM jemp WHERE g > 2;\n+----------+\n| name |\n+----------+\n| "Barney" |\n| "Betty" |\n+----------+\n2 rows in set (0.00 sec)\n\nmysql> SELECT JSON_UNQUOTE(c->\'$.name\') AS name\n -> FROM jemp WHERE g > 2;\n+--------+\n| name |\n+--------+\n| Barney |\n| Betty |\n+--------+\n2 rows in set (0.00 sec)\n\nmysql> SELECT c->>\'$.name\' AS name\n -> FROM jemp WHERE g > 2;\n+--------+\n| name |\n+--------+\n| Barney |\n| Betty |\n+--------+\n2 rows in set (0.00 sec)\n\nmysql> CREATE TABLE tj10 (a JSON, b INT);\nQuery OK, 0 rows affected (0.26 sec)\n\nmysql> INSERT INTO tj10 VALUES\n -> (\'[3,10,5,"x",44]\', 33),\n -> (\'[3,10,5,17,[22,"y",66]]\', 0);\nQuery OK, 2 rows affected (0.04 sec)\nRecords: 2 Duplicates: 0 Warnings: 0\n\nmysql> SELECT a->"$[3]", a->"$[4][1]" FROM tj10;\n+-----------+--------------+\n| a->"$[3]" | a->"$[4][1]" |\n+-----------+--------------+\n| "x" | NULL |\n| 17 | "y" |\n+-----------+--------------+\n2 rows in set (0.00 sec)\n\nmysql> SELECT a->>"$[3]", a->>"$[4][1]" FROM tj10;\n+------------+---------------+\n| a->>"$[3]" | a->>"$[4][1]" |\n+------------+---------------+\n| x | NULL |\n| 17 | y |\n+------------+---------------+\n2 rows in set (0.00 sec)\n\nmysql> EXPLAIN SELECT c->>\'$.name\' AS name\n -> FROM jemp WHERE g > 2\\G\n*************************** 1. row ***************************\n id: 1\n select_type: SIMPLE\n table: jemp\n partitions: NULL\n type: range\npossible_keys: i\n key: i\n key_len: 5\n ref: NULL\n rows: 2\n filtered: 100.00\n Extra: Using where\n1 row in set, 1 warning (0.00 sec)\n\nmysql> SHOW WARNINGS\\G\n*************************** 1. row ***************************\n Level: Note\n Code: 1003\nMessage: /* select#1 */ select\njson_unquote(json_extract(`jtest`.`jemp`.`c`,\'$.name\')) AS `name` from\n`jtest`.`jemp` where (`jtest`.`jemp`.`g` > 2)\n1 row in set (0.00 sec)\n','http://dev.mysql.com/doc/refman/5.7/en/json-search-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (209,27,'FLUSH','Syntax:\nFLUSH [NO_WRITE_TO_BINLOG | LOCAL] {\n flush_option [, flush_option] ...\n | tables_option\n}\n\nflush_option: {\n BINARY LOGS\n | DES_KEY_FILE\n | ENGINE LOGS\n | ERROR LOGS\n | GENERAL LOGS\n | HOSTS\n | LOGS\n | PRIVILEGES\n | OPTIMIZER_COSTS\n | QUERY CACHE\n | RELAY LOGS [FOR CHANNEL channel]\n | SLOW LOGS\n | STATUS\n | USER_RESOURCES\n}\n\ntables_option: {\n TABLES\n | TABLES tbl_name [, tbl_name] ...\n | TABLES WITH READ LOCK\n | TABLES tbl_name [, tbl_name] ... WITH READ LOCK\n | TABLES tbl_name [, tbl_name] ... FOR EXPORT\n}\n\nThe FLUSH statement has several variant forms that clear or reload\nvarious internal caches, flush tables, or acquire locks. To execute\nFLUSH, you must have the RELOAD privilege. Specific flush options might\nrequire additional privileges, as described later.\n\n*Note*:\n\nIt is not possible to issue FLUSH statements within stored functions or\ntriggers. However, you may use FLUSH in stored procedures, so long as\nthese are not called from stored functions or triggers. See\nhttp://dev.mysql.com/doc/refman/5.7/en/stored-program-restrictions.html\n.\n\nBy default, the server writes FLUSH statements to the binary log so\nthat they replicate to replication slaves. To suppress logging, specify\nthe optional NO_WRITE_TO_BINLOG keyword or its alias LOCAL.\n\n*Note*:\n\nFLUSH LOGS, FLUSH TABLES WITH READ LOCK (with or without a table list),\nand FLUSH TABLES tbl_name ... FOR EXPORT are not written to the binary\nlog in any case because they would cause problems if replicated to a\nslave.\n\nThe FLUSH statement causes an implicit commit. See\nhttp://dev.mysql.com/doc/refman/5.7/en/implicit-commit.html.\n\nThe mysqladmin utility provides a command-line interface to some flush\noperations, using commands such as flush-hosts, flush-logs,\nflush-privileges, flush-status, and flush-tables. See\nhttp://dev.mysql.com/doc/refman/5.7/en/mysqladmin.html.\n\nSending a SIGHUP signal to the server causes several flush operations\nto occur that are similar to various forms of the FLUSH statement. See\nhttp://dev.mysql.com/doc/refman/5.7/en/server-signal-response.html.\n\nThe RESET statement is similar to FLUSH. See [HELP RESET], for\ninformation about using the RESET statement with replication.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/flush.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/flush.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (210,24,'BEGIN END','Syntax:\n[begin_label:] BEGIN\n [statement_list]\nEND [end_label]\n\nBEGIN ... END syntax is used for writing compound statements, which can\nappear within stored programs (stored procedures and functions,\ntriggers, and events). A compound statement can contain multiple\nstatements, enclosed by the BEGIN and END keywords. statement_list\nrepresents a list of one or more statements, each terminated by a\nsemicolon (;) statement delimiter. The statement_list itself is\noptional, so the empty compound statement (BEGIN END) is legal.\n\nBEGIN ... END blocks can be nested.\n\nUse of multiple statements requires that a client is able to send\nstatement strings containing the ; statement delimiter. In the mysql\ncommand-line client, this is handled with the delimiter command.\nChanging the ; end-of-statement delimiter (for example, to //) permit ;\nto be used in a program body. For an example, see\nhttp://dev.mysql.com/doc/refman/5.7/en/stored-programs-defining.html.\n\nA BEGIN ... END block can be labeled. See [HELP labels].\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/begin-end.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/begin-end.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (211,27,'SHOW PROCEDURE STATUS','Syntax:\nSHOW PROCEDURE STATUS\n [LIKE \'pattern\' | WHERE expr]\n\nThis statement is a MySQL extension. It returns characteristics of a\nstored procedure, such as the database, name, type, creator, creation\nand modification dates, and character set information. A similar\nstatement, SHOW FUNCTION STATUS, displays information about stored\nfunctions (see [HELP SHOW FUNCTION STATUS]).\n\nThe LIKE clause, if present, indicates which procedure or function\nnames to match. The WHERE clause can be given to select rows using more\ngeneral conditions, as discussed in\nhttp://dev.mysql.com/doc/refman/5.7/en/extended-show.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-procedure-status.html\n\n','mysql> SHOW PROCEDURE STATUS LIKE \'sp1\'\\G\n*************************** 1. row ***************************\n Db: test\n Name: sp1\n Type: PROCEDURE\n Definer: testuser@localhost\n Modified: 2004-08-03 15:29:37\n Created: 2004-08-03 15:29:37\n Security_type: DEFINER\n Comment:\ncharacter_set_client: latin1\ncollation_connection: latin1_swedish_ci\n Database Collation: latin1_swedish_ci\n','http://dev.mysql.com/doc/refman/5.7/en/show-procedure-status.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (211,27,'SHOW PROCEDURE STATUS','Syntax:\nSHOW PROCEDURE STATUS\n [LIKE \'pattern\' | WHERE expr]\n\nThis statement is a MySQL extension. It returns characteristics of a\nstored procedure, such as the database, name, type, creator, creation\nand modification dates, and character set information. A similar\nstatement, SHOW FUNCTION STATUS, displays information about stored\nfunctions (see [HELP SHOW FUNCTION STATUS]).\n\nThe LIKE clause, if present, indicates which procedure or function\nnames to match. The WHERE clause can be given to select rows using more\ngeneral conditions, as discussed in\nhttp://dev.mysql.com/doc/refman/5.7/en/extended-show.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-procedure-status.html\n\n','mysql> SHOW PROCEDURE STATUS LIKE \'sp1\'\\G\n*************************** 1. row ***************************\n Db: test\n Name: sp1\n Type: PROCEDURE\n Definer: testuser@localhost\n Modified: 2018-08-08 13:54:11\n Created: 2018-08-08 13:54:11\n Security_type: DEFINER\n Comment:\ncharacter_set_client: utf8\ncollation_connection: utf8_general_ci\n Database Collation: latin1_swedish_ci\n','http://dev.mysql.com/doc/refman/5.7/en/show-procedure-status.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (212,16,'STDDEV_POP','Syntax:\nSTDDEV_POP(expr)\n\nReturns the population standard deviation of expr (the square root of\nVAR_POP()). You can also use STD() or STDDEV(), which are equivalent\nbut not standard SQL.\n\nIf there are no matching rows, STDDEV_POP() returns NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/group-by-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/group-by-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (213,27,'SHOW CHARACTER SET','Syntax:\nSHOW CHARACTER SET\n [LIKE \'pattern\' | WHERE expr]\n\nThe SHOW CHARACTER SET statement shows all available character sets.\nThe LIKE clause, if present, indicates which character set names to\nmatch. The WHERE clause can be given to select rows using more general\nconditions, as discussed in\nhttp://dev.mysql.com/doc/refman/5.7/en/extended-show.html. For example:\n\nmysql> SHOW CHARACTER SET LIKE \'latin%\';\n+---------+-----------------------------+-------------------+--------+\n| Charset | Description | Default collation | Maxlen |\n+---------+-----------------------------+-------------------+--------+\n| latin1 | cp1252 West European | latin1_swedish_ci | 1 |\n| latin2 | ISO 8859-2 Central European | latin2_general_ci | 1 |\n| latin5 | ISO 8859-9 Turkish | latin5_turkish_ci | 1 |\n| latin7 | ISO 8859-13 Baltic | latin7_general_ci | 1 |\n+---------+-----------------------------+-------------------+--------+\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-character-set.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-character-set.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (214,16,'JSON_OBJECTAGG','Syntax:\nJSON_OBJECTAGG(key, value)\n\nTakes two column names or expressions as arguments, the first of these\nbeing used as a key and the second as a value, and returns a JSON\nobject containing key-value pairs. Returns NULL if the result contains\nno rows, or in the event of an error. An error occurs if any key name\nis NULL or the number of arguments is not equal to 2.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/group-by-functions.html\n\n','mysql> SELECT o_id, attribute, value FROM t3;\n+------+-----------+-------+\n| o_id | attribute | value |\n+------+-----------+-------+\n| 2 | color | red |\n| 2 | fabric | silk |\n| 3 | color | green |\n| 3 | shape | square|\n+------+-----------+-------+\n4 rows in set (0.00 sec)\n\nmysql> SELECT o_id, JSON_OBJECTAGG(attribute, value) FROM t3 GROUP BY o_id;\n+------+----------------------------------------+\n| o_id | JSON_OBJECTAGG(attribute, name) |\n+------+----------------------------------------+\n| 2 | {"color": "red", "fabric": "silk"} |\n| 3 | {"color": "green", "shape": "square"} |\n+------+----------------------------------------+\n1 row in set (0.00 sec)\n','http://dev.mysql.com/doc/refman/5.7/en/group-by-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (215,7,'INTERSECTS','Intersects(g1, g2)\n\nMBRIntersects() and Intersects() are synonyms. For more information,\nsee the description of MBRIntersects().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-mbr.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-mbr.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (216,24,'LOOP','Syntax:\n[begin_label:] LOOP\n statement_list\nEND LOOP [end_label]\n\nLOOP implements a simple loop construct, enabling repeated execution of\nthe statement list, which consists of one or more statements, each\nterminated by a semicolon (;) statement delimiter. The statements\nwithin the loop are repeated until the loop is terminated. Usually,\nthis is accomplished with a LEAVE statement. Within a stored function,\nRETURN can also be used, which exits the function entirely.\n\nNeglecting to include a loop-termination statement results in an\ninfinite loop.\n\nA LOOP statement can be labeled. For the rules regarding label use, see\n[HELP labels].\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/loop.html\n\n','CREATE PROCEDURE doiterate(p1 INT)\nBEGIN\n label1: LOOP\n SET p1 = p1 + 1;\n IF p1 < 10 THEN\n ITERATE label1;\n END IF;\n LEAVE label1;\n END LOOP label1;\n SET @x = p1;\nEND;\n','http://dev.mysql.com/doc/refman/5.7/en/loop.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (217,20,'GREATEST','Syntax:\nGREATEST(value1,value2,...)\n\nWith two or more arguments, returns the largest (maximum-valued)\nargument. The arguments are compared using the same rules as for\nLEAST().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html\n\n','mysql> SELECT GREATEST(2,0);\n -> 2\nmysql> SELECT GREATEST(34.0,3.0,5.0,767.0);\n -> 767.0\nmysql> SELECT GREATEST(\'B\',\'A\',\'C\');\n -> \'C\'\n','http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (218,40,'ALTER INSTANCE','Syntax:\nALTER INSTANCE ROTATE INNODB MASTER KEY\n\nALTER INSTANCE, introduced in MySQL 5.7.11, defines actions applicable\nto a MySQL server instance.\n\nThe ALTER INSTANCE ROTATE INNODB MASTER KEY statement is used to rotate\nthe master encryption key used for InnoDB tablespace encryption. A\nkeyring plugin must be loaded to use this statement. For information\nabout keyring plugins, see\nhttp://dev.mysql.com/doc/refman/5.7/en/keyring.html. Key rotation\nrequires the SUPER privilege.\n\nALTER INSTANCE ROTATE INNODB MASTER KEY supports concurrent DML.\nHowever, it cannot be run concurrently with CREATE TABLE ... ENCRYPTION\nor ALTER TABLE ... ENCRYPTION operations, and locks are taken to\nprevent conflicts that could arise from concurrent execution of these\nstatements. If one of the conflicting statements is running, it must\ncomplete before another can proceed.\n\nALTER INSTANCE actions are written to the binary log so that they can\nbe executed on replicated servers.\n\nFor additional ALTER INSTANCE ROTATE INNODB MASTER KEY usage\ninformation, see\nhttp://dev.mysql.com/doc/refman/5.7/en/innodb-tablespace-encryption.htm\nl. For information about keyring plugins, see\nhttp://dev.mysql.com/doc/refman/5.7/en/keyring.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/alter-instance.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/alter-instance.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (218,40,'ALTER INSTANCE','Syntax:\nALTER INSTANCE ROTATE INNODB MASTER KEY\n\nALTER INSTANCE, introduced in MySQL 5.7.11, defines actions applicable\nto a MySQL server instance.\n\nThe ALTER INSTANCE ROTATE INNODB MASTER KEY statement is used to rotate\nthe master encryption key used for InnoDB tablespace encryption. A\nkeyring plugin must be installed and configured to use this statement.\nFor information about keyring plugins, see\nhttp://dev.mysql.com/doc/refman/5.7/en/keyring.html. Key rotation\nrequires the SUPER privilege.\n\nALTER INSTANCE ROTATE INNODB MASTER KEY supports concurrent DML.\nHowever, it cannot be run concurrently with CREATE TABLE ... ENCRYPTION\nor ALTER TABLE ... ENCRYPTION operations, and locks are taken to\nprevent conflicts that could arise from concurrent execution of these\nstatements. If one of the conflicting statements is running, it must\ncomplete before another can proceed.\n\nALTER INSTANCE actions are written to the binary log so that they can\nbe executed on replicated servers.\n\nFor additional ALTER INSTANCE ROTATE INNODB MASTER KEY usage\ninformation, see\nhttp://dev.mysql.com/doc/refman/5.7/en/innodb-tablespace-encryption.htm\nl. For information about keyring plugins, see\nhttp://dev.mysql.com/doc/refman/5.7/en/keyring.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/alter-instance.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/alter-instance.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (219,31,'ST_CONTAINS','ST_Contains(g1, g2)\n\nReturns 1 or 0 to indicate whether g1 completely contains g2. This\ntests the opposite relationship as ST_Within().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-object-shapes.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-object-shapes.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (220,16,'BIT_AND','Syntax:\nBIT_AND(expr)\n\nReturns the bitwise AND of all bits in expr. The calculation is\nperformed with 64-bit (BIGINT) precision.\n\nIf there are no matching rows, BIT_AND() returns a neutral value (all\nbits set to 1).\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/group-by-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/group-by-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (221,32,'SECOND','Syntax:\nSECOND(time)\n\nReturns the second for time, in the range 0 to 59.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT SECOND(\'10:05:03\');\n -> 3\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (222,7,'MBRCONTAINS','MBRContains(g1, g2)\n\nReturns 1 or 0 to indicate whether the minimum bounding rectangle of g1\ncontains the minimum bounding rectangle of g2. This tests the opposite\nrelationship as MBRWithin().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-mbr.html\n\n','mysql> SET @g1 = ST_GeomFromText(\'Polygon((0 0,0 3,3 3,3 0,0 0))\');\nmysql> SET @g2 = ST_GeomFromText(\'Point(1 1)\');\nmysql> SELECT MBRContains(@g1,@g2), MBRWithin(@g2,@g1);\n+----------------------+--------------------+\n| MBRContains(@g1,@g2) | MBRWithin(@g2,@g1) |\n+----------------------+--------------------+\n| 1 | 1 |\n+----------------------+--------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-mbr.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (223,14,'RELEASE_ALL_LOCKS','Syntax:\nRELEASE_ALL_LOCKS()\n\nReleases all named locks held by the current session and returns the\nnumber of locks released (0 if there were none)\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (224,3,'COT','Syntax:\nCOT(X)\n\nReturns the cotangent of X.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html\n\n','mysql> SELECT COT(12);\n -> -1.5726734063977\nmysql> SELECT COT(0);\n -> out-of-range error\n','http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (225,27,'SHOW CREATE EVENT','Syntax:\nSHOW CREATE EVENT event_name\n\nThis statement displays the CREATE EVENT statement needed to re-create\na given event. It requires the EVENT privilege for the database from\nwhich the event is to be shown. For example (using the same event\ne_daily defined and then altered in [HELP SHOW EVENTS]):\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-create-event.html\n\n','mysql> SHOW CREATE EVENT test.e_daily\\G\n*************************** 1. row ***************************\n Event: e_daily\n sql_mode:\n time_zone: SYSTEM\n Create Event: CREATE EVENT `e_daily`\n ON SCHEDULE EVERY 1 DAY\n STARTS CURRENT_TIMESTAMP + INTERVAL 6 HOUR\n ON COMPLETION NOT PRESERVE\n ENABLE\n COMMENT \'Saves total number of sessions then\n clears the table each day\'\n DO BEGIN\n INSERT INTO site_activity.totals (time, total)\n SELECT CURRENT_TIMESTAMP, COUNT(*)\n FROM site_activity.sessions;\n DELETE FROM site_activity.sessions;\n END\ncharacter_set_client: latin1\ncollation_connection: latin1_swedish_ci\n Database Collation: latin1_swedish_ci\n','http://dev.mysql.com/doc/refman/5.7/en/show-create-event.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (225,27,'SHOW CREATE EVENT','Syntax:\nSHOW CREATE EVENT event_name\n\nThis statement displays the CREATE EVENT statement needed to re-create\na given event. It requires the EVENT privilege for the database from\nwhich the event is to be shown. For example (using the same event\ne_daily defined and then altered in [HELP SHOW EVENTS]):\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-create-event.html\n\n','mysql> SHOW CREATE EVENT myschema.e_daily\\G\n*************************** 1. row ***************************\n Event: e_daily\n sql_mode: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,\n NO_ZERO_IN_DATE,NO_ZERO_DATE,\n ERROR_FOR_DIVISION_BY_ZERO,\n NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\n time_zone: SYSTEM\n Create Event: CREATE DEFINER=`jon`@`ghidora` EVENT `e_daily`\n ON SCHEDULE EVERY 1 DAY\n STARTS CURRENT_TIMESTAMP + INTERVAL 6 HOUR\n ON COMPLETION NOT PRESERVE\n ENABLE\n COMMENT \'Saves total number of sessions then\n clears the table each day\'\n DO BEGIN\n INSERT INTO site_activity.totals (time, total)\n SELECT CURRENT_TIMESTAMP, COUNT(*)\n FROM site_activity.sessions;\n DELETE FROM site_activity.sessions;\n END\ncharacter_set_client: utf8\ncollation_connection: utf8_general_ci\n Database Collation: latin1_swedish_ci\n','http://dev.mysql.com/doc/refman/5.7/en/show-create-event.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (226,15,'OR','Syntax:\nOR, ||\n\nLogical OR. When both operands are non-NULL, the result is 1 if any\noperand is nonzero, and 0 otherwise. With a NULL operand, the result is\n1 if the other operand is nonzero, and NULL otherwise. If both operands\nare NULL, the result is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/logical-operators.html\n\n','mysql> SELECT 1 OR 1;\n -> 1\nmysql> SELECT 1 OR 0;\n -> 1\nmysql> SELECT 0 OR 0;\n -> 0\nmysql> SELECT 0 OR NULL;\n -> NULL\nmysql> SELECT 1 OR NULL;\n -> 1\n','http://dev.mysql.com/doc/refman/5.7/en/logical-operators.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (227,38,'LOAD_FILE','Syntax:\nLOAD_FILE(file_name)\n\nReads the file and returns the file contents as a string. To use this\nfunction, the file must be located on the server host, you must specify\nthe full path name to the file, and you must have the FILE privilege.\nThe file must be readable by all and its size less than\nmax_allowed_packet bytes. If the secure_file_priv system variable is\nset to a nonempty directory name, the file to be loaded must be located\nin that directory.\n\nIf the file does not exist or cannot be read because one of the\npreceding conditions is not satisfied, the function returns NULL.\n\nThe character_set_filesystem system variable controls interpretation of\nfile names that are given as literal strings.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-functions.html\n\n','mysql> UPDATE t\n SET blob_col=LOAD_FILE(\'/tmp/picture\')\n WHERE id=1;\n','http://dev.mysql.com/doc/refman/5.7/en/string-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (228,4,'POINTFROMTEXT','PointFromText(wkt[, srid])\n\nST_PointFromText() and PointFromText() are synonyms. For more\ninformation, see the description of ST_PointFromText().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-wkt-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-wkt-functions.html'); @@ -340,7 +340,7 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (259,32,'PERIOD_ADD','Syntax:\nPERIOD_ADD(P,N)\n\nAdds N months to period P (in the format YYMM or YYYYMM). Returns a\nvalue in the format YYYYMM. Note that the period argument P is not a\ndate value.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT PERIOD_ADD(200801,2);\n -> 200803\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (260,38,'RIGHT','Syntax:\nRIGHT(str,len)\n\nReturns the rightmost len characters from the string str, or NULL if\nany argument is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-functions.html\n\n','mysql> SELECT RIGHT(\'foobarbar\', 4);\n -> \'rbar\'\n','http://dev.mysql.com/doc/refman/5.7/en/string-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (261,40,'DROP TABLESPACE','Syntax:\nDROP TABLESPACE tablespace_name\n [ENGINE [=] engine_name]\n\nThis statement drops a tablespace that was previously created using\nCREATE TABLESPACE. It is supported with all MySQL NDB Cluster 7.5\nreleases, and with InnoDB in the standard MySQL Server as well.\n\nENGINE sets the storage engine that uses the tablespace, where\nengine_name is the name of the storage engine. Currently, the values\nInnoDB and NDB are supported. If not set, the value of\ndefault_storage_engine is used. If it is not the same as the storage\nengine used to create the tablespace, the DROP TABLESPACE statement\nfails.\n\nFor an InnoDB tablespace, all tables must be dropped from the\ntablespace prior to a DROP TABLESPACE operation. If the tablespace is\nnot empty, DROP TABLESPACE returns an error.\n\nAs with the InnoDB system tablespace, truncating or dropping InnoDB\ntables stored in a general tablespace creates free space in the\ntablespace .ibd data file, which can only be used for new InnoDB data.\nSpace is not released back to the operating system by such operations\nas it is for file-per-table tablespaces.\n\nAn NDB tablespace to be dropped must not contain any data files; in\nother words, before you can drop an NDB tablespace, you must first drop\neach of its data files using ALTER TABLESPACE ... DROP DATAFILE.\n\nNotes\n\no Tablespaces are not deleted automatically. A tablespace must be\n dropped explicitly using DROP TABLESPACE. DROP DATABASE has no effect\n in this regard, even if the operation drops all tables belonging to\n the tablespace.\n\no A DROP DATABASE operation can drop tables that belong to a general\n tablespace but it cannot drop the tablespace, even if the operation\n drops all tables that belong to the tablespace. The tablespace must\n be dropped explicitly using DROP TABLESPACE tablespace_name.\n\no Similar to the system tablespace, truncating or dropping tables\n stored in a general tablespace creates free space internally in the\n general tablespace .ibd data file which can only be used for new\n InnoDB data. Space is not released back to the operating system as it\n is for file-per-table tablespaces.\n\nInnoDB Example\n\nThis example demonstrates how to drop an InnoDB general tablespace. The\ngeneral tablespace ts1 is created with a single table. Before dropping\nthe tablespace, the table must be dropped.\n\nmysql> CREATE TABLESPACE `ts1`\n -> ADD DATAFILE \'ts1.ibd\'\n -> ENGINE=INNODB;\nQuery OK, 0 rows affected (0.01 sec)\n\nmysql> CREATE TABLE t1 (c1 INT PRIMARY KEY)\n -> TABLESPACE ts10\n -> ENGINE=INNODB;\nQuery OK, 0 rows affected (0.02 sec)\n\nmysql> DROP TABLE t1;\nQuery OK, 0 rows affected (0.01 sec)\n\nmysql> DROP TABLESPACE ts1;\nQuery OK, 0 rows affected (0.01 sec)\n\nNDB Example\n\nThis example shows how to drop an NDB tablespace myts having a data\nfile named mydata-1.dat after first creating the tablespace, and\nassumes the existence of a log file group named mylg (see [HELP CREATE\nLOGFILE GROUP]).\n\nmysql> CREATE TABLESPACE myts\n -> ADD DATAFILE \'mydata-1.dat\'\n -> USE LOGFILE GROUP mylg\n -> ENGINE=NDB;\n\nYou must remove all data files from the tablespace using ALTER\nTABLESPACE, as shown here, before it can be dropped:\n\nmysql> ALTER TABLESPACE myts\n -> DROP DATAFILE \'mydata-1.dat\'\n -> ENGINE=NDB;\n\nmysql> DROP TABLESPACE myts;\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/drop-tablespace.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/drop-tablespace.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (262,21,'CHECK TABLE','Syntax:\nCHECK TABLE tbl_name [, tbl_name] ... [option] ...\n\noption = {\n FOR UPGRADE\n | QUICK\n | FAST\n | MEDIUM\n | EXTENDED\n | CHANGED\n}\n\nCHECK TABLE checks a table or tables for errors. For MyISAM tables, the\nkey statistics are updated as well. CHECK TABLE can also check views\nfor problems, such as tables that are referenced in the view definition\nthat no longer exist.\n\nTo check a table, you must have some privilege for it.\n\nCHECK TABLE works for InnoDB, MyISAM, ARCHIVE, and CSV tables.\n\nBefore running CHECK TABLE on InnoDB tables, see\nhttp://dev.mysql.com/doc/refman/5.7/en/check-table.html#check-table-inn\nodb.\n\nCHECK TABLE is supported for partitioned tables, and you can use ALTER\nTABLE ... CHECK PARTITION to check one or more partitions; for more\ninformation, see [HELP ALTER TABLE], and\nhttp://dev.mysql.com/doc/refman/5.7/en/partitioning-maintenance.html.\n\nCHECK TABLE ignores virtual generated columns that are not indexed.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/check-table.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/check-table.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (262,21,'CHECK TABLE','Syntax:\nCHECK TABLE tbl_name [, tbl_name] ... [option] ...\n\noption: {\n FOR UPGRADE\n | QUICK\n | FAST\n | MEDIUM\n | EXTENDED\n | CHANGED\n}\n\nCHECK TABLE checks a table or tables for errors. For MyISAM tables, the\nkey statistics are updated as well. CHECK TABLE can also check views\nfor problems, such as tables that are referenced in the view definition\nthat no longer exist.\n\nTo check a table, you must have some privilege for it.\n\nCHECK TABLE works for InnoDB, MyISAM, ARCHIVE, and CSV tables.\n\nBefore running CHECK TABLE on InnoDB tables, see\nhttp://dev.mysql.com/doc/refman/5.7/en/check-table.html#check-table-inn\nodb.\n\nCHECK TABLE is supported for partitioned tables, and you can use ALTER\nTABLE ... CHECK PARTITION to check one or more partitions; for more\ninformation, see [HELP ALTER TABLE], and\nhttp://dev.mysql.com/doc/refman/5.7/en/partitioning-maintenance.html.\n\nCHECK TABLE ignores virtual generated columns that are not indexed.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/check-table.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/check-table.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (263,38,'BIN','Syntax:\nBIN(N)\n\nReturns a string representation of the binary value of N, where N is a\nlonglong (BIGINT) number. This is equivalent to CONV(N,10,2). Returns\nNULL if N is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-functions.html\n\n','mysql> SELECT BIN(12);\n -> \'1100\'\n','http://dev.mysql.com/doc/refman/5.7/en/string-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (264,7,'JSON_STORAGE_SIZE','JSON_STORAGE_SIZE(json_val)\n\nThis function returns the number of bytes used to store the binary\nrepresentation of a JSON document. When the argument is a JSON column,\nthis is the space used to store the JSON document. json_val must be a\nvalid JSON document or a string which can be parsed as one. In the case\nwhere it is string, the function returns the amount of storage space in\nthe JSON binary representation that is created by parsing the string as\nJSON and converting it to binary. It returns NULL if the argument is\nNULL.\n\nAn error results when json_val is not NULL, and is not---or cannot be\nsuccessfully parsed as---a JSON document.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/json-utility-functions.html\n\n','mysql> CREATE TABLE jtable (jcol JSON);\nQuery OK, 0 rows affected (0.42 sec)\n\nmysql> INSERT INTO jtable VALUES\n -> (\'{"a": 1000, "b": "wxyz", "c": "[1, 3, 5, 7]"}\');\nQuery OK, 1 row affected (0.04 sec)\n\nmysql> SELECT\n -> jcol,\n -> JSON_STORAGE_SIZE(jcol) AS Size\n -> FROM jtable;\n+-----------------------------------------------+------+\n| jcol | Size |\n+-----------------------------------------------+------+\n| {"a": 1000, "b": "wxyz", "c": "[1, 3, 5, 7]"} | 47 |\n+-----------------------------------------------+------+\n1 row in set (0.00 sec)\n\nmysql> UPDATE jtable\nmysql> SET jcol = \'{"a": 4.55, "b": "wxyz", "c": "[true, false]"}\';\nQuery OK, 1 row affected (0.04 sec)\nRows matched: 1 Changed: 1 Warnings: 0\n\nmysql> SELECT\n -> jcol,\n -> JSON_STORAGE_SIZE(jcol) AS Size\n -> FROM jtable;\n+------------------------------------------------+------+\n| jcol | Size |\n+------------------------------------------------+------+\n| {"a": 4.55, "b": "wxyz", "c": "[true, false]"} | 56 |\n+------------------------------------------------+------+\n1 row in set (0.00 sec)\n\nmysql> SET @j = \'[100, "sakila", [1, 3, 5], 425.05]\';\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> SELECT @j, JSON_STORAGE_SIZE(@j) AS Size;\n+------------------------------------+------+\n| @j | Size |\n+------------------------------------+------+\n| [100, "sakila", [1, 3, 5], 425.05] | 45 |\n+------------------------------------+------+\n1 row in set (0.00 sec)\n\nmysql> SET @j = JSON_SET(@j, \'$[1]\', "json");\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> SELECT @j, JSON_STORAGE_SIZE(@j) AS Size;\n+----------------------------------+------+\n| @j | Size |\n+----------------------------------+------+\n| [100, "json", [1, 3, 5], 425.05] | 43 |\n+----------------------------------+------+\n1 row in set (0.00 sec)\n\nmysql> SET @j = JSON_SET(@j, \'$[2][0]\', JSON_ARRAY(10, 20, 30));\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> SELECT @j, JSON_STORAGE_SIZE(@j) AS Size;\n+---------------------------------------------+------+\n| @j | Size |\n+---------------------------------------------+------+\n| [100, "json", [[10, 20, 30], 3, 5], 425.05] | 56 |\n+---------------------------------------------+------+\n1 row in set (0.00 sec)\n\nmysql> SELECT\n -> JSON_STORAGE_SIZE(\'[100, "sakila", [1, 3, 5], 425.05]\') AS A,\n -> JSON_STORAGE_SIZE(\'{"a": 1000, "b": "a", "c": "[1, 3, 5, 7]"}\') AS B,\n -> JSON_STORAGE_SIZE(\'{"a": 1000, "b": "wxyz", "c": "[1, 3, 5, 7]"}\') AS C,\n -> JSON_STORAGE_SIZE(\'[100, "json", [[10, 20, 30], 3, 5], 425.05]\') AS D;\n+----+----+----+----+\n| A | B | C | D |\n+----+----+----+----+\n| 45 | 44 | 47 | 56 |\n+----+----+----+----+\n1 row in set (0.00 sec)\n','http://dev.mysql.com/doc/refman/5.7/en/json-utility-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (265,25,'MULTILINESTRING','MultiLineString(ls [, ls] ...)\n\nConstructs a MultiLineString value using LineString or WKB LineString\narguments.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-mysql-specific-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-mysql-specific-functions.html'); @@ -356,10 +356,10 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (275,19,'BIT_COUNT','Syntax:\nBIT_COUNT(N)\n\nReturns the number of bits that are set in the argument N as an\nunsigned 64-bit integer, or NULL if the argument is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/bit-functions.html\n\n','mysql> SELECT BIT_COUNT(29), BIT_COUNT(b\'101010\');\n -> 4, 3\n','http://dev.mysql.com/doc/refman/5.7/en/bit-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (276,33,'ST_POINTFROMWKB','ST_PointFromWKB(wkb[, srid])\n\nConstructs a Point value using its WKB representation and SRID.\n\nThe result is NULL if the WKB or SRID argument is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (277,7,'JSON_PRETTY','JSON_PRETTY(json_val)\n\nProvides pretty-printing of JSON values similar to that implemented in\nPHP and by other languages and database systems. The value supplied\nmust be a JSON value or a valid string representation of a JSON value.\nExtraneous whitespaces and newlines present in this value have no\neffect on the output. For a NULL value, the function returns NULL. If\nthe value is not a JSON document, or if it cannot cannot be parsed as\none, the function fails with an error.\n\nFormatting of the output from this function adheres to the following\nrules:\n\no Each array element or object member appears on a separate line,\n indented by one additional level as compared to its parent.\n\no Each level of indentation adds two leading spaces.\n\no A comma separating individual array elements or object members is\n printed before the newline that separates the two elements or\n members.\n\no The key and the value of an object member are separated by a colon\n followed by a space (\': \').\n\no An empty object or array is printed on a single line. No space is\n printed between the opening and closing brace.\n\no Special characters in string scalars and key names are escaped\n employing the same rules used by the JSON_QUOTE() function.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/json-utility-functions.html\n\n','mysql> SELECT JSON_PRETTY(\'123\'); # scalar\n+--------------------+\n| JSON_PRETTY(\'123\') |\n+--------------------+\n| 123 |\n+--------------------+\n\nmysql> SELECT JSON_PRETTY("[1,3,5]"); # array\n+------------------------+\n| JSON_PRETTY("[1,3,5]") |\n+------------------------+\n| [\n 1,\n 3,\n 5\n] |\n+------------------------+\n\nmysql> SELECT JSON_PRETTY(\'{"a":"10","b":"15","x":"25"}\'); # object\n+---------------------------------------------+\n| JSON_PRETTY(\'{"a":"10","b":"15","x":"25"}\') |\n+---------------------------------------------+\n| {\n "a": "10",\n "b": "15",\n "x": "25"\n} |\n+---------------------------------------------+\n\nmysql> SELECT JSON_PRETTY(\'["a",1,{"key1":\n > "value1"},"5", "77" ,\n > {"key2":["value3","valueX",\n > "valueY"]},"j", "2" ]\')\\G # nested arrays and objects\n*************************** 1. row ***************************\nJSON_PRETTY(\'["a",1,{"key1":\n "value1"},"5", "77" ,\n {"key2":["value3","valuex",\n "valuey"]},"j", "2" ]\'): [\n "a",\n 1,\n {\n "key1": "value1"\n },\n "5",\n "77",\n {\n "key2": [\n "value3",\n "valuex",\n "valuey"\n ]\n },\n "j",\n "2"\n]\n','http://dev.mysql.com/doc/refman/5.7/en/json-utility-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (278,7,'ST_MAKEENVELOPE','ST_MakeEnvelope(pt1, pt2)\n\nReturns the rectangle that forms the envelope around two points, as a\nPoint, LineString, or Polygon. If any argument is NULL, the return\nvalue is NULL.\n\nCalculations are done using the Cartesian coordinate system rather than\non a sphere, spheroid, or on earth.\n\nGiven two points pt1 and pt2, ST_MakeEnvelope() creates the result\ngeometry on an abstract plane like this:\n\no If pt1 and pt2 are equal, the result is the point pt1.\n\no Otherwise, if (pt1, pt2) is a vertical or horizontal line segment,\n the result is the line segment (pt1, pt2).\n\no Otherwise, the result is a polygon using pt1 and pt2 as diagonal\n points.\n\nThe result geometry has an SRID of 0.\n\nST_MakeEnvelope() requires Point geometry arguments with an SRID of 0.\nAn ER_WRONG_ARGUMENTS error occurs otherwise.\n\nIf any argument is not a syntactically well-formed geometry byte\nstring, or if any coordinate value of the two points is infinite (that\nis, NaN), an ER_GIS_INVALID_DATA error occurs.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-convenience-functions.html\n\n','mysql> SET @pt1 = ST_GeomFromText(\'POINT(0 0)\');\nmysql> SET @pt2 = ST_GeomFromText(\'POINT(1 1)\');\nmysql> SELECT ST_AsText(ST_MakeEnvelope(@pt1, @pt2));\n+----------------------------------------+\n| ST_AsText(ST_MakeEnvelope(@pt1, @pt2)) |\n+----------------------------------------+\n| POLYGON((0 0,1 0,1 1,0 1,0 0)) |\n+----------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/spatial-convenience-functions.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (278,7,'ST_MAKEENVELOPE','ST_MakeEnvelope(pt1, pt2)\n\nReturns the rectangle that forms the envelope around two points, as a\nPoint, LineString, or Polygon. If any argument is NULL, the return\nvalue is NULL.\n\nCalculations are done using the Cartesian coordinate system rather than\non a sphere, spheroid, or on earth.\n\nGiven two points pt1 and pt2, ST_MakeEnvelope() creates the result\ngeometry on an abstract plane like this:\n\no If pt1 and pt2 are equal, the result is the point pt1.\n\no Otherwise, if (pt1, pt2) is a vertical or horizontal line segment,\n the result is the line segment (pt1, pt2).\n\no Otherwise, the result is a polygon using pt1 and pt2 as diagonal\n points.\n\nThe result geometry has an SRID of 0.\n\nST_MakeEnvelope() requires Point geometry arguments with an SRID of 0.\nAn ER_WRONG_ARGUMENTS error occurs otherwise.\n\nIf any argument is not a syntactically well-formed geometry byte\nstring, or if any coordinate value of the two points is infinite or\nNaN, an ER_GIS_INVALID_DATA error occurs.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-convenience-functions.html\n\n','mysql> SET @pt1 = ST_GeomFromText(\'POINT(0 0)\');\nmysql> SET @pt2 = ST_GeomFromText(\'POINT(1 1)\');\nmysql> SELECT ST_AsText(ST_MakeEnvelope(@pt1, @pt2));\n+----------------------------------------+\n| ST_AsText(ST_MakeEnvelope(@pt1, @pt2)) |\n+----------------------------------------+\n| POLYGON((0 0,1 0,1 1,0 1,0 0)) |\n+----------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/spatial-convenience-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (279,31,'ST_WITHIN','ST_Within(g1, g2)\n\nReturns 1 or 0 to indicate whether g1 is spatially within g2. This\ntests the opposite relationship as ST_Contains().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-object-shapes.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-object-shapes.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (280,3,'ACOS','Syntax:\nACOS(X)\n\nReturns the arc cosine of X, that is, the value whose cosine is X.\nReturns NULL if X is not in the range -1 to 1.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html\n\n','mysql> SELECT ACOS(1);\n -> 0\nmysql> SELECT ACOS(1.0001);\n -> NULL\nmysql> SELECT ACOS(0);\n -> 1.5707963267949\n','http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (281,8,'ISOLATION','Syntax:\nSET [GLOBAL | SESSION] TRANSACTION\n transaction_characteristic [, transaction_characteristic] ...\n\ntransaction_characteristic:\n ISOLATION LEVEL level\n | READ WRITE\n | READ ONLY\n\nlevel:\n REPEATABLE READ\n | READ COMMITTED\n | READ UNCOMMITTED\n | SERIALIZABLE\n\nThis statement specifies transaction characteristics. It takes a list\nof one or more characteristic values separated by commas. These\ncharacteristics set the transaction isolation level or access mode. The\nisolation level is used for operations on InnoDB tables. The access\nmode may be specified as to whether transactions operate in read/write\nor read-only mode.\n\nIn addition, SET TRANSACTION can include an optional GLOBAL or SESSION\nkeyword to indicate the scope of the statement.\n\nScope of Transaction Characteristics\n\nYou can set transaction characteristics globally, for the current\nsession, or for the next transaction:\n\no With the GLOBAL keyword, the statement applies globally for all\n subsequent sessions. Existing sessions are unaffected.\n\no With the SESSION keyword, the statement applies to all subsequent\n transactions performed within the current session.\n\no Without any SESSION or GLOBAL keyword, the statement applies to the\n next (not started) transaction performed within the current session.\n Subsequent transactions revert to using the SESSION isolation level.\n\nA global change to transaction characteristics requires the SUPER\nprivilege. Any session is free to change its session characteristics\n(even in the middle of a transaction), or the characteristics for its\nnext transaction.\n\nSET TRANSACTION without GLOBAL or SESSION is not permitted while there\nis an active transaction:\n\nmysql> START TRANSACTION;\nQuery OK, 0 rows affected (0.02 sec)\n\nmysql> SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;\nERROR 1568 (25001): Transaction characteristics can\'t be changed\nwhile a transaction is in progress\n\nTo set the global default isolation level at server startup, use the\n--transaction-isolation=level option to mysqld on the command line or\nin an option file. Values of level for this option use dashes rather\nthan spaces, so the permissible values are READ-UNCOMMITTED,\nREAD-COMMITTED, REPEATABLE-READ, or SERIALIZABLE. For example, to set\nthe default isolation level to REPEATABLE READ, use these lines in the\n[mysqld] section of an option file:\n\n[mysqld]\ntransaction-isolation = REPEATABLE-READ\n\nIt is possible to check or set the global and session transaction\nisolation levels at runtime by using the transaction_isolation system\nvariable:\n\nSELECT @@GLOBAL.transaction_isolation, @@transaction_isolation;\nSET GLOBAL transaction_isolation=\'REPEATABLE-READ\';\nSET SESSION transaction_isolation=\'SERIALIZABLE\';\n\nPrior to MySQL 5.7.20, use tx_isolation rather than\ntransaction_isolation.\n\nSimilarly, to set the transaction access mode at server startup or at\nruntime, use the --transaction-read-only option or\ntransaction_read_only system variable. By default, these are OFF (the\nmode is read/write) but can be set to ON for a default mode of read\nonly.\n\nPrior to MySQL 5.7.20, use tx_read_only rather than\ntransaction_read_only.\n\nSetting the global or session value of transaction_isolation or\ntransaction_read_only is equivalent to setting the isolation level or\naccess mode with SET GLOBAL TRANSACTION or SET SESSION TRANSACTION.\n\nTransaction Isolation Levels\n\nFor information about transaction isolation levels, see\nhttp://dev.mysql.com/doc/refman/5.7/en/innodb-transaction-isolation-lev\nels.html.\n\nTransaction Access Mode\n\nThe transaction access mode may be specified with SET TRANSACTION. By\ndefault, a transaction takes place in read/write mode, with both reads\nand writes permitted to tables used in the transaction. This mode may\nbe specified explicitly using an access mode of READ WRITE.\n\nIf the transaction access mode is set to READ ONLY, changes to tables\nare prohibited. This may enable storage engines to make performance\nimprovements that are possible when writes are not permitted.\n\nIt is not permitted to specify both READ WRITE and READ ONLY in the\nsame statement.\n\nIn read-only mode, it remains possible to change tables created with\nthe TEMPORARY keyword using DML statements. Changes made with DDL\nstatements are not permitted, just as with permanent tables.\n\nThe READ WRITE and READ ONLY access modes also may be specified for an\nindividual transaction using the START TRANSACTION statement.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/set-transaction.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/set-transaction.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (281,8,'ISOLATION','Syntax:\nSET [GLOBAL | SESSION] TRANSACTION\n transaction_characteristic [, transaction_characteristic] ...\n\ntransaction_characteristic: {\n ISOLATION LEVEL level\n | READ WRITE\n | READ ONLY\n}\n\nlevel: {\n REPEATABLE READ\n | READ COMMITTED\n | READ UNCOMMITTED\n | SERIALIZABLE\n}\n\nThis statement specifies transaction characteristics. It takes a list\nof one or more characteristic values separated by commas. These\ncharacteristics set the transaction isolation level or access mode. The\nisolation level is used for operations on InnoDB tables. The access\nmode may be specified as to whether transactions operate in read/write\nor read-only mode.\n\nIn addition, SET TRANSACTION can include an optional GLOBAL or SESSION\nkeyword to indicate the scope of the statement.\n\nScope of Transaction Characteristics\n\nYou can set transaction characteristics globally, for the current\nsession, or for the next transaction:\n\no With the GLOBAL keyword, the statement applies globally for all\n subsequent sessions. Existing sessions are unaffected.\n\no With the SESSION keyword, the statement applies to all subsequent\n transactions performed within the current session.\n\no Without any SESSION or GLOBAL keyword, the statement applies to the\n next (not started) transaction performed within the current session.\n Subsequent transactions revert to using the SESSION isolation level.\n\nA global change to transaction characteristics requires the SUPER\nprivilege. Any session is free to change its session characteristics\n(even in the middle of a transaction), or the characteristics for its\nnext transaction.\n\nSET TRANSACTION without GLOBAL or SESSION is not permitted while there\nis an active transaction:\n\nmysql> START TRANSACTION;\nQuery OK, 0 rows affected (0.02 sec)\n\nmysql> SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;\nERROR 1568 (25001): Transaction characteristics can\'t be changed\nwhile a transaction is in progress\n\nTo set the global default isolation level at server startup, use the\n--transaction-isolation=level option to mysqld on the command line or\nin an option file. Values of level for this option use dashes rather\nthan spaces, so the permissible values are READ-UNCOMMITTED,\nREAD-COMMITTED, REPEATABLE-READ, or SERIALIZABLE. For example, to set\nthe default isolation level to REPEATABLE READ, use these lines in the\n[mysqld] section of an option file:\n\n[mysqld]\ntransaction-isolation = REPEATABLE-READ\n\nIt is possible to check or set the global and session transaction\nisolation levels at runtime by using the transaction_isolation system\nvariable:\n\nSELECT @@GLOBAL.transaction_isolation, @@transaction_isolation;\nSET GLOBAL transaction_isolation=\'REPEATABLE-READ\';\nSET SESSION transaction_isolation=\'SERIALIZABLE\';\n\nPrior to MySQL 5.7.20, use tx_isolation rather than\ntransaction_isolation.\n\nSimilarly, to set the transaction access mode at server startup or at\nruntime, use the --transaction-read-only option or\ntransaction_read_only system variable. By default, these are OFF (the\nmode is read/write) but can be set to ON for a default mode of read\nonly.\n\nPrior to MySQL 5.7.20, use tx_read_only rather than\ntransaction_read_only.\n\nSetting the global or session value of transaction_isolation or\ntransaction_read_only is equivalent to setting the isolation level or\naccess mode with SET GLOBAL TRANSACTION or SET SESSION TRANSACTION.\n\nTransaction Isolation Levels\n\nFor information about transaction isolation levels, see\nhttp://dev.mysql.com/doc/refman/5.7/en/innodb-transaction-isolation-lev\nels.html.\n\nTransaction Access Mode\n\nThe transaction access mode may be specified with SET TRANSACTION. By\ndefault, a transaction takes place in read/write mode, with both reads\nand writes permitted to tables used in the transaction. This mode may\nbe specified explicitly using an access mode of READ WRITE.\n\nIf the transaction access mode is set to READ ONLY, changes to tables\nare prohibited. This may enable storage engines to make performance\nimprovements that are possible when writes are not permitted.\n\nIt is not permitted to specify both READ WRITE and READ ONLY in the\nsame statement.\n\nIn read-only mode, it remains possible to change tables created with\nthe TEMPORARY keyword using DML statements. Changes made with DDL\nstatements are not permitted, just as with permanent tables.\n\nThe READ WRITE and READ ONLY access modes also may be specified for an\nindividual transaction using the START TRANSACTION statement.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/set-transaction.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/set-transaction.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (282,3,'SIN','Syntax:\nSIN(X)\n\nReturns the sine of X, where X is given in radians.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html\n\n','mysql> SELECT SIN(PI());\n -> 1.2246063538224e-16\nmysql> SELECT ROUND(SIN(PI()));\n -> 0\n','http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (283,26,'ST_BUFFER','ST_Buffer(g, d[, strategy1[, strategy2[, strategy3]]])\n\nReturns a geometry that represents all points whose distance from the\ngeometry value g is less than or equal to a distance of d, or NULL if\nany argument is NULL. The SRID of the geometry argument must be 0\nbecause ST_Buffer() supports only the Cartesian coordinate system. If\nany geometry argument is not a syntactically well-formed geometry, an\nER_GIS_INVALID_DATA error occurs.\n\nIf the geometry argument is empty, ST_Buffer() returns an empty\ngeometry.\n\nIf the distance is 0, ST_Buffer() returns the geometry argument\nunchanged:\n\nmysql> SET @pt = ST_GeomFromText(\'POINT(0 0)\');\nmysql> SELECT ST_AsText(ST_Buffer(@pt, 0));\n+------------------------------+\n| ST_AsText(ST_Buffer(@pt, 0)) |\n+------------------------------+\n| POINT(0 0) |\n+------------------------------+\n\nST_Buffer() supports negative distances for Polygon and MultiPolygon\nvalues, and for geometry collections containing Polygon or MultiPolygon\nvalues. The result may be an empty geometry. An ER_WRONG_ARGUMENTS\nerror occurs for ST_Buffer() with a negative distance for Point,\nMultiPoint, LineString, and MultiLineString values, and for geometry\ncollections not containing any Polygon or MultiPolygon values.\n\nAs of MySQL 5.7.7, ST_Buffer() permits up to three optional strategy\narguments following the distance argument. Strategies influence buffer\ncomputation. These arguments are byte string values produced by the\nST_Buffer_Strategy() function, to be used for point, join, and end\nstrategies:\n\no Point strategies apply to Point and MultiPoint geometries. If no\n point strategy is specified, the default is\n ST_Buffer_Strategy(\'point_circle\', 32).\n\no Join strategies apply to LineString, MultiLineString, Polygon, and\n MultiPolygon geometries. If no join strategy is specified, the\n default is ST_Buffer_Strategy(\'join_round\', 32).\n\no End strategies apply to LineString and MultiLineString geometries. If\n no end strategy is specified, the default is\n ST_Buffer_Strategy(\'end_round\', 32).\n\nUp to one strategy of each type may be specified, and they may be given\nin any order. If multiple strategies of a given type are specified, an\nER_WRONG_ARGUMENTS error occurs.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-operator-functions.html\n\n','mysql> SET @pt = ST_GeomFromText(\'POINT(0 0)\');\nmysql> SET @pt_strategy = ST_Buffer_Strategy(\'point_square\');\nmysql> SELECT ST_AsText(ST_Buffer(@pt, 2, @pt_strategy));\n+--------------------------------------------+\n| ST_AsText(ST_Buffer(@pt, 2, @pt_strategy)) |\n+--------------------------------------------+\n| POLYGON((-2 -2,2 -2,2 2,-2 2,-2 -2)) |\n+--------------------------------------------+\n\nmysql> SET @ls = ST_GeomFromText(\'LINESTRING(0 0,0 5,5 5)\');\nmysql> SET @end_strategy = ST_Buffer_Strategy(\'end_flat\');\nmysql> SET @join_strategy = ST_Buffer_Strategy(\'join_round\', 10);\nmysql> SELECT ST_AsText(ST_Buffer(@ls, 5, @end_strategy, @join_strategy))\n+---------------------------------------------------------------+\n| ST_AsText(ST_Buffer(@ls, 5, @end_strategy, @join_strategy)) |\n+---------------------------------------------------------------+\n| POLYGON((5 5,5 10,0 10,-3.5355339059327373 8.535533905932738, |\n| -5 5,-5 0,0 0,5 0,5 5)) |\n+---------------------------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/spatial-operator-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (284,26,'BUFFER','Buffer(g, d[, strategy1[, strategy2[, strategy3]]])\n\nST_Buffer() and Buffer() are synonyms. For more information, see the\ndescription of ST_Buffer().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-operator-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/spatial-operator-functions.html'); @@ -367,32 +367,32 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (286,7,'WAIT_FOR_EXECUTED_GTID_SET','Syntax:\nWAIT_FOR_EXECUTED_GTID_SET(gtid_set[, timeout])\n\nWait until the server has applied all of the transactions whose global\ntransaction identifiers are contained in gtid_set; that is, until the\ncondition GTID_SUBSET(gtid_subset, @@global.gtid_executed) holds. See\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-gtids-concepts.html\nfor a definition of GTID sets.\n\nIf a timeout is specified, and timeout seconds elapse before all of the\ntransactions in the GTID set have been applied, the function stops\nwaiting. timeout is optional, and the default timeout is 0 seconds, in\nwhich case the function always waits until all of the transactions in\nthe GTID set have been applied.\n\nWAIT_FOR_EXECUTED_GTID_SET() monitors all the GTIDs that are applied on\nthe server, including transactions that arrive from all replication\nchannels and user clients. It does not take into account whether\nreplication channels have been started or stopped.\n\nFor more information, see\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-gtids.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gtid-functions.html\n\n','mysql> SELECT WAIT_FOR_EXECUTED_GTID_SET(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:1-5\');\n -> 0\n','http://dev.mysql.com/doc/refman/5.7/en/gtid-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (287,20,'IS','Syntax:\nIS boolean_value\n\nTests a value against a boolean value, where boolean_value can be TRUE,\nFALSE, or UNKNOWN.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html\n\n','mysql> SELECT 1 IS TRUE, 0 IS FALSE, NULL IS UNKNOWN;\n -> 1, 1, 1\n','http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (288,32,'GET_FORMAT','Syntax:\nGET_FORMAT({DATE|TIME|DATETIME}, {\'EUR\'|\'USA\'|\'JIS\'|\'ISO\'|\'INTERNAL\'})\n\nReturns a format string. This function is useful in combination with\nthe DATE_FORMAT() and the STR_TO_DATE() functions.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT DATE_FORMAT(\'2003-10-03\',GET_FORMAT(DATE,\'EUR\'));\n -> \'03.10.2003\'\nmysql> SELECT STR_TO_DATE(\'10.31.2003\',GET_FORMAT(DATE,\'USA\'));\n -> \'2003-10-31\'\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (289,2,'ST_CENTROID','ST_Centroid(mpoly)\n\nReturns the mathematical centroid for the MultiPolygon value mpoly as a\nPoint. The result is not guaranteed to be on the MultiPolygon. If the\nargument is NULL or an empty geometry, the return value is NULL.\n\nThis function processes geometry collections by computing the centroid\npoint for components of highest dimension in the collection. Such\ncomponents are extracted and made into a single MultiPolygon,\nMultiLineString, or MultiPoint for centroid computation. If the\nargument is an empty geometry collection, the return value is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html\n\n','mysql> SET @poly =\n -> ST_GeomFromText(\'POLYGON((0 0,10 0,10 10,0 10,0 0),(5 5,7 5,7 7,5 7,5 5))\');\nmysql> SELECT ST_GeometryType(@poly),ST_AsText(ST_Centroid(@poly));\n+------------------------+--------------------------------------------+\n| ST_GeometryType(@poly) | ST_AsText(ST_Centroid(@poly)) |\n+------------------------+--------------------------------------------+\n| POLYGON | POINT(4.958333333333333 4.958333333333333) |\n+------------------------+--------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (289,2,'ST_CENTROID','ST_Centroid({poly|mpoly})\n\nReturns the mathematical centroid for the Polygon or MultiPolygon\nargument as a Point. The result is not guaranteed to be on the\nMultiPolygon. If the argument is NULL or an empty geometry, the return\nvalue is NULL.\n\nThis function processes geometry collections by computing the centroid\npoint for components of highest dimension in the collection. Such\ncomponents are extracted and made into a single MultiPolygon,\nMultiLineString, or MultiPoint for centroid computation. If the\nargument is an empty geometry collection, the return value is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html\n\n','mysql> SET @poly =\n ST_GeomFromText(\'POLYGON((0 0,10 0,10 10,0 10,0 0),(5 5,7 5,7 7,5 7,5 5))\');\nmysql> SELECT ST_GeometryType(@poly),ST_AsText(ST_Centroid(@poly));\n+------------------------+--------------------------------------------+\n| ST_GeometryType(@poly) | ST_AsText(ST_Centroid(@poly)) |\n+------------------------+--------------------------------------------+\n| POLYGON | POINT(4.958333333333333 4.958333333333333) |\n+------------------------+--------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (290,23,'TINYBLOB','TINYBLOB\n\nA BLOB column with a maximum length of 255 (28 − 1) bytes. Each\nTINYBLOB value is stored using a 1-byte length prefix that indicates\nthe number of bytes in the value.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-type-overview.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/string-type-overview.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (291,17,'USER','Syntax:\nUSER()\n\nReturns the current MySQL user name and host name as a string in the\nutf8 character set.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/information-functions.html\n\n','mysql> SELECT USER();\n -> \'davida@localhost\'\n','http://dev.mysql.com/doc/refman/5.7/en/information-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (292,21,'REPAIR TABLE','Syntax:\nREPAIR [NO_WRITE_TO_BINLOG | LOCAL]\n TABLE tbl_name [, tbl_name] ...\n [QUICK] [EXTENDED] [USE_FRM]\n\nREPAIR TABLE repairs a possibly corrupted table, for certain storage\nengines only.\n\nThis statement requires SELECT and INSERT privileges for the table.\n\nAlthough normally you should never have to run REPAIR TABLE, if\ndisaster strikes, this statement is very likely to get back all your\ndata from a MyISAM table. If your tables become corrupted often, try to\nfind the reason for it, to eliminate the need to use REPAIR TABLE. See\nhttp://dev.mysql.com/doc/refman/5.7/en/crashing.html, and\nhttp://dev.mysql.com/doc/refman/5.7/en/myisam-table-problems.html.\n\nREPAIR TABLE checks the table to see whether an upgrade is required. If\nso, it performs the upgrade, following the same rules as CHECK TABLE\n... FOR UPGRADE. See [HELP CHECK TABLE], for more information.\n\n*Important*:\n\no Make a backup of a table before performing a table repair operation;\n under some circumstances the operation might cause data loss.\n Possible causes include but are not limited to file system errors.\n See http://dev.mysql.com/doc/refman/5.7/en/backup-and-recovery.html.\n\no If the server crashes during a REPAIR TABLE operation, it is\n essential after restarting it that you immediately execute another\n REPAIR TABLE statement for the table before performing any other\n operations on it. In the worst case, you might have a new clean index\n file without information about the data file, and then the next\n operation you perform could overwrite the data file. This is an\n unlikely but possible scenario that underscores the value of making a\n backup first.\n\no In the event that a table on the master becomes corrupted and you run\n REPAIR TABLE on it, any resulting changes to the original table are\n not propagated to slaves.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/repair-table.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/repair-table.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (293,18,'MERGE','The MERGE storage engine, also known as the MRG_MyISAM engine, is a\ncollection of identical MyISAM tables that can be used as one.\n"Identical" means that all tables have identical column data types and\nindex information. You cannot merge MyISAM tables in which the columns\nare listed in a different order, do not have exactly the same data\ntypes in corresponding columns, or have the indexes in different order.\nHowever, any or all of the MyISAM tables can be compressed with\nmyisampack. See http://dev.mysql.com/doc/refman/5.7/en/myisampack.html.\nDifferences between tables such as these do not matter:\n\no Names of corresponding columns and indexes can differ.\n\no Comments for tables, columns, and indexes can differ.\n\no Table options such as AVG_ROW_LENGTH, MAX_ROWS, or PACK_KEYS can\n differ.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/merge-storage-engine.html\n\n','mysql> CREATE TABLE t1 (\n -> a INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\n -> message CHAR(20)) ENGINE=MyISAM;\nmysql> CREATE TABLE t2 (\n -> a INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\n -> message CHAR(20)) ENGINE=MyISAM;\nmysql> INSERT INTO t1 (message) VALUES (\'Testing\'),(\'table\'),(\'t1\');\nmysql> INSERT INTO t2 (message) VALUES (\'Testing\'),(\'table\'),(\'t2\');\nmysql> CREATE TABLE total (\n -> a INT NOT NULL AUTO_INCREMENT,\n -> message CHAR(20), INDEX(a))\n -> ENGINE=MERGE UNION=(t1,t2) INSERT_METHOD=LAST;\n','http://dev.mysql.com/doc/refman/5.7/en/merge-storage-engine.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (294,27,'SHOW CREATE USER','Syntax:\nSHOW CREATE USER user\n\nThis statement shows the CREATE USER statement that creates the named\nuser. An error occurs if the user does not exist. The statement\nrequires the SELECT privilege for the mysql database, except to display\ninformation for the current user.\n\nTo name the account, use the format described in\nhttp://dev.mysql.com/doc/refman/5.7/en/account-names.html. The host\nname part of the account name, if omitted, defaults to \'%\'. It is also\npossible to specify CURRENT_USER or CURRENT_USER() to refer to the\naccount associated with the current session.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-create-user.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-create-user.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (294,27,'SHOW CREATE USER','Syntax:\nSHOW CREATE USER user\n\nThis statement shows the CREATE USER statement that creates the named\nuser. An error occurs if the user does not exist. The statement\nrequires the SELECT privilege for the mysql system database, except to\ndisplay information for the current user.\n\nTo name the account, use the format described in\nhttp://dev.mysql.com/doc/refman/5.7/en/account-names.html. The host\nname part of the account name, if omitted, defaults to \'%\'. It is also\npossible to specify CURRENT_USER or CURRENT_USER() to refer to the\naccount associated with the current session.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-create-user.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-create-user.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (295,31,'ST_DISTANCE','ST_Distance(g1, g2)\n\nReturns the distance between g1 and g2. If either argument is NULL or\nan empty geometry, the return value is NULL.\n\nThis function processes geometry collections by returning the shortest\ndistance among all combinations of the components of the two geometry\narguments.\n\nIf an intermediate or final result produces NaN or a negative number,\nan ER_GIS_INVALID_DATA error occurs.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-object-shapes.html\n\n','mysql> SET @g1 = Point(1,1);\nmysql> SET @g2 = Point(2,2);\nmysql> SELECT ST_Distance(@g1, @g2);\n+-----------------------+\n| ST_Distance(@g1, @g2) |\n+-----------------------+\n| 1.4142135623730951 |\n+-----------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-object-shapes.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (296,40,'CREATE TABLE','Syntax:\nCREATE [TEMPORARY] TABLE [IF NOT EXISTS] tbl_name\n (create_definition,...)\n [table_options]\n [partition_options]\n\nCREATE [TEMPORARY] TABLE [IF NOT EXISTS] tbl_name\n [(create_definition,...)]\n [table_options]\n [partition_options]\n [IGNORE | REPLACE]\n [AS] query_expression\n\nCREATE [TEMPORARY] TABLE [IF NOT EXISTS] tbl_name\n { LIKE old_tbl_name | (LIKE old_tbl_name) }\n\ncreate_definition:\n col_name column_definition\n | [CONSTRAINT [symbol]] PRIMARY KEY [index_type] (index_col_name,...)\n [index_option] ...\n | {INDEX|KEY} [index_name] [index_type] (index_col_name,...)\n [index_option] ...\n | [CONSTRAINT [symbol]] UNIQUE [INDEX|KEY]\n [index_name] [index_type] (index_col_name,...)\n [index_option] ...\n | {FULLTEXT|SPATIAL} [INDEX|KEY] [index_name] (index_col_name,...)\n [index_option] ...\n | [CONSTRAINT [symbol]] FOREIGN KEY\n [index_name] (index_col_name,...) reference_definition\n | CHECK (expr)\n\ncolumn_definition:\n data_type [NOT NULL | NULL] [DEFAULT default_value]\n [AUTO_INCREMENT] [UNIQUE [KEY]] [[PRIMARY] KEY]\n [COMMENT \'string\']\n [COLUMN_FORMAT {FIXED|DYNAMIC|DEFAULT}]\n [STORAGE {DISK|MEMORY|DEFAULT}]\n [reference_definition]\n | data_type [GENERATED ALWAYS] AS (expression)\n [VIRTUAL | STORED] [NOT NULL | NULL]\n [UNIQUE [KEY]] [[PRIMARY] KEY]\n [COMMENT \'string\']\n\ndata_type:\n BIT[(length)]\n | TINYINT[(length)] [UNSIGNED] [ZEROFILL]\n | SMALLINT[(length)] [UNSIGNED] [ZEROFILL]\n | MEDIUMINT[(length)] [UNSIGNED] [ZEROFILL]\n | INT[(length)] [UNSIGNED] [ZEROFILL]\n | INTEGER[(length)] [UNSIGNED] [ZEROFILL]\n | BIGINT[(length)] [UNSIGNED] [ZEROFILL]\n | REAL[(length,decimals)] [UNSIGNED] [ZEROFILL]\n | DOUBLE[(length,decimals)] [UNSIGNED] [ZEROFILL]\n | FLOAT[(length,decimals)] [UNSIGNED] [ZEROFILL]\n | DECIMAL[(length[,decimals])] [UNSIGNED] [ZEROFILL]\n | NUMERIC[(length[,decimals])] [UNSIGNED] [ZEROFILL]\n | DATE\n | TIME[(fsp)]\n | TIMESTAMP[(fsp)]\n | DATETIME[(fsp)]\n | YEAR\n | CHAR[(length)]\n [CHARACTER SET charset_name] [COLLATE collation_name]\n | VARCHAR(length)\n [CHARACTER SET charset_name] [COLLATE collation_name]\n | BINARY[(length)]\n | VARBINARY(length)\n | TINYBLOB\n | BLOB[(length)]\n | MEDIUMBLOB\n | LONGBLOB\n | TINYTEXT\n [CHARACTER SET charset_name] [COLLATE collation_name]\n | TEXT[(length)]\n [CHARACTER SET charset_name] [COLLATE collation_name]\n | MEDIUMTEXT\n [CHARACTER SET charset_name] [COLLATE collation_name]\n | LONGTEXT\n [CHARACTER SET charset_name] [COLLATE collation_name]\n | ENUM(value1,value2,value3,...)\n [CHARACTER SET charset_name] [COLLATE collation_name]\n | SET(value1,value2,value3,...)\n [CHARACTER SET charset_name] [COLLATE collation_name]\n | JSON\n | spatial_type\n\nindex_col_name:\n col_name [(length)] [ASC | DESC]\n\nindex_type:\n USING {BTREE | HASH}\n\nindex_option:\n KEY_BLOCK_SIZE [=] value\n | index_type\n | WITH PARSER parser_name\n | COMMENT \'string\'\n\nreference_definition:\n REFERENCES tbl_name (index_col_name,...)\n [MATCH FULL | MATCH PARTIAL | MATCH SIMPLE]\n [ON DELETE reference_option]\n [ON UPDATE reference_option]\n\nreference_option:\n RESTRICT | CASCADE | SET NULL | NO ACTION | SET DEFAULT\n\ntable_options:\n table_option [[,] table_option] ...\n\ntable_option:\n AUTO_INCREMENT [=] value\n | AVG_ROW_LENGTH [=] value\n | [DEFAULT] CHARACTER SET [=] charset_name\n | CHECKSUM [=] {0 | 1}\n | [DEFAULT] COLLATE [=] collation_name\n | COMMENT [=] \'string\'\n | COMPRESSION [=] {\'ZLIB\'|\'LZ4\'|\'NONE\'}\n | CONNECTION [=] \'connect_string\'\n | {DATA|INDEX} DIRECTORY [=] \'absolute path to directory\'\n | DELAY_KEY_WRITE [=] {0 | 1}\n | ENCRYPTION [=] {\'Y\' | \'N\'}\n | ENGINE [=] engine_name\n | INSERT_METHOD [=] { NO | FIRST | LAST }\n | KEY_BLOCK_SIZE [=] value\n | MAX_ROWS [=] value\n | MIN_ROWS [=] value\n | PACK_KEYS [=] {0 | 1 | DEFAULT}\n | PASSWORD [=] \'string\'\n | ROW_FORMAT [=] {DEFAULT|DYNAMIC|FIXED|COMPRESSED|REDUNDANT|COMPACT}\n | STATS_AUTO_RECALC [=] {DEFAULT|0|1}\n | STATS_PERSISTENT [=] {DEFAULT|0|1}\n | STATS_SAMPLE_PAGES [=] value\n | TABLESPACE tablespace_name [STORAGE {DISK|MEMORY|DEFAULT}]\n | UNION [=] (tbl_name[,tbl_name]...)\n\npartition_options:\n PARTITION BY\n { [LINEAR] HASH(expr)\n | [LINEAR] KEY [ALGORITHM={1|2}] (column_list)\n | RANGE{(expr) | COLUMNS(column_list)}\n | LIST{(expr) | COLUMNS(column_list)} }\n [PARTITIONS num]\n [SUBPARTITION BY\n { [LINEAR] HASH(expr)\n | [LINEAR] KEY [ALGORITHM={1|2}] (column_list) }\n [SUBPARTITIONS num]\n ]\n [(partition_definition [, partition_definition] ...)]\n\npartition_definition:\n PARTITION partition_name\n [VALUES\n {LESS THAN {(expr | value_list) | MAXVALUE}\n |\n IN (value_list)}]\n [[STORAGE] ENGINE [=] engine_name]\n [COMMENT [=] \'string\' ]\n [DATA DIRECTORY [=] \'data_dir\']\n [INDEX DIRECTORY [=] \'index_dir\']\n [MAX_ROWS [=] max_number_of_rows]\n [MIN_ROWS [=] min_number_of_rows]\n [TABLESPACE [=] tablespace_name]\n [(subpartition_definition [, subpartition_definition] ...)]\n\nsubpartition_definition:\n SUBPARTITION logical_name\n [[STORAGE] ENGINE [=] engine_name]\n [COMMENT [=] \'string\' ]\n [DATA DIRECTORY [=] \'data_dir\']\n [INDEX DIRECTORY [=] \'index_dir\']\n [MAX_ROWS [=] max_number_of_rows]\n [MIN_ROWS [=] min_number_of_rows]\n [TABLESPACE [=] tablespace_name]\n\nquery_expression:\n SELECT ... (Some valid select or union statement)\n\nCREATE TABLE creates a table with the given name. You must have the\nCREATE privilege for the table.\n\nBy default, tables are created in the default database, using the\nInnoDB storage engine. An error occurs if the table exists, if there is\nno default database, or if the database does not exist.\n\nFor information about the physical representation of a table, see\nhttp://dev.mysql.com/doc/refman/5.7/en/create-table-files.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-table.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/create-table.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (296,40,'CREATE TABLE','Syntax:\nCREATE [TEMPORARY] TABLE [IF NOT EXISTS] tbl_name\n (create_definition,...)\n [table_options]\n [partition_options]\n\nCREATE [TEMPORARY] TABLE [IF NOT EXISTS] tbl_name\n [(create_definition,...)]\n [table_options]\n [partition_options]\n [IGNORE | REPLACE]\n [AS] query_expression\n\nCREATE [TEMPORARY] TABLE [IF NOT EXISTS] tbl_name\n { LIKE old_tbl_name | (LIKE old_tbl_name) }\n\ncreate_definition:\n col_name column_definition\n | [CONSTRAINT [symbol]] PRIMARY KEY [index_type] (key_part,...)\n [index_option] ...\n | {INDEX|KEY} [index_name] [index_type] (key_part,...)\n [index_option] ...\n | [CONSTRAINT [symbol]] UNIQUE [INDEX|KEY]\n [index_name] [index_type] (key_part,...)\n [index_option] ...\n | {FULLTEXT|SPATIAL} [INDEX|KEY] [index_name] (key_part,...)\n [index_option] ...\n | [CONSTRAINT [symbol]] FOREIGN KEY\n [index_name] (col_name,...) reference_definition\n | CHECK (expr)\n\ncolumn_definition:\n data_type [NOT NULL | NULL] [DEFAULT default_value]\n [AUTO_INCREMENT] [UNIQUE [KEY]] [[PRIMARY] KEY]\n [COMMENT \'string\']\n [COLUMN_FORMAT {FIXED|DYNAMIC|DEFAULT}]\n [STORAGE {DISK|MEMORY|DEFAULT}]\n [reference_definition]\n | data_type [GENERATED ALWAYS] AS (expression)\n [VIRTUAL | STORED] [NOT NULL | NULL]\n [UNIQUE [KEY]] [[PRIMARY] KEY]\n [COMMENT \'string\']\n\ndata_type:\n (see http://dev.mysql.com/doc/refman/5.7/en/data-types.html)\n\nkey_part:\n col_name [(length)] [ASC | DESC]\n\nindex_type:\n USING {BTREE | HASH}\n\nindex_option:\n KEY_BLOCK_SIZE [=] value\n | index_type\n | WITH PARSER parser_name\n | COMMENT \'string\'\n\nreference_definition:\n REFERENCES tbl_name (key_part,...)\n [MATCH FULL | MATCH PARTIAL | MATCH SIMPLE]\n [ON DELETE reference_option]\n [ON UPDATE reference_option]\n\nreference_option:\n RESTRICT | CASCADE | SET NULL | NO ACTION | SET DEFAULT\n\ntable_options:\n table_option [[,] table_option] ...\n\ntable_option:\n AUTO_INCREMENT [=] value\n | AVG_ROW_LENGTH [=] value\n | [DEFAULT] CHARACTER SET [=] charset_name\n | CHECKSUM [=] {0 | 1}\n | [DEFAULT] COLLATE [=] collation_name\n | COMMENT [=] \'string\'\n | COMPRESSION [=] {\'ZLIB\'|\'LZ4\'|\'NONE\'}\n | CONNECTION [=] \'connect_string\'\n | {DATA|INDEX} DIRECTORY [=] \'absolute path to directory\'\n | DELAY_KEY_WRITE [=] {0 | 1}\n | ENCRYPTION [=] {\'Y\' | \'N\'}\n | ENGINE [=] engine_name\n | INSERT_METHOD [=] { NO | FIRST | LAST }\n | KEY_BLOCK_SIZE [=] value\n | MAX_ROWS [=] value\n | MIN_ROWS [=] value\n | PACK_KEYS [=] {0 | 1 | DEFAULT}\n | PASSWORD [=] \'string\'\n | ROW_FORMAT [=] {DEFAULT|DYNAMIC|FIXED|COMPRESSED|REDUNDANT|COMPACT}\n | STATS_AUTO_RECALC [=] {DEFAULT|0|1}\n | STATS_PERSISTENT [=] {DEFAULT|0|1}\n | STATS_SAMPLE_PAGES [=] value\n | TABLESPACE tablespace_name [STORAGE {DISK|MEMORY|DEFAULT}]\n | UNION [=] (tbl_name[,tbl_name]...)\n\npartition_options:\n PARTITION BY\n { [LINEAR] HASH(expr)\n | [LINEAR] KEY [ALGORITHM={1|2}] (column_list)\n | RANGE{(expr) | COLUMNS(column_list)}\n | LIST{(expr) | COLUMNS(column_list)} }\n [PARTITIONS num]\n [SUBPARTITION BY\n { [LINEAR] HASH(expr)\n | [LINEAR] KEY [ALGORITHM={1|2}] (column_list) }\n [SUBPARTITIONS num]\n ]\n [(partition_definition [, partition_definition] ...)]\n\npartition_definition:\n PARTITION partition_name\n [VALUES\n {LESS THAN {(expr | value_list) | MAXVALUE}\n |\n IN (value_list)}]\n [[STORAGE] ENGINE [=] engine_name]\n [COMMENT [=] \'string\' ]\n [DATA DIRECTORY [=] \'data_dir\']\n [INDEX DIRECTORY [=] \'index_dir\']\n [MAX_ROWS [=] max_number_of_rows]\n [MIN_ROWS [=] min_number_of_rows]\n [TABLESPACE [=] tablespace_name]\n [(subpartition_definition [, subpartition_definition] ...)]\n\nsubpartition_definition:\n SUBPARTITION logical_name\n [[STORAGE] ENGINE [=] engine_name]\n [COMMENT [=] \'string\' ]\n [DATA DIRECTORY [=] \'data_dir\']\n [INDEX DIRECTORY [=] \'index_dir\']\n [MAX_ROWS [=] max_number_of_rows]\n [MIN_ROWS [=] min_number_of_rows]\n [TABLESPACE [=] tablespace_name]\n\nquery_expression:\n SELECT ... (Some valid select or union statement)\n\nCREATE TABLE creates a table with the given name. You must have the\nCREATE privilege for the table.\n\nBy default, tables are created in the default database, using the\nInnoDB storage engine. An error occurs if the table exists, if there is\nno default database, or if the database does not exist.\n\nFor information about the physical representation of a table, see\nhttp://dev.mysql.com/doc/refman/5.7/en/create-table-files.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-table.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/create-table.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (297,32,'MICROSECOND','Syntax:\nMICROSECOND(expr)\n\nReturns the microseconds from the time or datetime expression expr as a\nnumber in the range from 0 to 999999.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT MICROSECOND(\'12:00:00.123456\');\n -> 123456\nmysql> SELECT MICROSECOND(\'2009-12-31 23:59:59.000010\');\n -> 10\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (298,40,'CREATE SERVER','Syntax:\nCREATE SERVER server_name\n FOREIGN DATA WRAPPER wrapper_name\n OPTIONS (option [, option] ...)\n\noption:\n { HOST character-literal\n | DATABASE character-literal\n | USER character-literal\n | PASSWORD character-literal\n | SOCKET character-literal\n | OWNER character-literal\n | PORT numeric-literal }\n\nThis statement creates the definition of a server for use with the\nFEDERATED storage engine. The CREATE SERVER statement creates a new row\nin the servers table in the mysql database. This statement requires the\nSUPER privilege.\n\nThe server_name should be a unique reference to the server. Server\ndefinitions are global within the scope of the server, it is not\npossible to qualify the server definition to a specific database.\nserver_name has a maximum length of 64 characters (names longer than 64\ncharacters are silently truncated), and is case insensitive. You may\nspecify the name as a quoted string.\n\nThe wrapper_name should be mysql, and may be quoted with single\nquotation marks. Other values for wrapper_name are not currently\nsupported.\n\nFor each option you must specify either a character literal or numeric\nliteral. Character literals are UTF-8, support a maximum length of 64\ncharacters and default to a blank (empty) string. String literals are\nsilently truncated to 64 characters. Numeric literals must be a number\nbetween 0 and 9999, default value is 0.\n\n*Note*:\n\nThe OWNER option is currently not applied, and has no effect on the\nownership or operation of the server connection that is created.\n\nThe CREATE SERVER statement creates an entry in the mysql.servers table\nthat can later be used with the CREATE TABLE statement when creating a\nFEDERATED table. The options that you specify will be used to populate\nthe columns in the mysql.servers table. The table columns are\nServer_name, Host, Db, Username, Password, Port and Socket.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-server.html\n\n','CREATE SERVER s\nFOREIGN DATA WRAPPER mysql\nOPTIONS (USER \'Remote\', HOST \'198.51.100.106\', DATABASE \'test\');\n','http://dev.mysql.com/doc/refman/5.7/en/create-server.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (298,40,'CREATE SERVER','Syntax:\nCREATE SERVER server_name\n FOREIGN DATA WRAPPER wrapper_name\n OPTIONS (option [, option] ...)\n\noption:\n { HOST character-literal\n | DATABASE character-literal\n | USER character-literal\n | PASSWORD character-literal\n | SOCKET character-literal\n | OWNER character-literal\n | PORT numeric-literal }\n\nThis statement creates the definition of a server for use with the\nFEDERATED storage engine. The CREATE SERVER statement creates a new row\nin the servers table in the mysql database. This statement requires the\nSUPER privilege.\n\nThe server_name should be a unique reference to the server. Server\ndefinitions are global within the scope of the server, it is not\npossible to qualify the server definition to a specific database.\nserver_name has a maximum length of 64 characters (names longer than 64\ncharacters are silently truncated), and is case insensitive. You may\nspecify the name as a quoted string.\n\nThe wrapper_name is an identifier and may be quoted with single\nquotation marks.\n\nFor each option you must specify either a character literal or numeric\nliteral. Character literals are UTF-8, support a maximum length of 64\ncharacters and default to a blank (empty) string. String literals are\nsilently truncated to 64 characters. Numeric literals must be a number\nbetween 0 and 9999, default value is 0.\n\n*Note*:\n\nThe OWNER option is currently not applied, and has no effect on the\nownership or operation of the server connection that is created.\n\nThe CREATE SERVER statement creates an entry in the mysql.servers table\nthat can later be used with the CREATE TABLE statement when creating a\nFEDERATED table. The options that you specify will be used to populate\nthe columns in the mysql.servers table. The table columns are\nServer_name, Host, Db, Username, Password, Port and Socket.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-server.html\n\n','CREATE SERVER s\nFOREIGN DATA WRAPPER mysql\nOPTIONS (USER \'Remote\', HOST \'198.51.100.106\', DATABASE \'test\');\n','http://dev.mysql.com/doc/refman/5.7/en/create-server.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (299,7,'ST_DISTANCE_SPHERE','ST_Distance_Sphere(g1, g2 [, radius])\n\nReturns the mimimum spherical distance between two points and/or\nmultipoints on a sphere, in meters, or NULL if any geometry argument is\nNULL or empty.\n\nCalculations use a spherical earth and a configurable radius. The\noptional radius argument should be given in meters. If omitted, the\ndefault radius is 6,370,986 meters. An ER_WRONG_ARGUMENTS error occurs\nif the radius argument is present but not positive.\n\nThe geometry arguments should consist of points that specify\n(longitude, latitude) coordinate values:\n\no Longitude and latitude are the first and second coordinates of the\n point, respectively.\n\no Both coordinates are in degrees.\n\no Longitude values must be in the range (-180, 180]. Positive values\n are east of the prime meridian.\n\no Latitude values must be in the range [-90, 90]. Positive values are\n north of the equator.\n\nSupported argument combinations are (Point, Point), (Point,\nMultiPoint), and (MultiPoint, Point). An ER_GIS_UNSUPPORTED_ARGUMENT\nerror occurs for other combinations.\n\nIf any geometry argument is not a syntactically well-formed geometry\nbyte string, an ER_GIS_INVALID_DATA error occurs.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-convenience-functions.html\n\n','mysql> SET @pt1 = ST_GeomFromText(\'POINT(0 0)\');\nmysql> SET @pt2 = ST_GeomFromText(\'POINT(180 0)\');\nmysql> SELECT ST_Distance_Sphere(@pt1, @pt2);\n+--------------------------------+\n| ST_Distance_Sphere(@pt1, @pt2) |\n+--------------------------------+\n| 20015042.813723423 |\n+--------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/spatial-convenience-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (300,33,'ST_POLYFROMWKB','ST_PolyFromWKB(wkb[, srid]), ST_PolygonFromWKB(wkb[, srid])\n\nConstructs a Polygon value using its WKB representation and SRID.\n\nThe result is NULL if the WKB or SRID argument is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (301,32,'MAKETIME','Syntax:\nMAKETIME(hour,minute,second)\n\nReturns a time value calculated from the hour, minute, and second\narguments.\n\nThe second argument can have a fractional part.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT MAKETIME(12,15,30);\n -> \'12:15:30\'\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (302,32,'CURDATE','Syntax:\nCURDATE()\n\nReturns the current date as a value in \'YYYY-MM-DD\' or YYYYMMDD format,\ndepending on whether the function is used in a string or numeric\ncontext.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT CURDATE();\n -> \'2008-06-13\'\nmysql> SELECT CURDATE() + 0;\n -> 20080613\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (303,10,'SET PASSWORD','Syntax:\nSET PASSWORD [FOR user] = password_option\n\npassword_option: {\n \'auth_string\'\n | PASSWORD(\'auth_string\')\n}\n\nThe SET PASSWORD statement assigns a password to a MySQL user account.\n\'auth_string\' represents a cleartext (unencrypted) password.\n\n*Note*:\n\no SET PASSWORD ... = PASSWORD(\'auth_string\') syntax is deprecated as of\n MySQL 5.7.6 and will be removed in a future MySQL release.\n\no SET PASSWORD ... = \'auth_string\' syntax is not deprecated, but ALTER\n USER is the preferred statement for account alterations, including\n assigning passwords. For example:\n\nALTER USER user IDENTIFIED BY \'auth_string\';\n\n*Important*:\n\nUnder some circumstances, SET PASSWORD may be recorded in server logs\nor on the client side in a history file such as ~/.mysql_history, which\nmeans that cleartext passwords may be read by anyone having read access\nto that information. For information about the conditions under which\nthis occurs for the server logs and how to control it, see\nhttp://dev.mysql.com/doc/refman/5.7/en/password-logging.html. For\nsimilar information about client-side logging, see\nhttp://dev.mysql.com/doc/refman/5.7/en/mysql-logging.html.\n\nSET PASSWORD can be used with or without a FOR clause that explicitly\nnames a user account:\n\no With a FOR user clause, the statement sets the password for the named\n account, which must exist:\n\nSET PASSWORD FOR \'jeffrey\'@\'localhost\' = \'auth_string\';\n\no With no FOR user clause, the statement sets the password for the\n current user:\n\nSET PASSWORD = \'auth_string\';\n\n Any client who connects to the server using a nonanonymous account\n can change the password for that account. To see which account the\n server authenticated you as, invoke the CURRENT_USER() function:\n\nSELECT CURRENT_USER();\n\nSetting the password for a named account (with a FOR clause) requires\nthe UPDATE privilege for the mysql database. Setting the password for\nyourself (for a nonanonymous account with no FOR clause) requires no\nspecial privileges. When the read_only system variable is enabled, SET\nPASSWORD requires the SUPER privilege in addition to any other required\nprivileges.\n\nIf a FOR user clause is given, the account name uses the format\ndescribed in http://dev.mysql.com/doc/refman/5.7/en/account-names.html.\nFor example:\n\nSET PASSWORD FOR \'bob\'@\'%.example.org\' = \'auth_string\';\n\nThe host name part of the account name, if omitted, defaults to \'%\'.\n\nThe password can be specified in these ways:\n\no Use a string without PASSWORD()\n\nSET PASSWORD FOR \'jeffrey\'@\'localhost\' = \'password\';\n\n SET PASSWORD interprets the string as a cleartext string, passes it\n to the authentication plugin associated with the account, and stores\n the result returned by the plugin in the mysql.user account row. (The\n plugin is given the opportunity to hash the value into the encryption\n format it expects. The plugin may use the value as specified, in\n which case no hashing occurs.)\n\no Use the PASSWORD() function (deprecated as of MySQL 5.7.6)\n\nSET PASSWORD FOR \'jeffrey\'@\'localhost\' = PASSWORD(\'password\');\n\n The PASSWORD() argument is the cleartext (unencrypted) password.\n PASSWORD() hashes the password and returns the encrypted password\n string for storage in the mysql.user account row.\n\n The PASSWORD() function hashes the password using the hashing method\n determined by the value of the old_passwords system variable value.\n Be sure that old_passwords has the value corresponding to the hashing\n method expected by the authentication plugin associated with the\n account. For example, if the account uses the mysql_native_password\n plugin, the old_passwords value must be 0:\n\nSET old_passwords = 0;\nSET PASSWORD FOR \'jeffrey\'@\'localhost\' = PASSWORD(\'password\');\n\n If the old_passwords value differs from that required by the\n authentication plugin, the hashed password value returned by\n PASSWORD() will not by usable by the plugin and correct\n authentication of client connections will not occur.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/set-password.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/set-password.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (303,10,'SET PASSWORD','Syntax:\nSET PASSWORD [FOR user] = password_option\n\npassword_option: {\n \'auth_string\'\n | PASSWORD(\'auth_string\')\n}\n\nThe SET PASSWORD statement assigns a password to a MySQL user account.\n\'auth_string\' represents a cleartext (unencrypted) password.\n\n*Note*:\n\no SET PASSWORD ... = PASSWORD(\'auth_string\') syntax is deprecated as of\n MySQL 5.7.6 and will be removed in a future MySQL release.\n\no SET PASSWORD ... = \'auth_string\' syntax is not deprecated, but ALTER\n USER is the preferred statement for account alterations, including\n assigning passwords. For example:\n\nALTER USER user IDENTIFIED BY \'auth_string\';\n\n*Important*:\n\nUnder some circumstances, SET PASSWORD may be recorded in server logs\nor on the client side in a history file such as ~/.mysql_history, which\nmeans that cleartext passwords may be read by anyone having read access\nto that information. For information about the conditions under which\nthis occurs for the server logs and how to control it, see\nhttp://dev.mysql.com/doc/refman/5.7/en/password-logging.html. For\nsimilar information about client-side logging, see\nhttp://dev.mysql.com/doc/refman/5.7/en/mysql-logging.html.\n\nSET PASSWORD can be used with or without a FOR clause that explicitly\nnames a user account:\n\no With a FOR user clause, the statement sets the password for the named\n account, which must exist:\n\nSET PASSWORD FOR \'jeffrey\'@\'localhost\' = \'auth_string\';\n\no With no FOR user clause, the statement sets the password for the\n current user:\n\nSET PASSWORD = \'auth_string\';\n\n Any client who connects to the server using a nonanonymous account\n can change the password for that account. (In particular, you can\n change your own password.) To see which account the server\n authenticated you as, invoke the CURRENT_USER() function:\n\nSELECT CURRENT_USER();\n\nSetting the password for a named account (with a FOR clause) requires\nthe UPDATE privilege for the mysql system database. Setting the\npassword for yourself (for a nonanonymous account with no FOR clause)\nrequires no special privileges. When the read_only system variable is\nenabled, SET PASSWORD requires the SUPER privilege in addition to any\nother required privileges.\n\nIf a FOR user clause is given, the account name uses the format\ndescribed in http://dev.mysql.com/doc/refman/5.7/en/account-names.html.\nFor example:\n\nSET PASSWORD FOR \'bob\'@\'%.example.org\' = \'auth_string\';\n\nThe host name part of the account name, if omitted, defaults to \'%\'.\n\nThe password can be specified in these ways:\n\no Use a string without PASSWORD()\n\nSET PASSWORD FOR \'jeffrey\'@\'localhost\' = \'password\';\n\n SET PASSWORD interprets the string as a cleartext string, passes it\n to the authentication plugin associated with the account, and stores\n the result returned by the plugin in the mysql.user account row. (The\n plugin is given the opportunity to hash the value into the encryption\n format it expects. The plugin may use the value as specified, in\n which case no hashing occurs.)\n\no Use the PASSWORD() function (deprecated as of MySQL 5.7.6)\n\nSET PASSWORD FOR \'jeffrey\'@\'localhost\' = PASSWORD(\'password\');\n\n The PASSWORD() argument is the cleartext (unencrypted) password.\n PASSWORD() hashes the password and returns the encrypted password\n string for storage in the mysql.user account row.\n\n The PASSWORD() function hashes the password using the hashing method\n determined by the value of the old_passwords system variable value.\n Be sure that old_passwords has the value corresponding to the hashing\n method expected by the authentication plugin associated with the\n account. For example, if the account uses the mysql_native_password\n plugin, the old_passwords value must be 0:\n\nSET old_passwords = 0;\nSET PASSWORD FOR \'jeffrey\'@\'localhost\' = PASSWORD(\'password\');\n\n If the old_passwords value differs from that required by the\n authentication plugin, the hashed password value returned by\n PASSWORD() will not by usable by the plugin and correct\n authentication of client connections will not occur.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/set-password.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/set-password.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (304,7,'JSON_QUOTE','Syntax:\nJSON_QUOTE(string)\n\nQuotes a string as a JSON value by wrapping it with double quote\ncharacters and escaping interior quote and other characters, then\nreturning the result as a utf8mb4 string. Returns NULL if the argument\nis NULL.\n\nThis function is typically used to produce a valid JSON string literal\nfor inclusion within a JSON document.\n\nCertain special characters are escaped with backslashes per the escape\nsequences shown in\nhttp://dev.mysql.com/doc/refman/5.7/en/json-modification-functions.html\n#json-unquote-character-escape-sequences.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/json-creation-functions.html\n\n','mysql> SELECT JSON_QUOTE(\'null\'), JSON_QUOTE(\'"null"\');\n+--------------------+----------------------+\n| JSON_QUOTE(\'null\') | JSON_QUOTE(\'"null"\') |\n+--------------------+----------------------+\n| "null" | "\\"null\\"" |\n+--------------------+----------------------+\nmysql> SELECT JSON_QUOTE(\'[1, 2, 3]\');\n+-------------------------+\n| JSON_QUOTE(\'[1, 2, 3]\') |\n+-------------------------+\n| "[1, 2, 3]" |\n+-------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/json-creation-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (305,17,'DATABASE','Syntax:\nDATABASE()\n\nReturns the default (current) database name as a string in the utf8\ncharacter set. If there is no default database, DATABASE() returns\nNULL. Within a stored routine, the default database is the database\nthat the routine is associated with, which is not necessarily the same\nas the database that is the default in the calling context.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/information-functions.html\n\n','mysql> SELECT DATABASE();\n -> \'test\'\n','http://dev.mysql.com/doc/refman/5.7/en/information-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (306,6,'IF FUNCTION','Syntax:\nIF(expr1,expr2,expr3)\n\nIf expr1 is TRUE (expr1 <> 0 and expr1 <> NULL), IF() returns expr2.\nOtherwise, it returns expr3.\n\n*Note*:\n\nThere is also an IF statement, which differs from the IF() function\ndescribed here. See [HELP IF statement].\n\nIf only one of expr2 or expr3 is explicitly NULL, the result type of\nthe IF() function is the type of the non-NULL expression.\n\nThe default return type of IF() (which may matter when it is stored\ninto a temporary table) is calculated as follows:\n\no If expr2 or expr3 produce a string, the result is a string.\n\n If expr2 and expr3 are both strings, the result is case-sensitive if\n either string is case sensitive.\n\no If expr2 or expr3 produce a floating-point value, the result is a\n floating-point value.\n\no If expr2 or expr3 produce an integer, the result is an integer.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/control-flow-functions.html\n\n','mysql> SELECT IF(1>2,2,3);\n -> 3\nmysql> SELECT IF(1<2,\'yes\',\'no\');\n -> \'yes\'\nmysql> SELECT IF(STRCMP(\'test\',\'test1\'),\'no\',\'yes\');\n -> \'no\'\n','http://dev.mysql.com/doc/refman/5.7/en/control-flow-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (307,33,'POINTFROMWKB','PointFromWKB(wkb[, srid])\n\nST_PointFromWKB() and PointFromWKB() are synonyms. For more\ninformation, see the description of ST_PointFromWKB().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (308,3,'POWER','Syntax:\nPOWER(X,Y)\n\nThis is a synonym for POW().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (309,3,'ATAN','Syntax:\nATAN(X)\n\nReturns the arc tangent of X, that is, the value whose tangent is X.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html\n\n','mysql> SELECT ATAN(2);\n -> 1.1071487177941\nmysql> SELECT ATAN(-2);\n -> -1.1071487177941\n','http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (310,27,'SHOW PROFILE','Syntax:\nSHOW PROFILE [type [, type] ... ]\n [FOR QUERY n]\n [LIMIT row_count [OFFSET offset]]\n\ntype:\n ALL\n | BLOCK IO\n | CONTEXT SWITCHES\n | CPU\n | IPC\n | MEMORY\n | PAGE FAULTS\n | SOURCE\n | SWAPS\n\nThe SHOW PROFILE and SHOW PROFILES statements display profiling\ninformation that indicates resource usage for statements executed\nduring the course of the current session.\n\n*Note*:\n\nThese statements are deprecated and will be removed in a future MySQL\nrelease. Use the Performance Schema instead; see\nhttp://dev.mysql.com/doc/refman/5.7/en/performance-schema-query-profili\nng.html.\n\nProfiling is controlled by the profiling session variable, which has a\ndefault value of 0 (OFF). Profiling is enabled by setting profiling to\n1 or ON:\n\nmysql> SET profiling = 1;\n\nSHOW PROFILES displays a list of the most recent statements sent to the\nserver. The size of the list is controlled by the\nprofiling_history_size session variable, which has a default value of\n15. The maximum value is 100. Setting the value to 0 has the practical\neffect of disabling profiling.\n\nAll statements are profiled except SHOW PROFILE and SHOW PROFILES, so\nyou will find neither of those statements in the profile list.\nMalformed statements are profiled. For example, SHOW PROFILING is an\nillegal statement, and a syntax error occurs if you try to execute it,\nbut it will show up in the profiling list.\n\nSHOW PROFILE displays detailed information about a single statement.\nWithout the FOR QUERY n clause, the output pertains to the most\nrecently executed statement. If FOR QUERY n is included, SHOW PROFILE\ndisplays information for statement n. The values of n correspond to the\nQuery_ID values displayed by SHOW PROFILES.\n\nThe LIMIT row_count clause may be given to limit the output to\nrow_count rows. If LIMIT is given, OFFSET offset may be added to begin\nthe output offset rows into the full set of rows.\n\nBy default, SHOW PROFILE displays Status and Duration columns. The\nStatus values are like the State values displayed by SHOW PROCESSLIST,\nalthough there might be some minor differences in interpretion for the\ntwo statements for some status values (see\nhttp://dev.mysql.com/doc/refman/5.7/en/thread-information.html).\n\nOptional type values may be specified to display specific additional\ntypes of information:\n\no ALL displays all information\n\no BLOCK IO displays counts for block input and output operations\n\no CONTEXT SWITCHES displays counts for voluntary and involuntary\n context switches\n\no CPU displays user and system CPU usage times\n\no IPC displays counts for messages sent and received\n\no MEMORY is not currently implemented\n\no PAGE FAULTS displays counts for major and minor page faults\n\no SOURCE displays the names of functions from the source code, together\n with the name and line number of the file in which the function\n occurs\n\no SWAPS displays swap counts\n\nProfiling is enabled per session. When a session ends, its profiling\ninformation is lost.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-profile.html\n\n','mysql> SELECT @@profiling;\n+-------------+\n| @@profiling |\n+-------------+\n| 0 |\n+-------------+\n1 row in set (0.00 sec)\n\nmysql> SET profiling = 1;\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> DROP TABLE IF EXISTS t1;\nQuery OK, 0 rows affected, 1 warning (0.00 sec)\n\nmysql> CREATE TABLE T1 (id INT);\nQuery OK, 0 rows affected (0.01 sec)\n\nmysql> SHOW PROFILES;\n+----------+----------+--------------------------+\n| Query_ID | Duration | Query |\n+----------+----------+--------------------------+\n| 0 | 0.000088 | SET PROFILING = 1 |\n| 1 | 0.000136 | DROP TABLE IF EXISTS t1 |\n| 2 | 0.011947 | CREATE TABLE t1 (id INT) |\n+----------+----------+--------------------------+\n3 rows in set (0.00 sec)\n\nmysql> SHOW PROFILE;\n+----------------------+----------+\n| Status | Duration |\n+----------------------+----------+\n| checking permissions | 0.000040 |\n| creating table | 0.000056 |\n| After create | 0.011363 |\n| query end | 0.000375 |\n| freeing items | 0.000089 |\n| logging slow query | 0.000019 |\n| cleaning up | 0.000005 |\n+----------------------+----------+\n7 rows in set (0.00 sec)\n\nmysql> SHOW PROFILE FOR QUERY 1;\n+--------------------+----------+\n| Status | Duration |\n+--------------------+----------+\n| query end | 0.000107 |\n| freeing items | 0.000008 |\n| logging slow query | 0.000015 |\n| cleaning up | 0.000006 |\n+--------------------+----------+\n4 rows in set (0.00 sec)\n\nmysql> SHOW PROFILE CPU FOR QUERY 2;\n+----------------------+----------+----------+------------+\n| Status | Duration | CPU_user | CPU_system |\n+----------------------+----------+----------+------------+\n| checking permissions | 0.000040 | 0.000038 | 0.000002 |\n| creating table | 0.000056 | 0.000028 | 0.000028 |\n| After create | 0.011363 | 0.000217 | 0.001571 |\n| query end | 0.000375 | 0.000013 | 0.000028 |\n| freeing items | 0.000089 | 0.000010 | 0.000014 |\n| logging slow query | 0.000019 | 0.000009 | 0.000010 |\n| cleaning up | 0.000005 | 0.000003 | 0.000002 |\n+----------------------+----------+----------+------------+\n7 rows in set (0.00 sec)\n','http://dev.mysql.com/doc/refman/5.7/en/show-profile.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (310,27,'SHOW PROFILE','Syntax:\nSHOW PROFILE [type [, type] ... ]\n [FOR QUERY n]\n [LIMIT row_count [OFFSET offset]]\n\ntype: {\n ALL\n | BLOCK IO\n | CONTEXT SWITCHES\n | CPU\n | IPC\n | MEMORY\n | PAGE FAULTS\n | SOURCE\n | SWAPS\n}\n\nThe SHOW PROFILE and SHOW PROFILES statements display profiling\ninformation that indicates resource usage for statements executed\nduring the course of the current session.\n\n*Note*:\n\nThe SHOW PROFILE and SHOW PROFILES statements are deprecated and will\nbe removed in a future MySQL release. Use the Performance Schema\ninstead; see\nhttp://dev.mysql.com/doc/refman/5.7/en/performance-schema-query-profili\nng.html.\n\nTo control profiling, use the profiling session variable, which has a\ndefault value of 0 (OFF). Enable profiling by setting profiling to 1 or\nON:\n\nmysql> SET profiling = 1;\n\nSHOW PROFILES displays a list of the most recent statements sent to the\nserver. The size of the list is controlled by the\nprofiling_history_size session variable, which has a default value of\n15. The maximum value is 100. Setting the value to 0 has the practical\neffect of disabling profiling.\n\nAll statements are profiled except SHOW PROFILE and SHOW PROFILES, so\nyou will find neither of those statements in the profile list.\nMalformed statements are profiled. For example, SHOW PROFILING is an\nillegal statement, and a syntax error occurs if you try to execute it,\nbut it will show up in the profiling list.\n\nSHOW PROFILE displays detailed information about a single statement.\nWithout the FOR QUERY n clause, the output pertains to the most\nrecently executed statement. If FOR QUERY n is included, SHOW PROFILE\ndisplays information for statement n. The values of n correspond to the\nQuery_ID values displayed by SHOW PROFILES.\n\nThe LIMIT row_count clause may be given to limit the output to\nrow_count rows. If LIMIT is given, OFFSET offset may be added to begin\nthe output offset rows into the full set of rows.\n\nBy default, SHOW PROFILE displays Status and Duration columns. The\nStatus values are like the State values displayed by SHOW PROCESSLIST,\nalthough there might be some minor differences in interpretion for the\ntwo statements for some status values (see\nhttp://dev.mysql.com/doc/refman/5.7/en/thread-information.html).\n\nOptional type values may be specified to display specific additional\ntypes of information:\n\no ALL displays all information\n\no BLOCK IO displays counts for block input and output operations\n\no CONTEXT SWITCHES displays counts for voluntary and involuntary\n context switches\n\no CPU displays user and system CPU usage times\n\no IPC displays counts for messages sent and received\n\no MEMORY is not currently implemented\n\no PAGE FAULTS displays counts for major and minor page faults\n\no SOURCE displays the names of functions from the source code, together\n with the name and line number of the file in which the function\n occurs\n\no SWAPS displays swap counts\n\nProfiling is enabled per session. When a session ends, its profiling\ninformation is lost.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-profile.html\n\n','mysql> SELECT @@profiling;\n+-------------+\n| @@profiling |\n+-------------+\n| 0 |\n+-------------+\n1 row in set (0.00 sec)\n\nmysql> SET profiling = 1;\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> DROP TABLE IF EXISTS t1;\nQuery OK, 0 rows affected, 1 warning (0.00 sec)\n\nmysql> CREATE TABLE T1 (id INT);\nQuery OK, 0 rows affected (0.01 sec)\n\nmysql> SHOW PROFILES;\n+----------+----------+--------------------------+\n| Query_ID | Duration | Query |\n+----------+----------+--------------------------+\n| 0 | 0.000088 | SET PROFILING = 1 |\n| 1 | 0.000136 | DROP TABLE IF EXISTS t1 |\n| 2 | 0.011947 | CREATE TABLE t1 (id INT) |\n+----------+----------+--------------------------+\n3 rows in set (0.00 sec)\n\nmysql> SHOW PROFILE;\n+----------------------+----------+\n| Status | Duration |\n+----------------------+----------+\n| checking permissions | 0.000040 |\n| creating table | 0.000056 |\n| After create | 0.011363 |\n| query end | 0.000375 |\n| freeing items | 0.000089 |\n| logging slow query | 0.000019 |\n| cleaning up | 0.000005 |\n+----------------------+----------+\n7 rows in set (0.00 sec)\n\nmysql> SHOW PROFILE FOR QUERY 1;\n+--------------------+----------+\n| Status | Duration |\n+--------------------+----------+\n| query end | 0.000107 |\n| freeing items | 0.000008 |\n| logging slow query | 0.000015 |\n| cleaning up | 0.000006 |\n+--------------------+----------+\n4 rows in set (0.00 sec)\n\nmysql> SHOW PROFILE CPU FOR QUERY 2;\n+----------------------+----------+----------+------------+\n| Status | Duration | CPU_user | CPU_system |\n+----------------------+----------+----------+------------+\n| checking permissions | 0.000040 | 0.000038 | 0.000002 |\n| creating table | 0.000056 | 0.000028 | 0.000028 |\n| After create | 0.011363 | 0.000217 | 0.001571 |\n| query end | 0.000375 | 0.000013 | 0.000028 |\n| freeing items | 0.000089 | 0.000010 | 0.000014 |\n| logging slow query | 0.000019 | 0.000009 | 0.000010 |\n| cleaning up | 0.000005 | 0.000003 | 0.000002 |\n+----------------------+----------+----------+------------+\n7 rows in set (0.00 sec)\n','http://dev.mysql.com/doc/refman/5.7/en/show-profile.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (311,3,'LN','Syntax:\nLN(X)\n\nReturns the natural logarithm of X; that is, the base-e logarithm of X.\nIf X is less than or equal to 0.0E0, the function returns NULL and (as\nof MySQL 5.7.4) a warning "Invalid argument for logarithm" is reported.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html\n\n','mysql> SELECT LN(2);\n -> 0.69314718055995\nmysql> SELECT LN(-2);\n -> NULL\n','http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (312,27,'SET CHARACTER SET','Syntax:\nSET {CHARACTER SET | CHARSET}\n {\'charset_name\' | DEFAULT}\n\nThis statement maps all strings sent between the server and the current\nclient with the given mapping. SET CHARACTER SET sets three session\nsystem variables: character_set_client and character_set_results are\nset to the given character set, and character_set_connection to the\nvalue of character_set_database. See\nhttp://dev.mysql.com/doc/refman/5.7/en/charset-connection.html.\n\ncharset_name may be quoted or unquoted.\n\nThe default character set mapping can be restored by using the value\nDEFAULT. The default depends on the server configuration.\n\nucs2, utf16, and utf32 cannot be used as a client character set, which\nmeans that they do not work for SET CHARACTER SET.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/set-character-set.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/set-character-set.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (312,27,'SET CHARACTER SET','Syntax:\nSET {CHARACTER SET | CHARSET}\n {\'charset_name\' | DEFAULT}\n\nThis statement maps all strings sent between the server and the current\nclient with the given mapping. SET CHARACTER SET sets three session\nsystem variables: character_set_client and character_set_results are\nset to the given character set, and character_set_connection to the\nvalue of character_set_database. See\nhttp://dev.mysql.com/doc/refman/5.7/en/charset-connection.html.\n\ncharset_name may be quoted or unquoted.\n\nThe default character set mapping can be restored by using the value\nDEFAULT. The default depends on the server configuration.\n\nSome character sets cannot be used as the client character set.\nAttempting to use them with SET CHARACTER SET produces an error. See\nhttp://dev.mysql.com/doc/refman/5.7/en/charset-connection.html#charset-\nconnection-impermissible-client-charset.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/set-character-set.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/set-character-set.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (313,24,'RETURN','Syntax:\nRETURN expr\n\nThe RETURN statement terminates execution of a stored function and\nreturns the value expr to the function caller. There must be at least\none RETURN statement in a stored function. There may be more than one\nif the function has multiple exit points.\n\nThis statement is not used in stored procedures, triggers, or events.\nThe LEAVE statement can be used to exit a stored program of those\ntypes.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/return.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/return.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (314,8,'SET SQL_LOG_BIN','Syntax:\nSET sql_log_bin = {0|1}\n\nThe sql_log_bin variable controls whether logging to the binary log is\ndone. The default value is 1 (do logging). To change logging for the\ncurrent session, change the session value of this variable. The session\nuser must have the SUPER privilege to set this variable. Set this\nvariable to 0 for a session to temporarily disable binary logging while\nmaking changes to the master which you do not want to replicate to the\nslave.\n\nThe global sql_log_bin variable is read only and cannot be modified.\nThe global scope is deprecated and will be removed in a future MySQL\nrelease.\n\nIt is not possible to set @@session.sql_log_bin within a transaction or\nsubquery.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/set-sql-log-bin.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/set-sql-log-bin.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (314,8,'SET SQL_LOG_BIN','Syntax:\nSET sql_log_bin = {OFF|ON}\n\nThe sql_log_bin variable controls whether logging to the binary log is\nenabled for the current session (assuming that the binary log itself is\nenabled). The default value is ON. To disable or enable binary logging\nfor the current session, set the session sql_log_bin variable to OFF or\nON.\n\nSet this variable to OFF for a session to temporarily disable binary\nlogging while making changes to the master you do not want replicated\nto the slave.\n\nSetting the session value of this system variable is a restricted\noperation. The session user must have privileges sufficient to set\nrestricted session variables. See\nhttp://dev.mysql.com/doc/refman/5.7/en/system-variable-privileges.html.\n\nIt is not possible to set the session value of sql_log_bin within a\ntransaction or subquery.\n\nSetting this variable to OFF prevents GTIDs from being assigned to\ntransactions in the binary log. If you are using GTIDs for replication,\nthis means that even when binary logging is later enabled again, the\nGTIDs written into the log from this point do not account for any\ntransactions that occurred in the meantime, so in effect those\ntransactions are lost.\n\nThe global sql_log_bin variable is read only and cannot be modified.\nThe global scope is deprecated and will be removed in a future MySQL\nrelease.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/set-sql-log-bin.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/set-sql-log-bin.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (315,12,'AES_DECRYPT','Syntax:\nAES_DECRYPT(crypt_str,key_str[,init_vector])\n\nThis function decrypts data using the official AES (Advanced Encryption\nStandard) algorithm. For more information, see the description of\nAES_ENCRYPT().\n\nThe optional initialization vector argument, init_vector, is available\nas of MySQL 5.7.4. As of that version, statements that use\nAES_DECRYPT() are unsafe for statement-based replication and cannot be\nstored in the query cache.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (316,17,'COERCIBILITY','Syntax:\nCOERCIBILITY(str)\n\nReturns the collation coercibility value of the string argument.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/information-functions.html\n\n','mysql> SELECT COERCIBILITY(\'abc\' COLLATE latin1_swedish_ci);\n -> 0\nmysql> SELECT COERCIBILITY(USER());\n -> 3\nmysql> SELECT COERCIBILITY(\'abc\');\n -> 4\nmysql> SELECT COERCIBILITY(1000);\n -> 5\n','http://dev.mysql.com/doc/refman/5.7/en/information-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (317,23,'INT','INT[(M)] [UNSIGNED] [ZEROFILL]\n\nA normal-size integer. The signed range is -2147483648 to 2147483647.\nThe unsigned range is 0 to 4294967295.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/numeric-type-overview.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/numeric-type-overview.html'); @@ -407,21 +407,21 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (326,28,'REPLACE','Syntax:\nREPLACE [LOW_PRIORITY | DELAYED]\n [INTO] tbl_name\n [PARTITION (partition_name [, partition_name] ...)]\n [(col_name [, col_name] ...)]\n {VALUES | VALUE} (value_list) [, (value_list)] ...\n\nREPLACE [LOW_PRIORITY | DELAYED]\n [INTO] tbl_name\n [PARTITION (partition_name [, partition_name] ...)]\n SET assignment_list\n\nREPLACE [LOW_PRIORITY | DELAYED]\n [INTO] tbl_name\n [PARTITION (partition_name [, partition_name] ...)]\n [(col_name [, col_name] ...)]\n SELECT ...\n\nvalue:\n {expr | DEFAULT}\n\nvalue_list:\n value [, value] ...\n\nassignment:\n col_name = value\n\nassignment_list:\n assignment [, assignment] ...\n\nREPLACE works exactly like INSERT, except that if an old row in the\ntable has the same value as a new row for a PRIMARY KEY or a UNIQUE\nindex, the old row is deleted before the new row is inserted. See [HELP\nINSERT].\n\nREPLACE is a MySQL extension to the SQL standard. It either inserts, or\ndeletes and inserts. For another MySQL extension to standard SQL---that\neither inserts or updates---see\nhttp://dev.mysql.com/doc/refman/5.7/en/insert-on-duplicate.html.\n\nDELAYED inserts and replaces were deprecated in MySQL 5.6. In MySQL\n5.7, DELAYED is not supported. The server recognizes but ignores the\nDELAYED keyword, handles the replace as a nondelayed replace, and\ngenerates an ER_WARN_LEGACY_SYNTAX_CONVERTED warning. ("REPLACE DELAYED\nis no longer supported. The statement was converted to REPLACE.") The\nDELAYED keyword will be removed in a future release.\n\n*Note*:\n\nREPLACE makes sense only if a table has a PRIMARY KEY or UNIQUE index.\nOtherwise, it becomes equivalent to INSERT, because there is no index\nto be used to determine whether a new row duplicates another.\n\nValues for all columns are taken from the values specified in the\nREPLACE statement. Any missing columns are set to their default values,\njust as happens for INSERT. You cannot refer to values from the current\nrow and use them in the new row. If you use an assignment such as SET\ncol_name = col_name + 1, the reference to the column name on the right\nhand side is treated as DEFAULT(col_name), so the assignment is\nequivalent to SET col_name = DEFAULT(col_name) + 1.\n\nTo use REPLACE, you must have both the INSERT and DELETE privileges for\nthe table.\n\nIf a generated column is replaced explicitly, the only permitted value\nis DEFAULT. For information about generated columns, see\nhttp://dev.mysql.com/doc/refman/5.7/en/create-table-generated-columns.h\ntml.\n\nREPLACE supports explicit partition selection using the PARTITION\nkeyword with a list of comma-separated names of partitions,\nsubpartitions, or both. As with INSERT, if it is not possible to insert\nthe new row into any of these partitions or subpartitions, the REPLACE\nstatement fails with the error Found a row not matching the given\npartition set. For more information and examples, see\nhttp://dev.mysql.com/doc/refman/5.7/en/partitioning-selection.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/replace.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/replace.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (327,32,'CURRENT_TIMESTAMP','Syntax:\nCURRENT_TIMESTAMP, CURRENT_TIMESTAMP([fsp])\n\nCURRENT_TIMESTAMP and CURRENT_TIMESTAMP() are synonyms for NOW().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (328,26,'ST_SYMDIFFERENCE','ST_SymDifference(g1, g2)\n\nReturns a geometry that represents the point set symmetric difference\nof the geometry values g1 and g2, which is defined as:\n\ng1 symdifference g2 := (g1 union g2) difference (g1 intersection g2)\n\nOr, in function call notation:\n\nST_SymDifference(g1, g2) = ST_Difference(ST_Union(g1, g2), ST_Intersection(g1, g2))\n\nIf any argument is NULL, the return value is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-operator-functions.html\n\n','mysql> SET @g1 = Point(1,1), @g2 = Point(2,2);\nmysql> SELECT ST_AsText(ST_SymDifference(@g1, @g2));\n+---------------------------------------+\n| ST_AsText(ST_SymDifference(@g1, @g2)) |\n+---------------------------------------+\n| MULTIPOINT((1 1),(2 2)) |\n+---------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/spatial-operator-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (329,7,'GTID_SUBSET','Syntax:\nGTID_SUBSET(subset,set)\n\nGiven two sets of global transaction IDs subset and set, returns true\nif all GTIDs in subset are also in set. Returns false otherwise.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gtid-functions.html\n\n','mysql> SELECT GTID_SUBSET(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:23\',\n -> \'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\')\\G\n*************************** 1. row ***************************\nGTID_SUBSET(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:23\',\n \'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\'): 1\n1 row in set (0.00 sec)\n\nmysql> SELECT GTID_SUBSET(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:23-25\',\n -> \'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\')\\G\n*************************** 1. row ***************************\nGTID_SUBSET(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:23-25\',\n \'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\'): 1\n1 row in set (0.00 sec)\n\nmysql> SELECT GTID_SUBSET(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:20-25\',\n -> \'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\')\\G\n*************************** 1. row ***************************\nGTID_SUBSET(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:20-25\',\n \'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\'): 0\n1 row in set (0.00 sec)\n','http://dev.mysql.com/doc/refman/5.7/en/gtid-functions.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (329,7,'GTID_SUBSET','Syntax:\nGTID_SUBSET(set1,set2)\n\nGiven two sets of global transaction IDs set1 and set2, returns true if\nall GTIDs in set1 are also in set2. Returns false otherwise.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gtid-functions.html\n\n','mysql> SELECT GTID_SUBSET(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:23\',\n -> \'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\')\\G\n*************************** 1. row ***************************\nGTID_SUBSET(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:23\',\n \'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\'): 1\n1 row in set (0.00 sec)\n\nmysql> SELECT GTID_SUBSET(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:23-25\',\n -> \'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\')\\G\n*************************** 1. row ***************************\nGTID_SUBSET(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:23-25\',\n \'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\'): 1\n1 row in set (0.00 sec)\n\nmysql> SELECT GTID_SUBSET(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:20-25\',\n -> \'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\')\\G\n*************************** 1. row ***************************\nGTID_SUBSET(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:20-25\',\n \'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\'): 0\n1 row in set (0.00 sec)\n','http://dev.mysql.com/doc/refman/5.7/en/gtid-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (330,16,'VAR_SAMP','Syntax:\nVAR_SAMP(expr)\n\nReturns the sample variance of expr. That is, the denominator is the\nnumber of rows minus one.\n\nIf there are no matching rows, VAR_SAMP() returns NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/group-by-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/group-by-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (331,23,'DATETIME','DATETIME[(fsp)]\n\nA date and time combination. The supported range is \'1000-01-01\n00:00:00.000000\' to \'9999-12-31 23:59:59.999999\'. MySQL displays\nDATETIME values in \'YYYY-MM-DD HH:MM:SS[.fraction]\' format, but permits\nassignment of values to DATETIME columns using either strings or\nnumbers.\n\nAn optional fsp value in the range from 0 to 6 may be given to specify\nfractional seconds precision. A value of 0 signifies that there is no\nfractional part. If omitted, the default precision is 0.\n\nAutomatic initialization and updating to the current date and time for\nDATETIME columns can be specified using DEFAULT and ON UPDATE column\ndefinition clauses, as described in\nhttp://dev.mysql.com/doc/refman/5.7/en/timestamp-initialization.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-type-overview.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-type-overview.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (332,8,'CHANGE REPLICATION FILTER','Syntax:\nCHANGE REPLICATION FILTER filter[, filter][, ...]\n\nfilter:\n REPLICATE_DO_DB = (db_list)\n | REPLICATE_IGNORE_DB = (db_list)\n | REPLICATE_DO_TABLE = (tbl_list)\n | REPLICATE_IGNORE_TABLE = (tbl_list)\n | REPLICATE_WILD_DO_TABLE = (wild_tbl_list)\n | REPLICATE_WILD_IGNORE_TABLE = (wild_tbl_list)\n | REPLICATE_REWRITE_DB = (db_pair_list)\n\ndb_list:\n db_name[, db_name][, ...]\n\ntbl_list:\n db_name.table_name[, db_table_name][, ...]\nwild_tbl_list:\n \'db_pattern.table_pattern\'[, \'db_pattern.table_pattern\'][, ...]\n\ndb_pair_list:\n (db_pair)[, (db_pair)][, ...]\n\ndb_pair:\n from_db, to_db\n\nCHANGE REPLICATION FILTER sets one or more replication filtering rules\non the slave in the same way as starting the slave mysqld with\nreplication filtering options such as --replicate-do-db or\n--replicate-wild-ignore-table. Unlike the case with the server options,\nthis statement does not require restarting the server to take effect,\nonly that the slave SQL thread be stopped using STOP SLAVE SQL_THREAD\nfirst (and restarted with START SLAVE SQL_THREAD afterwards). CHANGE\nREPLICATION FILTER requires the SUPER privilege.\n\nThe following list shows the CHANGE REPLICATION FILTER options and how\nthey relate to --replicate-* server options:\n\no REPLICATE_DO_DB: Include updates based on database name. Equivalent\n to --replicate-do-db.\n\no REPLICATE_IGNORE_DB: Exclude updates based on database name.\n Equivalent to --replicate-ignore-db.\n\no REPLICATE_DO_TABLE: Include updates based on table name. Equivalent\n to --replicate-do-table.\n\no REPLICATE_IGNORE_TABLE: Exclude updates based on table name.\n Equivalent to --replicate-ignore-table.\n\no REPLICATE_WILD_DO_TABLE: Include updates based on wildcard pattern\n matching table name. Equivalent to --replicate-wild-do-table.\n\no REPLICATE_WILD_IGNORE_TABLE: Exclude updates based on wildcard\n pattern matching table name. Equivalent to\n --replicate-wild-ignore-table.\n\no REPLICATE_REWRITE_DB: Perform updates on slave after substituting new\n name on slave for specified database on master. Equivalent to\n --replicate-rewrite-db.\n\nThe precise effects of REPLICATE_DO_DB and REPLICATE_IGNORE_DB filters\nare dependent on whether statement-based or row-based replication is in\neffect. See\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-rules.html, for more\ninformation.\n\nMultiple replication filtering rules can be created in a single CHANGE\nREPLICATION FILTER statement by separating the rules with commas, as\nshown here:\n\nCHANGE REPLICATION FILTER\n REPLICATE_DO_DB = (d1), REPLICATE_IGNORE_DB = (d2);\n\nIssuing the statement just shown is equivalent to starting the slave\nmysqld with the options --replicate-do-db=d1 --replicate-ignore-db=d2.\n\nIf the same filtering rule is specified multiple times, only the last\nsuch rule is actually used. For example, the two statements shown here\nhave exactly the same effect, because the first REPLICATE_DO_DB rule in\nthe first statement is ignored:\n\nCHANGE REPLICATION FILTER\n REPLICATE_DO_DB = (db1, db2), REPLICATE_DO_DB = (db3, db4);\n\nCHANGE REPLICATION FILTER\n REPLICATE_DO_DB = (db3,db4);\n\n*Caution*:\n\nThis behavior differs from that of the --replicate-* filter options\nwhere specifying the same option multiple times causes the creation of\nmultiple filter rules.\n\nNames of tables and database not containing any special characters need\nnot be quoted. Values used with REPLICATION_WILD_TABLE and\nREPLICATION_WILD_IGNORE_TABLE are string expressions, possibly\ncontaining (special) wildcard characters, and so must be quoted. This\nis shown in the following example statements:\n\nCHANGE REPLICATION FILTER\n REPLICATE_WILD_DO_TABLE = (\'db1.old%\');\n\nCHANGE REPLICATION FILTER\n REPLICATE_WILD_IGNORE_TABLE = (\'db1.new%\', \'db2.new%\');\n\nValues used with REPLICATE_REWRITE_DB represent pairs of database\nnames; each such value must be enclosed in parentheses. The following\nstatement rewrites statements occurring on database db1 on the master\nto database db2 on the slave:\n\nCHANGE REPLICATION FILTER REPLICATE_REWRITE_DB = ((db1, db2));\n\nThe statement just shown contains two sets of parentheses, one\nenclosing the pair of database names, and the other enclosing the\nentire list. This is perhap more easily seen in the following example,\nwhich creates two rewrite-db rules, one rewriting database dbA to dbB,\nand one rewriting database dbC to dbD:\n\nCHANGE REPLICATION FILTER\n REPLICATE_REWRITE_DB = ((dbA, dbB), (dbC, dbD));\n\nThis statement leaves any existing replication filtering rules\nunchanged; to unset all filters of a given type, set the filter\'s value\nto an explicitly empty list, as shown in this example, which removes\nall existing REPLICATE_DO_DB and REPLICATE_IGNORE_DB rules:\n\nCHANGE REPLICATION FILTER\n REPLICATE_DO_DB = (), REPLICATE_IGNORE_DB = ();\n\nSetting a filter to empty in this way removes all existing rules, does\nnot create any new ones, and does not restore any rules set at mysqld\nstartup using --replicate-* options on the command line or in the\nconfiguration file.\n\nValues employed with REPLICATE_WILD_DO_TABLE and\nREPLICATE_WILD_IGNORE_TABLE must be in the format db_name.tbl_name.\nPrior to MySQL 5.7.5, this was not strictly enforced, although using\nnonconforming values with these options could lead to erroneous results\n(Bug #18095449).\n\nFor more information, see\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-rules.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/change-replication-filter.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/change-replication-filter.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (332,8,'CHANGE REPLICATION FILTER','Syntax:\nCHANGE REPLICATION FILTER filter[, filter][, ...]\n\nfilter:\n REPLICATE_DO_DB = (db_list)\n | REPLICATE_IGNORE_DB = (db_list)\n | REPLICATE_DO_TABLE = (tbl_list)\n | REPLICATE_IGNORE_TABLE = (tbl_list)\n | REPLICATE_WILD_DO_TABLE = (wild_tbl_list)\n | REPLICATE_WILD_IGNORE_TABLE = (wild_tbl_list)\n | REPLICATE_REWRITE_DB = (db_pair_list)\n\ndb_list:\n db_name[, db_name][, ...]\n\ntbl_list:\n db_name.table_name[, db_table_name][, ...]\nwild_tbl_list:\n \'db_pattern.table_pattern\'[, \'db_pattern.table_pattern\'][, ...]\n\ndb_pair_list:\n (db_pair)[, (db_pair)][, ...]\n\ndb_pair:\n from_db, to_db\n\nCHANGE REPLICATION FILTER sets one or more replication filtering rules\non the slave in the same way as starting the slave mysqld with\nreplication filtering options such as --replicate-do-db or\n--replicate-wild-ignore-table. Unlike the case with the server options,\nthis statement does not require restarting the server to take effect,\nonly that the slave SQL thread be stopped using STOP SLAVE SQL_THREAD\nfirst (and restarted with START SLAVE SQL_THREAD afterwards). CHANGE\nREPLICATION FILTER requires the SUPER privilege.\n\nReplication filters cannot be set on a MySQL server instance that is\nconfigured for Group Replication, because filtering transactions on\nsome servers would make the group unable to reach agreement on a\nconsistent state.\n\nThe following list shows the CHANGE REPLICATION FILTER options and how\nthey relate to --replicate-* server options:\n\no REPLICATE_DO_DB: Include updates based on database name. Equivalent\n to --replicate-do-db.\n\no REPLICATE_IGNORE_DB: Exclude updates based on database name.\n Equivalent to --replicate-ignore-db.\n\no REPLICATE_DO_TABLE: Include updates based on table name. Equivalent\n to --replicate-do-table.\n\no REPLICATE_IGNORE_TABLE: Exclude updates based on table name.\n Equivalent to --replicate-ignore-table.\n\no REPLICATE_WILD_DO_TABLE: Include updates based on wildcard pattern\n matching table name. Equivalent to --replicate-wild-do-table.\n\no REPLICATE_WILD_IGNORE_TABLE: Exclude updates based on wildcard\n pattern matching table name. Equivalent to\n --replicate-wild-ignore-table.\n\no REPLICATE_REWRITE_DB: Perform updates on slave after substituting new\n name on slave for specified database on master. Equivalent to\n --replicate-rewrite-db.\n\nThe precise effects of REPLICATE_DO_DB and REPLICATE_IGNORE_DB filters\nare dependent on whether statement-based or row-based replication is in\neffect. See\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-rules.html, for more\ninformation.\n\nMultiple replication filtering rules can be created in a single CHANGE\nREPLICATION FILTER statement by separating the rules with commas, as\nshown here:\n\nCHANGE REPLICATION FILTER\n REPLICATE_DO_DB = (d1), REPLICATE_IGNORE_DB = (d2);\n\nIssuing the statement just shown is equivalent to starting the slave\nmysqld with the options --replicate-do-db=d1 --replicate-ignore-db=d2.\n\nIf the same filtering rule is specified multiple times, only the last\nsuch rule is actually used. For example, the two statements shown here\nhave exactly the same effect, because the first REPLICATE_DO_DB rule in\nthe first statement is ignored:\n\nCHANGE REPLICATION FILTER\n REPLICATE_DO_DB = (db1, db2), REPLICATE_DO_DB = (db3, db4);\n\nCHANGE REPLICATION FILTER\n REPLICATE_DO_DB = (db3,db4);\n\n*Caution*:\n\nThis behavior differs from that of the --replicate-* filter options\nwhere specifying the same option multiple times causes the creation of\nmultiple filter rules.\n\nNames of tables and database not containing any special characters need\nnot be quoted. Values used with REPLICATION_WILD_TABLE and\nREPLICATION_WILD_IGNORE_TABLE are string expressions, possibly\ncontaining (special) wildcard characters, and so must be quoted. This\nis shown in the following example statements:\n\nCHANGE REPLICATION FILTER\n REPLICATE_WILD_DO_TABLE = (\'db1.old%\');\n\nCHANGE REPLICATION FILTER\n REPLICATE_WILD_IGNORE_TABLE = (\'db1.new%\', \'db2.new%\');\n\nValues used with REPLICATE_REWRITE_DB represent pairs of database\nnames; each such value must be enclosed in parentheses. The following\nstatement rewrites statements occurring on database db1 on the master\nto database db2 on the slave:\n\nCHANGE REPLICATION FILTER REPLICATE_REWRITE_DB = ((db1, db2));\n\nThe statement just shown contains two sets of parentheses, one\nenclosing the pair of database names, and the other enclosing the\nentire list. This is perhap more easily seen in the following example,\nwhich creates two rewrite-db rules, one rewriting database dbA to dbB,\nand one rewriting database dbC to dbD:\n\nCHANGE REPLICATION FILTER\n REPLICATE_REWRITE_DB = ((dbA, dbB), (dbC, dbD));\n\nThis statement leaves any existing replication filtering rules\nunchanged; to unset all filters of a given type, set the filter\'s value\nto an explicitly empty list, as shown in this example, which removes\nall existing REPLICATE_DO_DB and REPLICATE_IGNORE_DB rules:\n\nCHANGE REPLICATION FILTER\n REPLICATE_DO_DB = (), REPLICATE_IGNORE_DB = ();\n\nSetting a filter to empty in this way removes all existing rules, does\nnot create any new ones, and does not restore any rules set at mysqld\nstartup using --replicate-* options on the command line or in the\nconfiguration file.\n\nValues employed with REPLICATE_WILD_DO_TABLE and\nREPLICATE_WILD_IGNORE_TABLE must be in the format db_name.tbl_name.\nPrior to MySQL 5.7.5, this was not strictly enforced, although using\nnonconforming values with these options could lead to erroneous results\n(Bug #18095449).\n\nFor more information, see\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-rules.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/change-replication-filter.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/change-replication-filter.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (333,23,'INTEGER','INTEGER[(M)] [UNSIGNED] [ZEROFILL]\n\nThis type is a synonym for INT.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/numeric-type-overview.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/numeric-type-overview.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (334,27,'SHOW COLUMNS','Syntax:\nSHOW [FULL] {COLUMNS | FIELDS}\n {FROM | IN} tbl_name\n [{FROM | IN} db_name]\n [LIKE \'pattern\' | WHERE expr]\n\nSHOW COLUMNS displays information about the columns in a given table.\nIt also works for views. SHOW COLUMNS displays information only for\nthose columns for which you have some privilege.\n\nYou can use db_name.tbl_name as an alternative to the tbl_name FROM\ndb_name syntax. In other words, these two statements are equivalent:\n\nSHOW COLUMNS FROM mytable FROM mydb;\nSHOW COLUMNS FROM mydb.mytable;\n\nThe optional FULL keyword causes the output to include the column\ncollation and comments, as well as the privileges you have for each\ncolumn.\n\nThe LIKE clause, if present, indicates which column names to match. The\nWHERE clause can be given to select rows using more general conditions,\nas discussed in\nhttp://dev.mysql.com/doc/refman/5.7/en/extended-show.html.\n\nmysql> SHOW COLUMNS FROM City;\n+-------------+----------+------+-----+---------+----------------+\n| Field | Type | Null | Key | Default | Extra |\n+-------------+----------+------+-----+---------+----------------+\n| ID | int(11) | NO | PRI | NULL | auto_increment |\n| Name | char(35) | NO | | | |\n| CountryCode | char(3) | NO | MUL | | |\n| District | char(20) | NO | | | |\n| Population | int(11) | NO | | 0 | |\n+-------------+----------+------+-----+---------+----------------+\n\nThe data types may differ from what you expect them to be based on a\nCREATE TABLE statement because MySQL sometimes changes data types when\nyou create or alter a table. The conditions under which this occurs are\ndescribed in\nhttp://dev.mysql.com/doc/refman/5.7/en/silent-column-changes.html.\n\nSHOW COLUMNS displays the following values for each table column:\n\no Field\n\n The column name.\n\no Type\n\n The column data type.\n\no Collation\n\n The collation for nonbinary string columns, or NULL for other\n columns. This value is displayed only if you use the FULL keyword.\n\no Null\n\n Column nullability. The value is YES if NULL values can be stored in\n the column, NO if not.\n\no Key\n\n Whether the column is indexed:\n\n o If Key is empty, the column either is not indexed or is indexed\n only as a secondary column in a multiple-column, nonunique index.\n\n o If Key is PRI, the column is a PRIMARY KEY or is one of the columns\n in a multiple-column PRIMARY KEY.\n\n o If Key is UNI, the column is the first column of a UNIQUE index. (A\n UNIQUE index permits multiple NULL values, but you can tell whether\n the column permits NULL by checking the Null field.)\n\n o If Key is MUL, the column is the first column of a nonunique index\n in which multiple occurrences of a given value are permitted within\n the column.\n\n If more than one of the Key values applies to a given column of a\n table, Key displays the one with the highest priority, in the order\n PRI, UNI, MUL.\n\n A UNIQUE index may be displayed as PRI if it cannot contain NULL\n values and there is no PRIMARY KEY in the table. A UNIQUE index may\n display as MUL if several columns form a composite UNIQUE index;\n although the combination of the columns is unique, each column can\n still hold multiple occurrences of a given value.\n\no Default\n\n The default value for the column. This is NULL if the column has an\n explicit default of NULL, or if the column definition includes no\n DEFAULT clause.\n\no Extra\n\n Any additional information that is available about a given column.\n The value is nonempty in these cases:\n\n o auto_increment for columns that have the AUTO_INCREMENT attribute\n\n o on update CURRENT_TIMESTAMP for TIMESTAMP or DATETIME columns that\n have the ON UPDATE CURRENT_TIMESTAMP attribute\n\n o VIRTUAL GENERATED or VIRTUAL STORED for generated columns\n\no Privileges\n\n The privileges you have for the column. This value is displayed only\n if you use the FULL keyword.\n\no Comment\n\n Any comment included in the column definition. This value is\n displayed only if you use the FULL keyword.\n\nYou can also obtain information about table columns from\nINFORMATION_SCHEMA, which contains a COLUMNS table. See\nhttp://dev.mysql.com/doc/refman/5.7/en/columns-table.html.\n\nYou can list a table\'s columns with the mysqlshow db_name tbl_name\ncommand.\n\nThe DESCRIBE statement provides information similar to SHOW COLUMNS.\nSee http://dev.mysql.com/doc/refman/5.7/en/describe.html.\n\nThe SHOW CREATE TABLE, SHOW TABLE STATUS, and SHOW INDEX statements\nalso provide information about tables. See [HELP SHOW].\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-columns.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-columns.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (334,27,'SHOW COLUMNS','Syntax:\nSHOW [FULL] {COLUMNS | FIELDS}\n {FROM | IN} tbl_name\n [{FROM | IN} db_name]\n [LIKE \'pattern\' | WHERE expr]\n\nSHOW COLUMNS displays information about the columns in a given table.\nIt also works for views. SHOW COLUMNS displays information only for\nthose columns for which you have some privilege.\n\nmysql> SHOW COLUMNS FROM City;\n+-------------+----------+------+-----+---------+----------------+\n| Field | Type | Null | Key | Default | Extra |\n+-------------+----------+------+-----+---------+----------------+\n| ID | int(11) | NO | PRI | NULL | auto_increment |\n| Name | char(35) | NO | | | |\n| CountryCode | char(3) | NO | MUL | | |\n| District | char(20) | NO | | | |\n| Population | int(11) | NO | | 0 | |\n+-------------+----------+------+-----+---------+----------------+\n\nAn alternative to tbl_name FROM db_name syntax is db_name.tbl_name.\nThese two statements are equivalent:\n\nSHOW COLUMNS FROM mytable FROM mydb;\nSHOW COLUMNS FROM mydb.mytable;\n\nThe optional FULL keyword causes the output to include the column\ncollation and comments, as well as the privileges you have for each\ncolumn.\n\nThe LIKE clause, if present, indicates which column names to match. The\nWHERE clause can be given to select rows using more general conditions,\nas discussed in\nhttp://dev.mysql.com/doc/refman/5.7/en/extended-show.html.\n\nThe data types may differ from what you expect them to be based on a\nCREATE TABLE statement because MySQL sometimes changes data types when\nyou create or alter a table. The conditions under which this occurs are\ndescribed in\nhttp://dev.mysql.com/doc/refman/5.7/en/silent-column-changes.html.\n\nSHOW COLUMNS displays the following values for each table column:\n\no Field\n\n The column name.\n\no Type\n\n The column data type.\n\no Collation\n\n The collation for nonbinary string columns, or NULL for other\n columns. This value is displayed only if you use the FULL keyword.\n\no Null\n\n The column nullability. The value is YES if NULL values can be stored\n in the column, NO if not.\n\no Key\n\n Whether the column is indexed:\n\n o If Key is empty, the column either is not indexed or is indexed\n only as a secondary column in a multiple-column, nonunique index.\n\n o If Key is PRI, the column is a PRIMARY KEY or is one of the columns\n in a multiple-column PRIMARY KEY.\n\n o If Key is UNI, the column is the first column of a UNIQUE index. (A\n UNIQUE index permits multiple NULL values, but you can tell whether\n the column permits NULL by checking the Null field.)\n\n o If Key is MUL, the column is the first column of a nonunique index\n in which multiple occurrences of a given value are permitted within\n the column.\n\n If more than one of the Key values applies to a given column of a\n table, Key displays the one with the highest priority, in the order\n PRI, UNI, MUL.\n\n A UNIQUE index may be displayed as PRI if it cannot contain NULL\n values and there is no PRIMARY KEY in the table. A UNIQUE index may\n display as MUL if several columns form a composite UNIQUE index;\n although the combination of the columns is unique, each column can\n still hold multiple occurrences of a given value.\n\no Default\n\n The default value for the column. This is NULL if the column has an\n explicit default of NULL, or if the column definition includes no\n DEFAULT clause.\n\no Extra\n\n Any additional information that is available about a given column.\n The value is nonempty in these cases:\n\n o auto_increment for columns that have the AUTO_INCREMENT attribute.\n\n o on update CURRENT_TIMESTAMP for TIMESTAMP or DATETIME columns that\n have the ON UPDATE CURRENT_TIMESTAMP attribute.\n\n o VIRTUAL GENERATED or VIRTUAL STORED for generated columns.\n\no Privileges\n\n The privileges you have for the column. This value is displayed only\n if you use the FULL keyword.\n\no Comment\n\n Any comment included in the column definition. This value is\n displayed only if you use the FULL keyword.\n\nTable column information is also available from the INFORMATION_SCHEMA\nCOLUMNS table. See\nhttp://dev.mysql.com/doc/refman/5.7/en/columns-table.html.\n\nYou can list a table\'s columns with the mysqlshow db_name tbl_name\ncommand.\n\nThe DESCRIBE statement provides information similar to SHOW COLUMNS.\nSee http://dev.mysql.com/doc/refman/5.7/en/describe.html.\n\nThe SHOW CREATE TABLE, SHOW TABLE STATUS, and SHOW INDEX statements\nalso provide information about tables. See [HELP SHOW].\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-columns.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-columns.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (335,23,'TINYINT','TINYINT[(M)] [UNSIGNED] [ZEROFILL]\n\nA very small integer. The signed range is -128 to 127. The unsigned\nrange is 0 to 255.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/numeric-type-overview.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/numeric-type-overview.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (336,14,'MASTER_POS_WAIT','Syntax:\nMASTER_POS_WAIT(log_name,log_pos[,timeout][,channel])\n\nThis function is useful for control of master/slave synchronization. It\nblocks until the slave has read and applied all updates up to the\nspecified position in the master log. The return value is the number of\nlog events the slave had to wait for to advance to the specified\nposition. The function returns NULL if the slave SQL thread is not\nstarted, the slave\'s master information is not initialized, the\narguments are incorrect, or an error occurs. It returns -1 if the\ntimeout has been exceeded. If the slave SQL thread stops while\nMASTER_POS_WAIT() is waiting, the function returns NULL. If the slave\nis past the specified position, the function returns immediately.\n\nOn a multithreaded slave, the function waits until expiry of the limit\nset by the slave_checkpoint_group or slave_checkpoint_period system\nvariable, when the checkpoint operation is called to update the status\nof the slave. Depending on the setting for the system variables, the\nfunction might therefore return some time after the specified position\nwas reached.\n\nIf a timeout value is specified, MASTER_POS_WAIT() stops waiting when\ntimeout seconds have elapsed. timeout must be greater than 0; a zero or\nnegative timeout means no timeout.\n\nThe optional channel value enables you to name which replication\nchannel the function applies to. See\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-channels.html for\nmore information.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (337,19,'^','Syntax:\n^\n\nBitwise XOR.\n\nThe result is an unsigned 64-bit integer.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/bit-functions.html\n\n','mysql> SELECT 1 ^ 1;\n -> 0\nmysql> SELECT 1 ^ 0;\n -> 1\nmysql> SELECT 11 ^ 3;\n -> 8\n','http://dev.mysql.com/doc/refman/5.7/en/bit-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (338,40,'DROP VIEW','Syntax:\nDROP VIEW [IF EXISTS]\n view_name [, view_name] ...\n [RESTRICT | CASCADE]\n\nDROP VIEW removes one or more views. You must have the DROP privilege\nfor each view.\n\nIf any views named in the argument list do not exist, the statement\nreturns an error indicating by name which nonexisting views it was\nunable to drop, but also drops all views in the list that do exist.\n\n*Note*:\n\nIn MySQL 8.0, DROP VIEW fails if any views named in the argument list\ndo not exist. Due to the change in behavior, a partially completed DROP\nVIEW operation on a MySQL 5.7 master fails when replicated to a MySQL\n8.0 slave. To avoid this failure scenario, use IF EXISTS syntax in DROP\nVIEW statements to prevent an error from occurring for views that do\nnot exist. For more information, see Atomic Data Definition Statement\nSupport (http://dev.mysql.com/doc/refman/8.0/en/atomic-ddl.html).\n\nThe IF EXISTS clause prevents an error from occurring for views that\ndon\'t exist. When this clause is given, a NOTE is generated for each\nnonexistent view. See [HELP SHOW WARNINGS].\n\nRESTRICT and CASCADE, if given, are parsed and ignored.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/drop-view.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/drop-view.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (339,32,'WEEK','Syntax:\nWEEK(date[,mode])\n\nThis function returns the week number for date. The two-argument form\nof WEEK() enables you to specify whether the week starts on Sunday or\nMonday and whether the return value should be in the range from 0 to 53\nor from 1 to 53. If the mode argument is omitted, the value of the\ndefault_week_format system variable is used. See\nhttp://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT WEEK(\'2008-02-20\');\n -> 7\nmysql> SELECT WEEK(\'2008-02-20\',0);\n -> 7\nmysql> SELECT WEEK(\'2008-02-20\',1);\n -> 8\nmysql> SELECT WEEK(\'2008-12-31\',1);\n -> 53\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (340,22,'DROP FUNCTION UDF','Syntax:\nDROP FUNCTION function_name\n\nThis statement drops the user-defined function (UDF) named\nfunction_name.\n\nTo drop a function, you must have the DELETE privilege for the mysql\ndatabase. This is because DROP FUNCTION removes a row from the\nmysql.func system table that records the function\'s name, type, and\nshared library name.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/drop-function-udf.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/drop-function-udf.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (340,22,'DROP FUNCTION UDF','Syntax:\nDROP FUNCTION function_name\n\nThis statement drops the user-defined function (UDF) named\nfunction_name.\n\nTo drop a function, you must have the DELETE privilege for the mysql\nsystem database. This is because DROP FUNCTION removes a row from the\nmysql.func system table that records the function\'s name, type, and\nshared library name.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/drop-function-udf.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/drop-function-udf.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (341,7,'ST_VALIDATE','ST_Validate(g)\n\nValidates a geometry according to the OGC specification. A geometry can\nbe syntactically well-formed (WKB value plus SRID) but geometrically\ninvalid. For example, this polygon is geometrically invalid: POLYGON((0\n0, 0 0, 0 0, 0 0, 0 0))\n\nST_Validate() returns the geometry if it is syntactically well-formed\nand is geometrically valid, NULL if the argument is not syntactically\nwell-formed or is not geometrically valid or is NULL.\n\nST_Validate() can be used to filter out invalid geometry data, although\nat a cost. For applications that require more precise results not\ntainted by invalid data, this penalty may be worthwhile.\n\nIf the geometry argument is valid, it is returned as is, except that if\nan input Polygon or MultiPolygon has clockwise rings, those rings are\nreversed before checking for validity. If the geometry is valid, the\nvalue with the reversed rings is returned.\n\nThe only valid empty geometry is represented in the form of an empty\ngeometry collection value. ST_Validate() returns it directly without\nfurther checks in this case.\n\nST_Validate() works only for the Cartesian coordinate system and\nrequires a geometry argument with an SRID of 0. An ER_WRONG_ARGUMENTS\nerror occurs otherwise.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-convenience-functions.html\n\n','mysql> SET @ls1 = ST_GeomFromText(\'LINESTRING(0 0)\');\nmysql> SET @ls2 = ST_GeomFromText(\'LINESTRING(0 0, 1 1)\');\nmysql> SELECT ST_AsText(ST_Validate(@ls1));\n+------------------------------+\n| ST_AsText(ST_Validate(@ls1)) |\n+------------------------------+\n| NULL |\n+------------------------------+\nmysql> SELECT ST_AsText(ST_Validate(@ls2));\n+------------------------------+\n| ST_AsText(ST_Validate(@ls2)) |\n+------------------------------+\n| LINESTRING(0 0,1 1) |\n+------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/spatial-convenience-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (342,38,'UPDATEXML','Syntax:\nUpdateXML(xml_target, xpath_expr, new_xml)\n\nThis function replaces a single portion of a given fragment of XML\nmarkup xml_target with a new XML fragment new_xml, and then returns the\nchanged XML. The portion of xml_target that is replaced matches an\nXPath expression xpath_expr supplied by the user.\n\nIf no expression matching xpath_expr is found, or if multiple matches\nare found, the function returns the original xml_target XML fragment.\nAll three arguments should be strings.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/xml-functions.html\n\n','mysql> SELECT\n -> UpdateXML(\'ccc\', \'/a\', \'fff\') AS val1,\n -> UpdateXML(\'ccc\', \'/b\', \'fff\') AS val2,\n -> UpdateXML(\'ccc\', \'//b\', \'fff\') AS val3,\n -> UpdateXML(\'ccc\', \'/a/d\', \'fff\') AS val4,\n -> UpdateXML(\'ccc\', \'/a/d\', \'fff\') AS val5\n -> \\G\n\n*************************** 1. row ***************************\nval1: fff\nval2: ccc\nval3: fff\nval4: cccfff\nval5: ccc\n','http://dev.mysql.com/doc/refman/5.7/en/xml-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (343,8,'RESET SLAVE','Syntax:\nRESET SLAVE [ALL] [channel_option]\n\nchannel_option:\n FOR CHANNEL channel\n\nRESET SLAVE makes the slave forget its replication position in the\nmaster\'s binary log. This statement is meant to be used for a clean\nstart: It clears the master info and relay log info repositories,\ndeletes all the relay log files, and starts a new relay log file. It\nalso resets to 0 the replication delay specified with the MASTER_DELAY\noption to CHANGE MASTER TO. RESET SLAVE does not change the values of\ngtid_executed or gtid_purged. To use RESET SLAVE, the slave replication\nthreads must be stopped, so on a running slave use STOP SLAVE before\nissuing RESET SLAVE.\n\n*Note*:\n\nAll relay log files are deleted, even if they have not been completely\nexecuted by the slave SQL thread. (This is a condition likely to exist\non a replication slave if you have issued a STOP SLAVE statement or if\nthe slave is highly loaded.)\n\nThe optional FOR CHANNEL channel clause enables you to name which\nreplication channel the statement applies to. Providing a FOR CHANNEL\nchannel clause applies the RESET SLAVE statement to a specific\nreplication channel. Combining a FOR CHANNEL channel clause with the\nALL option deletes the specified channel. If no channel is named and no\nextra channels exist, the statement applies to the default channel.\nIssuing a RESET SLAVE ALL statement without a FOR CHANNEL channel\nclause when multiple replication channels exist deletes all replication\nchannels and recreates only the default channel. See\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-channels.html for\nmore information.\n\nRESET SLAVE does not change any replication connection parameters such\nas master host, master port, master user, or master password, which are\nretained in memory. This means that START SLAVE can be issued without\nrequiring a CHANGE MASTER TO statement following RESET SLAVE.\n\nConnection parameters are reset by RESET SLAVE ALL. (RESET SLAVE\nfollowed by a restart of the slave mysqld also does this.)\n\nRESET SLAVE causes an implicit commit of an ongoing transaction. See\nhttp://dev.mysql.com/doc/refman/5.7/en/implicit-commit.html.\n\nIf the slave SQL thread was in the middle of replicating temporary\ntables when it was stopped, and RESET SLAVE is issued, these replicated\ntemporary tables are deleted on the slave.\n\nPrior to MySQL 5.7.5, RESET SLAVE also had the effect of resetting both\nthe heartbeat period (Slave_heartbeat_period) and\nSSL_VERIFY_SERVER_CERT. This issue is fixed in MySQL 5.7.5 and later.\n(Bug #18777899, Bug #18778485)\n\nPrior to MySQL 5.7.5, RESET SLAVE ALL did not clear the\nIGNORE_SERVER_IDS list set by CHANGE MASTER TO. In MySQL 5.7.5 and\nlater, the statement clears the list. (Bug #18816897)\n\n*Note*:\n\nWhen used on an NDB Cluster replication slave SQL node, RESET SLAVE\nclears the mysql.ndb_apply_status table. You should keep in mind when\nusing this statement that ndb_apply_status uses the NDB storage engine\nand so is shared by all SQL nodes attached to the slave cluster.\n\nYou can override this behavior by issuing SET GLOBAL\n@@ndb_clear_apply_status=OFF prior to executing RESET SLAVE, which\nkeeps the slave from purging the ndb_apply_status table in such cases.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/reset-slave.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/reset-slave.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (343,8,'RESET SLAVE','Syntax:\nRESET SLAVE [ALL] [channel_option]\n\nchannel_option:\n FOR CHANNEL channel\n\nRESET SLAVE makes the slave forget its replication position in the\nmaster\'s binary log. This statement is meant to be used for a clean\nstart: It clears the master info and relay log info repositories,\ndeletes all the relay log files, and starts a new relay log file. It\nalso resets to 0 the replication delay specified with the MASTER_DELAY\noption to CHANGE MASTER TO. RESET SLAVE does not change the values of\ngtid_executed or gtid_purged.\n\n*Note*:\n\nAll relay log files are deleted, even if they have not been completely\nexecuted by the slave SQL thread. (This is a condition likely to exist\non a replication slave if you have issued a STOP SLAVE statement or if\nthe slave is highly loaded.)\n\nTo use RESET SLAVE, the slave replication threads must be stopped, so\non a running slave use STOP SLAVE before issuing RESET SLAVE. To use\nRESET SLAVE on a Group Replication group member, the member status must\nbe OFFLINE, meaning that the plugin is loaded but the member does not\ncurrently belong to any group. A group member can be taken offline by\nusing a STOP GROUP REPLICATION statement.\n\nThe optional FOR CHANNEL channel clause enables you to name which\nreplication channel the statement applies to. Providing a FOR CHANNEL\nchannel clause applies the RESET SLAVE statement to a specific\nreplication channel. Combining a FOR CHANNEL channel clause with the\nALL option deletes the specified channel. If no channel is named and no\nextra channels exist, the statement applies to the default channel.\nIssuing a RESET SLAVE ALL statement without a FOR CHANNEL channel\nclause when multiple replication channels exist deletes all replication\nchannels and recreates only the default channel. See\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-channels.html for\nmore information.\n\nRESET SLAVE does not change any replication connection parameters such\nas master host, master port, master user, or master password.\n\no From MySQL 5.7.24, when master_info_repository=TABLE is set on the\n server, replication connection parameters are preserved in the\n crash-safe InnoDB table mysql.slave_master_info as part of the RESET\n SLAVE operation. They are also retained in memory. In the event of a\n server crash or deliberate restart after issuing RESET SLAVE but\n before issuing START SLAVE, the replication connection parameters are\n retrieved from the table and reused for the new connection.\n\no When master_info_repository=FILE is set on the server (which is the\n default in MySQL 5.7), replication connection parameters are only\n retained in memory. If the slave mysqld is restarted immediately\n after issuing RESET SLAVE due to a server crash or deliberate\n restart, the connection parameters are lost. In that case, you must\n issue a CHANGE MASTER TO statement after the server start to\n respecify the connection parameters before issuing START SLAVE.\n\nIf you want to reset the connection parameters intentionally, you need\nto use RESET SLAVE ALL, which clears the connection parameters. In that\ncase, you must issue a CHANGE MASTER TO statement after the server\nstart to specify the new connection parameters.\n\nRESET SLAVE causes an implicit commit of an ongoing transaction. See\nhttp://dev.mysql.com/doc/refman/5.7/en/implicit-commit.html.\n\nIf the slave SQL thread was in the middle of replicating temporary\ntables when it was stopped, and RESET SLAVE is issued, these replicated\ntemporary tables are deleted on the slave.\n\nPrior to MySQL 5.7.5, RESET SLAVE also had the effect of resetting both\nthe heartbeat period (Slave_heartbeat_period) and\nSSL_VERIFY_SERVER_CERT. This issue is fixed in MySQL 5.7.5 and later.\n(Bug #18777899, Bug #18778485)\n\nPrior to MySQL 5.7.5, RESET SLAVE ALL did not clear the\nIGNORE_SERVER_IDS list set by CHANGE MASTER TO. In MySQL 5.7.5 and\nlater, the statement clears the list. (Bug #18816897)\n\n*Note*:\n\nWhen used on an NDB Cluster replication slave SQL node, RESET SLAVE\nclears the mysql.ndb_apply_status table. You should keep in mind when\nusing this statement that ndb_apply_status uses the NDB storage engine\nand so is shared by all SQL nodes attached to the slave cluster.\n\nYou can override this behavior by issuing SET GLOBAL\n@@ndb_clear_apply_status=OFF prior to executing RESET SLAVE, which\nkeeps the slave from purging the ndb_apply_status table in such cases.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/reset-slave.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/reset-slave.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (344,7,'ST_POINTFROMGEOHASH','ST_PointFromGeoHash(geohash_str, srid)\n\nReturns a POINT value containing the decoded geohash value, given a\ngeohash string value.\n\nThe X and Y coordinates of the point are the longitude in the range\n[−180, 180] and the latitude in the range [−90, 90], respectively.\n\nIf any argument is NULL, the return value is NULL. If any argument is\ninvalid, an error occurs.\n\nThe srid argument is an unsigned 32-bit integer.\n\nThe remarks in the description of ST_LatFromGeoHash() regarding the\nmaximum number of characters processed from the geohash_str argument\nalso apply to ST_PointFromGeoHash().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-geohash-functions.html\n\n','mysql> SET @gh = ST_GeoHash(45,-20,10);\nmysql> SELECT ST_AsText(ST_PointFromGeoHash(@gh,0));\n+---------------------------------------+\n| ST_AsText(ST_PointFromGeoHash(@gh,0)) |\n+---------------------------------------+\n| POINT(45 -20) |\n+---------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/spatial-geohash-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (345,32,'DAY','Syntax:\nDAY(date)\n\nDAY() is a synonym for DAYOFMONTH().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (346,14,'UUID','Syntax:\nUUID()\n\nReturns a Universal Unique Identifier (UUID) generated according to RFC\n4122, "A Universally Unique IDentifier (UUID) URN Namespace"\n(http://www.ietf.org/rfc/rfc4122.txt).\n\nA UUID is designed as a number that is globally unique in space and\ntime. Two calls to UUID() are expected to generate two different\nvalues, even if these calls are performed on two separate devices not\nconnected to each other.\n\n*Warning*:\n\nAlthough UUID() values are intended to be unique, they are not\nnecessarily unguessable or unpredictable. If unpredictability is\nrequired, UUID values should be generated some other way.\n\nUUID() returns a value that conforms to UUID version 1 as described in\nRFC 4122. The value is a 128-bit number represented as a utf8 string of\nfive hexadecimal numbers in aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\nformat:\n\no The first three numbers are generated from the low, middle, and high\n parts of a timestamp. The high part also includes the UUID version\n number.\n\no The fourth number preserves temporal uniqueness in case the timestamp\n value loses monotonicity (for example, due to daylight saving time).\n\no The fifth number is an IEEE 802 node number that provides spatial\n uniqueness. A random number is substituted if the latter is not\n available (for example, because the host device has no Ethernet card,\n or it is unknown how to find the hardware address of an interface on\n the host operating system). In this case, spatial uniqueness cannot\n be guaranteed. Nevertheless, a collision should have very low\n probability.\n\n The MAC address of an interface is taken into account only on FreeBSD\n and Linux. On other operating systems, MySQL uses a randomly\n generated 48-bit number.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html\n\n','mysql> SELECT UUID();\n -> \'6ccd780c-baba-1026-9564-5b8c656024db\'\n','http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html'); @@ -441,12 +441,12 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (360,6,'IFNULL','Syntax:\nIFNULL(expr1,expr2)\n\nIf expr1 is not NULL, IFNULL() returns expr1; otherwise it returns\nexpr2.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/control-flow-functions.html\n\n','mysql> SELECT IFNULL(1,0);\n -> 1\nmysql> SELECT IFNULL(NULL,10);\n -> 10\nmysql> SELECT IFNULL(1/0,10);\n -> 10\nmysql> SELECT IFNULL(1/0,\'yes\');\n -> \'yes\'\n','http://dev.mysql.com/doc/refman/5.7/en/control-flow-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (361,27,'SHOW FUNCTION CODE','Syntax:\nSHOW FUNCTION CODE func_name\n\nThis statement is similar to SHOW PROCEDURE CODE but for stored\nfunctions. See [HELP SHOW PROCEDURE CODE].\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-function-code.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-function-code.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (362,27,'SHOW ERRORS','Syntax:\nSHOW ERRORS [LIMIT [offset,] row_count]\nSHOW COUNT(*) ERRORS\n\nSHOW ERRORS is a diagnostic statement that is similar to SHOW WARNINGS,\nexcept that it displays information only for errors, rather than for\nerrors, warnings, and notes.\n\nThe LIMIT clause has the same syntax as for the SELECT statement. See\nhttp://dev.mysql.com/doc/refman/5.7/en/select.html.\n\nThe SHOW COUNT(*) ERRORS statement displays the number of errors. You\ncan also retrieve this number from the error_count variable:\n\nSHOW COUNT(*) ERRORS;\nSELECT @@error_count;\n\nSHOW ERRORS and error_count apply only to errors, not warnings or\nnotes. In other respects, they are similar to SHOW WARNINGS and\nwarning_count. In particular, SHOW ERRORS cannot display information\nfor more than max_error_count messages, and error_count can exceed the\nvalue of max_error_count if the number of errors exceeds\nmax_error_count.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-errors.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-errors.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (363,27,'SET NAMES','Syntax:\nSET NAMES {\'charset_name\'\n [COLLATE \'collation_name\'] | DEFAULT}\n\nThis statement sets the three session system variables\ncharacter_set_client, character_set_connection, and\ncharacter_set_results to the given character set. Setting\ncharacter_set_connection to charset_name also sets collation_connection\nto the default collation for charset_name. See\nhttp://dev.mysql.com/doc/refman/5.7/en/charset-connection.html.\n\nThe optional COLLATE clause may be used to specify a collation\nexplicitly. If given, the collation must one of the permitted\ncollations for charset_name.\n\ncharset_name and collation_name may be quoted or unquoted.\n\nThe default mapping can be restored by using a value of DEFAULT. The\ndefault depends on the server configuration.\n\nucs2, utf16, and utf32 cannot be used as a client character set, which\nmeans that they do not work for SET NAMES.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/set-names.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/set-names.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (363,27,'SET NAMES','Syntax:\nSET NAMES {\'charset_name\'\n [COLLATE \'collation_name\'] | DEFAULT}\n\nThis statement sets the three session system variables\ncharacter_set_client, character_set_connection, and\ncharacter_set_results to the given character set. Setting\ncharacter_set_connection to charset_name also sets collation_connection\nto the default collation for charset_name. See\nhttp://dev.mysql.com/doc/refman/5.7/en/charset-connection.html.\n\nThe optional COLLATE clause may be used to specify a collation\nexplicitly. If given, the collation must one of the permitted\ncollations for charset_name.\n\ncharset_name and collation_name may be quoted or unquoted.\n\nThe default mapping can be restored by using a value of DEFAULT. The\ndefault depends on the server configuration.\n\nSome character sets cannot be used as the client character set.\nAttempting to use them with SET NAMES produces an error. See\nhttp://dev.mysql.com/doc/refman/5.7/en/charset-connection.html#charset-\nconnection-impermissible-client-charset.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/set-names.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/set-names.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (364,20,'LEAST','Syntax:\nLEAST(value1,value2,...)\n\nWith two or more arguments, returns the smallest (minimum-valued)\nargument. The arguments are compared using the following rules:\n\no If any argument is NULL, the result is NULL. No comparison is needed.\n\no If all arguments are integer-valued, they are compared as integers.\n\no If at least one argument is double precision, they are compared as\n double-precision values. Otherwise, if at least one argument is a\n DECIMAL value, they are compared as DECIMAL values.\n\no If the arguments comprise a mix of numbers and strings, they are\n compared as numbers.\n\no If any argument is a nonbinary (character) string, the arguments are\n compared as nonbinary strings.\n\no In all other cases, the arguments are compared as binary strings.\n\nThe return type of LEAST() is the aggregated type of the comparison\nargument types.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html\n\n','mysql> SELECT LEAST(2,0);\n -> 0\nmysql> SELECT LEAST(34.0,3.0,5.0,767.0);\n -> 3.0\nmysql> SELECT LEAST(\'B\',\'A\',\'C\');\n -> \'A\'\n','http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (365,20,'=','=\n\nEqual:\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html\n\n','mysql> SELECT 1 = 0;\n -> 0\nmysql> SELECT \'0\' = 0;\n -> 1\nmysql> SELECT \'0.0\' = 0;\n -> 1\nmysql> SELECT \'0.01\' = 0;\n -> 0\nmysql> SELECT \'.01\' = 0.01;\n -> 1\n','http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (366,4,'ST_GEOMCOLLFROMTEXT','ST_GeomCollFromText(wkt[, srid]), ST_GeometryCollectionFromText(wkt[,\nsrid]), ST_GeomCollFromTxt(wkt[, srid])\n\nConstructs a GeometryCollection value using its WKT representation and\nSRID.\n\nIf the geometry argument is NULL or not a syntactically well-formed\ngeometry, or if the SRID argument is NULL, the return value is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-wkt-functions.html\n\n','mysql> SET @g = "MULTILINESTRING((10 10, 11 11), (9 9, 10 10))";\nmysql> SELECT ST_AsText(ST_GeomCollFromText(@g));\n+--------------------------------------------+\n| ST_AsText(ST_GeomCollFromText(@g)) |\n+--------------------------------------------+\n| MULTILINESTRING((10 10,11 11),(9 9,10 10)) |\n+--------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/gis-wkt-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (367,14,'IS_IPV4_MAPPED','Syntax:\nIS_IPV4_MAPPED(expr)\n\nThis function takes an IPv6 address represented in numeric form as a\nbinary string, as returned by INET6_ATON(). It returns 1 if the\nargument is a valid IPv4-mapped IPv6 address, 0 otherwise. IPv4-mapped\naddresses have the form ::ffff:ipv4_address.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html\n\n','mysql> SELECT IS_IPV4_MAPPED(INET6_ATON(\'::10.0.5.9\'));\n -> 0\nmysql> SELECT IS_IPV4_MAPPED(INET6_ATON(\'::ffff:10.0.5.9\'));\n -> 1\n','http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (368,10,'CREATE USER','Syntax:\nCREATE USER [IF NOT EXISTS]\n user [auth_option] [, user [auth_option]] ...\n [REQUIRE {NONE | tls_option [[AND] tls_option] ...}]\n [WITH resource_option [resource_option] ...]\n [password_option | lock_option] ...\n\nuser:\n (see )\n\nauth_option: {\n IDENTIFIED BY \'auth_string\'\n | IDENTIFIED WITH auth_plugin\n | IDENTIFIED WITH auth_plugin BY \'auth_string\'\n | IDENTIFIED WITH auth_plugin AS \'hash_string\'\n | IDENTIFIED BY PASSWORD \'hash_string\'\n}\n\ntls_option: {\n SSL\n | X509\n | CIPHER \'cipher\'\n | ISSUER \'issuer\'\n | SUBJECT \'subject\'\n}\n\nresource_option: {\n MAX_QUERIES_PER_HOUR count\n | MAX_UPDATES_PER_HOUR count\n | MAX_CONNECTIONS_PER_HOUR count\n | MAX_USER_CONNECTIONS count\n}\n\npassword_option: {\n PASSWORD EXPIRE\n | PASSWORD EXPIRE DEFAULT\n | PASSWORD EXPIRE NEVER\n | PASSWORD EXPIRE INTERVAL N DAY\n}\n\nlock_option: {\n ACCOUNT LOCK\n | ACCOUNT UNLOCK\n}\n\nThe CREATE USER statement creates new MySQL accounts. It enables\nauthentication, SSL/TLS, resource-limit, and password-management\nproperties to be established for new accounts, and controls whether\naccounts are initially locked or unlocked.\n\nTo use CREATE USER, you must have the global CREATE USER privilege, or\nthe INSERT privilege for the mysql database. When the read_only system\nvariable is enabled, CREATE USER additionally requires the SUPER\nprivilege.\n\nAn error occurs if you try to create an account that already exists. If\nthe IF NOT EXISTS clause is given, the statement produces a warning for\neach named account that already exists, rather than an error.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-user.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/create-user.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (368,10,'CREATE USER','Syntax:\nCREATE USER [IF NOT EXISTS]\n user [auth_option] [, user [auth_option]] ...\n [REQUIRE {NONE | tls_option [[AND] tls_option] ...}]\n [WITH resource_option [resource_option] ...]\n [password_option | lock_option] ...\n\nuser:\n (see )\n\nauth_option: {\n IDENTIFIED BY \'auth_string\'\n | IDENTIFIED WITH auth_plugin\n | IDENTIFIED WITH auth_plugin BY \'auth_string\'\n | IDENTIFIED WITH auth_plugin AS \'hash_string\'\n | IDENTIFIED BY PASSWORD \'hash_string\'\n}\n\ntls_option: {\n SSL\n | X509\n | CIPHER \'cipher\'\n | ISSUER \'issuer\'\n | SUBJECT \'subject\'\n}\n\nresource_option: {\n MAX_QUERIES_PER_HOUR count\n | MAX_UPDATES_PER_HOUR count\n | MAX_CONNECTIONS_PER_HOUR count\n | MAX_USER_CONNECTIONS count\n}\n\npassword_option: {\n PASSWORD EXPIRE\n | PASSWORD EXPIRE DEFAULT\n | PASSWORD EXPIRE NEVER\n | PASSWORD EXPIRE INTERVAL N DAY\n}\n\nlock_option: {\n ACCOUNT LOCK\n | ACCOUNT UNLOCK\n}\n\nThe CREATE USER statement creates new MySQL accounts. It enables\nauthentication, SSL/TLS, resource-limit, and password-management\nproperties to be established for new accounts, and controls whether\naccounts are initially locked or unlocked.\n\nTo use CREATE USER, you must have the global CREATE USER privilege, or\nthe INSERT privilege for the mysql system database. When the read_only\nsystem variable is enabled, CREATE USER additionally requires the SUPER\nprivilege.\n\nAn error occurs if you try to create an account that already exists. If\nthe IF NOT EXISTS clause is given, the statement produces a warning for\neach named account that already exists, rather than an error.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-user.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/create-user.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (369,25,'POINT','Point(x, y)\n\nConstructs a Point using its coordinates.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-mysql-specific-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-mysql-specific-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (370,38,'LCASE','Syntax:\nLCASE(str)\n\nLCASE() is a synonym for LOWER().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/string-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (371,7,'CREATE_DH_PARAMETERS','CREATE_DH_PARAMETERS(key_len)\n\nCreates a shared secret for generating a DH private/public key pair and\nreturns a binary string that can be passed to\nCREATE_ASYMMETRIC_PRIV_KEY(). If secret generation fails, the result is\nnull.\n\nSupported key_len values: The minimum and maximum key lengths in bits\nare 1,024 and 10,000. These key-length limits are constraints imposed\nby OpenSSL. Server administrators can impose additional limits on\nmaximum key length by setting environment variables. See\nhttp://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-usage.html\n.\n\nFor an example showing how to use the return value for generating\nsymmetric keys, see the description of ASYMMETRIC_DERIVE().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html\n\n','SET @dhp = CREATE_DH_PARAMETERS(1024);\n','http://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html'); @@ -460,7 +460,7 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (379,33,'ST_ASBINARY','ST_AsBinary(g), ST_AsWKB(g)\n\nConverts a value in internal geometry format to its WKB representation\nand returns the binary result.\n\nIf the argument is NULL, the return value is NULL. If the argument is\nnot a syntactically well-formed geometry, an ER_GIS_INVALID_DATA error\noccurs.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-format-conversion-functions.html\n\n','SELECT ST_AsBinary(g) FROM geom;\n','http://dev.mysql.com/doc/refman/5.7/en/gis-format-conversion-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (380,38,'TO_BASE64','Syntax:\nTO_BASE64(str)\n\nConverts the string argument to base-64 encoded form and returns the\nresult as a character string with the connection character set and\ncollation. If the argument is not a string, it is converted to a string\nbefore conversion takes place. The result is NULL if the argument is\nNULL. Base-64 encoded strings can be decoded using the FROM_BASE64()\nfunction.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-functions.html\n\n','mysql> SELECT TO_BASE64(\'abc\'), FROM_BASE64(TO_BASE64(\'abc\'));\n -> \'JWJj\', \'abc\'\n','http://dev.mysql.com/doc/refman/5.7/en/string-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (381,12,'DES_DECRYPT','Syntax:\nDES_DECRYPT(crypt_str[,key_str])\n\nDecrypts a string encrypted with DES_ENCRYPT(). If an error occurs,\nthis function returns NULL.\n\nThis function works only if MySQL has been configured with SSL support.\nSee http://dev.mysql.com/doc/refman/5.7/en/encrypted-connections.html.\n\nIf no key_str argument is given, DES_DECRYPT() examines the first byte\nof the encrypted string to determine the DES key number that was used\nto encrypt the original string, and then reads the key from the DES key\nfile to decrypt the message. For this to work, the user must have the\nSUPER privilege. The key file can be specified with the --des-key-file\nserver option.\n\nIf you pass this function a key_str argument, that string is used as\nthe key for decrypting the message.\n\nIf the crypt_str argument does not appear to be an encrypted string,\nMySQL returns the given crypt_str.\n\n*Note*:\n\nThe DES_ENCRYPT() and DES_DECRYPT() functions are deprecated as of\nMySQL 5.7.6, will be removed in a future MySQL release, and should no\nlonger be used. Consider using AES_ENCRYPT() and AES_DECRYPT() instead.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (382,2,'ST_AREA','ST_Area(poly)\n\nReturns a double-precision number indicating the area of the argument,\nas measured in its spatial reference system. For arguments of dimension\n0 or 1, the result is 0. If the argument is an empty geometry the\nreturn value is 0. If the argument is NULL the return value is NULL.\n\nThe result is the sum of the area values of all components for a\ngeometry collection. If a geometry collection is empty, its area is\nreturned as 0.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html\n\n','mysql> SET @poly =\n \'Polygon((0 0,0 3,3 0,0 0),(1 1,1 2,2 1,1 1))\';\nmysql> SELECT ST_Area(ST_GeomFromText(@poly));\n+---------------------------------+\n| ST_Area(ST_GeomFromText(@poly)) |\n+---------------------------------+\n| 4 |\n+---------------------------------+\n\nmysql> SET @mpoly =\n -> \'MultiPolygon(((0 0,0 3,3 3,3 0,0 0),(1 1,1 2,2 2,2 1,1 1)))\';\nmysql> SELECT ST_Area(ST_GeomFromText(@mpoly));\n+----------------------------------+\n| ST_Area(ST_GeomFromText(@mpoly)) |\n+----------------------------------+\n| 8 |\n+----------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (382,2,'ST_AREA','ST_Area({poly|mpoly})\n\nReturns a double-precision number indicating the area of the Polygon or\nMultiPolygon argument, as measured in its spatial reference system. For\narguments of dimension 0 or 1, the result is 0. If the argument is an\nempty geometry the return value is 0. If the argument is NULL the\nreturn value is NULL.\n\nThe result is the sum of the area values of all components for a\ngeometry collection. If a geometry collection is empty, its area is\nreturned as 0.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html\n\n','mysql> SET @poly =\n \'Polygon((0 0,0 3,3 0,0 0),(1 1,1 2,2 1,1 1))\';\nmysql> SELECT ST_Area(ST_GeomFromText(@poly));\n+---------------------------------+\n| ST_Area(ST_GeomFromText(@poly)) |\n+---------------------------------+\n| 4 |\n+---------------------------------+\n\nmysql> SET @mpoly =\n \'MultiPolygon(((0 0,0 3,3 3,3 0,0 0),(1 1,1 2,2 2,2 1,1 1)))\';\nmysql> SELECT ST_Area(ST_GeomFromText(@mpoly));\n+----------------------------------+\n| ST_Area(ST_GeomFromText(@mpoly)) |\n+----------------------------------+\n| 8 |\n+----------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (383,13,'ENDPOINT','EndPoint(ls)\n\nST_EndPoint() and EndPoint() are synonyms. For more information, see\nthe description of ST_EndPoint().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-linestring-property-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-linestring-property-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (384,28,'INSERT','Syntax:\nINSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE]\n [INTO] tbl_name\n [PARTITION (partition_name [, partition_name] ...)]\n [(col_name [, col_name] ...)]\n {VALUES | VALUE} (value_list) [, (value_list)] ...\n [ON DUPLICATE KEY UPDATE assignment_list]\n\nINSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE]\n [INTO] tbl_name\n [PARTITION (partition_name [, partition_name] ...)]\n SET assignment_list\n [ON DUPLICATE KEY UPDATE assignment_list]\n\nINSERT [LOW_PRIORITY | HIGH_PRIORITY] [IGNORE]\n [INTO] tbl_name\n [PARTITION (partition_name [, partition_name] ...)]\n [(col_name [, col_name] ...)]\n SELECT ...\n [ON DUPLICATE KEY UPDATE assignment_list]\n\nvalue:\n {expr | DEFAULT}\n\nvalue_list:\n value [, value] ...\n\nassignment:\n col_name = value\n\nassignment_list:\n assignment [, assignment] ...\n\nINSERT inserts new rows into an existing table. The INSERT ... VALUES\nand INSERT ... SET forms of the statement insert rows based on\nexplicitly specified values. The INSERT ... SELECT form inserts rows\nselected from another table or tables. INSERT with an ON DUPLICATE KEY\nUPDATE clause enables existing rows to be updated if a row to be\ninserted would cause a duplicate value in a UNIQUE index or PRIMARY\nKEY.\n\nFor additional information about INSERT ... SELECT and INSERT ... ON\nDUPLICATE KEY UPDATE, see [HELP INSERT SELECT], and\nhttp://dev.mysql.com/doc/refman/5.7/en/insert-on-duplicate.html.\n\nIn MySQL 5.7, the DELAYED keyword is accepted but ignored by the\nserver. For the reasons for this, see [HELP INSERT DELAYED],\n\nInserting into a table requires the INSERT privilege for the table. If\nthe ON DUPLICATE KEY UPDATE clause is used and a duplicate key causes\nan UPDATE to be performed instead, the statement requires the UPDATE\nprivilege for the columns to be updated. For columns that are read but\nnot modified you need only the SELECT privilege (such as for a column\nreferenced only on the right hand side of an col_name=expr assignment\nin an ON DUPLICATE KEY UPDATE clause).\n\nWhen inserting into a partitioned table, you can control which\npartitions and subpartitions accept new rows. The PARTITION option\ntakes a list of the comma-separated names of one or more partitions or\nsubpartitions (or both) of the table. If any of the rows to be inserted\nby a given INSERT statement do not match one of the partitions listed,\nthe INSERT statement fails with the error Found a row not matching the\ngiven partition set. For more information and examples, see\nhttp://dev.mysql.com/doc/refman/5.7/en/partitioning-selection.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/insert.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/insert.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (385,16,'COUNT','Syntax:\nCOUNT(expr)\n\nReturns a count of the number of non-NULL values of expr in the rows\nretrieved by a SELECT statement. The result is a BIGINT value.\n\nIf there are no matching rows, COUNT() returns 0.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/group-by-functions.html\n\n','mysql> SELECT student.student_name,COUNT(*)\n FROM student,course\n WHERE student.student_id=course.student_id\n GROUP BY student_name;\n','http://dev.mysql.com/doc/refman/5.7/en/group-by-functions.html'); @@ -474,12 +474,12 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (393,12,'DECODE','Syntax:\nDECODE(crypt_str,pass_str)\n\nDECODE() decrypts the encrypted string crypt_str using pass_str as the\npassword. crypt_str should be a string returned from ENCODE().\n\n*Note*:\n\nThe ENCODE() and DECODE() functions are deprecated in MySQL 5.7, will\nbe removed in a future MySQL release, and should no longer be used.\nConsider using AES_ENCRYPT() and AES_DECRYPT() instead.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (394,7,'JSON_ARRAY_INSERT','Syntax:\nJSON_ARRAY_INSERT(json_doc, path, val[, path, val] ...)\n\nUpdates a JSON document, inserting into an array within the document\nand returning the modified document. Returns NULL if any argument is\nNULL. An error occurs if the json_doc argument is not a valid JSON\ndocument or any path argument is not a valid path expression or\ncontains a * or ** wildcard or does not end with an array element\nidentifier.\n\nThe path-value pairs are evaluated left to right. The document produced\nby evaluating one pair becomes the new value against which the next\npair is evaluated.\n\nPairs for which the path does not identify any array in the JSON\ndocument are ignored. If a path identifies an array element, the\ncorresponding value is inserted at that element position, shifting any\nfollowing values to the right. If a path identifies an array position\npast the end of an array, the value is inserted at the end of the\narray.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/json-modification-functions.html\n\n','mysql> SET @j = \'["a", {"b": [1, 2]}, [3, 4]]\';\nmysql> SELECT JSON_ARRAY_INSERT(@j, \'$[1]\', \'x\');\n+------------------------------------+\n| JSON_ARRAY_INSERT(@j, \'$[1]\', \'x\') |\n+------------------------------------+\n| ["a", "x", {"b": [1, 2]}, [3, 4]] |\n+------------------------------------+\nmysql> SELECT JSON_ARRAY_INSERT(@j, \'$[100]\', \'x\');\n+--------------------------------------+\n| JSON_ARRAY_INSERT(@j, \'$[100]\', \'x\') |\n+--------------------------------------+\n| ["a", {"b": [1, 2]}, [3, 4], "x"] |\n+--------------------------------------+\nmysql> SELECT JSON_ARRAY_INSERT(@j, \'$[1].b[0]\', \'x\');\n+-----------------------------------------+\n| JSON_ARRAY_INSERT(@j, \'$[1].b[0]\', \'x\') |\n+-----------------------------------------+\n| ["a", {"b": ["x", 1, 2]}, [3, 4]] |\n+-----------------------------------------+\nmysql> SELECT JSON_ARRAY_INSERT(@j, \'$[2][1]\', \'y\');\n+---------------------------------------+\n| JSON_ARRAY_INSERT(@j, \'$[2][1]\', \'y\') |\n+---------------------------------------+\n| ["a", {"b": [1, 2]}, [3, "y", 4]] |\n+---------------------------------------+\nmysql> SELECT JSON_ARRAY_INSERT(@j, \'$[0]\', \'x\', \'$[2][1]\', \'y\');\n+----------------------------------------------------+\n| JSON_ARRAY_INSERT(@j, \'$[0]\', \'x\', \'$[2][1]\', \'y\') |\n+----------------------------------------------------+\n| ["x", "a", {"b": [1, 2]}, [3, 4]] |\n+----------------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/json-modification-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (395,20,'<=>','Syntax:\n<=>\n\nNULL-safe equal. This operator performs an equality comparison like the\n= operator, but returns 1 rather than NULL if both operands are NULL,\nand 0 rather than NULL if one operand is NULL.\n\nThe <=> operator is equivalent to the standard SQL IS NOT DISTINCT FROM\noperator.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html\n\n','mysql> SELECT 1 <=> 1, NULL <=> NULL, 1 <=> NULL;\n -> 1, 1, 0\nmysql> SELECT 1 = 1, NULL = NULL, 1 = NULL;\n -> 1, NULL, NULL\n','http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (396,27,'RESET','Syntax:\nRESET reset_option [, reset_option] ...\n\nreset_option: {\n MASTER\n | QUERY CACHE\n | SLAVE\n}\n\nThe RESET statement is used to clear the state of various server\noperations. You must have the RELOAD privilege to execute RESET.\n\nRESET acts as a stronger version of the FLUSH statement. See [HELP\nFLUSH].\n\nThe RESET statement causes an implicit commit. See\nhttp://dev.mysql.com/doc/refman/5.7/en/implicit-commit.html.\n\nIn MySQL 5.7.1, gtid_next must be set to AUTOMATIC before issuing this\nstatement. This restriction does not apply in MySQL 5.7.2 or later.\n(Bug #16062608, Bug #16715809, Bug #69045)\n\nThe following list describes the permitted RESET statement reset_option\nvalues:\n\no RESET MASTER\n\n Deletes all binary logs listed in the index file, resets the binary\n log index file to be empty, and creates a new binary log file.\n\no RESET QUERY CACHE\n\n Removes all query results from the query cache.\n\n *Note*:\n\n The query cache is deprecated as of MySQL 5.7.20, and is removed in\n MySQL 8.0. Deprecation includes RESET QUERY CACHE.\n\no RESET SLAVE\n\n Makes the slave forget its replication position in the master binary\n logs. Also resets the relay log by deleting any existing relay log\n files and beginning a new one.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/reset.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/reset.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (396,27,'RESET','Syntax:\nRESET reset_option [, reset_option] ...\n\nreset_option: {\n MASTER\n | QUERY CACHE\n | SLAVE\n}\n\nThe RESET statement is used to clear the state of various server\noperations. You must have the RELOAD privilege to execute RESET.\n\nRESET acts as a stronger version of the FLUSH statement. See [HELP\nFLUSH].\n\nThe RESET statement causes an implicit commit. See\nhttp://dev.mysql.com/doc/refman/5.7/en/implicit-commit.html.\n\nThe following list describes the permitted RESET statement reset_option\nvalues:\n\no RESET MASTER\n\n Deletes all binary logs listed in the index file, resets the binary\n log index file to be empty, and creates a new binary log file.\n\no RESET QUERY CACHE\n\n Removes all query results from the query cache.\n\n *Note*:\n\n The query cache is deprecated as of MySQL 5.7.20, and is removed in\n MySQL 8.0. Deprecation includes RESET QUERY CACHE.\n\no RESET SLAVE\n\n Makes the slave forget its replication position in the master binary\n logs. Also resets the relay log by deleting any existing relay log\n files and beginning a new one.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/reset.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/reset.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (397,14,'GET_LOCK','Syntax:\nGET_LOCK(str,timeout)\n\nTries to obtain a lock with a name given by the string str, using a\ntimeout of timeout seconds. A negative timeout value means infinite\ntimeout. The lock is exclusive. While held by one session, other\nsessions cannot obtain a lock of the same name.\n\nReturns 1 if the lock was obtained successfully, 0 if the attempt timed\nout (for example, because another client has previously locked the\nname), or NULL if an error occurred (such as running out of memory or\nthe thread was killed with mysqladmin kill).\n\nA lock obtained with GET_LOCK() is released explicitly by executing\nRELEASE_LOCK() or implicitly when your session terminates (either\nnormally or abnormally). Lock release may also occur with another call\nto GET_LOCK():\n\no Before 5.7.5, only a single simultaneous lock can be acquired and\n GET_LOCK() releases any existing lock.\n\no In MySQL 5.7.5, GET_LOCK() was reimplemented using the metadata\n locking (MDL) subsystem and its capabilities were extended. Multiple\n simultaneous locks can be acquired and GET_LOCK() does not release\n any existing locks. It is even possible for a given session to\n acquire multiple locks for the same name. Other sessions cannot\n acquire a lock with that name until the acquiring session releases\n all its locks for the name.\n\n As a result of the MDL reimplementation, locks acquired with\n GET_LOCK() appear in the Performance Schema metadata_locks table. The\n OBJECT_TYPE column says USER LEVEL LOCK and the OBJECT_NAME column\n indicates the lock name. Also, the capability of acquiring multiple\n locks introduces the possibility of deadlock among clients. When this\n happens, the server chooses a caller and terminates its\n lock-acquisition request with an ER_USER_LOCK_DEADLOCK error. This\n error does not cause transactions to roll back.\n\nThe difference in lock acquisition behavior as of MySQL 5.7.5 can be\nseen by the following example. Suppose that you execute these\nstatements:\n\nSELECT GET_LOCK(\'lock1\',10);\nSELECT GET_LOCK(\'lock2\',10);\nSELECT RELEASE_LOCK(\'lock2\');\nSELECT RELEASE_LOCK(\'lock1\');\n\nIn MySQL 5.7.5 or later, the second GET_LOCK() acquires a second lock\nand both RELEASE_LOCK() calls return 1 (success). Before MySQL 5.7.5,\nthe second GET_LOCK() releases the first lock (\'lock1\') and the second\nRELEASE_LOCK() returns NULL (failure) because there is no \'lock1\' to\nrelease.\n\nMySQL 5.7.5 and later enforces a maximum length on lock names of 64\ncharacters. Previously, no limit was enforced.\n\nLocks obtained with GET_LOCK() are not released when transactions\ncommit or roll back.\n\nGET_LOCK() can be used to implement application locks or to simulate\nrecord locks. Names are locked on a server-wide basis. If a name has\nbeen locked within one session, GET_LOCK() blocks any request by\nanother session for a lock with the same name. This enables clients\nthat agree on a given lock name to use the name to perform cooperative\nadvisory locking. But be aware that it also enables a client that is\nnot among the set of cooperating clients to lock a name, either\ninadvertently or deliberately, and thus prevent any of the cooperating\nclients from locking that name. One way to reduce the likelihood of\nthis is to use lock names that are database-specific or\napplication-specific. For example, use lock names of the form\ndb_name.str or app_name.str.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (398,23,'BIGINT','BIGINT[(M)] [UNSIGNED] [ZEROFILL]\n\nA large integer. The signed range is -9223372036854775808 to\n9223372036854775807. The unsigned range is 0 to 18446744073709551615.\n\nSERIAL is an alias for BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/numeric-type-overview.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/numeric-type-overview.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (399,32,'CURTIME','Syntax:\nCURTIME([fsp])\n\nReturns the current time as a value in \'HH:MM:SS\' or HHMMSS format,\ndepending on whether the function is used in a string or numeric\ncontext. The value is expressed in the current time zone.\n\nIf the fsp argument is given to specify a fractional seconds precision\nfrom 0 to 6, the return value includes a fractional seconds part of\nthat many digits.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT CURTIME();\n -> \'23:50:26\'\nmysql> SELECT CURTIME() + 0;\n -> 235026.000000\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (400,37,'ST_DIMENSION','ST_Dimension(g)\n\nReturns the inherent dimension of the geometry value g, or NULL if the\nargument is NULL. The dimension can be −1, 0, 1, or 2. The meaning of\nthese values is given in\nhttp://dev.mysql.com/doc/refman/5.7/en/gis-class-geometry.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-general-property-functions.html\n\n','mysql> SELECT ST_Dimension(ST_GeomFromText(\'LineString(1 1,2 2)\'));\n+------------------------------------------------------+\n| ST_Dimension(ST_GeomFromText(\'LineString(1 1,2 2)\')) |\n+------------------------------------------------------+\n| 1 |\n+------------------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/gis-general-property-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (401,27,'SET','Syntax:\nSET variable_assignment [, variable_assignment] ...\n\nvariable_assignment:\n user_var_name = expr\n | param_name = expr\n | local_var_name = expr\n | [GLOBAL | SESSION]\n system_var_name = expr\n | [@@global. | @@session. | @@]\n system_var_name = expr\n\nSET syntax for variable assignment enables you to assign values to\ndifferent types of variables that affect the operation of the server or\nclients:\n\no System variables. See\n http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html.\n System variables also can be set at server startup, as described in\n http://dev.mysql.com/doc/refman/5.7/en/using-system-variables.html.\n (To display system variable names and values, use the SHOW VARIABLES\n statement; see [HELP SHOW VARIABLES].)\n\no User-defined variables. See\n http://dev.mysql.com/doc/refman/5.7/en/user-variables.html.\n\no Stored procedure and function parameters, and stored program local\n variables. See\n http://dev.mysql.com/doc/refman/5.7/en/stored-program-variables.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/set-variable.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/set-variable.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (401,27,'SET','Syntax:\nSET variable = expr [, variable = expr] ...\n\nvariable: {\n user_var_name\n | param_name\n | local_var_name\n | {GLOBAL | @@global.} system_var_name\n | [SESSION | @@session. | @@] system_var_name\n}\n\nSET syntax for variable assignment enables you to assign values to\ndifferent types of variables that affect the operation of the server or\nclients:\n\no User-defined variables. See\n http://dev.mysql.com/doc/refman/5.7/en/user-variables.html.\n\no Stored procedure and function parameters, and stored program local\n variables. See\n http://dev.mysql.com/doc/refman/5.7/en/stored-program-variables.html.\n\no System variables. See\n http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html.\n System variables also can be set at server startup, as described in\n http://dev.mysql.com/doc/refman/5.7/en/using-system-variables.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/set-variable.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/set-variable.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (402,7,'JSON_MERGE','Syntax:\nJSON_MERGE(json_doc, json_doc[, json_doc] ...)\n\nMerges two or more JSON documents. Synonym for JSON_MERGE_PRESERVE();\ndeprecated in MySQL 5.7.22 and subject to removal in a future release.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/json-modification-functions.html\n\n','mysql> SELECT JSON_MERGE(\'[1, 2]\', \'[true, false]\');\n+---------------------------------------+\n| JSON_MERGE(\'[1, 2]\', \'[true, false]\') |\n+---------------------------------------+\n| [1, 2, true, false] |\n+---------------------------------------+\n1 row in set, 1 warning (0.00 sec)\n\nmysql> SHOW WARNINGS\\G\n*************************** 1. row ***************************\n Level: Warning\n Code: 1287\nMessage: \'JSON_MERGE\' is deprecated and will be removed in a future release. \\\n Please use JSON_MERGE_PRESERVE/JSON_MERGE_PATCH instead\n1 row in set (0.00 sec)\n','http://dev.mysql.com/doc/refman/5.7/en/json-modification-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (403,28,'LOAD XML','Syntax:\nLOAD XML [LOW_PRIORITY | CONCURRENT] [LOCAL] INFILE \'file_name\'\n [REPLACE | IGNORE]\n INTO TABLE [db_name.]tbl_name\n [CHARACTER SET charset_name]\n [ROWS IDENTIFIED BY \'\']\n [IGNORE number {LINES | ROWS}]\n [(field_name_or_user_var\n [, field_name_or_user_var] ...)]\n [SET col_name={expr | DEFAULT},\n [, col_name={expr | DEFAULT}] ...]\n\nThe LOAD XML statement reads data from an XML file into a table. The\nfile_name must be given as a literal string. The tagname in the\noptional ROWS IDENTIFIED BY clause must also be given as a literal\nstring, and must be surrounded by angle brackets (< and >).\n\nLOAD XML acts as the complement of running the mysql client in XML\noutput mode (that is, starting the client with the --xml option). To\nwrite data from a table to an XML file, you can invoke the mysql client\nwith the --xml and -e options from the system shell, as shown here:\n\nshell> mysql --xml -e \'SELECT * FROM mydb.mytable\' > file.xml\n\nTo read the file back into a table, use LOAD XML INFILE. By default,\nthe element is considered to be the equivalent of a database\ntable row; this can be changed using the ROWS IDENTIFIED BY clause.\n\nThis statement supports three different XML formats:\n\no Column names as attributes and column values as attribute values:\n\n\n\no Column names as tags and column values as the content of these tags:\n\n\n value1\n value2\n\n\no Column names are the name attributes of tags, and values are\n the contents of these tags:\n\n\n value1\n value2\n\n\n This is the format used by other MySQL tools, such as mysqldump.\n\nAll three formats can be used in the same XML file; the import routine\nautomatically detects the format for each row and interprets it\ncorrectly. Tags are matched based on the tag or attribute name and the\ncolumn name.\n\nThe following clauses work essentially the same way for LOAD XML as\nthey do for LOAD DATA:\n\no LOW_PRIORITY or CONCURRENT\n\no LOCAL\n\no REPLACE or IGNORE\n\no CHARACTER SET\n\no SET\n\nSee [HELP LOAD DATA], for more information about these clauses.\n\n(field_name_or_user_var, ...) is a list of one or more comma-separated\nXML fields or user variables. The name of a user variable used for this\npurpose must match the name of a field from the XML file, prefixed with\n@. You can use field names to select only desired fields. User\nvariables can be employed to store the corresponding field values for\nsubsequent re-use.\n\nThe IGNORE number LINES or IGNORE number ROWS clause causes the first\nnumber rows in the XML file to be skipped. It is analogous to the LOAD\nDATA statement\'s IGNORE ... LINES clause.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/load-xml.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/load-xml.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (404,3,'CONV','Syntax:\nCONV(N,from_base,to_base)\n\nConverts numbers between different number bases. Returns a string\nrepresentation of the number N, converted from base from_base to base\nto_base. Returns NULL if any argument is NULL. The argument N is\ninterpreted as an integer, but may be specified as an integer or a\nstring. The minimum base is 2 and the maximum base is 36. If from_base\nis a negative number, N is regarded as a signed number. Otherwise, N is\ntreated as unsigned. CONV() works with 64-bit precision.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html\n\n','mysql> SELECT CONV(\'a\',16,2);\n -> \'1010\'\nmysql> SELECT CONV(\'6E\',18,8);\n -> \'172\'\nmysql> SELECT CONV(-17,10,-18);\n -> \'-H\'\nmysql> SELECT CONV(10+\'10\'+\'10\'+X\'0a\',10,10);\n -> \'40\'\n','http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html'); @@ -489,11 +489,11 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (408,32,'EXTRACT','Syntax:\nEXTRACT(unit FROM date)\n\nThe EXTRACT() function uses the same kinds of unit specifiers as\nDATE_ADD() or DATE_SUB(), but extracts parts from the date rather than\nperforming date arithmetic.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT EXTRACT(YEAR FROM \'2009-07-02\');\n -> 2009\nmysql> SELECT EXTRACT(YEAR_MONTH FROM \'2009-07-02 01:02:03\');\n -> 200907\nmysql> SELECT EXTRACT(DAY_MINUTE FROM \'2009-07-02 01:02:03\');\n -> 20102\nmysql> SELECT EXTRACT(MICROSECOND\n -> FROM \'2003-01-02 10:30:00.000123\');\n -> 123\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (409,12,'ENCRYPT','Syntax:\nENCRYPT(str[,salt])\n\nEncrypts str using the Unix crypt() system call and returns a binary\nstring. The salt argument must be a string with at least two characters\nor the result will be NULL. If no salt argument is given, a random\nvalue is used.\n\n*Note*:\n\nThe ENCRYPT() function is deprecated as of MySQL 5.7.6, will be removed\nin a future MySQL release, and should no longer be used. For one-way\nhashing, consider using SHA2() instead.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html\n\n','mysql> SELECT ENCRYPT(\'hello\');\n -> \'VxuFAJXVARROc\'\n','http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (410,27,'SHOW STATUS','Syntax:\nSHOW [GLOBAL | SESSION] STATUS\n [LIKE \'pattern\' | WHERE expr]\n\n*Note*:\n\nAs of MySQL 5.7.6, the value of the show_compatibility_56 system\nvariable affects the information available from and privileges required\nfor the statement described here. For details, see the description of\nthat variable in\nhttp://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html.\n\nSHOW STATUS provides server status information (see\nhttp://dev.mysql.com/doc/refman/5.7/en/server-status-variables.html).\nThis statement does not require any privilege. It requires only the\nability to connect to the server.\n\nStatus variable information is also available from these sources:\n\no Performance Schema tables. See\n http://dev.mysql.com/doc/refman/5.7/en/performance-schema-status-vari\n able-tables.html.\n\no The GLOBAL_STATUS and SESSION_STATUS tables. See\n http://dev.mysql.com/doc/refman/5.7/en/status-table.html.\n\no The mysqladmin extended-status command. See\n http://dev.mysql.com/doc/refman/5.7/en/mysqladmin.html.\n\nFor SHOW STATUS, a LIKE clause, if present, indicates which variable\nnames to match. A WHERE clause can be given to select rows using more\ngeneral conditions, as discussed in\nhttp://dev.mysql.com/doc/refman/5.7/en/extended-show.html.\n\nSHOW STATUS accepts an optional GLOBAL or SESSION variable scope\nmodifier:\n\no With a GLOBAL modifier, the statement displays the global status\n values. A global status variable may represent status for some aspect\n of the server itself (for example, Aborted_connects), or the\n aggregated status over all connections to MySQL (for example,\n Bytes_received and Bytes_sent). If a variable has no global value,\n the session value is displayed.\n\no With a SESSION modifier, the statement displays the status variable\n values for the current connection. If a variable has no session\n value, the global value is displayed. LOCAL is a synonym for SESSION.\n\no If no modifier is present, the default is SESSION.\n\nThe scope for each status variable is listed at\nhttp://dev.mysql.com/doc/refman/5.7/en/server-status-variables.html.\n\nEach invocation of the SHOW STATUS statement uses an internal temporary\ntable and increments the global Created_tmp_tables value.\nWith a LIKE clause, the statement displays only rows for those\nvariables with names that match the pattern:\n\nmysql> SHOW STATUS LIKE \'Key%\';\n+--------------------+----------+\n| Variable_name | Value |\n+--------------------+----------+\n| Key_blocks_used | 14955 |\n| Key_read_requests | 96854827 |\n| Key_reads | 162040 |\n| Key_write_requests | 7589728 |\n| Key_writes | 3813196 |\n+--------------------+----------+\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-status.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-status.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (411,2,'ST_NUMINTERIORRINGS','ST_NumInteriorRing(poly), ST_NumInteriorRings(poly)\n\nReturns the number of interior rings in the Polygon value poly. If the\nargument is NULL or an empty geometry, the return value is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html\n\n','mysql> SET @poly =\n -> \'Polygon((0 0,0 3,3 3,3 0,0 0),(1 1,1 2,2 2,2 1,1 1))\';\nmysql> SELECT ST_NumInteriorRings(ST_GeomFromText(@poly));\n+---------------------------------------------+\n| ST_NumInteriorRings(ST_GeomFromText(@poly)) |\n+---------------------------------------------+\n| 1 |\n+---------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (411,2,'ST_NUMINTERIORRINGS','ST_NumInteriorRing(poly), ST_NumInteriorRings(poly)\n\nReturns the number of interior rings in the Polygon value poly. If the\nargument is NULL or an empty geometry, the return value is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html\n\n','mysql> SET @poly =\n \'Polygon((0 0,0 3,3 3,3 0,0 0),(1 1,1 2,2 2,2 1,1 1))\';\nmysql> SELECT ST_NumInteriorRings(ST_GeomFromText(@poly));\n+---------------------------------------------+\n| ST_NumInteriorRings(ST_GeomFromText(@poly)) |\n+---------------------------------------------+\n| 1 |\n+---------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (412,7,'JSON_KEYS','Syntax:\nJSON_KEYS(json_doc[, path])\n\nReturns the keys from the top-level value of a JSON object as a JSON\narray, or, if a path argument is given, the top-level keys from the\nselected path. Returns NULL if any argument is NULL, the json_doc\nargument is not an object, or path, if given, does not locate an\nobject. An error occurs if the json_doc argument is not a valid JSON\ndocument or the path argument is not a valid path expression or\ncontains a * or ** wildcard.\n\nThe result array is empty if the selected object is empty. If the\ntop-level value has nested subobjects, the return value does not\ninclude keys from those subobjects.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/json-search-functions.html\n\n','mysql> SELECT JSON_KEYS(\'{"a": 1, "b": {"c": 30}}\');\n+---------------------------------------+\n| JSON_KEYS(\'{"a": 1, "b": {"c": 30}}\') |\n+---------------------------------------+\n| ["a", "b"] |\n+---------------------------------------+\nmysql> SELECT JSON_KEYS(\'{"a": 1, "b": {"c": 30}}\', \'$.b\');\n+----------------------------------------------+\n| JSON_KEYS(\'{"a": 1, "b": {"c": 30}}\', \'$.b\') |\n+----------------------------------------------+\n| ["c"] |\n+----------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/json-search-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (413,14,'INET6_ATON','Syntax:\nINET6_ATON(expr)\n\nGiven an IPv6 or IPv4 network address as a string, returns a binary\nstring that represents the numeric value of the address in network byte\norder (big endian). Because numeric-format IPv6 addresses require more\nbytes than the largest integer type, the representation returned by\nthis function has the VARBINARY data type: VARBINARY(16) for IPv6\naddresses and VARBINARY(4) for IPv4 addresses. If the argument is not a\nvalid address, INET6_ATON() returns NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html\n\n','mysql> SELECT HEX(INET6_ATON(\'fdfe::5a55:caff:fefa:9089\'));\n -> \'FDFE0000000000005A55CAFFFEFA9089\'\nmysql> SELECT HEX(INET6_ATON(\'10.0.5.9\'));\n -> \'0A000509\'\n','http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (414,27,'SHOW SLAVE HOSTS','Syntax:\nSHOW SLAVE HOSTS\n\nDisplays a list of replication slaves currently registered with the\nmaster.\n\nSHOW SLAVE HOSTS should be executed on a server that acts as a\nreplication master. The statement displays information about servers\nthat are or have been connected as replication slaves, with each row of\nthe result corresponding to one slave server, as shown here:\n\nmysql> SHOW SLAVE HOSTS;\n+------------+-----------+------+-----------+--------------------------------------+\n| Server_id | Host | Port | Master_id | Slave_UUID |\n+------------+-----------+------+-----------+--------------------------------------+\n| 192168010 | iconnect2 | 3306 | 192168011 | 14cb6624-7f93-11e0-b2c0-c80aa9429562 |\n| 1921680101 | athena | 3306 | 192168011 | 07af4990-f41f-11df-a566-7ac56fdaf645 |\n+------------+-----------+------+-----------+--------------------------------------+\n\no Server_id: The unique server ID of the slave server, as configured in\n the slave server\'s option file, or on the command line with\n --server-id=value.\n\no Host: The host name of the slave server as specified on the slave\n with the --report-host option. This can differ from the machine name\n as configured in the operating system.\n\no User: The slave server user name as, specified on the slave with the\n --report-user option. Statement output includes this column only if\n the master server is started with the --show-slave-auth-info option.\n\no Password: The slave server password as, specified on the slave with\n the --report-password option. Statement output includes this column\n only if the master server is started with the --show-slave-auth-info\n option.\n\no Port: The port on the master to which the slave server is listening,\n as specified on the slave with the --report-port option.\n\n A zero in this column means that the slave port (--report-port) was\n not set.\n\no Master_id: The unique server ID of the master server that the slave\n server is replicating from. This is the server ID of the server on\n which SHOW SLAVE HOSTS is executed, so this same value is listed for\n each row in the result.\n\no Slave_UUID: The globally unique ID of this slave, as generated on the\n slave and found in the slave\'s auto.cnf file.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-slave-hosts.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-slave-hosts.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (415,8,'START TRANSACTION','Syntax:\nSTART TRANSACTION\n [transaction_characteristic [, transaction_characteristic] ...]\n\ntransaction_characteristic:\n WITH CONSISTENT SNAPSHOT\n | READ WRITE\n | READ ONLY\n\nBEGIN [WORK]\nCOMMIT [WORK] [AND [NO] CHAIN] [[NO] RELEASE]\nROLLBACK [WORK] [AND [NO] CHAIN] [[NO] RELEASE]\nSET autocommit = {0 | 1}\n\nThese statements provide control over use of transactions:\n\no START TRANSACTION or BEGIN start a new transaction.\n\no COMMIT commits the current transaction, making its changes permanent.\n\no ROLLBACK rolls back the current transaction, canceling its changes.\n\no SET autocommit disables or enables the default autocommit mode for\n the current session.\n\nBy default, MySQL runs with autocommit mode enabled. This means that as\nsoon as you execute a statement that updates (modifies) a table, MySQL\nstores the update on disk to make it permanent. The change cannot be\nrolled back.\n\nTo disable autocommit mode implicitly for a single series of\nstatements, use the START TRANSACTION statement:\n\nSTART TRANSACTION;\nSELECT @A:=SUM(salary) FROM table1 WHERE type=1;\nUPDATE table2 SET summary=@A WHERE type=1;\nCOMMIT;\n\nWith START TRANSACTION, autocommit remains disabled until you end the\ntransaction with COMMIT or ROLLBACK. The autocommit mode then reverts\nto its previous state.\n\nSTART TRANSACTION permits several modifiers that control transaction\ncharacteristics. To specify multiple modifiers, separate them by\ncommas.\n\no The WITH CONSISTENT SNAPSHOT modifier starts a consistent read for\n storage engines that are capable of it. This applies only to InnoDB.\n The effect is the same as issuing a START TRANSACTION followed by a\n SELECT from any InnoDB table. See\n http://dev.mysql.com/doc/refman/5.7/en/innodb-consistent-read.html.\n The WITH CONSISTENT SNAPSHOT modifier does not change the current\n transaction isolation level, so it provides a consistent snapshot\n only if the current isolation level is one that permits a consistent\n read. The only isolation level that permits a consistent read is\n REPEATABLE READ. For all other isolation levels, the WITH CONSISTENT\n SNAPSHOT clause is ignored. As of MySQL 5.7.2, a warning is generated\n when the WITH CONSISTENT SNAPSHOT clause is ignored.\n\no The READ WRITE and READ ONLY modifiers set the transaction access\n mode. They permit or prohibit changes to tables used in the\n transaction. The READ ONLY restriction prevents the transaction from\n modifying or locking both transactional and nontransactional tables\n that are visible to other transactions; the transaction can still\n modify or lock temporary tables.\n\n MySQL enables extra optimizations for queries on InnoDB tables when\n the transaction is known to be read-only. Specifying READ ONLY\n ensures these optimizations are applied in cases where the read-only\n status cannot be determined automatically. See\n http://dev.mysql.com/doc/refman/5.7/en/innodb-performance-ro-txn.html\n for more information.\n\n If no access mode is specified, the default mode applies. Unless the\n default has been changed, it is read/write. It is not permitted to\n specify both READ WRITE and READ ONLY in the same statement.\n\n In read-only mode, it remains possible to change tables created with\n the TEMPORARY keyword using DML statements. Changes made with DDL\n statements are not permitted, just as with permanent tables.\n\n For additional information about transaction access mode, including\n ways to change the default mode, see [HELP ISOLATION].\n\n If the read_only system variable is enabled, explicitly starting a\n transaction with START TRANSACTION READ WRITE requires the SUPER\n privilege.\n\n*Important*:\n\nMany APIs used for writing MySQL client applications (such as JDBC)\nprovide their own methods for starting transactions that can (and\nsometimes should) be used instead of sending a START TRANSACTION\nstatement from the client. See\nhttp://dev.mysql.com/doc/refman/5.7/en/connectors-apis.html, or the\ndocumentation for your API, for more information.\n\nTo disable autocommit mode explicitly, use the following statement:\n\nSET autocommit=0;\n\nAfter disabling autocommit mode by setting the autocommit variable to\nzero, changes to transaction-safe tables (such as those for InnoDB or\nNDB) are not made permanent immediately. You must use COMMIT to store\nyour changes to disk or ROLLBACK to ignore the changes.\n\nautocommit is a session variable and must be set for each session. To\ndisable autocommit mode for each new connection, see the description of\nthe autocommit system variable at\nhttp://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html.\n\nBEGIN and BEGIN WORK are supported as aliases of START TRANSACTION for\ninitiating a transaction. START TRANSACTION is standard SQL syntax, is\nthe recommended way to start an ad-hoc transaction, and permits\nmodifiers that BEGIN does not.\n\nThe BEGIN statement differs from the use of the BEGIN keyword that\nstarts a BEGIN ... END compound statement. The latter does not begin a\ntransaction. See [HELP BEGIN END].\n\n*Note*:\n\nWithin all stored programs (stored procedures and functions, triggers,\nand events), the parser treats BEGIN [WORK] as the beginning of a BEGIN\n... END block. Begin a transaction in this context with START\nTRANSACTION instead.\n\nThe optional WORK keyword is supported for COMMIT and ROLLBACK, as are\nthe CHAIN and RELEASE clauses. CHAIN and RELEASE can be used for\nadditional control over transaction completion. The value of the\ncompletion_type system variable determines the default completion\nbehavior. See\nhttp://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html.\n\nThe AND CHAIN clause causes a new transaction to begin as soon as the\ncurrent one ends, and the new transaction has the same isolation level\nas the just-terminated transaction. The new transaction also uses the\nsame access mode (READ WRITE or READ ONLY) as the just-terminated\ntransaction. The RELEASE clause causes the server to disconnect the\ncurrent client session after terminating the current transaction.\nIncluding the NO keyword suppresses CHAIN or RELEASE completion, which\ncan be useful if the completion_type system variable is set to cause\nchaining or release completion by default.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/commit.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/commit.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (415,8,'START TRANSACTION','Syntax:\nSTART TRANSACTION\n [transaction_characteristic [, transaction_characteristic] ...]\n\ntransaction_characteristic: {\n WITH CONSISTENT SNAPSHOT\n | READ WRITE\n | READ ONLY\n}\n\nBEGIN [WORK]\nCOMMIT [WORK] [AND [NO] CHAIN] [[NO] RELEASE]\nROLLBACK [WORK] [AND [NO] CHAIN] [[NO] RELEASE]\nSET autocommit = {0 | 1}\n\nThese statements provide control over use of transactions:\n\no START TRANSACTION or BEGIN start a new transaction.\n\no COMMIT commits the current transaction, making its changes permanent.\n\no ROLLBACK rolls back the current transaction, canceling its changes.\n\no SET autocommit disables or enables the default autocommit mode for\n the current session.\n\nBy default, MySQL runs with autocommit mode enabled. This means that as\nsoon as you execute a statement that updates (modifies) a table, MySQL\nstores the update on disk to make it permanent. The change cannot be\nrolled back.\n\nTo disable autocommit mode implicitly for a single series of\nstatements, use the START TRANSACTION statement:\n\nSTART TRANSACTION;\nSELECT @A:=SUM(salary) FROM table1 WHERE type=1;\nUPDATE table2 SET summary=@A WHERE type=1;\nCOMMIT;\n\nWith START TRANSACTION, autocommit remains disabled until you end the\ntransaction with COMMIT or ROLLBACK. The autocommit mode then reverts\nto its previous state.\n\nSTART TRANSACTION permits several modifiers that control transaction\ncharacteristics. To specify multiple modifiers, separate them by\ncommas.\n\no The WITH CONSISTENT SNAPSHOT modifier starts a consistent read for\n storage engines that are capable of it. This applies only to InnoDB.\n The effect is the same as issuing a START TRANSACTION followed by a\n SELECT from any InnoDB table. See\n http://dev.mysql.com/doc/refman/5.7/en/innodb-consistent-read.html.\n The WITH CONSISTENT SNAPSHOT modifier does not change the current\n transaction isolation level, so it provides a consistent snapshot\n only if the current isolation level is one that permits a consistent\n read. The only isolation level that permits a consistent read is\n REPEATABLE READ. For all other isolation levels, the WITH CONSISTENT\n SNAPSHOT clause is ignored. As of MySQL 5.7.2, a warning is generated\n when the WITH CONSISTENT SNAPSHOT clause is ignored.\n\no The READ WRITE and READ ONLY modifiers set the transaction access\n mode. They permit or prohibit changes to tables used in the\n transaction. The READ ONLY restriction prevents the transaction from\n modifying or locking both transactional and nontransactional tables\n that are visible to other transactions; the transaction can still\n modify or lock temporary tables.\n\n MySQL enables extra optimizations for queries on InnoDB tables when\n the transaction is known to be read-only. Specifying READ ONLY\n ensures these optimizations are applied in cases where the read-only\n status cannot be determined automatically. See\n http://dev.mysql.com/doc/refman/5.7/en/innodb-performance-ro-txn.html\n for more information.\n\n If no access mode is specified, the default mode applies. Unless the\n default has been changed, it is read/write. It is not permitted to\n specify both READ WRITE and READ ONLY in the same statement.\n\n In read-only mode, it remains possible to change tables created with\n the TEMPORARY keyword using DML statements. Changes made with DDL\n statements are not permitted, just as with permanent tables.\n\n For additional information about transaction access mode, including\n ways to change the default mode, see [HELP ISOLATION].\n\n If the read_only system variable is enabled, explicitly starting a\n transaction with START TRANSACTION READ WRITE requires the SUPER\n privilege.\n\n*Important*:\n\nMany APIs used for writing MySQL client applications (such as JDBC)\nprovide their own methods for starting transactions that can (and\nsometimes should) be used instead of sending a START TRANSACTION\nstatement from the client. See\nhttp://dev.mysql.com/doc/refman/5.7/en/connectors-apis.html, or the\ndocumentation for your API, for more information.\n\nTo disable autocommit mode explicitly, use the following statement:\n\nSET autocommit=0;\n\nAfter disabling autocommit mode by setting the autocommit variable to\nzero, changes to transaction-safe tables (such as those for InnoDB or\nNDB) are not made permanent immediately. You must use COMMIT to store\nyour changes to disk or ROLLBACK to ignore the changes.\n\nautocommit is a session variable and must be set for each session. To\ndisable autocommit mode for each new connection, see the description of\nthe autocommit system variable at\nhttp://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html.\n\nBEGIN and BEGIN WORK are supported as aliases of START TRANSACTION for\ninitiating a transaction. START TRANSACTION is standard SQL syntax, is\nthe recommended way to start an ad-hoc transaction, and permits\nmodifiers that BEGIN does not.\n\nThe BEGIN statement differs from the use of the BEGIN keyword that\nstarts a BEGIN ... END compound statement. The latter does not begin a\ntransaction. See [HELP BEGIN END].\n\n*Note*:\n\nWithin all stored programs (stored procedures and functions, triggers,\nand events), the parser treats BEGIN [WORK] as the beginning of a BEGIN\n... END block. Begin a transaction in this context with START\nTRANSACTION instead.\n\nThe optional WORK keyword is supported for COMMIT and ROLLBACK, as are\nthe CHAIN and RELEASE clauses. CHAIN and RELEASE can be used for\nadditional control over transaction completion. The value of the\ncompletion_type system variable determines the default completion\nbehavior. See\nhttp://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html.\n\nThe AND CHAIN clause causes a new transaction to begin as soon as the\ncurrent one ends, and the new transaction has the same isolation level\nas the just-terminated transaction. The new transaction also uses the\nsame access mode (READ WRITE or READ ONLY) as the just-terminated\ntransaction. The RELEASE clause causes the server to disconnect the\ncurrent client session after terminating the current transaction.\nIncluding the NO keyword suppresses CHAIN or RELEASE completion, which\ncan be useful if the completion_type system variable is set to cause\nchaining or release completion by default.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/commit.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/commit.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (416,32,'TIME_FORMAT','Syntax:\nTIME_FORMAT(time,format)\n\nThis is used like the DATE_FORMAT() function, but the format string may\ncontain format specifiers only for hours, minutes, seconds, and\nmicroseconds. Other specifiers produce a NULL value or 0.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT TIME_FORMAT(\'100:00:00\', \'%H %k %h %I %l\');\n -> \'100 100 04 04 4\'\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (417,40,'CREATE DATABASE','Syntax:\nCREATE {DATABASE | SCHEMA} [IF NOT EXISTS] db_name\n [create_specification] ...\n\ncreate_specification:\n [DEFAULT] CHARACTER SET [=] charset_name\n | [DEFAULT] COLLATE [=] collation_name\n\nCREATE DATABASE creates a database with the given name. To use this\nstatement, you need the CREATE privilege for the database. CREATE\nSCHEMA is a synonym for CREATE DATABASE.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-database.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/create-database.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (418,16,'VAR_POP','Syntax:\nVAR_POP(expr)\n\nReturns the population standard variance of expr. It considers rows as\nthe whole population, not as a sample, so it has the number of rows as\nthe denominator. You can also use VARIANCE(), which is equivalent but\nis not standard SQL.\n\nIf there are no matching rows, VAR_POP() returns NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/group-by-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/group-by-functions.html'); @@ -515,10 +515,10 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (434,24,'DECLARE CONDITION','Syntax:\nDECLARE condition_name CONDITION FOR condition_value\n\ncondition_value:\n mysql_error_code\n | SQLSTATE [VALUE] sqlstate_value\n\nThe DECLARE ... CONDITION statement declares a named error condition,\nassociating a name with a condition that needs specific handling. The\nname can be referred to in a subsequent DECLARE ... HANDLER statement\n(see [HELP DECLARE HANDLER]).\n\nCondition declarations must appear before cursor or handler\ndeclarations.\n\nThe condition_value for DECLARE ... CONDITION indicates the specific\ncondition or class of conditions to associate with the condition name.\nIt can take the following forms:\n\no mysql_error_code: An integer literal indicating a MySQL error code.\n\n Do not use MySQL error code 0 because that indicates success rather\n than an error condition. For a list of MySQL error codes, see\n http://dev.mysql.com/doc/refman/5.7/en/error-messages-server.html.\n\no SQLSTATE [VALUE] sqlstate_value: A 5-character string literal\n indicating an SQLSTATE value.\n\n Do not use SQLSTATE values that begin with \'00\' because those\n indicate success rather than an error condition. For a list of\n SQLSTATE values, see\n http://dev.mysql.com/doc/refman/5.7/en/error-messages-server.html.\n\nCondition names referred to in SIGNAL or use RESIGNAL statements must\nbe associated with SQLSTATE values, not MySQL error codes.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/declare-condition.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/declare-condition.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (435,32,'MONTHNAME','Syntax:\nMONTHNAME(date)\n\nReturns the full name of the month for date. The language used for the\nname is controlled by the value of the lc_time_names system variable\n(http://dev.mysql.com/doc/refman/5.7/en/locale-support.html).\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT MONTHNAME(\'2008-02-03\');\n -> \'February\'\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (436,26,'NUMGEOMETRIES','NumGeometries(gc)\n\nST_NumGeometries() and NumGeometries() are synonyms. For more\ninformation, see the description of ST_NumGeometries().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-geometrycollection-property-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-geometrycollection-property-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (437,8,'CHANGE MASTER TO','Syntax:\nCHANGE MASTER TO option [, option] ... [ channel_option ]\n\noption:\n MASTER_BIND = \'interface_name\'\n | MASTER_HOST = \'host_name\'\n | MASTER_USER = \'user_name\'\n | MASTER_PASSWORD = \'password\'\n | MASTER_PORT = port_num\n | MASTER_CONNECT_RETRY = interval\n | MASTER_RETRY_COUNT = count\n | MASTER_DELAY = interval\n | MASTER_HEARTBEAT_PERIOD = interval\n | MASTER_LOG_FILE = \'master_log_name\'\n | MASTER_LOG_POS = master_log_pos\n | MASTER_AUTO_POSITION = {0|1}\n | RELAY_LOG_FILE = \'relay_log_name\'\n | RELAY_LOG_POS = relay_log_pos\n | MASTER_SSL = {0|1}\n | MASTER_SSL_CA = \'ca_file_name\'\n | MASTER_SSL_CAPATH = \'ca_directory_name\'\n | MASTER_SSL_CERT = \'cert_file_name\'\n | MASTER_SSL_CRL = \'crl_file_name\'\n | MASTER_SSL_CRLPATH = \'crl_directory_name\'\n | MASTER_SSL_KEY = \'key_file_name\'\n | MASTER_SSL_CIPHER = \'cipher_list\'\n | MASTER_SSL_VERIFY_SERVER_CERT = {0|1}\n | MASTER_TLS_VERSION = \'protocol_list\'\n | IGNORE_SERVER_IDS = (server_id_list)\n\nchannel_option:\n FOR CHANNEL channel\n\nserver_id_list:\n [server_id [, server_id] ... ]\n\nCHANGE MASTER TO changes the parameters that the slave server uses for\nconnecting to the master server, for reading the master binary log, and\nreading the slave relay log. It also updates the contents of the master\ninfo and relay log info repositories (see\nhttp://dev.mysql.com/doc/refman/5.7/en/slave-logs.html). CHANGE MASTER\nTO requires the SUPER privilege.\n\nPrior to MySQL 5.7.4, the slave replication threads must be stopped,\nusing STOP SLAVE if necessary, before issuing this statement. In MySQL\n5.7.4 and later, you can issue CHANGE MASTER TO statements on a running\nslave without doing this, depending on the states of the slave SQL\nthread and slave I/O thread. The rules governing such use are provided\nlater in this section.\n\nWhen using a multithreaded slave (in other words slave_parallel_workers\nis greater than 0), stopping the slave can cause "gaps" in the sequence\nof transactions that have been executed from the relay log, regardless\nof whether the slave was stopped intentionally or otherwise. When such\ngaps exist, issuing CHANGE MASTER TO fails. The solution in this\nsituation is to issue START SLAVE UNTIL SQL_AFTER_MTS_GAPS which\nensures that the gaps are closed.\n\nThe optional FOR CHANNEL channel clause enables you to name which\nreplication channel the statement applies to. Providing a FOR CHANNEL\nchannel clause applies the CHANGE MASTER TO statement to a specific\nreplication channel, and is used to add a new channel or modify an\nexisting channel. For example, to add a new channel called channel2:\n\nCHANGE MASTER TO MASTER_HOST=host1, MASTER_PORT=3002 FOR CHANNEL \'channel2\'\n\nIf no clause is named and no extra channels exist, the statement\napplies to the default channel.\n\nWhen using multiple replication channels, if a CHANGE MASTER TO\nstatement does not name a channel using a FOR CHANNEL channel clause,\nan error occurs. See\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-channels.html for\nmore information.\n\nOptions not specified retain their value, except as indicated in the\nfollowing discussion. Thus, in most cases, there is no need to specify\noptions that do not change. For example, if the password to connect to\nyour MySQL master has changed, issue this statement to tell the slave\nabout the new password:\n\nCHANGE MASTER TO MASTER_PASSWORD=\'new3cret\';\n\nMASTER_HOST, MASTER_USER, MASTER_PASSWORD, and MASTER_PORT provide\ninformation to the slave about how to connect to its master:\n\no MASTER_HOST and MASTER_PORT are the host name (or IP address) of the\n master host and its TCP/IP port.\n\n *Note*:\n\n Replication cannot use Unix socket files. You must be able to connect\n to the master MySQL server using TCP/IP.\n\n If you specify the MASTER_HOST or MASTER_PORT option, the slave\n assumes that the master server is different from before (even if the\n option value is the same as its current value.) In this case, the old\n values for the master binary log file name and position are\n considered no longer applicable, so if you do not specify\n MASTER_LOG_FILE and MASTER_LOG_POS in the statement,\n MASTER_LOG_FILE=\'\' and MASTER_LOG_POS=4 are silently appended to it.\n\n Setting MASTER_HOST=\'\' (that is, setting its value explicitly to an\n empty string) is not the same as not setting MASTER_HOST at all.\n Beginning with MySQL 5.5, trying to set MASTER_HOST to an empty\n string fails with an error. Previously, setting MASTER_HOST to an\n empty string caused START SLAVE subsequently to fail. (Bug #28796)\n\n Values used for MASTER_HOST and other CHANGE MASTER TO options are\n checked for linefeed (\\n or 0x0A) characters; the presence of such\n characters in these values causes the statement to fail with\n ER_MASTER_INFO. (Bug #11758581, Bug #50801)\n\no MASTER_USER and MASTER_PASSWORD are the user name and password of the\n account to use for connecting to the master.\n\n MASTER_USER cannot be made empty; setting MASTER_USER = \'\' or leaving\n it unset when setting a value for MASTER_PASSWORD causes an error\n (Bug #13427949).\n\n The password used for a MySQL Replication slave account in a CHANGE\n MASTER TO statement is limited to 32 characters in length; prior to\n MySQL 5.7.5, if the password was longer, the statement succeeded, but\n any excess characters were silently truncated. In MySQL 5.7.5 and\n later, trying to use a password of more than 32 characters causes\n CHANGE MASTER TO to fail. (Bug #11752299, Bug #43439)\n\n The text of a running CHANGE MASTER TO statement, including values\n for MASTER_USER and MASTER_PASSWORD, can be seen in the output of a\n concurrent SHOW PROCESSLIST statement. (The complete text of a START\n SLAVE statement is also visible to SHOW PROCESSLIST.)\n\nThe MASTER_SSL_xxx options, and the MASTER_TLS_VERSION option, specify\nhow the slave uses encryption and ciphers to secure the replication\nconnection. These options can be changed even on slaves that are\ncompiled without SSL support. They are saved to the master info\nrepository, but are ignored if the slave does not have SSL support\nenabled. The MASTER_SSL_xxx options perform the same functions as the\n--ssl-xxx options described in\nhttp://dev.mysql.com/doc/refman/5.7/en/encrypted-connection-options.htm\nl. The correspondence between the two sets of options, and the use of\nthe MASTER_SSL_xxx and MASTER_TLS_VERSION options to set up a secure\nconnection, is explained in\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-solutions-encrypted-\nconnections.html.\n\nAs of MySQL 5.7.3, setting MASTER_SSL=1 means that the slave connection\nto the master must use SSL, or the connection attempt fails. Before\n5.7.3, the use of an SSL connection by the slave was not enforced with\nMASTER_SSL=1. This is analogous to the client-side meaning of the --ssl\ncommand-line option; see\nhttp://dev.mysql.com/doc/refman/5.7/en/encrypted-connection-options.htm\nl.\n\nMASTER_CONNECT_RETRY specifies how many seconds to wait between connect\nretries. The default is 60.\n\nMASTER_RETRY_COUNT limits the number of reconnection attempts and\nupdates the value of the Master_Retry_Count column in the output of\nSHOW SLAVE STATUS. The default value is 24 * 3600 = 86400.\nMASTER_RETRY_COUNT is intended to replace the older\n--master-retry-count server option, and is now the preferred method for\nsetting this limit. You are encouraged not to rely on\n--master-retry-count in new applications and, when upgrading from\nversions earlier than MySQL 5.6, to update any existing applications\nthat rely on it, so that they use CHANGE MASTER TO ...\nMASTER_RETRY_COUNT instead.\n\nMASTER_DELAY specifies how many seconds behind the master the slave\nmust lag. An event received from the master is not executed until at\nleast interval seconds later than its execution on the master. The\ndefault is 0. An error occurs if interval is not a nonnegative integer\nin the range from 0 to 231−1. For more information, see\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-delayed.html.\n\nFrom MySQL 5.7, a CHANGE MASTER TO statement employing the MASTER_DELAY\noption can be executed on a running slave when the slave SQL thread is\nstopped.\n\nMASTER_BIND is for use on replication slaves having multiple network\ninterfaces, and determines which of the slave\'s network interfaces is\nchosen for connecting to the master.\n\nThe address configured with this option, if any, can be seen in the\nMaster_Bind column of the output from SHOW SLAVE STATUS. If you are\nusing slave status log tables (server started with\n--master-info-repository=TABLE), the value can also be seen as the\nMaster_bind column of the mysql.slave_master_info table.\n\nThe ability to bind a replication slave to a specific network interface\nis also supported by NDB Cluster.\n\nMASTER_HEARTBEAT_PERIOD sets the interval in seconds between\nreplication heartbeats. Whenever the master\'s binary log is updated\nwith an event, the waiting period for the next heartbeat is reset.\ninterval is a decimal value having the range 0 to 4294967 seconds and a\nresolution in milliseconds; the smallest nonzero value is 0.001.\nHeartbeats are sent by the master only if there are no unsent events in\nthe binary log file for a period longer than interval.\n\nPrior to MySQL 5.7.4, not including MASTER_HEARTBEAT_PERIOD caused\nCHANGE MASTER TO to reset the heartbeat period (Slave_heartbeat_period)\nto the default, and Slave_received_heartbeats to 0. (Bug #18185490)\n\nIf you are logging master connection information to tables,\nMASTER_HEARTBEAT_PERIOD can be seen as the value of the Heartbeat\ncolumn of the mysql.slave_master_info table.\n\nSetting interval to 0 disables heartbeats altogether. The default value\nfor interval is equal to the value of slave_net_timeout divided by 2.\n\nSetting @@global.slave_net_timeout to a value less than that of the\ncurrent heartbeat interval results in a warning being issued. The\neffect of issuing RESET SLAVE on the heartbeat interval is to reset it\nto the default value.\n\nMASTER_LOG_FILE and MASTER_LOG_POS are the coordinates at which the\nslave I/O thread should begin reading from the master the next time the\nthread starts. RELAY_LOG_FILE and RELAY_LOG_POS are the coordinates at\nwhich the slave SQL thread should begin reading from the relay log the\nnext time the thread starts. If you specify either of MASTER_LOG_FILE\nor MASTER_LOG_POS, you cannot specify RELAY_LOG_FILE or RELAY_LOG_POS.\nIf you specify either of MASTER_LOG_FILE or MASTER_LOG_POS, you also\ncannot specify MASTER_AUTO_POSITION = 1 (described later in this\nsection). If neither of MASTER_LOG_FILE or MASTER_LOG_POS is specified,\nthe slave uses the last coordinates of the slave SQL thread before\nCHANGE MASTER TO was issued. This ensures that there is no\ndiscontinuity in replication, even if the slave SQL thread was late\ncompared to the slave I/O thread, when you merely want to change, say,\nthe password to use.\n\nFrom MySQL 5.7, a CHANGE MASTER TO statement employing RELAY_LOG_FILE,\nRELAY_LOG_POS, or both options can be executed on a running slave when\nthe slave SQL thread is stopped.\n\nIf MASTER_AUTO_POSITION = 1 is used with CHANGE MASTER TO, the slave\nattempts to connect to the master using the GTID-based replication\nprotocol. From MySQL 5.7, this option can be employed by CHANGE MASTER\nTO only if both the slave SQL and slave I/O threads are stopped.\n\nWhen using GTIDs, the slave tells the master which transactions it has\nalready received, executed, or both. To compute this set, it reads the\nglobal value of gtid_executed and the value of the Retrieved_gtid_set\ncolumn from SHOW SLAVE STATUS. The GTID of the last transmitted\ntransaction is included in Retrieved_gtid_set only when the full\ntransaction is received. The slave computes the following set:\n\nUNION(@@global.gtid_executed, Retrieved_gtid_set)\n\nPrior to MySQL 5.7.5, the GTID of the last transmitted transaction was\nincluded in Retrieved_gtid_set even if the transaction was only\npartially transmitted, and the last received GTID was subtracted from\nthis set. (Bug #17943188) Thus, the slave computed the following set:\n\nUNION(@@global.gtid_executed, Retrieved_gtid_set - last_received_GTID)\n\nThis set is sent to the master as part of the initial handshake, and\nthe master sends back all transactions that it has executed which are\nnot part of the set. If any of these transactions have been already\npurged from the master\'s binary log, the master sends the error\nER_MASTER_HAS_PURGED_REQUIRED_GTIDS to the slave, and replication does\nnot start.\n\nWhen GTID-based replication is employed, the coordinates represented by\nMASTER_LOG_FILE and MASTER_LOG_POS are not used, and global transaction\nidentifiers are used instead. Thus the use of either or both of these\noptions together with MASTER_AUTO_POSITION causes an error.\n\nYou can see whether replication is running with autopositioning enabled\nby checking the output of SHOW SLAVE STATUS. (Bug #15992220)\n\ngtid_mode must also be enabled before issuing CHANGE MASTER TO ...\nMASTER_AUTO_POSITION = 1. Otherwise, the statement fails with an error.\n\nTo revert to the older file-based replication protocol after using\nGTIDs, you can issue a new CHANGE MASTER TO statement that specifies\nMASTER_AUTO_POSITION = 0, as well as at least one of MASTER_LOG_FILE or\nMASTER_LOG_POS.\n\nPrior to MySQL 5.7.4, CHANGE MASTER TO deletes all relay log files and\nstarts a new one, unless you specify RELAY_LOG_FILE or RELAY_LOG_POS.\nIn that case, relay log files are kept; the relay_log_purge global\nvariable is set silently to 0. In MySQL 5.7.4 and later, relay logs are\npreserved if at least one of the slave SQL thread and the slave I/O\nthread is running; if both threads are stopped, all relay log files are\ndeleted unless at least one of RELAY_LOG_FILE or RELAY_LOG_POS is\nspecified.\n\nRELAY_LOG_FILE can use either an absolute or relative path, and uses\nthe same base name as MASTER_LOG_FILE. (Bug #12190)\n\nIGNORE_SERVER_IDS takes a comma-separated list of 0 or more server IDs.\nEvents originating from the corresponding servers are ignored, with the\nexception of log rotation and deletion events, which are still recorded\nin the relay log.\n\nIn circular replication, the originating server normally acts as the\nterminator of its own events, so that they are not applied more than\nonce. Thus, this option is useful in circular replication when one of\nthe servers in the circle is removed. Suppose that you have a circular\nreplication setup with 4 servers, having server IDs 1, 2, 3, and 4, and\nserver 3 fails. When bridging the gap by starting replication from\nserver 2 to server 4, you can include IGNORE_SERVER_IDS = (3) in the\nCHANGE MASTER TO statement that you issue on server 4 to tell it to use\nserver 2 as its master instead of server 3. Doing so causes it to\nignore and not to propagate any statements that originated with the\nserver that is no longer in use.\n\nIf a CHANGE MASTER TO statement is issued without any IGNORE_SERVER_IDS\noption, any existing list is preserved. To clear the list of ignored\nservers, it is necessary to use the option with an empty list:\n\nCHANGE MASTER TO IGNORE_SERVER_IDS = ();\n\nPrior to MySQL 5.7.5, RESET SLAVE ALL has no effect on the server ID\nlist. In MySQL 5.7.5 and later, RESET SLAVE ALL clears\nIGNORE_SERVER_IDS. (Bug #18816897)\n\nIf IGNORE_SERVER_IDS contains the server\'s own ID and the server was\nstarted with the --replicate-same-server-id option enabled, an error\nresults.\n\nThe master info repository and the output of SHOW SLAVE STATUS provide\nthe list of servers that are currently ignored. For more information,\nsee http://dev.mysql.com/doc/refman/5.7/en/slave-logs-status.html, and\n[HELP SHOW SLAVE STATUS].\n\nInvoking CHANGE MASTER TO causes the previous values for MASTER_HOST,\nMASTER_PORT, MASTER_LOG_FILE, and MASTER_LOG_POS to be written to the\nerror log, along with other information about the slave\'s state prior\nto execution.\n\nCHANGE MASTER TO causes an implicit commit of an ongoing transaction.\nSee http://dev.mysql.com/doc/refman/5.7/en/implicit-commit.html.\n\nIn MySQL 5.7.4 and later, the strict requirement to execute STOP SLAVE\nprior to issuing any CHANGE MASTER TO statement (and START SLAVE\nafterward) is removed. Instead of depending on whether the slave is\nstopped, the behavior of CHANGE MASTER TO depends (in MySQL 5.7.4 and\nlater) on the states of the slave SQL thread and slave I/O threads;\nwhich of these threads is stopped or running now determines the options\nthat can or cannot be used with a CHANGE MASTER TO statement at a given\npoint in time. The rules for making this determination are listed here:\n\no If the SQL thread is stopped, you can execute CHANGE MASTER TO using\n any combination that is otherwise allowed of RELAY_LOG_FILE,\n RELAY_LOG_POS, and MASTER_DELAY options, even if the slave I/O thread\n is running. No other options may be used with this statement when the\n I/O thread is running.\n\no If the I/O thread is stopped, you can execute CHANGE MASTER TO using\n any of the options for this statement (in any allowed combination)\n except RELAY_LOG_FILE, RELAY_LOG_POS, or MASTER_DELAY, even when the\n SQL thread is running. These three options may not be used when the\n I/O thread is running.\n\no Both the SQL thread and the I/O thread must be stopped before issuing\n a CHANGE MASTER TO statement that employs MASTER_AUTO_POSITION = 1.\n\nYou can check the current state of the slave SQL and I/O threads using\nSHOW SLAVE STATUS.\n\nFor more information, see\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-solutions-switch.htm\nl.\n\nIf you are using statement-based replication and temporary tables, it\nis possible for a CHANGE MASTER TO statement following a STOP SLAVE\nstatement to leave behind temporary tables on the slave. From MySQL\n5.7, a warning (ER_WARN_OPEN_TEMP_TABLES_MUST_BE_ZERO) is issued\nwhenever this occurs. You can avoid this in such cases by making sure\nthat the value of the Slave_open_temp_tables system status variable is\nequal to 0 prior to executing such a CHANGE MASTER TO statement.\n\nCHANGE MASTER TO is useful for setting up a slave when you have the\nsnapshot of the master and have recorded the master binary log\ncoordinates corresponding to the time of the snapshot. After loading\nthe snapshot into the slave to synchronize it with the master, you can\nrun CHANGE MASTER TO MASTER_LOG_FILE=\'log_name\', MASTER_LOG_POS=log_pos\non the slave to specify the coordinates at which the slave should begin\nreading the master binary log.\n\nThe following example changes the master server the slave uses and\nestablishes the master binary log coordinates from which the slave\nbegins reading. This is used when you want to set up the slave to\nreplicate the master:\n\nCHANGE MASTER TO\n MASTER_HOST=\'master2.example.com\',\n MASTER_USER=\'replication\',\n MASTER_PASSWORD=\'password\',\n MASTER_PORT=3306,\n MASTER_LOG_FILE=\'master2-bin.001\',\n MASTER_LOG_POS=4,\n MASTER_CONNECT_RETRY=10;\n\nThe next example shows an operation that is less frequently employed.\nIt is used when the slave has relay log files that you want it to\nexecute again for some reason. To do this, the master need not be\nreachable. You need only use CHANGE MASTER TO and start the SQL thread\n(START SLAVE SQL_THREAD):\n\nCHANGE MASTER TO\n RELAY_LOG_FILE=\'slave-relay-bin.006\',\n RELAY_LOG_POS=4025;\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/change-master-to.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/change-master-to.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (437,8,'CHANGE MASTER TO','Syntax:\nCHANGE MASTER TO option [, option] ... [ channel_option ]\n\noption:\n MASTER_BIND = \'interface_name\'\n | MASTER_HOST = \'host_name\'\n | MASTER_USER = \'user_name\'\n | MASTER_PASSWORD = \'password\'\n | MASTER_PORT = port_num\n | MASTER_CONNECT_RETRY = interval\n | MASTER_RETRY_COUNT = count\n | MASTER_DELAY = interval\n | MASTER_HEARTBEAT_PERIOD = interval\n | MASTER_LOG_FILE = \'master_log_name\'\n | MASTER_LOG_POS = master_log_pos\n | MASTER_AUTO_POSITION = {0|1}\n | RELAY_LOG_FILE = \'relay_log_name\'\n | RELAY_LOG_POS = relay_log_pos\n | MASTER_SSL = {0|1}\n | MASTER_SSL_CA = \'ca_file_name\'\n | MASTER_SSL_CAPATH = \'ca_directory_name\'\n | MASTER_SSL_CERT = \'cert_file_name\'\n | MASTER_SSL_CRL = \'crl_file_name\'\n | MASTER_SSL_CRLPATH = \'crl_directory_name\'\n | MASTER_SSL_KEY = \'key_file_name\'\n | MASTER_SSL_CIPHER = \'cipher_list\'\n | MASTER_SSL_VERIFY_SERVER_CERT = {0|1}\n | MASTER_TLS_VERSION = \'protocol_list\'\n | IGNORE_SERVER_IDS = (server_id_list)\n\nchannel_option:\n FOR CHANNEL channel\n\nserver_id_list:\n [server_id [, server_id] ... ]\n\nCHANGE MASTER TO changes the parameters that the slave server uses for\nconnecting to the master server, for reading the master binary log, and\nreading the slave relay log. It also updates the contents of the master\ninfo and relay log info repositories (see\nhttp://dev.mysql.com/doc/refman/5.7/en/slave-logs.html). CHANGE MASTER\nTO requires the SUPER privilege.\n\nPrior to MySQL 5.7.4, the slave replication threads must be stopped,\nusing STOP SLAVE if necessary, before issuing this statement. In MySQL\n5.7.4 and later, you can issue CHANGE MASTER TO statements on a running\nslave without doing this, depending on the states of the slave SQL\nthread and slave I/O thread. The rules governing such use are provided\nlater in this section.\n\nWhen using a multithreaded slave (in other words slave_parallel_workers\nis greater than 0), stopping the slave can cause "gaps" in the sequence\nof transactions that have been executed from the relay log, regardless\nof whether the slave was stopped intentionally or otherwise. When such\ngaps exist, issuing CHANGE MASTER TO fails. The solution in this\nsituation is to issue START SLAVE UNTIL SQL_AFTER_MTS_GAPS which\nensures that the gaps are closed.\n\nThe optional FOR CHANNEL channel clause enables you to name which\nreplication channel the statement applies to. Providing a FOR CHANNEL\nchannel clause applies the CHANGE MASTER TO statement to a specific\nreplication channel, and is used to add a new channel or modify an\nexisting channel. For example, to add a new channel called channel2:\n\nCHANGE MASTER TO MASTER_HOST=host1, MASTER_PORT=3002 FOR CHANNEL \'channel2\'\n\nIf no clause is named and no extra channels exist, the statement\napplies to the default channel.\n\nWhen using multiple replication channels, if a CHANGE MASTER TO\nstatement does not name a channel using a FOR CHANNEL channel clause,\nan error occurs. See\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-channels.html for\nmore information.\n\nOptions not specified retain their value, except as indicated in the\nfollowing discussion. Thus, in most cases, there is no need to specify\noptions that do not change. For example, if the password to connect to\nyour MySQL master has changed, issue this statement to tell the slave\nabout the new password:\n\nCHANGE MASTER TO MASTER_PASSWORD=\'new3cret\';\n\nMASTER_HOST, MASTER_USER, MASTER_PASSWORD, and MASTER_PORT provide\ninformation to the slave about how to connect to its master:\n\no MASTER_HOST and MASTER_PORT are the host name (or IP address) of the\n master host and its TCP/IP port.\n\n *Note*:\n\n Replication cannot use Unix socket files. You must be able to connect\n to the master MySQL server using TCP/IP.\n\n If you specify the MASTER_HOST or MASTER_PORT option, the slave\n assumes that the master server is different from before (even if the\n option value is the same as its current value.) In this case, the old\n values for the master binary log file name and position are\n considered no longer applicable, so if you do not specify\n MASTER_LOG_FILE and MASTER_LOG_POS in the statement,\n MASTER_LOG_FILE=\'\' and MASTER_LOG_POS=4 are silently appended to it.\n\n Setting MASTER_HOST=\'\' (that is, setting its value explicitly to an\n empty string) is not the same as not setting MASTER_HOST at all.\n Beginning with MySQL 5.5, trying to set MASTER_HOST to an empty\n string fails with an error. Previously, setting MASTER_HOST to an\n empty string caused START SLAVE subsequently to fail. (Bug #28796)\n\n Values used for MASTER_HOST and other CHANGE MASTER TO options are\n checked for linefeed (\\n or 0x0A) characters; the presence of such\n characters in these values causes the statement to fail with\n ER_MASTER_INFO. (Bug #11758581, Bug #50801)\n\no MASTER_USER and MASTER_PASSWORD are the user name and password of the\n account to use for connecting to the master.\n\n MASTER_USER cannot be made empty; setting MASTER_USER = \'\' or leaving\n it unset when setting a value for MASTER_PASSWORD causes an error\n (Bug #13427949).\n\n The password used for a MySQL Replication slave account in a CHANGE\n MASTER TO statement is limited to 32 characters in length; prior to\n MySQL 5.7.5, if the password was longer, the statement succeeded, but\n any excess characters were silently truncated. In MySQL 5.7.5 and\n later, trying to use a password of more than 32 characters causes\n CHANGE MASTER TO to fail. (Bug #11752299, Bug #43439)\n\n The text of a running CHANGE MASTER TO statement, including values\n for MASTER_USER and MASTER_PASSWORD, can be seen in the output of a\n concurrent SHOW PROCESSLIST statement. (The complete text of a START\n SLAVE statement is also visible to SHOW PROCESSLIST.)\n\nThe MASTER_SSL_xxx options, and the MASTER_TLS_VERSION option, specify\nhow the slave uses encryption and ciphers to secure the replication\nconnection. These options can be changed even on slaves that are\ncompiled without SSL support. They are saved to the master info\nrepository, but are ignored if the slave does not have SSL support\nenabled. The MASTER_SSL_xxx options perform the same functions as the\n--ssl-xxx options described in\nhttp://dev.mysql.com/doc/refman/5.7/en/encrypted-connection-options.htm\nl. The correspondence between the two sets of options, and the use of\nthe MASTER_SSL_xxx and MASTER_TLS_VERSION options to set up a secure\nconnection, is explained in\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-solutions-encrypted-\nconnections.html.\n\nAs of MySQL 5.7.3, setting MASTER_SSL=1 means that the slave connection\nto the master must use SSL, or the connection attempt fails. Before\n5.7.3, the use of an SSL connection by the slave was not enforced with\nMASTER_SSL=1. This is analogous to the client-side meaning of the --ssl\ncommand-line option; see\nhttp://dev.mysql.com/doc/refman/5.7/en/encrypted-connection-options.htm\nl.\n\nMASTER_CONNECT_RETRY specifies how many seconds to wait between connect\nretries. The default is 60.\n\nMASTER_RETRY_COUNT limits the number of reconnection attempts and\nupdates the value of the Master_Retry_Count column in the output of\nSHOW SLAVE STATUS. The default value is 24 * 3600 = 86400.\nMASTER_RETRY_COUNT is intended to replace the older\n--master-retry-count server option, and is now the preferred method for\nsetting this limit. You are encouraged not to rely on\n--master-retry-count in new applications and, when upgrading from\nversions earlier than MySQL 5.6, to update any existing applications\nthat rely on it, so that they use CHANGE MASTER TO ...\nMASTER_RETRY_COUNT instead.\n\nMASTER_DELAY specifies how many seconds behind the master the slave\nmust lag. An event received from the master is not executed until at\nleast interval seconds later than its execution on the master. The\ndefault is 0. An error occurs if interval is not a nonnegative integer\nin the range from 0 to 231−1. For more information, see\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-delayed.html.\n\nFrom MySQL 5.7, a CHANGE MASTER TO statement employing the MASTER_DELAY\noption can be executed on a running slave when the slave SQL thread is\nstopped.\n\nMASTER_BIND is for use on replication slaves having multiple network\ninterfaces, and determines which of the slave\'s network interfaces is\nchosen for connecting to the master.\n\nThe address configured with this option, if any, can be seen in the\nMaster_Bind column of the output from SHOW SLAVE STATUS. If you are\nusing slave status log tables (server started with\n--master-info-repository=TABLE), the value can also be seen as the\nMaster_bind column of the mysql.slave_master_info table.\n\nThe ability to bind a replication slave to a specific network interface\nis also supported by NDB Cluster.\n\nMASTER_HEARTBEAT_PERIOD sets the interval in seconds between\nreplication heartbeats. Whenever the master\'s binary log is updated\nwith an event, the waiting period for the next heartbeat is reset.\ninterval is a decimal value having the range 0 to 4294967 seconds and a\nresolution in milliseconds; the smallest nonzero value is 0.001.\nHeartbeats are sent by the master only if there are no unsent events in\nthe binary log file for a period longer than interval.\n\nPrior to MySQL 5.7.4, not including MASTER_HEARTBEAT_PERIOD caused\nCHANGE MASTER TO to reset the heartbeat period (Slave_heartbeat_period)\nto the default, and Slave_received_heartbeats to 0. (Bug #18185490)\n\nIf you are logging master connection information to tables,\nMASTER_HEARTBEAT_PERIOD can be seen as the value of the Heartbeat\ncolumn of the mysql.slave_master_info table.\n\nSetting interval to 0 disables heartbeats altogether. The default value\nfor interval is equal to the value of slave_net_timeout divided by 2.\n\nSetting @@global.slave_net_timeout to a value less than that of the\ncurrent heartbeat interval results in a warning being issued. The\neffect of issuing RESET SLAVE on the heartbeat interval is to reset it\nto the default value.\n\nMASTER_LOG_FILE and MASTER_LOG_POS are the coordinates at which the\nslave I/O thread should begin reading from the master the next time the\nthread starts. RELAY_LOG_FILE and RELAY_LOG_POS are the coordinates at\nwhich the slave SQL thread should begin reading from the relay log the\nnext time the thread starts. If you specify either of MASTER_LOG_FILE\nor MASTER_LOG_POS, you cannot specify RELAY_LOG_FILE or RELAY_LOG_POS.\nIf you specify either of MASTER_LOG_FILE or MASTER_LOG_POS, you also\ncannot specify MASTER_AUTO_POSITION = 1 (described later in this\nsection). If neither of MASTER_LOG_FILE or MASTER_LOG_POS is specified,\nthe slave uses the last coordinates of the slave SQL thread before\nCHANGE MASTER TO was issued. This ensures that there is no\ndiscontinuity in replication, even if the slave SQL thread was late\ncompared to the slave I/O thread, when you merely want to change, say,\nthe password to use.\n\nFrom MySQL 5.7, a CHANGE MASTER TO statement employing RELAY_LOG_FILE,\nRELAY_LOG_POS, or both options can be executed on a running slave when\nthe slave SQL thread is stopped. Prior to MySQL 5.7.4, CHANGE MASTER TO\ndeletes all relay log files and starts a new one, unless you specify\nRELAY_LOG_FILE or RELAY_LOG_POS. In that case, relay log files are\nkept; the relay_log_purge global variable is set silently to 0. In\nMySQL 5.7.4 and later, relay logs are preserved if at least one of the\nslave SQL thread and the slave I/O thread is running; if both threads\nare stopped, all relay log files are deleted unless at least one of\nRELAY_LOG_FILE or RELAY_LOG_POS is specified.\n\nRELAY_LOG_FILE can use either an absolute or relative path, and uses\nthe same base name as MASTER_LOG_FILE. (Bug #12190)\n\nWhen MASTER_AUTO_POSITION = 1 is used with CHANGE MASTER TO, the slave\nattempts to connect to the master using the GTID-based replication\nprotocol. From MySQL 5.7, this option can be employed by CHANGE MASTER\nTO only if both the slave SQL and slave I/O threads are stopped. Both\nthe slave and the master must have GTIDs enabled (GTID_MODE=ON,\nON_PERMISSIVE, or OFF_PERMISSIVE on the slave, and GTID_MODE=ON on the\nmaster). Auto-positioning is used for the connection, so the\ncoordinates represented by MASTER_LOG_FILE and MASTER_LOG_POS are not\nused, and the use of either or both of these options together with\nMASTER_AUTO_POSITION = 1 causes an error. If multi-source replication\nis enabled on the slave, you need to set the MASTER_AUTO_POSITION = 1\noption for each applicable replication channel.\n\nWith MASTER_AUTO_POSITION = 1 set, in the initial connection handshake,\nthe slave sends a GTID set containing the transactions that it has\nalready received, committed, or both. The master responds by sending\nall transactions recorded in its binary log whose GTID is not included\nin the GTID set sent by the slave. This exchange ensures that the\nmaster only sends the transactions with a GTID that the slave has not\nalready recorded or committed. If the slave receives transactions from\nmore than one master, as in the case of a diamond topology, the\nauto-skip function ensures that the transactions are not applied twice.\nFor details of how the GTID set sent by the slave is computed, see\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-gtids-auto-positioni\nng.html.\n\nIf any of the transactions that should be sent by the master have been\npurged from the master\'s binary log, or added to the set of GTIDs in\nthe gtid_purged system variable by another method, the master sends the\nerror ER_MASTER_HAS_PURGED_REQUIRED_GTIDS to the slave, and replication\ndoes not start. Also, if during the exchange of transactions it is\nfound that the slave has recorded or committed transactions with the\nmaster\'s UUID in the GTID, but the master itself has not committed\nthem, the master sends the error ER_SLAVE_HAS_MORE_GTIDS_THAN_MASTER to\nthe slave and replication does not start. For information on how to\nhandle these situations, see\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-gtids-auto-positioni\nng.html.\n\nYou can see whether replication is running with auto-positioning\nenabled by checking the Performance Schema\nreplication_connection_status table or the output of SHOW SLAVE STATUS.\nDisabling the MASTER_AUTO_POSITION option again makes the slave revert\nto file-based replication, in which case you must also specify one or\nboth of the MASTER_LOG_FILE or MASTER_LOG_POS options.\n\nIGNORE_SERVER_IDS takes a comma-separated list of 0 or more server IDs.\nEvents originating from the corresponding servers are ignored, with the\nexception of log rotation and deletion events, which are still recorded\nin the relay log.\n\nIn circular replication, the originating server normally acts as the\nterminator of its own events, so that they are not applied more than\nonce. Thus, this option is useful in circular replication when one of\nthe servers in the circle is removed. Suppose that you have a circular\nreplication setup with 4 servers, having server IDs 1, 2, 3, and 4, and\nserver 3 fails. When bridging the gap by starting replication from\nserver 2 to server 4, you can include IGNORE_SERVER_IDS = (3) in the\nCHANGE MASTER TO statement that you issue on server 4 to tell it to use\nserver 2 as its master instead of server 3. Doing so causes it to\nignore and not to propagate any statements that originated with the\nserver that is no longer in use.\n\nIf a CHANGE MASTER TO statement is issued without any IGNORE_SERVER_IDS\noption, any existing list is preserved. To clear the list of ignored\nservers, it is necessary to use the option with an empty list:\n\nCHANGE MASTER TO IGNORE_SERVER_IDS = ();\n\nPrior to MySQL 5.7.5, RESET SLAVE ALL has no effect on the server ID\nlist. In MySQL 5.7.5 and later, RESET SLAVE ALL clears\nIGNORE_SERVER_IDS. (Bug #18816897)\n\nIf IGNORE_SERVER_IDS contains the server\'s own ID and the server was\nstarted with the --replicate-same-server-id option enabled, an error\nresults.\n\nThe master info repository and the output of SHOW SLAVE STATUS provide\nthe list of servers that are currently ignored. For more information,\nsee http://dev.mysql.com/doc/refman/5.7/en/slave-logs-status.html, and\n[HELP SHOW SLAVE STATUS].\n\nInvoking CHANGE MASTER TO causes the previous values for MASTER_HOST,\nMASTER_PORT, MASTER_LOG_FILE, and MASTER_LOG_POS to be written to the\nerror log, along with other information about the slave\'s state prior\nto execution.\n\nCHANGE MASTER TO causes an implicit commit of an ongoing transaction.\nSee http://dev.mysql.com/doc/refman/5.7/en/implicit-commit.html.\n\nIn MySQL 5.7.4 and later, the strict requirement to execute STOP SLAVE\nprior to issuing any CHANGE MASTER TO statement (and START SLAVE\nafterward) is removed. Instead of depending on whether the slave is\nstopped, the behavior of CHANGE MASTER TO depends (in MySQL 5.7.4 and\nlater) on the states of the slave SQL thread and slave I/O threads;\nwhich of these threads is stopped or running now determines the options\nthat can or cannot be used with a CHANGE MASTER TO statement at a given\npoint in time. The rules for making this determination are listed here:\n\no If the SQL thread is stopped, you can execute CHANGE MASTER TO using\n any combination that is otherwise allowed of RELAY_LOG_FILE,\n RELAY_LOG_POS, and MASTER_DELAY options, even if the slave I/O thread\n is running. No other options may be used with this statement when the\n I/O thread is running.\n\no If the I/O thread is stopped, you can execute CHANGE MASTER TO using\n any of the options for this statement (in any allowed combination)\n except RELAY_LOG_FILE, RELAY_LOG_POS, or MASTER_DELAY, even when the\n SQL thread is running. These three options may not be used when the\n I/O thread is running.\n\no Both the SQL thread and the I/O thread must be stopped before issuing\n a CHANGE MASTER TO statement that employs MASTER_AUTO_POSITION = 1.\n\nYou can check the current state of the slave SQL and I/O threads using\nSHOW SLAVE STATUS.\n\nFor more information, see\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-solutions-switch.htm\nl.\n\nIf you are using statement-based replication and temporary tables, it\nis possible for a CHANGE MASTER TO statement following a STOP SLAVE\nstatement to leave behind temporary tables on the slave. From MySQL\n5.7, a warning (ER_WARN_OPEN_TEMP_TABLES_MUST_BE_ZERO) is issued\nwhenever this occurs. You can avoid this in such cases by making sure\nthat the value of the Slave_open_temp_tables system status variable is\nequal to 0 prior to executing such a CHANGE MASTER TO statement.\n\nCHANGE MASTER TO is useful for setting up a slave when you have the\nsnapshot of the master and have recorded the master binary log\ncoordinates corresponding to the time of the snapshot. After loading\nthe snapshot into the slave to synchronize it with the master, you can\nrun CHANGE MASTER TO MASTER_LOG_FILE=\'log_name\', MASTER_LOG_POS=log_pos\non the slave to specify the coordinates at which the slave should begin\nreading the master binary log.\n\nThe following example changes the master server the slave uses and\nestablishes the master binary log coordinates from which the slave\nbegins reading. This is used when you want to set up the slave to\nreplicate the master:\n\nCHANGE MASTER TO\n MASTER_HOST=\'master2.example.com\',\n MASTER_USER=\'replication\',\n MASTER_PASSWORD=\'password\',\n MASTER_PORT=3306,\n MASTER_LOG_FILE=\'master2-bin.001\',\n MASTER_LOG_POS=4,\n MASTER_CONNECT_RETRY=10;\n\nThe next example shows an operation that is less frequently employed.\nIt is used when the slave has relay log files that you want it to\nexecute again for some reason. To do this, the master need not be\nreachable. You need only use CHANGE MASTER TO and start the SQL thread\n(START SLAVE SQL_THREAD):\n\nCHANGE MASTER TO\n RELAY_LOG_FILE=\'slave-relay-bin.006\',\n RELAY_LOG_POS=4025;\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/change-master-to.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/change-master-to.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (438,32,'TIMESTAMP FUNCTION','Syntax:\nTIMESTAMP(expr), TIMESTAMP(expr1,expr2)\n\nWith a single argument, this function returns the date or datetime\nexpression expr as a datetime value. With two arguments, it adds the\ntime expression expr2 to the date or datetime expression expr1 and\nreturns the result as a datetime value.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT TIMESTAMP(\'2003-12-31\');\n -> \'2003-12-31 00:00:00\'\nmysql> SELECT TIMESTAMP(\'2003-12-31 12:00:00\',\'12:00:00\');\n -> \'2004-01-01 00:00:00\'\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (439,40,'DROP DATABASE','Syntax:\nDROP {DATABASE | SCHEMA} [IF EXISTS] db_name\n\nDROP DATABASE drops all tables in the database and deletes the\ndatabase. Be very careful with this statement! To use DROP DATABASE,\nyou need the DROP privilege on the database. DROP SCHEMA is a synonym\nfor DROP DATABASE.\n\n*Important*:\n\nWhen a database is dropped, privileges granted specifically for the\ndatabase are not automatically dropped. They must be dropped manually.\nSee [HELP GRANT].\n\nIF EXISTS is used to prevent an error from occurring if the database\ndoes not exist.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/drop-database.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/drop-database.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (440,27,'SHOW GRANTS','Syntax:\nSHOW GRANTS [FOR user]\n\nThis statement displays the privileges that are assigned to a MySQL\nuser account, in the form of GRANT statements that must be executed to\nduplicate the privilege assignments.\n\n*Note*:\n\nTo display nonprivilege information for MySQL accounts, use the SHOW\nCREATE USER statement. See [HELP SHOW CREATE USER].\n\nSHOW GRANTS requires the SELECT privilege for the mysql database,\nexcept to display privileges for the current user.\n\nTo name the account for SHOW GRANTS, use the same format as for the\nGRANT statement; for example, \'jeffrey\'@\'localhost\':\n\nmysql> SHOW GRANTS FOR \'jeffrey\'@\'localhost\';\n+------------------------------------------------------------------+\n| Grants for jeffrey@localhost |\n+------------------------------------------------------------------+\n| GRANT USAGE ON *.* TO `jeffrey`@`localhost` |\n| GRANT SELECT, INSERT, UPDATE ON `db1`.* TO `jeffrey`@`localhost` |\n+------------------------------------------------------------------+\n\nThe host part, if omitted, defaults to \'%\'. For additional information\nabout specifying account names, see\nhttp://dev.mysql.com/doc/refman/5.7/en/account-names.html.\n\nTo display the privileges granted to the current user (the account you\nare using to connect to the server), you can use any of the following\nstatements:\n\nSHOW GRANTS;\nSHOW GRANTS FOR CURRENT_USER;\nSHOW GRANTS FOR CURRENT_USER();\n\nIf SHOW GRANTS FOR CURRENT_USER (or any of the equivalent syntaxes) is\nused in definer context, such as within a stored procedure that\nexecutes with definer rather than invoker privileges), the grants\ndisplayed are those of the definer and not the invoker.\n\nSHOW GRANTS does not display privileges that are available to the named\naccount but are granted to a different account. For example, if an\nanonymous account exists, the named account might be able to use its\nprivileges, but SHOW GRANTS does not display them.\n\nSHOW GRANTS output does not include IDENTIFIED BY PASSWORD clauses. Use\nthe SHOW CREATE USER statement instead. See [HELP SHOW CREATE USER].\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-grants.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-grants.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (440,27,'SHOW GRANTS','Syntax:\nSHOW GRANTS [FOR user]\n\nThis statement displays the privileges that are assigned to a MySQL\nuser account, in the form of GRANT statements that must be executed to\nduplicate the privilege assignments.\n\n*Note*:\n\nTo display nonprivilege information for MySQL accounts, use the SHOW\nCREATE USER statement. See [HELP SHOW CREATE USER].\n\nSHOW GRANTS requires the SELECT privilege for the mysql system\ndatabase, except to display privileges for the current user.\n\nTo name the account for SHOW GRANTS, use the same format as for the\nGRANT statement; for example, \'jeffrey\'@\'localhost\':\n\nmysql> SHOW GRANTS FOR \'jeffrey\'@\'localhost\';\n+------------------------------------------------------------------+\n| Grants for jeffrey@localhost |\n+------------------------------------------------------------------+\n| GRANT USAGE ON *.* TO `jeffrey`@`localhost` |\n| GRANT SELECT, INSERT, UPDATE ON `db1`.* TO `jeffrey`@`localhost` |\n+------------------------------------------------------------------+\n\nThe host part, if omitted, defaults to \'%\'. For additional information\nabout specifying account names, see\nhttp://dev.mysql.com/doc/refman/5.7/en/account-names.html.\n\nTo display the privileges granted to the current user (the account you\nare using to connect to the server), you can use any of the following\nstatements:\n\nSHOW GRANTS;\nSHOW GRANTS FOR CURRENT_USER;\nSHOW GRANTS FOR CURRENT_USER();\n\nIf SHOW GRANTS FOR CURRENT_USER (or any of the equivalent syntaxes) is\nused in definer context, such as within a stored procedure that\nexecutes with definer rather than invoker privileges, the grants\ndisplayed are those of the definer and not the invoker.\n\nSHOW GRANTS does not display privileges that are available to the named\naccount but are granted to a different account. For example, if an\nanonymous account exists, the named account might be able to use its\nprivileges, but SHOW GRANTS does not display them.\n\nSHOW GRANTS output does not include IDENTIFIED BY PASSWORD clauses. Use\nthe SHOW CREATE USER statement instead. See [HELP SHOW CREATE USER].\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-grants.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-grants.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (441,7,'JSON_CONTAINS_PATH','Syntax:\nJSON_CONTAINS_PATH(json_doc, one_or_all, path[, path] ...)\n\nReturns 0 or 1 to indicate whether a JSON document contains data at a\ngiven path or paths. Returns NULL if any argument is NULL. An error\noccurs if the json_doc argument is not a valid JSON document, any path\nargument is not a valid path expression, or one_or_all is not \'one\' or\n\'all\'.\n\nTo check for a specific value at a path, use JSON_CONTAINS() instead.\n\nThe return value is 0 if no specified path exists within the document.\nOtherwise, the return value depends on the one_or_all argument:\n\no \'one\': 1 if at least one path exists within the document, 0\n otherwise.\n\no \'all\': 1 if all paths exist within the document, 0 otherwise.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/json-search-functions.html\n\n','mysql> SET @j = \'{"a": 1, "b": 2, "c": {"d": 4}}\';\nmysql> SELECT JSON_CONTAINS_PATH(@j, \'one\', \'$.a\', \'$.e\');\n+---------------------------------------------+\n| JSON_CONTAINS_PATH(@j, \'one\', \'$.a\', \'$.e\') |\n+---------------------------------------------+\n| 1 |\n+---------------------------------------------+\nmysql> SELECT JSON_CONTAINS_PATH(@j, \'all\', \'$.a\', \'$.e\');\n+---------------------------------------------+\n| JSON_CONTAINS_PATH(@j, \'all\', \'$.a\', \'$.e\') |\n+---------------------------------------------+\n| 0 |\n+---------------------------------------------+\nmysql> SELECT JSON_CONTAINS_PATH(@j, \'one\', \'$.c.d\');\n+----------------------------------------+\n| JSON_CONTAINS_PATH(@j, \'one\', \'$.c.d\') |\n+----------------------------------------+\n| 1 |\n+----------------------------------------+\nmysql> SELECT JSON_CONTAINS_PATH(@j, \'one\', \'$.a.d\');\n+----------------------------------------+\n| JSON_CONTAINS_PATH(@j, \'one\', \'$.a.d\') |\n+----------------------------------------+\n| 0 |\n+----------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/json-search-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (442,33,'ST_MPOINTFROMWKB','ST_MPointFromWKB(wkb[, srid]), ST_MultiPointFromWKB(wkb[, srid])\n\nConstructs a MultiPoint value using its WKB representation and SRID.\n\nThe result is NULL if the WKB or SRID argument is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (443,3,'CRC32','Syntax:\nCRC32(expr)\n\nComputes a cyclic redundancy check value and returns a 32-bit unsigned\nvalue. The result is NULL if the argument is NULL. The argument is\nexpected to be a string and (if possible) is treated as one if it is\nnot.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html\n\n','mysql> SELECT CRC32(\'MySQL\');\n -> 3259397556\nmysql> SELECT CRC32(\'mysql\');\n -> 2501908538\n','http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html'); @@ -536,7 +536,7 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (455,32,'DAYOFMONTH','Syntax:\nDAYOFMONTH(date)\n\nReturns the day of the month for date, in the range 1 to 31, or 0 for\ndates such as \'0000-00-00\' or \'2008-00-00\' that have a zero day part.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT DAYOFMONTH(\'2007-02-03\');\n -> 3\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (456,32,'UNIX_TIMESTAMP','Syntax:\nUNIX_TIMESTAMP(), UNIX_TIMESTAMP(date)\n\nIf called with no argument, returns a Unix timestamp (seconds since\n\'1970-01-01 00:00:00\' UTC). The return value is an integer if no\nargument is given or the argument does not include a fractional seconds\npart, or DECIMAL if an argument is given that includes a fractional\nseconds part.\n\nIf UNIX_TIMESTAMP() is called with a date argument, it returns the\nvalue of the argument as seconds since \'1970-01-01 00:00:00\' UTC. The\ndate argument may be a DATE, DATETIME, or TIMESTAMP string, or a number\nin YYMMDD, YYMMDDHHMMSS, YYYYMMDD, or YYYYMMDDHHMMSS format. If the\nargument includes a time part, it may optionally include a fractional\nseconds part. The server interprets date as a value in the current time\nzone and converts it to an internal value in UTC. Clients can set their\ntime zone as described in\nhttp://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT UNIX_TIMESTAMP();\n -> 1447431666\nmysql> SELECT UNIX_TIMESTAMP(\'2015-11-13 10:20:19\');\n -> 1447431619\nmysql> SELECT UNIX_TIMESTAMP(\'2015-11-13 10:20:19.012\');\n -> 1447431619.012\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (457,26,'ST_INTERSECTION','ST_Intersection(g1, g2)\n\nReturns a geometry that represents the point set intersection of the\ngeometry values g1 and g2. If any argument is NULL, the return value is\nNULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-operator-functions.html\n\n','mysql> SET @g1 = ST_GeomFromText(\'LineString(1 1, 3 3)\');\nmysql> SET @g2 = ST_GeomFromText(\'LineString(1 3, 3 1)\');\nmysql> SELECT ST_AsText(ST_Intersection(@g1, @g2));\n+--------------------------------------+\n| ST_AsText(ST_Intersection(@g1, @g2)) |\n+--------------------------------------+\n| POINT(2 2) |\n+--------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/spatial-operator-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (458,10,'RENAME USER','Syntax:\nRENAME USER old_user TO new_user\n [, old_user TO new_user] ...\n\nThe RENAME USER statement renames existing MySQL accounts. An error\noccurs for old accounts that do not exist or new accounts that already\nexist.\n\nTo use RENAME USER, you must have the global CREATE USER privilege, or\nthe UPDATE privilege for the mysql database. When the read_only system\nvariable is enabled, RENAME USER additionally requires the SUPER\nprivilege.\n\nEach account name uses the format described in\nhttp://dev.mysql.com/doc/refman/5.7/en/account-names.html. For example:\n\nRENAME USER \'jeffrey\'@\'localhost\' TO \'jeff\'@\'127.0.0.1\';\n\nThe host name part of the account name, if omitted, defaults to \'%\'.\n\nRENAME USER causes the privileges held by the old user to be those held\nby the new user. However, RENAME USER does not automatically drop or\ninvalidate databases or objects within them that the old user created.\nThis includes stored programs or views for which the DEFINER attribute\nnames the old user. Attempts to access such objects may produce an\nerror if they execute in definer security context. (For information\nabout security context, see\nhttp://dev.mysql.com/doc/refman/5.7/en/stored-programs-security.html.)\n\nThe privilege changes take effect as indicated in\nhttp://dev.mysql.com/doc/refman/5.7/en/privilege-changes.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/rename-user.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/rename-user.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (458,10,'RENAME USER','Syntax:\nRENAME USER old_user TO new_user\n [, old_user TO new_user] ...\n\nThe RENAME USER statement renames existing MySQL accounts. An error\noccurs for old accounts that do not exist or new accounts that already\nexist.\n\nTo use RENAME USER, you must have the global CREATE USER privilege, or\nthe UPDATE privilege for the mysql system database. When the read_only\nsystem variable is enabled, RENAME USER additionally requires the SUPER\nprivilege.\n\nEach account name uses the format described in\nhttp://dev.mysql.com/doc/refman/5.7/en/account-names.html. For example:\n\nRENAME USER \'jeffrey\'@\'localhost\' TO \'jeff\'@\'127.0.0.1\';\n\nThe host name part of the account name, if omitted, defaults to \'%\'.\n\nRENAME USER causes the privileges held by the old user to be those held\nby the new user. However, RENAME USER does not automatically drop or\ninvalidate databases or objects within them that the old user created.\nThis includes stored programs or views for which the DEFINER attribute\nnames the old user. Attempts to access such objects may produce an\nerror if they execute in definer security context. (For information\nabout security context, see\nhttp://dev.mysql.com/doc/refman/5.7/en/stored-programs-security.html.)\n\nThe privilege changes take effect as indicated in\nhttp://dev.mysql.com/doc/refman/5.7/en/privilege-changes.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/rename-user.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/rename-user.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (459,13,'NUMPOINTS','NumPoints(ls)\n\nST_NumPoints() and NumPoints() are synonyms. For more information, see\nthe description of ST_NumPoints().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-linestring-property-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-linestring-property-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (460,40,'ALTER LOGFILE GROUP','Syntax:\nALTER LOGFILE GROUP logfile_group\n ADD UNDOFILE \'file_name\'\n [INITIAL_SIZE [=] size]\n [WAIT]\n ENGINE [=] engine_name\n\nThis statement adds an UNDO file named \'file_name\' to an existing log\nfile group logfile_group. An ALTER LOGFILE GROUP statement has one and\nonly one ADD UNDOFILE clause. No DROP UNDOFILE clause is currently\nsupported.\n\n*Note*:\n\nAll NDB Cluster Disk Data objects share the same namespace. This means\nthat each Disk Data object must be uniquely named (and not merely each\nDisk Data object of a given type). For example, you cannot have a\ntablespace and an undo log file with the same name, or an undo log file\nand a data file with the same name.\n\nThe optional INITIAL_SIZE parameter sets the UNDO file\'s initial size\nin bytes; if not specified, the initial size defaults to 134217728 (128\nMB). You may optionally follow size with a one-letter abbreviation for\nan order of magnitude, similar to those used in my.cnf. Generally, this\nis one of the letters M (megabytes) or G (gigabytes). (Bug #13116514,\nBug #16104705, Bug #62858)\n\nOn 32-bit systems, the maximum supported value for INITIAL_SIZE is\n4294967296 (4 GB). (Bug #29186)\n\nThe minimum allowed value for INITIAL_SIZE is 1048576 (1 MB). (Bug\n#29574)\n\n*Note*:\n\nWAIT is parsed but otherwise ignored. This keyword currently has no\neffect, and is intended for future expansion.\n\nThe ENGINE parameter (required) determines the storage engine which is\nused by this log file group, with engine_name being the name of the\nstorage engine. Currently, the only accepted values for engine_name are\n"NDBCLUSTER" and "NDB". The two values are equivalent.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/alter-logfile-group.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/alter-logfile-group.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (461,32,'LOCALTIMESTAMP','Syntax:\nLOCALTIMESTAMP, LOCALTIMESTAMP([fsp])\n\nLOCALTIMESTAMP and LOCALTIMESTAMP() are synonyms for NOW().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); @@ -551,7 +551,7 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (470,23,'AUTO_INCREMENT','The AUTO_INCREMENT attribute can be used to generate a unique identity\nfor new rows:\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/example-auto-increment.html\n\n','CREATE TABLE animals (\n id MEDIUMINT NOT NULL AUTO_INCREMENT,\n name CHAR(30) NOT NULL,\n PRIMARY KEY (id)\n);\n\nINSERT INTO animals (name) VALUES\n (\'dog\'),(\'cat\'),(\'penguin\'),\n (\'lax\'),(\'whale\'),(\'ostrich\');\n\nSELECT * FROM animals;\n','http://dev.mysql.com/doc/refman/5.7/en/example-auto-increment.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (471,12,'UNCOMPRESS','Syntax:\nUNCOMPRESS(string_to_uncompress)\n\nUncompresses a string compressed by the COMPRESS() function. If the\nargument is not a compressed value, the result is NULL. This function\nrequires MySQL to have been compiled with a compression library such as\nzlib. Otherwise, the return value is always NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html\n\n','mysql> SELECT UNCOMPRESS(COMPRESS(\'any string\'));\n -> \'any string\'\nmysql> SELECT UNCOMPRESS(\'any string\');\n -> NULL\n','http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (472,4,'GEOMCOLLFROMTEXT','GeomCollFromText(wkt[, srid]), GeometryCollectionFromText(wkt[, srid])\n\nST_GeomCollFromText(), ST_GeometryCollectionFromText(),\nST_GeomCollFromTxt(), GeomCollFromText(), and\nGeometryCollectionFromText() are synonyms. For more information, see\nthe description of ST_GeomCollFromText().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-wkt-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-wkt-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (473,2,'ST_INTERIORRINGN','ST_InteriorRingN(poly, N)\n\nReturns the N-th interior ring for the Polygon value poly as a\nLineString. Rings are numbered beginning with 1. If the argument is\nNULL or an empty geometry, the return value is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html\n\n','mysql> SET @poly =\n -> \'Polygon((0 0,0 3,3 3,3 0,0 0),(1 1,1 2,2 2,2 1,1 1))\';\nmysql> SELECT ST_AsText(ST_InteriorRingN(ST_GeomFromText(@poly),1));\n+-------------------------------------------------------+\n| ST_AsText(ST_InteriorRingN(ST_GeomFromText(@poly),1)) |\n+-------------------------------------------------------+\n| LINESTRING(1 1,1 2,2 2,2 1,1 1) |\n+-------------------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (473,2,'ST_INTERIORRINGN','ST_InteriorRingN(poly, N)\n\nReturns the N-th interior ring for the Polygon value poly as a\nLineString. Rings are numbered beginning with 1. If the argument is\nNULL or an empty geometry, the return value is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html\n\n','mysql> SET @poly =\n \'Polygon((0 0,0 3,3 3,3 0,0 0),(1 1,1 2,2 2,2 1,1 1))\';\nmysql> SELECT ST_AsText(ST_InteriorRingN(ST_GeomFromText(@poly),1));\n+-------------------------------------------------------+\n| ST_AsText(ST_InteriorRingN(ST_GeomFromText(@poly),1)) |\n+-------------------------------------------------------+\n| LINESTRING(1 1,1 2,2 2,2 1,1 1) |\n+-------------------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (474,17,'LAST_INSERT_ID','Syntax:\nLAST_INSERT_ID(), LAST_INSERT_ID(expr)\n\nWith no argument, LAST_INSERT_ID() returns a BIGINT UNSIGNED (64-bit)\nvalue representing the first automatically generated value successfully\ninserted for an AUTO_INCREMENT column as a result of the most recently\nexecuted INSERT statement. The value of LAST_INSERT_ID() remains\nunchanged if no rows are successfully inserted.\n\nWith an argument, LAST_INSERT_ID() returns an unsigned integer.\n\nFor example, after inserting a row that generates an AUTO_INCREMENT\nvalue, you can get the value like this:\n\nmysql> SELECT LAST_INSERT_ID();\n -> 195\n\nThe currently executing statement does not affect the value of\nLAST_INSERT_ID(). Suppose that you generate an AUTO_INCREMENT value\nwith one statement, and then refer to LAST_INSERT_ID() in a\nmultiple-row INSERT statement that inserts rows into a table with its\nown AUTO_INCREMENT column. The value of LAST_INSERT_ID() will remain\nstable in the second statement; its value for the second and later rows\nis not affected by the earlier row insertions. (However, if you mix\nreferences to LAST_INSERT_ID() and LAST_INSERT_ID(expr), the effect is\nundefined.)\n\nIf the previous statement returned an error, the value of\nLAST_INSERT_ID() is undefined. For transactional tables, if the\nstatement is rolled back due to an error, the value of LAST_INSERT_ID()\nis left undefined. For manual ROLLBACK, the value of LAST_INSERT_ID()\nis not restored to that before the transaction; it remains as it was at\nthe point of the ROLLBACK.\n\nPrior to MySQL 5.7.3, this function was not replicated correctly if\nreplication filtering rules were in use. (Bug #17234370, Bug #69861)\n\nWithin the body of a stored routine (procedure or function) or a\ntrigger, the value of LAST_INSERT_ID() changes the same way as for\nstatements executed outside the body of these kinds of objects. The\neffect of a stored routine or trigger upon the value of\nLAST_INSERT_ID() that is seen by following statements depends on the\nkind of routine:\n\no If a stored procedure executes statements that change the value of\n LAST_INSERT_ID(), the changed value is seen by statements that follow\n the procedure call.\n\no For stored functions and triggers that change the value, the value is\n restored when the function or trigger ends, so following statements\n will not see a changed value.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/information-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/information-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (475,3,'FLOOR','Syntax:\nFLOOR(X)\n\nReturns the largest integer value not greater than X.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html\n\n','mysql> SELECT FLOOR(1.23), FLOOR(-1.23);\n -> 1, -2\n','http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (476,3,'COS','Syntax:\nCOS(X)\n\nReturns the cosine of X, where X is given in radians.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html\n\n','mysql> SELECT COS(PI());\n -> -1\n','http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html'); @@ -566,7 +566,7 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (485,40,'DROP TABLE','Syntax:\nDROP [TEMPORARY] TABLE [IF EXISTS]\n tbl_name [, tbl_name] ...\n [RESTRICT | CASCADE]\n\nDROP TABLE removes one or more tables. You must have the DROP privilege\nfor each table.\n\nBe careful with this statement! It removes the table definition and all\ntable data. For a partitioned table, it permanently removes the table\ndefinition, all its partitions, and all data stored in those\npartitions. It also removes partition definitions associated with the\ndropped table.\n\nDROP TABLE causes an implicit commit, except when used with the\nTEMPORARY keyword. See\nhttp://dev.mysql.com/doc/refman/5.7/en/implicit-commit.html.\n\n*Important*:\n\nWhen a table is dropped, privileges granted specifically for the table\nare not automatically dropped. They must be dropped manually. See [HELP\nGRANT].\n\nIf any tables named in the argument list do not exist, the statement\nreturns an error indicating by name which nonexisting tables it was\nunable to drop, but also drops all tables in the list that do exist.\n\nUse IF EXISTS to prevent an error from occurring for tables that do not\nexist. Instead of an error, a NOTE is generated for each nonexistent\ntable; these notes can be displayed with SHOW WARNINGS. See [HELP SHOW\nWARNINGS].\n\nIF EXISTS can also be useful for dropping tables in unusual\ncircumstances under which there is an .frm file but no table managed by\nthe storage engine. (For example, if an abnormal server exit occurs\nafter removal of the table from the storage engine but before .frm file\nremoval.)\n\nThe TEMPORARY keyword has the following effects:\n\no The statement drops only TEMPORARY tables.\n\no The statement does not cause an implicit commit.\n\no No access rights are checked. A TEMPORARY table is visible only with\n the session that created it, so no check is necessary.\n\nUsing TEMPORARY is a good way to ensure that you do not accidentally\ndrop a non-TEMPORARY table.\n\nThe RESTRICT and CASCADE keywords do nothing. They are permitted to\nmake porting easier from other database systems.\n\nDROP TABLE is not supported with all innodb_force_recovery settings.\nSee\nhttp://dev.mysql.com/doc/refman/5.7/en/forcing-innodb-recovery.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/drop-table.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/drop-table.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (486,3,'POW','Syntax:\nPOW(X,Y)\n\nReturns the value of X raised to the power of Y.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html\n\n','mysql> SELECT POW(2,2);\n -> 4\nmysql> SELECT POW(2,-2);\n -> 0.25\n','http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (487,32,'NOW','Syntax:\nNOW([fsp])\n\nReturns the current date and time as a value in \'YYYY-MM-DD HH:MM:SS\'\nor YYYYMMDDHHMMSS format, depending on whether the function is used in\na string or numeric context. The value is expressed in the current time\nzone.\n\nIf the fsp argument is given to specify a fractional seconds precision\nfrom 0 to 6, the return value includes a fractional seconds part of\nthat many digits.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT NOW();\n -> \'2007-12-15 23:50:26\'\nmysql> SELECT NOW() + 0;\n -> 20071215235026.000000\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (488,27,'SHOW ENGINES','Syntax:\nSHOW [STORAGE] ENGINES\n\nSHOW ENGINES displays status information about the server\'s storage\nengines. This is particularly useful for checking whether a storage\nengine is supported, or to see what the default engine is. This\ninformation can also be obtained from the INFORMATION_SCHEMA ENGINES\ntable. See http://dev.mysql.com/doc/refman/5.7/en/engines-table.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-engines.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-engines.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (488,27,'SHOW ENGINES','Syntax:\nSHOW [STORAGE] ENGINES\n\nSHOW ENGINES displays status information about the server\'s storage\nengines. This is particularly useful for checking whether a storage\nengine is supported, or to see what the default engine is.\n\nFor information about MySQL storage engines, see\nhttp://dev.mysql.com/doc/refman/5.7/en/innodb-storage-engine.html, and\nhttp://dev.mysql.com/doc/refman/5.7/en/storage-engines.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-engines.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-engines.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (489,4,'ST_POINTFROMTEXT','ST_PointFromText(wkt[, srid])\n\nConstructs a Point value using its WKT representation and SRID.\n\nIf the geometry argument is NULL or not a syntactically well-formed\ngeometry, or if the SRID argument is NULL, the return value is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-wkt-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-wkt-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (490,13,'ST_ENDPOINT','ST_EndPoint(ls)\n\nReturns the Point that is the endpoint of the LineString value ls. If\nthe argument is NULL or an empty geometry, the return value is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-linestring-property-functions.html\n\n','mysql> SET @ls = \'LineString(1 1,2 2,3 3)\';\nmysql> SELECT ST_AsText(ST_EndPoint(ST_GeomFromText(@ls)));\n+----------------------------------------------+\n| ST_AsText(ST_EndPoint(ST_GeomFromText(@ls))) |\n+----------------------------------------------+\n| POINT(3 3) |\n+----------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/gis-linestring-property-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (491,14,'IS_IPV6','Syntax:\nIS_IPV6(expr)\n\nReturns 1 if the argument is a valid IPv6 address specified as a\nstring, 0 otherwise. This function does not consider IPv4 addresses to\nbe valid IPv6 addresses.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html\n\n','mysql> SELECT IS_IPV6(\'10.0.5.9\'), IS_IPV6(\'::1\');\n -> 0, 1\n','http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html'); @@ -583,7 +583,7 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (502,27,'LOAD INDEX','Syntax:\nLOAD INDEX INTO CACHE\n tbl_index_list [, tbl_index_list] ...\n\ntbl_index_list:\n tbl_name\n [PARTITION (partition_list | ALL)]\n [[INDEX|KEY] (index_name[, index_name] ...)]\n [IGNORE LEAVES]\n\npartition_list:\n partition_name[, partition_name][, ...]\n\nThe LOAD INDEX INTO CACHE statement preloads a table index into the key\ncache to which it has been assigned by an explicit CACHE INDEX\nstatement, or into the default key cache otherwise.\n\nLOAD INDEX INTO CACHE is used only for MyISAM tables. In MySQL 5.7, it\nis also supported for partitioned MyISAM tables; in addition, indexes\non partitioned tables can be preloaded for one, several, or all\npartitions.\n\nThe IGNORE LEAVES modifier causes only blocks for the nonleaf nodes of\nthe index to be preloaded.\n\nIGNORE LEAVES is also supported for partitioned MyISAM tables.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/load-index.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/load-index.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (503,28,'UNION','Syntax:\nSELECT ...\nUNION [ALL | DISTINCT] SELECT ...\n[UNION [ALL | DISTINCT] SELECT ...]\n\nUNION is used to combine the result from multiple SELECT statements\ninto a single result set.\n\nThe column names from the first SELECT statement are used as the column\nnames for the results returned. Selected columns listed in\ncorresponding positions of each SELECT statement should have the same\ndata type. (For example, the first column selected by the first\nstatement should have the same type as the first column selected by the\nother statements.)\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/union.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/union.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (504,32,'TO_DAYS','Syntax:\nTO_DAYS(date)\n\nGiven a date date, returns a day number (the number of days since year\n0).\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT TO_DAYS(950501);\n -> 728779\nmysql> SELECT TO_DAYS(\'2007-10-07\');\n -> 733321\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (505,27,'SHOW INDEX','Syntax:\nSHOW {INDEX | INDEXES | KEYS}\n {FROM | IN} tbl_name\n [{FROM | IN} db_name]\n [WHERE expr]\n\nSHOW INDEX returns table index information. The format resembles that\nof the SQLStatistics call in ODBC. This statement requires some\nprivilege for any column in the table.\n\nYou can use db_name.tbl_name as an alternative to the tbl_name FROM\ndb_name syntax. These two statements are equivalent:\n\nSHOW INDEX FROM mytable FROM mydb;\nSHOW INDEX FROM mydb.mytable;\n\nThe WHERE clause can be given to select rows using more general\nconditions, as discussed in\nhttp://dev.mysql.com/doc/refman/5.7/en/extended-show.html.\n\nmysql> SHOW INDEX FROM City\\G\n*************************** 1. row ***************************\n Table: city\n Non_unique: 0\n Key_name: PRIMARY\n Seq_in_index: 1\n Column_name: ID\n Collation: A\n Cardinality: 4321\n Sub_part: NULL\n Packed: NULL\n Null: \n Index_type: BTREE\n Comment: \nIndex_comment: \n*************************** 2. row ***************************\n Table: city\n Non_unique: 1\n Key_name: CountryCode\n Seq_in_index: 1\n Column_name: CountryCode\n Collation: A\n Cardinality: 4321\n Sub_part: NULL\n Packed: NULL\n Null: \n Index_type: BTREE\n Comment: \nIndex_comment: \n\nSHOW INDEX returns the following fields:\n\no Table\n\n The name of the table.\n\no Non_unique\n\n 0 if the index cannot contain duplicates, 1 if it can.\n\no Key_name\n\n The name of the index. If the index is the primary key, the name is\n always PRIMARY.\n\no Seq_in_index\n\n The column sequence number in the index, starting with 1.\n\no Column_name\n\n The column name.\n\no Collation\n\n How the column is sorted in the index. This can have values A\n (ascending) or NULL (not sorted).\n\no Cardinality\n\n An estimate of the number of unique values in the index. To update\n this number, run ANALYZE TABLE or (for MyISAM tables) myisamchk -a.\n\n Cardinality is counted based on statistics stored as integers, so the\n value is not necessarily exact even for small tables. The higher the\n cardinality, the greater the chance that MySQL uses the index when\n doing joins.\n\no Sub_part\n\n The index prefix. That is, the number of indexed characters if the\n column is only partly indexed, NULL if the entire column is indexed.\n\n *Note*:\n\n Prefix limits are measured in bytes, whereas the prefix length in\n CREATE TABLE, ALTER TABLE, and CREATE INDEX statements is interpreted\n as number of characters for nonbinary string types (CHAR, VARCHAR,\n TEXT) and number of bytes for binary string types (BINARY, VARBINARY,\n BLOB). Take this into account when specifying a prefix length for a\n nonbinary string column that uses a multibyte character set.\n\n For additional information about index prefixes, see\n http://dev.mysql.com/doc/refman/5.7/en/column-indexes.html, and [HELP\n CREATE INDEX].\n\no Packed\n\n Indicates how the key is packed. NULL if it is not.\n\no Null\n\n Contains YES if the column may contain NULL values and \'\' if not.\n\no Index_type\n\n The index method used (BTREE, FULLTEXT, HASH, RTREE).\n\no Comment\n\n Information about the index not described in its own column, such as\n disabled if the index is disabled.\n\no Index_comment\n\n Any comment provided for the index with a COMMENT attribute when the\n index was created.\n\nYou can also obtain information about table indexes from\nINFORMATION_SCHEMA, which contains a STATISTICS table. See\nhttp://dev.mysql.com/doc/refman/5.7/en/statistics-table.html.\n\nYou can list a table\'s indexes with the mysqlshow -k db_name tbl_name\ncommand.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-index.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-index.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (505,27,'SHOW INDEX','Syntax:\nSHOW {INDEX | INDEXES | KEYS}\n {FROM | IN} tbl_name\n [{FROM | IN} db_name]\n [WHERE expr]\n\nSHOW INDEX returns table index information. The format resembles that\nof the SQLStatistics call in ODBC. This statement requires some\nprivilege for any column in the table.\n\nmysql> SHOW INDEX FROM City\\G\n*************************** 1. row ***************************\n Table: city\n Non_unique: 0\n Key_name: PRIMARY\n Seq_in_index: 1\n Column_name: ID\n Collation: A\n Cardinality: 4188\n Sub_part: NULL\n Packed: NULL\n Null:\n Index_type: BTREE\n Comment:\nIndex_comment:\n*************************** 2. row ***************************\n Table: city\n Non_unique: 1\n Key_name: CountryCode\n Seq_in_index: 1\n Column_name: CountryCode\n Collation: A\n Cardinality: 232\n Sub_part: NULL\n Packed: NULL\n Null:\n Index_type: BTREE\n Comment:\nIndex_comment:\n\nAn alternative to tbl_name FROM db_name syntax is db_name.tbl_name.\nThese two statements are equivalent:\n\nSHOW INDEX FROM mytable FROM mydb;\nSHOW INDEX FROM mydb.mytable;\n\nThe WHERE clause can be given to select rows using more general\nconditions, as discussed in\nhttp://dev.mysql.com/doc/refman/5.7/en/extended-show.html.\n\nSHOW INDEX returns the following fields:\n\no Table\n\n The name of the table.\n\no Non_unique\n\n 0 if the index cannot contain duplicates, 1 if it can.\n\no Key_name\n\n The name of the index. If the index is the primary key, the name is\n always PRIMARY.\n\no Seq_in_index\n\n The column sequence number in the index, starting with 1.\n\no Column_name\n\n The name of the column.\n\no Collation\n\n How the column is sorted in the index. This can have values A\n (ascending) or NULL (not sorted).\n\no Cardinality\n\n An estimate of the number of unique values in the index. To update\n this number, run ANALYZE TABLE or (for MyISAM tables) myisamchk -a.\n\n Cardinality is counted based on statistics stored as integers, so the\n value is not necessarily exact even for small tables. The higher the\n cardinality, the greater the chance that MySQL uses the index when\n doing joins.\n\no Sub_part\n\n The index prefix. That is, the number of indexed characters if the\n column is only partly indexed, NULL if the entire column is indexed.\n\n *Note*:\n\n Prefix limits are measured in bytes. However, prefix lengths for\n index specifications in CREATE TABLE, ALTER TABLE, and CREATE INDEX\n statements are interpreted as number of characters for nonbinary\n string types (CHAR, VARCHAR, TEXT) and number of bytes for binary\n string types (BINARY, VARBINARY, BLOB). Take this into account when\n specifying a prefix length for a nonbinary string column that uses a\n multibyte character set.\n\n For additional information about index prefixes, see\n http://dev.mysql.com/doc/refman/5.7/en/column-indexes.html, and [HELP\n CREATE INDEX].\n\no Packed\n\n Indicates how the key is packed. NULL if it is not.\n\no Null\n\n Contains YES if the column may contain NULL values and \'\' if not.\n\no Index_type\n\n The index method used (BTREE, FULLTEXT, HASH, RTREE).\n\no Comment\n\n Information about the index not described in its own column, such as\n disabled if the index is disabled.\n\no Index_comment\n\n Any comment provided for the index with a COMMENT attribute when the\n index was created.\n\nInformation about table indexes is also available from the\nINFORMATION_SCHEMA STATISTICS table. See\nhttp://dev.mysql.com/doc/refman/5.7/en/statistics-table.html.\n\nYou can list a table\'s indexes with the mysqlshow -k db_name tbl_name\ncommand.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-index.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-index.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (506,27,'SHOW CREATE DATABASE','Syntax:\nSHOW CREATE {DATABASE | SCHEMA} [IF NOT EXISTS] db_name\n\nShows the CREATE DATABASE statement that creates the named database. If\nthe SHOW statement includes an IF NOT EXISTS clause, the output too\nincludes such a clause. SHOW CREATE SCHEMA is a synonym for SHOW CREATE\nDATABASE.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-create-database.html\n\n','mysql> SHOW CREATE DATABASE test\\G\n*************************** 1. row ***************************\n Database: test\nCreate Database: CREATE DATABASE `test`\n /*!40100 DEFAULT CHARACTER SET latin1 */\n\nmysql> SHOW CREATE SCHEMA test\\G\n*************************** 1. row ***************************\n Database: test\nCreate Database: CREATE DATABASE `test`\n /*!40100 DEFAULT CHARACTER SET latin1 */\n','http://dev.mysql.com/doc/refman/5.7/en/show-create-database.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (507,15,'!','Syntax:\nNOT, !\n\nLogical NOT. Evaluates to 1 if the operand is 0, to 0 if the operand is\nnonzero, and NOT NULL returns NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/logical-operators.html\n\n','mysql> SELECT NOT 10;\n -> 0\nmysql> SELECT NOT 0;\n -> 1\nmysql> SELECT NOT NULL;\n -> NULL\nmysql> SELECT ! (1+1);\n -> 0\nmysql> SELECT ! 1+1;\n -> 1\n','http://dev.mysql.com/doc/refman/5.7/en/logical-operators.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (508,24,'DECLARE HANDLER','Syntax:\nDECLARE handler_action HANDLER\n FOR condition_value [, condition_value] ...\n statement\n\nhandler_action:\n CONTINUE\n | EXIT\n | UNDO\n\ncondition_value:\n mysql_error_code\n | SQLSTATE [VALUE] sqlstate_value\n | condition_name\n | SQLWARNING\n | NOT FOUND\n | SQLEXCEPTION\n\nThe DECLARE ... HANDLER statement specifies a handler that deals with\none or more conditions. If one of these conditions occurs, the\nspecified statement executes. statement can be a simple statement such\nas SET var_name = value, or a compound statement written using BEGIN\nand END (see [HELP BEGIN END]).\n\nHandler declarations must appear after variable or condition\ndeclarations.\n\nThe handler_action value indicates what action the handler takes after\nexecution of the handler statement:\n\no CONTINUE: Execution of the current program continues.\n\no EXIT: Execution terminates for the BEGIN ... END compound statement\n in which the handler is declared. This is true even if the condition\n occurs in an inner block.\n\no UNDO: Not supported.\n\nThe condition_value for DECLARE ... HANDLER indicates the specific\ncondition or class of conditions that activates the handler. It can\ntake the following forms:\n\no mysql_error_code: An integer literal indicating a MySQL error code,\n such as 1051 to specify "unknown table":\n\nDECLARE CONTINUE HANDLER FOR 1051\n BEGIN\n -- body of handler\n END;\n\n Do not use MySQL error code 0 because that indicates success rather\n than an error condition. For a list of MySQL error codes, see\n http://dev.mysql.com/doc/refman/5.7/en/error-messages-server.html.\n\no SQLSTATE [VALUE] sqlstate_value: A 5-character string literal\n indicating an SQLSTATE value, such as \'42S01\' to specify "unknown\n table":\n\nDECLARE CONTINUE HANDLER FOR SQLSTATE \'42S02\'\n BEGIN\n -- body of handler\n END;\n\n Do not use SQLSTATE values that begin with \'00\' because those\n indicate success rather than an error condition. For a list of\n SQLSTATE values, see\n http://dev.mysql.com/doc/refman/5.7/en/error-messages-server.html.\n\no condition_name: A condition name previously specified with DECLARE\n ... CONDITION. A condition name can be associated with a MySQL error\n code or SQLSTATE value. See [HELP DECLARE CONDITION].\n\no SQLWARNING: Shorthand for the class of SQLSTATE values that begin\n with \'01\'.\n\nDECLARE CONTINUE HANDLER FOR SQLWARNING\n BEGIN\n -- body of handler\n END;\n\no NOT FOUND: Shorthand for the class of SQLSTATE values that begin with\n \'02\'. This is relevant within the context of cursors and is used to\n control what happens when a cursor reaches the end of a data set. If\n no more rows are available, a No Data condition occurs with SQLSTATE\n value \'02000\'. To detect this condition, you can set up a handler for\n it or for a NOT FOUND condition.\n\nDECLARE CONTINUE HANDLER FOR NOT FOUND\n BEGIN\n -- body of handler\n END;\n\n For another example, see\n http://dev.mysql.com/doc/refman/5.7/en/cursors.html. The NOT FOUND\n condition also occurs for SELECT ... INTO var_list statements that\n retrieve no rows.\n\no SQLEXCEPTION: Shorthand for the class of SQLSTATE values that do not\n begin with \'00\', \'01\', or \'02\'.\n\nDECLARE CONTINUE HANDLER FOR SQLEXCEPTION\n BEGIN\n -- body of handler\n END;\n\nFor information about how the server chooses handlers when a condition\noccurs, see http://dev.mysql.com/doc/refman/5.7/en/handler-scope.html.\n\nIf a condition occurs for which no handler has been declared, the\naction taken depends on the condition class:\n\no For SQLEXCEPTION conditions, the stored program terminates at the\n statement that raised the condition, as if there were an EXIT\n handler. If the program was called by another stored program, the\n calling program handles the condition using the handler selection\n rules applied to its own handlers.\n\no For SQLWARNING conditions, the program continues executing, as if\n there were a CONTINUE handler.\n\no For NOT FOUND conditions, if the condition was raised normally, the\n action is CONTINUE. If it was raised by SIGNAL or RESIGNAL, the\n action is EXIT.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/declare-handler.html\n\n','mysql> CREATE TABLE test.t (s1 INT, PRIMARY KEY (s1));\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> delimiter //\n\nmysql> CREATE PROCEDURE handlerdemo ()\n -> BEGIN\n -> DECLARE CONTINUE HANDLER FOR SQLSTATE \'23000\' SET @x2 = 1;\n -> SET @x = 1;\n -> INSERT INTO test.t VALUES (1);\n -> SET @x = 2;\n -> INSERT INTO test.t VALUES (1);\n -> SET @x = 3;\n -> END;\n -> //\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> CALL handlerdemo()//\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> SELECT @x//\n +------+\n | @x |\n +------+\n | 3 |\n +------+\n 1 row in set (0.00 sec)\n','http://dev.mysql.com/doc/refman/5.7/en/declare-handler.html'); @@ -593,10 +593,10 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (512,40,'TRUNCATE TABLE','Syntax:\nTRUNCATE [TABLE] tbl_name\n\nTRUNCATE TABLE empties a table completely. It requires the DROP\nprivilege.\n\nLogically, TRUNCATE TABLE is similar to a DELETE statement that deletes\nall rows, or a sequence of DROP TABLE and CREATE TABLE statements. To\nachieve high performance, it bypasses the DML method of deleting data.\nThus, it cannot be rolled back, it does not cause ON DELETE triggers to\nfire, and it cannot be performed for InnoDB tables with parent-child\nforeign key relationships.\n\nAlthough TRUNCATE TABLE is similar to DELETE, it is classified as a DDL\nstatement rather than a DML statement. It differs from DELETE in the\nfollowing ways:\n\no Truncate operations drop and re-create the table, which is much\n faster than deleting rows one by one, particularly for large tables.\n\no Truncate operations cause an implicit commit, and so cannot be rolled\n back. See\n http://dev.mysql.com/doc/refman/5.7/en/implicit-commit.html.\n\no Truncation operations cannot be performed if the session holds an\n active table lock.\n\no TRUNCATE TABLE fails for an InnoDB table or NDB table if there are\n any FOREIGN KEY constraints from other tables that reference the\n table. Foreign key constraints between columns of the same table are\n permitted.\n\no Truncation operations do not return a meaningful value for the number\n of deleted rows. The usual result is "0 rows affected," which should\n be interpreted as "no information."\n\no As long as the table format file tbl_name.frm is valid, the table can\n be re-created as an empty table with TRUNCATE TABLE, even if the data\n or index files have become corrupted.\n\no Any AUTO_INCREMENT value is reset to its start value. This is true\n even for MyISAM and InnoDB, which normally do not reuse sequence\n values.\n\no When used with partitioned tables, TRUNCATE TABLE preserves the\n partitioning; that is, the data and index files are dropped and\n re-created, while the partition definitions (.par) file is\n unaffected.\n\no The TRUNCATE TABLE statement does not invoke ON DELETE triggers.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/truncate-table.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/truncate-table.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (513,32,'CURRENT_DATE','Syntax:\nCURRENT_DATE, CURRENT_DATE()\n\nCURRENT_DATE and CURRENT_DATE() are synonyms for CURDATE().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (514,8,'START SLAVE','Syntax:\nSTART SLAVE [thread_types] [until_option] [connection_options] [channel_option]\n\nthread_types:\n [thread_type [, thread_type] ... ]\n\nthread_type:\n IO_THREAD | SQL_THREAD\n\nuntil_option:\n UNTIL { {SQL_BEFORE_GTIDS | SQL_AFTER_GTIDS} = gtid_set\n | MASTER_LOG_FILE = \'log_name\', MASTER_LOG_POS = log_pos\n | RELAY_LOG_FILE = \'log_name\', RELAY_LOG_POS = log_pos\n | SQL_AFTER_MTS_GAPS }\n\nconnection_options:\n [USER=\'user_name\'] [PASSWORD=\'user_pass\'] [DEFAULT_AUTH=\'plugin_name\'] [PLUGIN_DIR=\'plugin_dir\']\n\n\nchannel_option:\n FOR CHANNEL channel\n\ngtid_set:\n uuid_set [, uuid_set] ...\n | \'\'\n\nuuid_set:\n uuid:interval[:interval]...\n\nuuid:\n hhhhhhhh-hhhh-hhhh-hhhh-hhhhhhhhhhhh\n\nh:\n [0-9,A-F]\n\ninterval:\n n[-n]\n\n (n >= 1)\n\nSTART SLAVE with no thread_type options starts both of the slave\nthreads. The I/O thread reads events from the master server and stores\nthem in the relay log. The SQL thread reads events from the relay log\nand executes them. START SLAVE requires the SUPER privilege.\n\nIf START SLAVE succeeds in starting the slave threads, it returns\nwithout any error. However, even in that case, it might be that the\nslave threads start and then later stop (for example, because they do\nnot manage to connect to the master or read its binary log, or some\nother problem). START SLAVE does not warn you about this. You must\ncheck the slave\'s error log for error messages generated by the slave\nthreads, or check that they are running satisfactorily with SHOW SLAVE\nSTATUS.\n\nIn MySQL 5.7, START SLAVE causes an implicit commit of an ongoing\ntransaction. See\nhttp://dev.mysql.com/doc/refman/5.7/en/implicit-commit.html.\n\ngtid_next must be set to AUTOMATIC before issuing this statement.\n\nThe optional FOR CHANNEL channel clause enables you to name which\nreplication channel the statement applies to. Providing a FOR CHANNEL\nchannel clause applies the START SLAVE statement to a specific\nreplication channel. If no clause is named and no extra channels exist,\nthe statement applies to the default channel. If a START SLAVE\nstatement does not have a channel defined when using multiple channels,\nthis statement starts the specified threads for all channels. This\nstatement is disallowed for the group_replication_recovery channel. See\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-channels.html for\nmore information.\n\nMySQL supports pluggable user-password authentication with START SLAVE\nwith the USER, PASSWORD, DEFAULT_AUTH and PLUGIN_DIR options, as\ndescribed in the following list:\n\no USER: User name. Cannot be set to an empty or null string, or left\n unset if PASSWORD is used.\n\no PASSWORD: Password.\n\no DEFAULT_AUTH: Name of plugin; default is MySQL native authentication.\n\no PLUGIN_DIR: Location of plugin.\n\nYou cannot use the SQL_THREAD option when specifying any of USER,\nPASSWORD, DEFAULT_AUTH, or PLUGIN_DIR, unless the IO_THREAD option is\nalso provided.\n\nSee\nhttp://dev.mysql.com/doc/refman/5.7/en/pluggable-authentication.html,\nfor more information.\n\nIf an insecure connection is used with any these options, the server\nissues the warning Sending passwords in plain text without SSL/TLS is\nextremely insecure.\n\nSTART SLAVE ... UNTIL supports two additional options for use with\nglobal transaction identifiers (GTIDs) (see\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-gtids.html). Each of\nthese takes a set of one or more global transaction identifiers\ngtid_set as an argument (see\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-gtids-concepts.html#\nreplication-gtids-concepts-gtid-sets, for more information).\n\nWhen no thread_type is specified, START SLAVE UNTIL SQL_BEFORE_GTIDS\ncauses the slave SQL thread to process transactions until it has\nreached the first transaction whose GTID is listed in the gtid_set.\nSTART SLAVE UNTIL SQL_AFTER_GTIDS causes the slave threads to process\nall transactions until the last transaction in the gtid_set has been\nprocessed by both threads. In other words, START SLAVE UNTIL\nSQL_BEFORE_GTIDS causes the slave SQL thread to process all\ntransactions occurring before the first GTID in the gtid_set is\nreached, and START SLAVE UNTIL SQL_AFTER_GTIDS causes the slave threads\nto handle all transactions, including those whose GTIDs are found in\ngtid_set, until each has encountered a transaction whose GTID is not\npart of the set. SQL_BEFORE_GTIDS and SQL_AFTER_GTIDS each support the\nSQL_THREAD and IO_THREAD options, although using IO_THREAD with them\ncurrently has no effect.\n\nFor example, START SLAVE SQL_THREAD UNTIL SQL_BEFORE_GTIDS =\n3E11FA47-71CA-11E1-9E33-C80AA9429562:11-56 causes the slave SQL thread\nto process all transactions originating from the master whose\nserver_uuid is 3E11FA47-71CA-11E1-9E33-C80AA9429562 until it encounters\nthe transaction having sequence number 11; it then stops without\nprocessing this transaction. In other words, all transactions up to and\nincluding the transaction with sequence number 10 are processed.\nExecuting START SLAVE SQL_THREAD UNTIL SQL_AFTER_GTIDS =\n3E11FA47-71CA-11E1-9E33-C80AA9429562:11-56, on the other hand, would\ncause the slave SQL thread to obtain all transactions just mentioned\nfrom the master, including all of the transactions having the sequence\nnumbers 11 through 56, and then to stop without processing any\nadditional transactions; that is, the transaction having sequence\nnumber 56 would be the last transaction fetched by the slave SQL\nthread.\n\nPrior to MySQL 5.7.3, SQL_AFTER_GTIDS did not stop the slave once the\nindicated transaction was completed, but waited until another GTID\nevent was received (Bug #14767986).\n\nWhen using a multithreaded slave, there is a chance of gaps in the\nsequence of transactions that have been executed from the relay log in\nthe following cases:\n\no killing the coordinator thread\n\no after an error occurs in the worker threads\n\no mysqld shuts down unexpectedly\n\nUse the START SLAVE UNTIL SQL_AFTER_MTS_GAPS statement to cause a\nmultithreaded slave\'s worker threads to only run until no more gaps are\nfound in the relay log, and then to stop. This statement can take an\nSQL_THREAD option, but the effects of the statement remain unchanged.\nIt has no effect on the slave I/O thread (and cannot be used with the\nIO_THREAD option).\n\nIssuing START SLAVE on a multithreaded slave with gaps in the sequence\nof transactions executed from the relay log generates a warning. In\nsuch a situation, the solution is to use START SLAVE UNTIL\nSQL_AFTER_MTS_GAPS, then issue RESET SLAVE to remove any remaining\nrelay logs. See\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-features-transaction\n-inconsistencies.html for more information.\n\nTo change a failed multithreaded slave to single-threaded mode, you can\nissue the following series of statements, in the order shown:\n\nSTART SLAVE UNTIL SQL_AFTER_MTS_GAPS;\n\nSET @@GLOBAL.slave_parallel_workers = 0;\n\nSTART SLAVE SQL_THREAD;\n\n*Note*:\n\nIt is possible to view the entire text of a running START SLAVE ...\nstatement, including any USER or PASSWORD values used, in the output of\nSHOW PROCESSLIST. This is also true for the text of a running CHANGE\nMASTER TO statement, including any values it employs for MASTER_USER or\nMASTER_PASSWORD.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/start-slave.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/start-slave.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (515,2,'AREA','Area(poly)\n\nST_Area() and Area() are synonyms. For more information, see the\ndescription of ST_Area().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (515,2,'AREA','Area({poly|mpoly})\n\nST_Area() and Area() are synonyms. For more information, see the\ndescription of ST_Area().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (516,27,'SHOW WARNINGS','Syntax:\nSHOW WARNINGS [LIMIT [offset,] row_count]\nSHOW COUNT(*) WARNINGS\n\nSHOW WARNINGS is a diagnostic statement that displays information about\nthe conditions (errors, warnings, and notes) resulting from executing a\nstatement in the current session. Warnings are generated for DML\nstatements such as INSERT, UPDATE, and LOAD DATA INFILE as well as DDL\nstatements such as CREATE TABLE and ALTER TABLE.\n\nThe LIMIT clause has the same syntax as for the SELECT statement. See\nhttp://dev.mysql.com/doc/refman/5.7/en/select.html.\n\nSHOW WARNINGS is also used following EXPLAIN, to display the extended\ninformation generated by EXPLAIN. See\nhttp://dev.mysql.com/doc/refman/5.7/en/explain-extended.html.\n\nSHOW WARNINGS displays information about the conditions resulting from\nexecution of the most recent nondiagnostic statement in the current\nsession. If the most recent statement resulted in an error during\nparsing, SHOW WARNINGS shows the resulting conditions, regardless of\nstatement type (diagnostic or nondiagnostic).\n\nThe SHOW COUNT(*) WARNINGS diagnostic statement displays the total\nnumber of errors, warnings, and notes. You can also retrieve this\nnumber from the warning_count system variable:\n\nSHOW COUNT(*) WARNINGS;\nSELECT @@warning_count;\n\nA difference in these statements is that the first is a diagnostic\nstatement that does not clear the message list. The second, because it\nis a SELECT statement is considered nondiagnostic and does clear the\nmessage list.\n\nA related diagnostic statement, SHOW ERRORS, shows only error\nconditions (it excludes warnings and notes), and SHOW COUNT(*) ERRORS\nstatement displays the total number of errors. See [HELP SHOW ERRORS].\nGET DIAGNOSTICS can be used to examine information for individual\nconditions. See [HELP GET DIAGNOSTICS].\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-warnings.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-warnings.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (517,4,'ST_LINEFROMTEXT','ST_LineFromText(wkt[, srid]), ST_LineStringFromText(wkt[, srid])\n\nConstructs a LineString value using its WKT representation and SRID.\n\nIf the geometry argument is NULL or not a syntactically well-formed\ngeometry, or if the SRID argument is NULL, the return value is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-wkt-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-wkt-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (518,10,'DROP USER','Syntax:\nDROP USER [IF EXISTS] user [, user] ...\n\nThe DROP USER statement removes one or more MySQL accounts and their\nprivileges. It removes privilege rows for the account from all grant\ntables.\n\nTo use DROP USER, you must have the global CREATE USER privilege, or\nthe DELETE privilege for the mysql database. When the read_only system\nvariable is enabled, DROP USER additionally requires the SUPER\nprivilege.\n\nAn error occurs if you try to drop an account that does not exist. If\nthe IF EXISTS clause is given, the statement produces a warning for\neach named user that does not exist, rather than an error.\n\nEach account name uses the format described in\nhttp://dev.mysql.com/doc/refman/5.7/en/account-names.html. For example:\n\nDROP USER \'jeffrey\'@\'localhost\';\n\nThe host name part of the account name, if omitted, defaults to \'%\'.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/drop-user.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/drop-user.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (518,10,'DROP USER','Syntax:\nDROP USER [IF EXISTS] user [, user] ...\n\nThe DROP USER statement removes one or more MySQL accounts and their\nprivileges. It removes privilege rows for the account from all grant\ntables.\n\nTo use DROP USER, you must have the global CREATE USER privilege, or\nthe DELETE privilege for the mysql system database. When the read_only\nsystem variable is enabled, DROP USER additionally requires the SUPER\nprivilege.\n\nAn error occurs if you try to drop an account that does not exist. If\nthe IF EXISTS clause is given, the statement produces a warning for\neach named user that does not exist, rather than an error.\n\nEach account name uses the format described in\nhttp://dev.mysql.com/doc/refman/5.7/en/account-names.html. For example:\n\nDROP USER \'jeffrey\'@\'localhost\';\n\nThe host name part of the account name, if omitted, defaults to \'%\'.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/drop-user.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/drop-user.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (519,38,'SUBSTRING','Syntax:\nSUBSTRING(str,pos), SUBSTRING(str FROM pos), SUBSTRING(str,pos,len),\nSUBSTRING(str FROM pos FOR len)\n\nThe forms without a len argument return a substring from string str\nstarting at position pos. The forms with a len argument return a\nsubstring len characters long from string str, starting at position\npos. The forms that use FROM are standard SQL syntax. It is also\npossible to use a negative value for pos. In this case, the beginning\nof the substring is pos characters from the end of the string, rather\nthan the beginning. A negative value may be used for pos in any of the\nforms of this function.\n\nFor all forms of SUBSTRING(), the position of the first character in\nthe string from which the substring is to be extracted is reckoned as\n1.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-functions.html\n\n','mysql> SELECT SUBSTRING(\'Quadratically\',5);\n -> \'ratically\'\nmysql> SELECT SUBSTRING(\'foobarbar\' FROM 4);\n -> \'barbar\'\nmysql> SELECT SUBSTRING(\'Quadratically\',5,6);\n -> \'ratica\'\nmysql> SELECT SUBSTRING(\'Sakila\', -3);\n -> \'ila\'\nmysql> SELECT SUBSTRING(\'Sakila\', -5, 3);\n -> \'aki\'\nmysql> SELECT SUBSTRING(\'Sakila\' FROM -4 FOR 2);\n -> \'ki\'\n','http://dev.mysql.com/doc/refman/5.7/en/string-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (520,37,'ISEMPTY','IsEmpty(g)\n\nST_IsEmpty() and IsEmpty() are synonyms. For more information, see the\ndescription of ST_IsEmpty().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-general-property-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-general-property-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (521,27,'SHOW FUNCTION STATUS','Syntax:\nSHOW FUNCTION STATUS\n [LIKE \'pattern\' | WHERE expr]\n\nThis statement is similar to SHOW PROCEDURE STATUS but for stored\nfunctions. See [HELP SHOW PROCEDURE STATUS].\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-function-status.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-function-status.html'); @@ -623,7 +623,7 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (542,16,'GROUP_CONCAT','Syntax:\nGROUP_CONCAT(expr)\n\nThis function returns a string result with the concatenated non-NULL\nvalues from a group. It returns NULL if there are no non-NULL values.\nThe full syntax is as follows:\n\nGROUP_CONCAT([DISTINCT] expr [,expr ...]\n [ORDER BY {unsigned_integer | col_name | expr}\n [ASC | DESC] [,col_name ...]]\n [SEPARATOR str_val])\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/group-by-functions.html\n\n','mysql> SELECT student_name,\n GROUP_CONCAT(test_score)\n FROM student\n GROUP BY student_name;\n','http://dev.mysql.com/doc/refman/5.7/en/group-by-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (543,17,'BENCHMARK','Syntax:\nBENCHMARK(count,expr)\n\nThe BENCHMARK() function executes the expression expr repeatedly count\ntimes. It may be used to time how quickly MySQL processes the\nexpression. The result value is always 0. The intended use is from\nwithin the mysql client, which reports query execution times:\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/information-functions.html\n\n','mysql> SELECT BENCHMARK(1000000,AES_ENCRYPT(\'hello\',\'goodbye\'));\n+---------------------------------------------------+\n| BENCHMARK(1000000,AES_ENCRYPT(\'hello\',\'goodbye\')) |\n+---------------------------------------------------+\n| 0 |\n+---------------------------------------------------+\n1 row in set (4.74 sec)\n','http://dev.mysql.com/doc/refman/5.7/en/information-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (544,38,'FROM_BASE64','Syntax:\nFROM_BASE64(str)\n\nTakes a string encoded with the base-64 encoded rules used by\nTO_BASE64() and returns the decoded result as a binary string. The\nresult is NULL if the argument is NULL or not a valid base-64 string.\nSee the description of TO_BASE64() for details about the encoding and\ndecoding rules.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-functions.html\n\n','mysql> SELECT TO_BASE64(\'abc\'), FROM_BASE64(TO_BASE64(\'abc\'));\n -> \'JWJj\', \'abc\'\n','http://dev.mysql.com/doc/refman/5.7/en/string-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (545,27,'SHOW ENGINE','Syntax:\nSHOW ENGINE engine_name {STATUS | MUTEX}\n\nSHOW ENGINE displays operational information about a storage engine. It\nrequires the PROCESS privilege. The statement has these variants:\n\nSHOW ENGINE INNODB STATUS\nSHOW ENGINE INNODB MUTEX\nSHOW ENGINE PERFORMANCE_SCHEMA STATUS\n\nSHOW ENGINE INNODB STATUS displays extensive information from the\nstandard InnoDB Monitor about the state of the InnoDB storage engine.\nFor information about the standard monitor and other InnoDB Monitors\nthat provide information about InnoDB processing, see\nhttp://dev.mysql.com/doc/refman/5.7/en/innodb-monitors.html.\n\nSHOW ENGINE INNODB MUTEX displays InnoDB mutex and rw-lock statistics.\n\n*Note*:\n\nInnoDB mutexes and rwlocks can also be monitored using Performance\nSchema tables. See\nhttp://dev.mysql.com/doc/refman/5.7/en/monitor-innodb-mutex-waits-perfo\nrmance-schema.html.\n\nSHOW ENGINE INNODB MUTEX output was removed in MySQL 5.7.2. It was\nrevised and reintroduced in MySQL 5.7.8.\n\nIn MySQL 5.7.8, mutex statistics collection is configured dynamically\nusing the following options:\n\no To enable the collection of mutex statistics, run:\n\nSET GLOBAL innodb_monitor_enable=\'latch\';\n\no To reset mutex statistics, run:\n\nSET GLOBAL innodb_monitor_reset=\'latch\';\n\no To disable the collection of mutex statistics, run:\n\nSET GLOBAL innodb_monitor_disable=\'latch\';\n\nCollection of mutex statistics for SHOW ENGINE INNODB MUTEX can also be\nenabled by setting innodb_monitor_enable=\'all\', or disabled by setting\ninnodb_monitor_disable=\'all\'.\n\nSHOW ENGINE INNODB MUTEX output has the following columns:\n\no Type\n\n Always InnoDB.\n\no Name\n\n Prior to MySQL 5.7.8, the Name field reports the source file where\n the mutex is implemented, and the line number in the file where the\n mutex is created. The line number is specific to your version of\n MySQL. As of MySQL 5.7.8, only the mutex name is reported. File name\n and line number are still reported for rwlocks.\n\no Status\n\n The mutex status.\n\n Prior to MySQL 5.7.8, the Status field displays several values if\n WITH_DEBUG was defined at MySQL compilation time. If WITH_DEBUG was\n not defined, the statement displays only the os_waits value. In the\n latter case (without WITH_DEBUG), the information on which the output\n is based is insufficient to distinguish regular mutexes and mutexes\n that protect rwlocks (which permit multiple readers or a single\n writer). Consequently, the output may appear to contain multiple rows\n for the same mutex. Pre-MySQL 5.7.8 Status field values include:\n\n o count indicates how many times the mutex was requested.\n\n o spin_waits indicates how many times the spinlock had to run.\n\n o spin_rounds indicates the number of spinlock rounds. (spin_rounds\n divided by spin_waits provides the average round count.)\n\n o os_waits indicates the number of operating system waits. This\n occurs when the spinlock did not work (the mutex was not locked\n during the spinlock and it was necessary to yield to the operating\n system and wait).\n\n o os_yields indicates the number of times a thread trying to lock a\n mutex gave up its timeslice and yielded to the operating system (on\n the presumption that permitting other threads to run will free the\n mutex so that it can be locked).\n\n o os_wait_times indicates the amount of time (in ms) spent in\n operating system waits. In MySQL 5.7 timing is disabled and this\n value is always 0.\n\n As of MySQL 5.7.8, the Status field reports the number of spins,\n waits, and calls. Statistics for low-level operating system mutexes,\n which are implemented outside of InnoDB, are not reported.\n\n o spins indicates the number of spins.\n\n o waits indicates the number of mutex waits.\n\n o calls indicates how many times the mutex was requested.\n\nSHOW ENGINE INNODB MUTEX skips the mutexes and rw-locks of buffer pool\nblocks, as the amount of output can be overwhelming on systems with a\nlarge buffer pool. (There is one mutex and one rw-lock in each 16K\nbuffer pool block, and there are 65,536 blocks per gigabyte.) SHOW\nENGINE INNODB MUTEX also does not list any mutexes or rw-locks that\nhave never been waited on (os_waits=0). Thus, SHOW ENGINE INNODB MUTEX\nonly displays information about mutexes and rw-locks outside of the\nbuffer pool that have caused at least one OS-level wait.\n\nUse SHOW ENGINE PERFORMANCE_SCHEMA STATUS to inspect the internal\noperation of the Performance Schema code:\n\nmysql> SHOW ENGINE PERFORMANCE_SCHEMA STATUS\\G\n...\n*************************** 3. row ***************************\n Type: performance_schema\n Name: events_waits_history.size\nStatus: 76\n*************************** 4. row ***************************\n Type: performance_schema\n Name: events_waits_history.count\nStatus: 10000\n*************************** 5. row ***************************\n Type: performance_schema\n Name: events_waits_history.memory\nStatus: 760000\n...\n*************************** 57. row ***************************\n Type: performance_schema\n Name: performance_schema.memory\nStatus: 26459600\n...\n\nThis statement is intended to help the DBA understand the effects that\ndifferent Performance Schema options have on memory requirements.\n\nName values consist of two parts, which name an internal buffer and a\nbuffer attribute, respectively. Interpret buffer names as follows:\n\no An internal buffer that is not exposed as a table is named within\n parentheses. Examples: (pfs_cond_class).size,\n (pfs_mutex_class).memory.\n\no An internal buffer that is exposed as a table in the\n performance_schema database is named after the table, without\n parentheses. Examples: events_waits_history.size,\n mutex_instances.count.\n\no A value that applies to the Performance Schema as a whole begins with\n performance_schema. Example: performance_schema.memory.\n\nBuffer attributes have these meanings:\n\no size is the size of the internal record used by the implementation,\n such as the size of a row in a table. size values cannot be changed.\n\no count is the number of internal records, such as the number of rows\n in a table. count values can be changed using Performance Schema\n configuration options.\n\no For a table, tbl_name.memory is the product of size and count. For\n the Performance Schema as a whole, performance_schema.memory is the\n sum of all the memory used (the sum of all other memory values).\n\nIn some cases, there is a direct relationship between a Performance\nSchema configuration parameter and a SHOW ENGINE value. For example,\nevents_waits_history_long.count corresponds to\nperformance_schema_events_waits_history_long_size. In other cases, the\nrelationship is more complex. For example, events_waits_history.count\ncorresponds to performance_schema_events_waits_history_size (the number\nof rows per thread) multiplied by\nperformance_schema_max_thread_instances ( the number of threads).\n\nSHOW ENGINE NDB STATUS If the server has the NDB storage engine\nenabled, SHOW ENGINE NDB STATUS displays cluster status information\nsuch as the number of connected data nodes, the cluster connectstring,\nand cluster binary log epochs, as well as counts of various Cluster API\nobjects created by the MySQL Server when connected to the cluster.\nSample output from this statement is shown here:\n\nmysql> SHOW ENGINE NDB STATUS;\n+------------+-----------------------+--------------------------------------------------+\n| Type | Name | Status |\n+------------+-----------------------+--------------------------------------------------+\n| ndbcluster | connection | cluster_node_id=7,\n connected_host=198.51.100.103, connected_port=1186, number_of_data_nodes=4,\n number_of_ready_data_nodes=3, connect_count=0 |\n| ndbcluster | NdbTransaction | created=6, free=0, sizeof=212 |\n| ndbcluster | NdbOperation | created=8, free=8, sizeof=660 |\n| ndbcluster | NdbIndexScanOperation | created=1, free=1, sizeof=744 |\n| ndbcluster | NdbIndexOperation | created=0, free=0, sizeof=664 |\n| ndbcluster | NdbRecAttr | created=1285, free=1285, sizeof=60 |\n| ndbcluster | NdbApiSignal | created=16, free=16, sizeof=136 |\n| ndbcluster | NdbLabel | created=0, free=0, sizeof=196 |\n| ndbcluster | NdbBranch | created=0, free=0, sizeof=24 |\n| ndbcluster | NdbSubroutine | created=0, free=0, sizeof=68 |\n| ndbcluster | NdbCall | created=0, free=0, sizeof=16 |\n| ndbcluster | NdbBlob | created=1, free=1, sizeof=264 |\n| ndbcluster | NdbReceiver | created=4, free=0, sizeof=68 |\n| ndbcluster | binlog | latest_epoch=155467, latest_trans_epoch=148126,\n latest_received_binlog_epoch=0, latest_handled_binlog_epoch=0,\n latest_applied_binlog_epoch=0 |\n+------------+-----------------------+--------------------------------------------------+\n\nThe Status column in each of these rows provides information about the\nMySQL server\'s connection to the cluster and about the cluster binary\nlog\'s status, respectively. The Status information is in the form of\ncomma-delimited set of name/value pairs.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-engine.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-engine.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (545,27,'SHOW ENGINE','Syntax:\nSHOW ENGINE engine_name {STATUS | MUTEX}\n\nSHOW ENGINE displays operational information about a storage engine. It\nrequires the PROCESS privilege. The statement has these variants:\n\nSHOW ENGINE INNODB STATUS\nSHOW ENGINE INNODB MUTEX\nSHOW ENGINE PERFORMANCE_SCHEMA STATUS\n\nSHOW ENGINE INNODB STATUS displays extensive information from the\nstandard InnoDB Monitor about the state of the InnoDB storage engine.\nFor information about the standard monitor and other InnoDB Monitors\nthat provide information about InnoDB processing, see\nhttp://dev.mysql.com/doc/refman/5.7/en/innodb-monitors.html.\n\nSHOW ENGINE INNODB MUTEX displays InnoDB mutex and rw-lock statistics.\n\n*Note*:\n\nInnoDB mutexes and rwlocks can also be monitored using Performance\nSchema tables. See\nhttp://dev.mysql.com/doc/refman/5.7/en/monitor-innodb-mutex-waits-perfo\nrmance-schema.html.\n\nSHOW ENGINE INNODB MUTEX output was removed in MySQL 5.7.2. It was\nrevised and reintroduced in MySQL 5.7.8.\n\nIn MySQL 5.7.8, mutex statistics collection is configured dynamically\nusing the following options:\n\no To enable the collection of mutex statistics, run:\n\nSET GLOBAL innodb_monitor_enable=\'latch\';\n\no To reset mutex statistics, run:\n\nSET GLOBAL innodb_monitor_reset=\'latch\';\n\no To disable the collection of mutex statistics, run:\n\nSET GLOBAL innodb_monitor_disable=\'latch\';\n\nCollection of mutex statistics for SHOW ENGINE INNODB MUTEX can also be\nenabled by setting innodb_monitor_enable=\'all\', or disabled by setting\ninnodb_monitor_disable=\'all\'.\n\nSHOW ENGINE INNODB MUTEX output has these columns:\n\no Type\n\n Always InnoDB.\n\no Name\n\n Prior to MySQL 5.7.8, the Name field reports the source file where\n the mutex is implemented, and the line number in the file where the\n mutex is created. The line number is specific to your version of\n MySQL. As of MySQL 5.7.8, only the mutex name is reported. File name\n and line number are still reported for rwlocks.\n\no Status\n\n The mutex status.\n\n Prior to MySQL 5.7.8, the Status field displays several values if\n WITH_DEBUG was defined at MySQL compilation time. If WITH_DEBUG was\n not defined, the statement displays only the os_waits value. In the\n latter case (without WITH_DEBUG), the information on which the output\n is based is insufficient to distinguish regular mutexes and mutexes\n that protect rwlocks (which permit multiple readers or a single\n writer). Consequently, the output may appear to contain multiple rows\n for the same mutex. Pre-MySQL 5.7.8 Status field values include:\n\n o count indicates how many times the mutex was requested.\n\n o spin_waits indicates how many times the spinlock had to run.\n\n o spin_rounds indicates the number of spinlock rounds. (spin_rounds\n divided by spin_waits provides the average round count.)\n\n o os_waits indicates the number of operating system waits. This\n occurs when the spinlock did not work (the mutex was not locked\n during the spinlock and it was necessary to yield to the operating\n system and wait).\n\n o os_yields indicates the number of times a thread trying to lock a\n mutex gave up its timeslice and yielded to the operating system (on\n the presumption that permitting other threads to run will free the\n mutex so that it can be locked).\n\n o os_wait_times indicates the amount of time (in ms) spent in\n operating system waits. In MySQL 5.7 timing is disabled and this\n value is always 0.\n\n As of MySQL 5.7.8, the Status field reports the number of spins,\n waits, and calls. Statistics for low-level operating system mutexes,\n which are implemented outside of InnoDB, are not reported.\n\n o spins indicates the number of spins.\n\n o waits indicates the number of mutex waits.\n\n o calls indicates how many times the mutex was requested.\n\nSHOW ENGINE INNODB MUTEX skips the mutexes and rw-locks of buffer pool\nblocks, as the amount of output can be overwhelming on systems with a\nlarge buffer pool. (There is one mutex and one rw-lock in each 16K\nbuffer pool block, and there are 65,536 blocks per gigabyte.) SHOW\nENGINE INNODB MUTEX also does not list any mutexes or rw-locks that\nhave never been waited on (os_waits=0). Thus, SHOW ENGINE INNODB MUTEX\nonly displays information about mutexes and rw-locks outside of the\nbuffer pool that have caused at least one OS-level wait.\n\nUse SHOW ENGINE PERFORMANCE_SCHEMA STATUS to inspect the internal\noperation of the Performance Schema code:\n\nmysql> SHOW ENGINE PERFORMANCE_SCHEMA STATUS\\G\n...\n*************************** 3. row ***************************\n Type: performance_schema\n Name: events_waits_history.size\nStatus: 76\n*************************** 4. row ***************************\n Type: performance_schema\n Name: events_waits_history.count\nStatus: 10000\n*************************** 5. row ***************************\n Type: performance_schema\n Name: events_waits_history.memory\nStatus: 760000\n...\n*************************** 57. row ***************************\n Type: performance_schema\n Name: performance_schema.memory\nStatus: 26459600\n...\n\nThis statement is intended to help the DBA understand the effects that\ndifferent Performance Schema options have on memory requirements.\n\nName values consist of two parts, which name an internal buffer and a\nbuffer attribute, respectively. Interpret buffer names as follows:\n\no An internal buffer that is not exposed as a table is named within\n parentheses. Examples: (pfs_cond_class).size,\n (pfs_mutex_class).memory.\n\no An internal buffer that is exposed as a table in the\n performance_schema database is named after the table, without\n parentheses. Examples: events_waits_history.size,\n mutex_instances.count.\n\no A value that applies to the Performance Schema as a whole begins with\n performance_schema. Example: performance_schema.memory.\n\nBuffer attributes have these meanings:\n\no size is the size of the internal record used by the implementation,\n such as the size of a row in a table. size values cannot be changed.\n\no count is the number of internal records, such as the number of rows\n in a table. count values can be changed using Performance Schema\n configuration options.\n\no For a table, tbl_name.memory is the product of size and count. For\n the Performance Schema as a whole, performance_schema.memory is the\n sum of all the memory used (the sum of all other memory values).\n\nIn some cases, there is a direct relationship between a Performance\nSchema configuration parameter and a SHOW ENGINE value. For example,\nevents_waits_history_long.count corresponds to\nperformance_schema_events_waits_history_long_size. In other cases, the\nrelationship is more complex. For example, events_waits_history.count\ncorresponds to performance_schema_events_waits_history_size (the number\nof rows per thread) multiplied by\nperformance_schema_max_thread_instances ( the number of threads).\n\nSHOW ENGINE NDB STATUS If the server has the NDB storage engine\nenabled, SHOW ENGINE NDB STATUS displays cluster status information\nsuch as the number of connected data nodes, the cluster connectstring,\nand cluster binary log epochs, as well as counts of various Cluster API\nobjects created by the MySQL Server when connected to the cluster.\nSample output from this statement is shown here:\n\nmysql> SHOW ENGINE NDB STATUS;\n+------------+-----------------------+--------------------------------------------------+\n| Type | Name | Status |\n+------------+-----------------------+--------------------------------------------------+\n| ndbcluster | connection | cluster_node_id=7,\n connected_host=198.51.100.103, connected_port=1186, number_of_data_nodes=4,\n number_of_ready_data_nodes=3, connect_count=0 |\n| ndbcluster | NdbTransaction | created=6, free=0, sizeof=212 |\n| ndbcluster | NdbOperation | created=8, free=8, sizeof=660 |\n| ndbcluster | NdbIndexScanOperation | created=1, free=1, sizeof=744 |\n| ndbcluster | NdbIndexOperation | created=0, free=0, sizeof=664 |\n| ndbcluster | NdbRecAttr | created=1285, free=1285, sizeof=60 |\n| ndbcluster | NdbApiSignal | created=16, free=16, sizeof=136 |\n| ndbcluster | NdbLabel | created=0, free=0, sizeof=196 |\n| ndbcluster | NdbBranch | created=0, free=0, sizeof=24 |\n| ndbcluster | NdbSubroutine | created=0, free=0, sizeof=68 |\n| ndbcluster | NdbCall | created=0, free=0, sizeof=16 |\n| ndbcluster | NdbBlob | created=1, free=1, sizeof=264 |\n| ndbcluster | NdbReceiver | created=4, free=0, sizeof=68 |\n| ndbcluster | binlog | latest_epoch=155467, latest_trans_epoch=148126,\n latest_received_binlog_epoch=0, latest_handled_binlog_epoch=0,\n latest_applied_binlog_epoch=0 |\n+------------+-----------------------+--------------------------------------------------+\n\nThe Status column in each of these rows provides information about the\nMySQL server\'s connection to the cluster and about the cluster binary\nlog\'s status, respectively. The Status information is in the form of\ncomma-delimited set of name/value pairs.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-engine.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-engine.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (546,14,'NAME_CONST','Syntax:\nNAME_CONST(name,value)\n\nReturns the given value. When used to produce a result set column,\nNAME_CONST() causes the column to have the given name. The arguments\nshould be constants.\n\nmysql> SELECT NAME_CONST(\'myname\', 14);\n+--------+\n| myname |\n+--------+\n| 14 |\n+--------+\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (547,14,'RELEASE_LOCK','Syntax:\nRELEASE_LOCK(str)\n\nReleases the lock named by the string str that was obtained with\nGET_LOCK(). Returns 1 if the lock was released, 0 if the lock was not\nestablished by this thread (in which case the lock is not released),\nand NULL if the named lock did not exist. The lock does not exist if it\nwas never obtained by a call to GET_LOCK() or if it has previously been\nreleased.\n\nThe DO statement is convenient to use with RELEASE_LOCK(). See [HELP\nDO].\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (548,32,'WEEKDAY','Syntax:\nWEEKDAY(date)\n\nReturns the weekday index for date (0 = Monday, 1 = Tuesday, ... 6 =\nSunday).\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT WEEKDAY(\'2008-02-03 22:23:00\');\n -> 6\nmysql> SELECT WEEKDAY(\'2007-11-06\');\n -> 1\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); @@ -643,7 +643,7 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (562,14,'IS_USED_LOCK','Syntax:\nIS_USED_LOCK(str)\n\nChecks whether the lock named str is in use (that is, locked). If so,\nit returns the connection identifier of the client session that holds\nthe lock. Otherwise, it returns NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (563,4,'POLYFROMTEXT','PolyFromText(wkt[, srid]), PolygonFromText(wkt[, srid])\n\nST_PolyFromText(), ST_PolygonFromText(), PolyFromText(), and\nPolygonFromText() are synonyms. For more information, see the\ndescription of ST_PolyFromText().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-wkt-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-wkt-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (564,37,'ST_SRID','ST_SRID(g)\n\nReturns an integer indicating the spatial reference system ID\nassociated with the geometry value g, or NULL if the argument is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-general-property-functions.html\n\n','mysql> SELECT ST_SRID(ST_GeomFromText(\'LineString(1 1,2 2)\',101));\n+-----------------------------------------------------+\n| ST_SRID(ST_GeomFromText(\'LineString(1 1,2 2)\',101)) |\n+-----------------------------------------------------+\n| 101 |\n+-----------------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/gis-general-property-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (565,10,'ALTER USER','Syntax:\nALTER USER [IF EXISTS]\n user [auth_option] [, user [auth_option]] ...\n [REQUIRE {NONE | tls_option [[AND] tls_option] ...}]\n [WITH resource_option [resource_option] ...]\n [password_option | lock_option] ...\n\nALTER USER [IF EXISTS]\n USER() IDENTIFIED BY \'auth_string\'\n\nuser:\n (see )\n\nauth_option: {\n IDENTIFIED BY \'auth_string\'\n | IDENTIFIED WITH auth_plugin\n | IDENTIFIED WITH auth_plugin BY \'auth_string\'\n | IDENTIFIED WITH auth_plugin AS \'hash_string\'\n}\n\ntls_option: {\n SSL\n | X509\n | CIPHER \'cipher\'\n | ISSUER \'issuer\'\n | SUBJECT \'subject\'\n}\n\nresource_option: {\n MAX_QUERIES_PER_HOUR count\n | MAX_UPDATES_PER_HOUR count\n | MAX_CONNECTIONS_PER_HOUR count\n | MAX_USER_CONNECTIONS count\n}\n\npassword_option: {\n PASSWORD EXPIRE\n | PASSWORD EXPIRE DEFAULT\n | PASSWORD EXPIRE NEVER\n | PASSWORD EXPIRE INTERVAL N DAY\n}\n\nlock_option: {\n ACCOUNT LOCK\n | ACCOUNT UNLOCK\n}\n\nThe ALTER USER statement modifies MySQL accounts. It enables\nauthentication, SSL/TLS, resource-limit, and password-management\nproperties to be modified for existing accounts, and enables account\nlocking and unlocking.\n\nTo use ALTER USER, you must have the global CREATE USER privilege or\nthe UPDATE privilege for the mysql database. When the read_only system\nvariable is enabled, ALTER USER additionally requires the SUPER\nprivilege.\n\nBy default, an error occurs if you try to modify a user that does not\nexist. If the IF EXISTS clause is given, the statement produces a\nwarning for each named user that does not exist, rather than an error.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/alter-user.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/alter-user.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (565,10,'ALTER USER','Syntax:\nALTER USER [IF EXISTS]\n user [auth_option] [, user [auth_option]] ...\n [REQUIRE {NONE | tls_option [[AND] tls_option] ...}]\n [WITH resource_option [resource_option] ...]\n [password_option | lock_option] ...\n\nALTER USER [IF EXISTS]\n USER() IDENTIFIED BY \'auth_string\'\n\nuser:\n (see )\n\nauth_option: {\n IDENTIFIED BY \'auth_string\'\n | IDENTIFIED WITH auth_plugin\n | IDENTIFIED WITH auth_plugin BY \'auth_string\'\n | IDENTIFIED WITH auth_plugin AS \'hash_string\'\n}\n\ntls_option: {\n SSL\n | X509\n | CIPHER \'cipher\'\n | ISSUER \'issuer\'\n | SUBJECT \'subject\'\n}\n\nresource_option: {\n MAX_QUERIES_PER_HOUR count\n | MAX_UPDATES_PER_HOUR count\n | MAX_CONNECTIONS_PER_HOUR count\n | MAX_USER_CONNECTIONS count\n}\n\npassword_option: {\n PASSWORD EXPIRE\n | PASSWORD EXPIRE DEFAULT\n | PASSWORD EXPIRE NEVER\n | PASSWORD EXPIRE INTERVAL N DAY\n}\n\nlock_option: {\n ACCOUNT LOCK\n | ACCOUNT UNLOCK\n}\n\nThe ALTER USER statement modifies MySQL accounts. It enables\nauthentication, SSL/TLS, resource-limit, and password-management\nproperties to be modified for existing accounts, and enables account\nlocking and unlocking.\n\nTo use ALTER USER, you must have the global CREATE USER privilege or\nthe UPDATE privilege for the mysql system database. When the read_only\nsystem variable is enabled, ALTER USER additionally requires the SUPER\nprivilege.\n\nBy default, an error occurs if you try to modify a user that does not\nexist. If the IF EXISTS clause is given, the statement produces a\nwarning for each named user that does not exist, rather than an error.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/alter-user.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/alter-user.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (566,12,'DES_ENCRYPT','Syntax:\nDES_ENCRYPT(str[,{key_num|key_str}])\n\nEncrypts the string with the given key using the Triple-DES algorithm.\n\nThis function works only if MySQL has been configured with SSL support.\nSee http://dev.mysql.com/doc/refman/5.7/en/encrypted-connections.html.\n\nThe encryption key to use is chosen based on the second argument to\nDES_ENCRYPT(), if one was given. With no argument, the first key from\nthe DES key file is used. With a key_num argument, the given key number\n(0 to 9) from the DES key file is used. With a key_str argument, the\ngiven key string is used to encrypt str.\n\nThe key file can be specified with the --des-key-file server option.\n\nThe return string is a binary string where the first character is\nCHAR(128 | key_num). If an error occurs, DES_ENCRYPT() returns NULL.\n\nThe 128 is added to make it easier to recognize an encrypted key. If\nyou use a string key, key_num is 127.\n\nThe string length for the result is given by this formula:\n\nnew_len = orig_len + (8 - (orig_len % 8)) + 1\n\nEach line in the DES key file has the following format:\n\nkey_num des_key_str\n\nEach key_num value must be a number in the range from 0 to 9. Lines in\nthe file may be in any order. des_key_str is the string that is used to\nencrypt the message. There should be at least one space between the\nnumber and the key. The first key is the default key that is used if\nyou do not specify any key argument to DES_ENCRYPT().\n\nYou can tell MySQL to read new key values from the key file with the\nFLUSH DES_KEY_FILE statement. This requires the RELOAD privilege.\n\nOne benefit of having a set of default keys is that it gives\napplications a way to check for the existence of encrypted column\nvalues, without giving the end user the right to decrypt those values.\n\n*Note*:\n\nThe DES_ENCRYPT() and DES_DECRYPT() functions are deprecated as of\nMySQL 5.7.6, will be removed in a future MySQL release, and should no\nlonger be used. Consider using AES_ENCRYPT() and AES_DECRYPT() instead.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html\n\n','mysql> SELECT customer_address FROM customer_table \n > WHERE crypted_credit_card = DES_ENCRYPT(\'credit_card_number\');\n','http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (567,3,'CEIL','Syntax:\nCEIL(X)\n\nCEIL() is a synonym for CEILING().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (568,7,'WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS','Syntax:\nWAIT_UNTIL_SQL_THREAD_AFTER_GTIDS(gtid_set[, timeout][,channel])\n\nWAIT_UNTIL_SQL_THREAD_AFTER_GTIDS() is similar to\nWAIT_FOR_EXECUTED_GTID_SET() in that it waits until all of the\ntransactions whose global transaction identifiers are contained in\ngtid_set have been applied, or until timeout seconds have elapsed,\nwhichever occurs first. However, WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS()\napplies to a specific replication channel, and stops only after the\ntransactions have been applied on the specified channel, for which the\napplier must be running. In contrast, WAIT_FOR_EXECUTED_GTID_SET()\nstops after the transactions have been applied, regardless of where\nthey were applied (on any replication channel or any user client), and\nwhether or not any replication channels are running.\n\nThe channel option names which replication channel the function applies\nto. If no channel is named and no channels other than the default\nreplication channel exist, the function applies to the default\nreplication channel. If multiple replication channels exist, you must\nspecify a channel as otherwise it is not known which replication\nchannel the function applies to. See\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-channels.html for\nmore information on replication channels.\n\n*Note*:\n\nBecause WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS() applies to a specific\nreplication channel, if an expected transaction arrives on a different\nreplication channel or from a user client, for example in a failover or\nmanual recovery situation, the function can hang indefinitely if no\ntimeout is set. Use WAIT_FOR_EXECUTED_GTID_SET() instead to ensure\ncorrect handling of transactions in these situations.\n\nGTID sets used with WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS() are represented\nas strings and must be quoted in the same way as for\nWAIT_FOR_EXECUTED_GTID_SET(). For WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS(),\nthe return value for the function is an arbitrary positive number. If\nGTID-based replication is not active (that is, if the value of the\ngtid_mode variable is OFF), then this value is undefined and\nWAIT_UNTIL_SQL_THREAD_AFTER_GTIDS() returns NULL. If the slave is not\nrunning then the function also returns NULL.\n\ngtid_mode cannot be changed to OFF while any client is using this\nfunction to wait for GTIDs to be applied.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gtid-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gtid-functions.html'); @@ -660,12 +660,12 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (579,40,'DROP PROCEDURE','Syntax:\nDROP {PROCEDURE | FUNCTION} [IF EXISTS] sp_name\n\nThis statement is used to drop a stored procedure or function. That is,\nthe specified routine is removed from the server. You must have the\nALTER ROUTINE privilege for the routine. (If the\nautomatic_sp_privileges system variable is enabled, that privilege and\nEXECUTE are granted automatically to the routine creator when the\nroutine is created and dropped from the creator when the routine is\ndropped. See\nhttp://dev.mysql.com/doc/refman/5.7/en/stored-routines-privileges.html.\n)\n\nThe IF EXISTS clause is a MySQL extension. It prevents an error from\noccurring if the procedure or function does not exist. A warning is\nproduced that can be viewed with SHOW WARNINGS.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/drop-procedure.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/drop-procedure.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (580,7,'ST_LATFROMGEOHASH','ST_LatFromGeoHash(geohash_str)\n\nReturns the latitude from a geohash string value, as a DOUBLE value in\nthe range [−90, 90].\n\nIf the argument is NULL, the return value is NULL. If the argument is\ninvalid, an error occurs.\n\nThe ST_LatFromGeoHash() decoding function reads no more than 433\ncharacters from the geohash_str argument. That represents the upper\nlimit on information in the internal representation of coordinate\nvalues. Characters past the 433rd are ignored, even if they are\notherwise illegal and produce an error.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-geohash-functions.html\n\n','mysql> SELECT ST_LatFromGeoHash(ST_GeoHash(45,-20,10));\n+------------------------------------------+\n| ST_LatFromGeoHash(ST_GeoHash(45,-20,10)) |\n+------------------------------------------+\n| -20 |\n+------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/spatial-geohash-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (581,7,'ST_GEOMFROMGEOJSON','ST_GeomFromGeoJSON(str [, options [, srid]])\n\nParses a string str representing a GeoJSON object and returns a\ngeometry.\n\nIf any argument is NULL, the return value is NULL. If any non-NULL\nargument is invalid, an error occurs.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-geojson-functions.html\n\n','mysql> SET @json = \'{ "type": "Point", "coordinates": [102.0, 0.0]}\';\nmysql> SELECT ST_AsText(ST_GeomFromGeoJSON(@json));\n+--------------------------------------+\n| ST_AsText(ST_GeomFromGeoJSON(@json)) |\n+--------------------------------------+\n| POINT(102 0) |\n+--------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/spatial-geojson-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (582,5,'INSTALL PLUGIN','Syntax:\nINSTALL PLUGIN plugin_name SONAME \'shared_library_name\'\n\nThis statement installs a server plugin. It requires the INSERT\nprivilege for the mysql.plugin system table.\n\nplugin_name is the name of the plugin as defined in the plugin\ndescriptor structure contained in the library file (see\nhttp://dev.mysql.com/doc/refman/5.7/en/plugin-data-structures.html).\nPlugin names are not case-sensitive. For maximal compatibility, plugin\nnames should be limited to ASCII letters, digits, and underscore\nbecause they are used in C source files, shell command lines, M4 and\nBourne shell scripts, and SQL environments.\n\nshared_library_name is the name of the shared library that contains the\nplugin code. The name includes the file name extension (for example,\nlibmyplugin.so, libmyplugin.dll, or libmyplugin.dylib).\n\nThe shared library must be located in the plugin directory (the\ndirectory named by the plugin_dir system variable). The library must be\nin the plugin directory itself, not in a subdirectory. By default,\nplugin_dir is the plugin directory under the directory named by the\npkglibdir configuration variable, but it can be changed by setting the\nvalue of plugin_dir at server startup. For example, set its value in a\nmy.cnf file:\n\n[mysqld]\nplugin_dir=/path/to/plugin/directory\n\nIf the value of plugin_dir is a relative path name, it is taken to be\nrelative to the MySQL base directory (the value of the basedir system\nvariable).\n\nINSTALL PLUGIN loads and initializes the plugin code to make the plugin\navailable for use. A plugin is initialized by executing its\ninitialization function, which handles any setup that the plugin must\nperform before it can be used. When the server shuts down, it executes\nthe deinitialization function for each plugin that is loaded so that\nthe plugin has a chance to perform any final cleanup.\n\nINSTALL PLUGIN also registers the plugin by adding a line that\nindicates the plugin name and library file name to the mysql.plugin\ntable. At server startup, the server loads and initializes any plugin\nthat is listed in the mysql.plugin table. This means that a plugin is\ninstalled with INSTALL PLUGIN only once, not every time the server\nstarts. Plugin loading at startup does not occur if the server is\nstarted with the --skip-grant-tables option.\n\nA plugin library can contain multiple plugins. For each of them to be\ninstalled, use a separate INSTALL PLUGIN statement. Each statement\nnames a different plugin, but all of them specify the same library\nname.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/install-plugin.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/install-plugin.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (582,5,'INSTALL PLUGIN','Syntax:\nINSTALL PLUGIN plugin_name SONAME \'shared_library_name\'\n\nThis statement installs a server plugin. It requires the INSERT\nprivilege for the mysql.plugin system table.\n\nplugin_name is the name of the plugin as defined in the plugin\ndescriptor structure contained in the library file (see\nhttp://dev.mysql.com/doc/refman/5.7/en/plugin-data-structures.html).\nPlugin names are not case-sensitive. For maximal compatibility, plugin\nnames should be limited to ASCII letters, digits, and underscore\nbecause they are used in C source files, shell command lines, M4 and\nBourne shell scripts, and SQL environments.\n\nshared_library_name is the name of the shared library that contains the\nplugin code. The name includes the file name extension (for example,\nlibmyplugin.so, libmyplugin.dll, or libmyplugin.dylib).\n\nThe shared library must be located in the plugin directory (the\ndirectory named by the plugin_dir system variable). The library must be\nin the plugin directory itself, not in a subdirectory. By default,\nplugin_dir is the plugin directory under the directory named by the\npkglibdir configuration variable, but it can be changed by setting the\nvalue of plugin_dir at server startup. For example, set its value in a\nmy.cnf file:\n\n[mysqld]\nplugin_dir=/path/to/plugin/directory\n\nIf the value of plugin_dir is a relative path name, it is taken to be\nrelative to the MySQL base directory (the value of the basedir system\nvariable).\n\nINSTALL PLUGIN loads and initializes the plugin code to make the plugin\navailable for use. A plugin is initialized by executing its\ninitialization function, which handles any setup that the plugin must\nperform before it can be used. When the server shuts down, it executes\nthe deinitialization function for each plugin that is loaded so that\nthe plugin has a chance to perform any final cleanup.\n\nINSTALL PLUGIN also registers the plugin by adding a line that\nindicates the plugin name and library file name to the mysql.plugin\nsystem table. At server startup, the server loads and initializes any\nplugin that is listed in mysql.plugin. This means that a plugin is\ninstalled with INSTALL PLUGIN only once, not every time the server\nstarts. Plugin loading at startup does not occur if the server is\nstarted with the --skip-grant-tables option.\n\nA plugin library can contain multiple plugins. For each of them to be\ninstalled, use a separate INSTALL PLUGIN statement. Each statement\nnames a different plugin, but all of them specify the same library\nname.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/install-plugin.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/install-plugin.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (583,24,'DECLARE CURSOR','Syntax:\nDECLARE cursor_name CURSOR FOR select_statement\n\nThis statement declares a cursor and associates it with a SELECT\nstatement that retrieves the rows to be traversed by the cursor. To\nfetch the rows later, use a FETCH statement. The number of columns\nretrieved by the SELECT statement must match the number of output\nvariables specified in the FETCH statement.\n\nThe SELECT statement cannot have an INTO clause.\n\nCursor declarations must appear before handler declarations and after\nvariable and condition declarations.\n\nA stored program may contain multiple cursor declarations, but each\ncursor declared in a given block must have a unique name. For an\nexample, see http://dev.mysql.com/doc/refman/5.7/en/cursors.html.\n\nFor information available through SHOW statements, it is possible in\nmany cases to obtain equivalent information by using a cursor with an\nINFORMATION_SCHEMA table.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/declare-cursor.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/declare-cursor.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (584,28,'LOAD DATA','Syntax:\nLOAD DATA [LOW_PRIORITY | CONCURRENT] [LOCAL] INFILE \'file_name\'\n [REPLACE | IGNORE]\n INTO TABLE tbl_name\n [PARTITION (partition_name [, partition_name] ...)]\n [CHARACTER SET charset_name]\n [{FIELDS | COLUMNS}\n [TERMINATED BY \'string\']\n [[OPTIONALLY] ENCLOSED BY \'char\']\n [ESCAPED BY \'char\']\n ]\n [LINES\n [STARTING BY \'string\']\n [TERMINATED BY \'string\']\n ]\n [IGNORE number {LINES | ROWS}]\n [(col_name_or_user_var\n [, col_name_or_user_var] ...)]\n [SET col_name={expr | DEFAULT},\n [, col_name={expr | DEFAULT}] ...]\n\nThe LOAD DATA INFILE statement reads rows from a text file into a table\nat a very high speed. LOAD DATA INFILE is the complement of SELECT ...\nINTO OUTFILE. (See\nhttp://dev.mysql.com/doc/refman/5.7/en/select-into.html.) To write data\nfrom a table to a file, use SELECT ... INTO OUTFILE. To read the file\nback into a table, use LOAD DATA INFILE. The syntax of the FIELDS and\nLINES clauses is the same for both statements. Both clauses are\noptional, but FIELDS must precede LINES if both are specified.\n\nYou can also load data files by using the mysqlimport utility; it\noperates by sending a LOAD DATA INFILE statement to the server. The\n--local option causes mysqlimport to read data files from the client\nhost. You can specify the --compress option to get better performance\nover slow networks if the client and server support the compressed\nprotocol. See http://dev.mysql.com/doc/refman/5.7/en/mysqlimport.html.\n\nFor more information about the efficiency of INSERT versus LOAD DATA\nINFILE and speeding up LOAD DATA INFILE, see\nhttp://dev.mysql.com/doc/refman/5.7/en/insert-optimization.html.\n\nThe file name must be given as a literal string. On Windows, specify\nbackslashes in path names as forward slashes or doubled backslashes.\nThe character_set_filesystem system variable controls the\ninterpretation of the file name.\n\nLOAD DATA supports explicit partition selection using the PARTITION\noption with a list of one or more comma-separated names of partitions,\nsubpartitions, or both. When this option is used, if any rows from the\nfile cannot be inserted into any of the partitions or subpartitions\nnamed in the list, the statement fails with the error Found a row not\nmatching the given partition set. For more information and examples,\nsee http://dev.mysql.com/doc/refman/5.7/en/partitioning-selection.html.\n\nFor partitioned tables using storage engines that employ table locks,\nsuch as MyISAM, LOAD DATA cannot prune any partition locks. This does\nnot apply to tables using storage engines which employ row-level\nlocking, such as InnoDB. For more information, see\nhttp://dev.mysql.com/doc/refman/5.7/en/partitioning-limitations-locking\n.html.\n\nThe server uses the character set indicated by the\ncharacter_set_database system variable to interpret the information in\nthe file. SET NAMES and the setting of character_set_client do not\naffect interpretation of input. If the contents of the input file use a\ncharacter set that differs from the default, it is usually preferable\nto specify the character set of the file by using the CHARACTER SET\nclause. A character set of binary specifies "no conversion."\n\nLOAD DATA INFILE interprets all fields in the file as having the same\ncharacter set, regardless of the data types of the columns into which\nfield values are loaded. For proper interpretation of file contents,\nyou must ensure that it was written with the correct character set. For\nexample, if you write a data file with mysqldump -T or by issuing a\nSELECT ... INTO OUTFILE statement in mysql, be sure to use a\n--default-character-set option so that output is written in the\ncharacter set to be used when the file is loaded with LOAD DATA INFILE.\n\n*Note*:\n\nIt is not possible to load data files that use the ucs2, utf16,\nutf16le, or utf32 character set.\n\nIf you use LOW_PRIORITY, execution of the LOAD DATA statement is\ndelayed until no other clients are reading from the table. This affects\nonly storage engines that use only table-level locking (such as MyISAM,\nMEMORY, and MERGE).\n\nIf you specify CONCURRENT with a MyISAM table that satisfies the\ncondition for concurrent inserts (that is, it contains no free blocks\nin the middle), other threads can retrieve data from the table while\nLOAD DATA is executing. This option affects the performance of LOAD\nDATA a bit, even if no other thread is using the table at the same\ntime.\n\nWith row-based replication, CONCURRENT is replicated regardless of\nMySQL version. With statement-based replication CONCURRENT is not\nreplicated prior to MySQL 5.5.1 (see Bug #34628). For more information,\nsee\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-features-load-data.h\ntml.\n\nThe LOCAL keyword affects expected location of the file and error\nhandling, as described later. LOCAL works only if your server and your\nclient both have been configured to permit it. For example, if mysqld\nwas started with the local_infile system variable disabled, LOCAL does\nnot work. See\nhttp://dev.mysql.com/doc/refman/5.7/en/load-data-local.html.\n\nThe LOCAL keyword affects where the file is expected to be found:\n\no If LOCAL is specified, the file is read by the client program on the\n client host and sent to the server. The file can be given as a full\n path name to specify its exact location. If given as a relative path\n name, the name is interpreted relative to the directory in which the\n client program was started.\n\n When using LOCAL with LOAD DATA, a copy of the file is created in the\n server\'s temporary directory. This is not the directory determined by\n the value of tmpdir or slave_load_tmpdir, but rather the operating\n system\'s temporary directory, and is not configurable in the MySQL\n Server. (Typically the system temporary directory is /tmp on Linux\n systems and C:\\WINDOWS\\TEMP on Windows.) Lack of sufficient space for\n the copy in this directory can cause the LOAD DATA LOCAL statement to\n fail.\n\no If LOCAL is not specified, the file must be located on the server\n host and is read directly by the server. The server uses the\n following rules to locate the file:\n\n o If the file name is an absolute path name, the server uses it as\n given.\n\n o If the file name is a relative path name with one or more leading\n components, the server searches for the file relative to the\n server\'s data directory.\n\n o If a file name with no leading components is given, the server\n looks for the file in the database directory of the default\n database.\n\nIn the non-LOCAL case, these rules mean that a file named as\n./myfile.txt is read from the server\'s data directory, whereas the file\nnamed as myfile.txt is read from the database directory of the default\ndatabase. For example, if db1 is the default database, the following\nLOAD DATA statement reads the file data.txt from the database directory\nfor db1, even though the statement explicitly loads the file into a\ntable in the db2 database:\n\nLOAD DATA INFILE \'data.txt\' INTO TABLE db2.my_table;\n\nNon-LOCAL load operations read text files located on the server. For\nsecurity reasons, such operations require that you have the FILE\nprivilege. See\nhttp://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html. Also,\nnon-LOCAL load operations are subject to the secure_file_priv system\nvariable setting. If the variable value is a nonempty directory name,\nthe file to be loaded must be located in that directory. If the\nvariable value is empty (which is insecure), the file need only be\nreadable by the server.\n\nUsing LOCAL is a bit slower than letting the server access the files\ndirectly, because the contents of the file must be sent over the\nconnection by the client to the server. On the other hand, you do not\nneed the FILE privilege to load local files.\n\nLOCAL also affects error handling:\n\no With LOAD DATA INFILE, data-interpretation and duplicate-key errors\n terminate the operation.\n\no With LOAD DATA LOCAL INFILE, data-interpretation and duplicate-key\n errors become warnings and the operation continues because the server\n has no way to stop transmission of the file in the middle of the\n operation. For duplicate-key errors, this is the same as if IGNORE is\n specified. IGNORE is explained further later in this section.\n\nThe REPLACE and IGNORE keywords control handling of input rows that\nduplicate existing rows on unique key values:\n\no If you specify REPLACE, input rows replace existing rows. In other\n words, rows that have the same value for a primary key or unique\n index as an existing row. See [HELP REPLACE].\n\no If you specify IGNORE, rows that duplicate an existing row on a\n unique key value are discarded. For more information, see\n http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#ignore-strict-co\n mparison.\n\no If you do not specify either option, the behavior depends on whether\n the LOCAL keyword is specified. Without LOCAL, an error occurs when a\n duplicate key value is found, and the rest of the text file is\n ignored. With LOCAL, the default behavior is the same as if IGNORE is\n specified; this is because the server has no way to stop transmission\n of the file in the middle of the operation.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/load-data.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/load-data.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (584,28,'LOAD DATA','Syntax:\nLOAD DATA [LOW_PRIORITY | CONCURRENT] [LOCAL] INFILE \'file_name\'\n [REPLACE | IGNORE]\n INTO TABLE tbl_name\n [PARTITION (partition_name [, partition_name] ...)]\n [CHARACTER SET charset_name]\n [{FIELDS | COLUMNS}\n [TERMINATED BY \'string\']\n [[OPTIONALLY] ENCLOSED BY \'char\']\n [ESCAPED BY \'char\']\n ]\n [LINES\n [STARTING BY \'string\']\n [TERMINATED BY \'string\']\n ]\n [IGNORE number {LINES | ROWS}]\n [(col_name_or_user_var\n [, col_name_or_user_var] ...)]\n [SET col_name={expr | DEFAULT},\n [, col_name={expr | DEFAULT}] ...]\n\nThe LOAD DATA INFILE statement reads rows from a text file into a table\nat a very high speed. LOAD DATA INFILE is the complement of SELECT ...\nINTO OUTFILE. (See\nhttp://dev.mysql.com/doc/refman/5.7/en/select-into.html.) To write data\nfrom a table to a file, use SELECT ... INTO OUTFILE. To read the file\nback into a table, use LOAD DATA INFILE. The syntax of the FIELDS and\nLINES clauses is the same for both statements. Both clauses are\noptional, but FIELDS must precede LINES if both are specified.\n\nYou can also load data files by using the mysqlimport utility; it\noperates by sending a LOAD DATA INFILE statement to the server. The\n--local option causes mysqlimport to read data files from the client\nhost. You can specify the --compress option to get better performance\nover slow networks if the client and server support the compressed\nprotocol. See http://dev.mysql.com/doc/refman/5.7/en/mysqlimport.html.\n\nFor more information about the efficiency of INSERT versus LOAD DATA\nINFILE and speeding up LOAD DATA INFILE, see\nhttp://dev.mysql.com/doc/refman/5.7/en/insert-optimization.html.\n\nThe file name must be given as a literal string. On Windows, specify\nbackslashes in path names as forward slashes or doubled backslashes.\nThe character_set_filesystem system variable controls the\ninterpretation of the file name.\n\nLOAD DATA supports explicit partition selection using the PARTITION\noption with a list of one or more comma-separated names of partitions,\nsubpartitions, or both. When this option is used, if any rows from the\nfile cannot be inserted into any of the partitions or subpartitions\nnamed in the list, the statement fails with the error Found a row not\nmatching the given partition set. For more information and examples,\nsee http://dev.mysql.com/doc/refman/5.7/en/partitioning-selection.html.\n\nFor partitioned tables using storage engines that employ table locks,\nsuch as MyISAM, LOAD DATA cannot prune any partition locks. This does\nnot apply to tables using storage engines which employ row-level\nlocking, such as InnoDB. For more information, see\nhttp://dev.mysql.com/doc/refman/5.7/en/partitioning-limitations-locking\n.html.\n\nThe server uses the character set indicated by the\ncharacter_set_database system variable to interpret the information in\nthe file. SET NAMES and the setting of character_set_client do not\naffect interpretation of input. If the contents of the input file use a\ncharacter set that differs from the default, it is usually preferable\nto specify the character set of the file by using the CHARACTER SET\nclause. A character set of binary specifies "no conversion."\n\nLOAD DATA INFILE interprets all fields in the file as having the same\ncharacter set, regardless of the data types of the columns into which\nfield values are loaded. For proper interpretation of file contents,\nyou must ensure that it was written with the correct character set. For\nexample, if you write a data file with mysqldump -T or by issuing a\nSELECT ... INTO OUTFILE statement in mysql, be sure to use a\n--default-character-set option so that output is written in the\ncharacter set to be used when the file is loaded with LOAD DATA INFILE.\n\n*Note*:\n\nIt is not possible to load data files that use the ucs2, utf16,\nutf16le, or utf32 character set.\n\nIf you use LOW_PRIORITY, execution of the LOAD DATA statement is\ndelayed until no other clients are reading from the table. This affects\nonly storage engines that use only table-level locking (such as MyISAM,\nMEMORY, and MERGE).\n\nIf you specify CONCURRENT with a MyISAM table that satisfies the\ncondition for concurrent inserts (that is, it contains no free blocks\nin the middle), other threads can retrieve data from the table while\nLOAD DATA is executing. This option affects the performance of LOAD\nDATA a bit, even if no other thread is using the table at the same\ntime.\n\nWith row-based replication, CONCURRENT is replicated regardless of\nMySQL version. With statement-based replication CONCURRENT is not\nreplicated prior to MySQL 5.5.1 (see Bug #34628). For more information,\nsee\nhttp://dev.mysql.com/doc/refman/5.7/en/replication-features-load-data.h\ntml.\n\nThe LOCAL keyword affects expected location of the file and error\nhandling, as described later. LOCAL works only if your server and your\nclient both have been configured to permit it. For example, if mysqld\nwas started with the local_infile system variable disabled, LOCAL does\nnot work. See\nhttp://dev.mysql.com/doc/refman/5.7/en/load-data-local.html.\n\nThe LOCAL keyword affects where the file is expected to be found:\n\no If LOCAL is specified, the file is read by the client program on the\n client host and sent to the server. The file can be given as a full\n path name to specify its exact location. If given as a relative path\n name, the name is interpreted relative to the directory in which the\n client program was started.\n\n When using LOCAL with LOAD DATA, a copy of the file is created in the\n directory where the MySQL server stores temporary files. See\n http://dev.mysql.com/doc/refman/5.7/en/temporary-files.html. Lack of\n sufficient space for the copy in this directory can cause the LOAD\n DATA LOCAL statement to fail.\n\no If LOCAL is not specified, the file must be located on the server\n host and is read directly by the server. The server uses the\n following rules to locate the file:\n\n o If the file name is an absolute path name, the server uses it as\n given.\n\n o If the file name is a relative path name with one or more leading\n components, the server searches for the file relative to the\n server\'s data directory.\n\n o If a file name with no leading components is given, the server\n looks for the file in the database directory of the default\n database.\n\nIn the non-LOCAL case, these rules mean that a file named as\n./myfile.txt is read from the server\'s data directory, whereas the file\nnamed as myfile.txt is read from the database directory of the default\ndatabase. For example, if db1 is the default database, the following\nLOAD DATA statement reads the file data.txt from the database directory\nfor db1, even though the statement explicitly loads the file into a\ntable in the db2 database:\n\nLOAD DATA INFILE \'data.txt\' INTO TABLE db2.my_table;\n\nNon-LOCAL load operations read text files located on the server. For\nsecurity reasons, such operations require that you have the FILE\nprivilege. See\nhttp://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html. Also,\nnon-LOCAL load operations are subject to the secure_file_priv system\nvariable setting. If the variable value is a nonempty directory name,\nthe file to be loaded must be located in that directory. If the\nvariable value is empty (which is insecure), the file need only be\nreadable by the server.\n\nUsing LOCAL is a bit slower than letting the server access the files\ndirectly, because the contents of the file must be sent over the\nconnection by the client to the server. On the other hand, you do not\nneed the FILE privilege to load local files.\n\nLOCAL also affects error handling:\n\no With LOAD DATA INFILE, data-interpretation and duplicate-key errors\n terminate the operation.\n\no With LOAD DATA LOCAL INFILE, data-interpretation and duplicate-key\n errors become warnings and the operation continues because the server\n has no way to stop transmission of the file in the middle of the\n operation. For duplicate-key errors, this is the same as if IGNORE is\n specified. IGNORE is explained further later in this section.\n\nThe REPLACE and IGNORE keywords control handling of input rows that\nduplicate existing rows on unique key values:\n\no If you specify REPLACE, input rows replace existing rows. In other\n words, rows that have the same value for a primary key or unique\n index as an existing row. See [HELP REPLACE].\n\no If you specify IGNORE, rows that duplicate an existing row on a\n unique key value are discarded. For more information, see\n http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#ignore-strict-co\n mparison.\n\no If you do not specify either option, the behavior depends on whether\n the LOCAL keyword is specified. Without LOCAL, an error occurs when a\n duplicate key value is found, and the rest of the text file is\n ignored. With LOCAL, the default behavior is the same as if IGNORE is\n specified; this is because the server has no way to stop transmission\n of the file in the middle of the operation.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/load-data.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/load-data.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (585,32,'LOCALTIME','Syntax:\nLOCALTIME, LOCALTIME([fsp])\n\nLOCALTIME and LOCALTIME() are synonyms for NOW().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (586,33,'ST_GEOMFROMWKB','ST_GeomFromWKB(wkb[, srid]), ST_GeometryFromWKB(wkb[, srid])\n\nConstructs a geometry value of any type using its WKB representation\nand SRID.\n\nThe result is NULL if the WKB or SRID argument is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (587,12,'SHA1','Syntax:\nSHA1(str), SHA(str)\n\nCalculates an SHA-1 160-bit checksum for the string, as described in\nRFC 3174 (Secure Hash Algorithm). The value is returned as a string of\n40 hexadecimal digits, or NULL if the argument was NULL. One of the\npossible uses for this function is as a hash key. See the notes at the\nbeginning of this section about storing hash values efficiently. You\ncan also use SHA1() as a cryptographic function for storing passwords.\nSHA() is synonymous with SHA1().\n\nThe return value is a string in the connection character set.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html\n\n','mysql> SELECT SHA1(\'abc\');\n -> \'a9993e364706816aba3e25717850c26c9cd0d89d\'\n','http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (587,12,'SHA1','Syntax:\nSHA1(str), SHA(str)\n\nCalculates an SHA-1 160-bit checksum for the string, as described in\nRFC 3174 (Secure Hash Algorithm). The value is returned as a string of\n40 hexadecimal digits, or NULL if the argument was NULL. One of the\npossible uses for this function is as a hash key. See the notes at the\nbeginning of this section about storing hash values efficiently. SHA()\nis synonymous with SHA1().\n\nThe return value is a string in the connection character set.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html\n\n','mysql> SELECT SHA1(\'abc\');\n -> \'a9993e364706816aba3e25717850c26c9cd0d89d\'\n','http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (588,23,'BLOB','BLOB[(M)]\n\nA BLOB column with a maximum length of 65,535 (216 − 1) bytes. Each\nBLOB value is stored using a 2-byte length prefix that indicates the\nnumber of bytes in the value.\n\nAn optional length M can be given for this type. If this is done, MySQL\ncreates the column as the smallest BLOB type large enough to hold\nvalues M bytes long.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-type-overview.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/string-type-overview.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (589,12,'PASSWORD','Syntax:\nPASSWORD(str)\n\n*Note*:\n\nThis function is deprecated as of MySQL 5.7.6 and will be removed in a\nfuture MySQL release.\n\nReturns a hashed password string calculated from the cleartext password\nstr. The return value is a string in the connection character set, or\nNULL if the argument is NULL. This function is the SQL interface to the\nalgorithm used by the server to encrypt MySQL passwords for storage in\nthe mysql.user grant table.\n\nThe old_passwords system variable controls the password hashing method\nused by the PASSWORD() function. It also influences password hashing\nperformed by CREATE USER and GRANT statements that specify a password\nusing an IDENTIFIED BY clause.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (590,32,'UTC_DATE','Syntax:\nUTC_DATE, UTC_DATE()\n\nReturns the current UTC date as a value in \'YYYY-MM-DD\' or YYYYMMDD\nformat, depending on whether the function is used in a string or\nnumeric context.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT UTC_DATE(), UTC_DATE() + 0;\n -> \'2003-08-14\', 20030814\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); @@ -673,16 +673,16 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (592,23,'BIT','BIT[(M)]\n\nA bit-value type. M indicates the number of bits per value, from 1 to\n64. The default is 1 if M is omitted.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/numeric-type-overview.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/numeric-type-overview.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (593,8,'XA','Syntax:\nXA {START|BEGIN} xid [JOIN|RESUME]\n\nXA END xid [SUSPEND [FOR MIGRATE]]\n\nXA PREPARE xid\n\nXA COMMIT xid [ONE PHASE]\n\nXA ROLLBACK xid\n\nXA RECOVER [CONVERT XID]\n\nFor XA START, the JOIN and RESUME clauses are not supported.\n\nFor XA END the SUSPEND [FOR MIGRATE] clause is not supported.\n\nEach XA statement begins with the XA keyword, and most of them require\nan xid value. An xid is an XA transaction identifier. It indicates\nwhich transaction the statement applies to. xid values are supplied by\nthe client, or generated by the MySQL server. An xid value has from one\nto three parts:\n\nxid: gtrid [, bqual [, formatID ]]\n\ngtrid is a global transaction identifier, bqual is a branch qualifier,\nand formatID is a number that identifies the format used by the gtrid\nand bqual values. As indicated by the syntax, bqual and formatID are\noptional. The default bqual value is \'\' if not given. The default\nformatID value is 1 if not given.\n\ngtrid and bqual must be string literals, each up to 64 bytes (not\ncharacters) long. gtrid and bqual can be specified in several ways. You\ncan use a quoted string (\'ab\'), hex string (X\'6162\', 0x6162), or bit\nvalue (b\'nnnn\').\n\nformatID is an unsigned integer.\n\nThe gtrid and bqual values are interpreted in bytes by the MySQL\nserver\'s underlying XA support routines. However, while an SQL\nstatement containing an XA statement is being parsed, the server works\nwith some specific character set. To be safe, write gtrid and bqual as\nhex strings.\n\nxid values typically are generated by the Transaction Manager. Values\ngenerated by one TM must be different from values generated by other\nTMs. A given TM must be able to recognize its own xid values in a list\nof values returned by the XA RECOVER statement.\n\nXA START xid starts an XA transaction with the given xid value. Each XA\ntransaction must have a unique xid value, so the value must not\ncurrently be used by another XA transaction. Uniqueness is assessed\nusing the gtrid and bqual values. All following XA statements for the\nXA transaction must be specified using the same xid value as that given\nin the XA START statement. If you use any of those statements but\nspecify an xid value that does not correspond to some existing XA\ntransaction, an error occurs.\n\nOne or more XA transactions can be part of the same global transaction.\nAll XA transactions within a given global transaction must use the same\ngtrid value in the xid value. For this reason, gtrid values must be\nglobally unique so that there is no ambiguity about which global\ntransaction a given XA transaction is part of. The bqual part of the\nxid value must be different for each XA transaction within a global\ntransaction. (The requirement that bqual values be different is a\nlimitation of the current MySQL XA implementation. It is not part of\nthe XA specification.)\n\nThe XA RECOVER statement returns information for those XA transactions\non the MySQL server that are in the PREPARED state. (See\nhttp://dev.mysql.com/doc/refman/5.7/en/xa-states.html.) The output\nincludes a row for each such XA transaction on the server, regardless\nof which client started it.\n\nXA RECOVER output rows look like this (for an example xid value\nconsisting of the parts \'abc\', \'def\', and 7):\n\nmysql> XA RECOVER;\n+----------+--------------+--------------+--------+\n| formatID | gtrid_length | bqual_length | data |\n+----------+--------------+--------------+--------+\n| 7 | 3 | 3 | abcdef |\n+----------+--------------+--------------+--------+\n\nThe output columns have the following meanings:\n\no formatID is the formatID part of the transaction xid\n\no gtrid_length is the length in bytes of the gtrid part of the xid\n\no bqual_length is the length in bytes of the bqual part of the xid\n\no data is the concatenation of the gtrid and bqual parts of the xid\n\nXID values may contain nonprintable characters. As of MySQL 5.7.5, XA\nRECOVER permits an optional CONVERT XID clause so that clients can\nrequest XID values in hexadecimal.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/xa-statements.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/xa-statements.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (594,7,'EQUALS','Equals(g1, g2)\n\nMBREquals() and Equals() are synonyms. For more information, see the\ndescription of MBREquals().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-mbr.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions-mbr.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (595,2,'CENTROID','Centroid(mpoly)\n\nST_Centroid() and Centroid() are synonyms. For more information, see\nthe description of ST_Centroid().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (595,2,'CENTROID','Centroid({poly|mpoly})\n\nST_Centroid() and Centroid() are synonyms. For more information, see\nthe description of ST_Centroid().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (596,38,'OCTET_LENGTH','Syntax:\nOCTET_LENGTH(str)\n\nOCTET_LENGTH() is a synonym for LENGTH().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/string-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (597,32,'UTC_TIMESTAMP','Syntax:\nUTC_TIMESTAMP, UTC_TIMESTAMP([fsp])\n\nReturns the current UTC date and time as a value in \'YYYY-MM-DD\nHH:MM:SS\' or YYYYMMDDHHMMSS format, depending on whether the function\nis used in a string or numeric context.\n\nIf the fsp argument is given to specify a fractional seconds precision\nfrom 0 to 6, the return value includes a fractional seconds part of\nthat many digits.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT UTC_TIMESTAMP(), UTC_TIMESTAMP() + 0;\n -> \'2003-08-14 18:08:04\', 20030814180804.000000\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (598,12,'AES_ENCRYPT','Syntax:\nAES_ENCRYPT(str,key_str[,init_vector])\n\nAES_ENCRYPT() and AES_DECRYPT() implement encryption and decryption of\ndata using the official AES (Advanced Encryption Standard) algorithm,\npreviously known as "Rijndael." The AES standard permits various key\nlengths. By default these functions implement AES with a 128-bit key\nlength. As of MySQL 5.7.4, key lengths of 196 or 256 bits can be used,\nas described later. The key length is a trade off between performance\nand security.\n\nAES_ENCRYPT() encrypts the string str using the key string key_str and\nreturns a binary string containing the encrypted output. AES_DECRYPT()\ndecrypts the encrypted string crypt_str using the key string key_str\nand returns the original cleartext string. If either function argument\nis NULL, the function returns NULL.\n\nThe str and crypt_str arguments can be any length, and padding is\nautomatically added to str so it is a multiple of a block as required\nby block-based algorithms such as AES. This padding is automatically\nremoved by the AES_DECRYPT() function. The length of crypt_str can be\ncalculated using this formula:\n\n16 * (trunc(string_length / 16) + 1)\n\nFor a key length of 128 bits, the most secure way to pass a key to the\nkey_str argument is to create a truly random 128-bit value and pass it\nas a binary value. For example:\n\nINSERT INTO t\nVALUES (1,AES_ENCRYPT(\'text\',UNHEX(\'F3229A0B371ED2D9441B830D21A390C3\')));\n\nA passphrase can be used to generate an AES key by hashing the\npassphrase. For example:\n\nINSERT INTO t\nVALUES (1,AES_ENCRYPT(\'text\', UNHEX(SHA2(\'My secret passphrase\',512))));\n\nDo not pass a password or passphrase directly to crypt_str, hash it\nfirst. Previous versions of this documentation suggested the former\napproach, but it is no longer recommended as the examples shown here\nare more secure.\n\nIf AES_DECRYPT() detects invalid data or incorrect padding, it returns\nNULL. However, it is possible for AES_DECRYPT() to return a non-NULL\nvalue (possibly garbage) if the input data or the key is invalid.\n\nAs of MySQL 5.7.4, AES_ENCRYPT() and AES_DECRYPT() permit control of\nthe block encryption mode and take an optional init_vector\ninitialization vector argument:\n\no The block_encryption_mode system variable controls the mode for\n block-based encryption algorithms. Its default value is aes-128-ecb,\n which signifies encryption using a key length of 128 bits and ECB\n mode. For a description of the permitted values of this variable, see\n http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html.\n\no The optional init_vector argument provides an initialization vector\n for block encryption modes that require it.\n\nFor modes that require the optional init_vector argument, it must be 16\nbytes or longer (bytes in excess of 16 are ignored). An error occurs if\ninit_vector is missing.\n\nFor modes that do not require init_vector, it is ignored and a warning\nis generated if it is specified.\n\nA random string of bytes to use for the initialization vector can be\nproduced by calling RANDOM_BYTES(16). For encryption modes that require\nan initialization vector, the same vector must be used for encryption\nand decryption.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html\n\n','mysql> SET block_encryption_mode = \'aes-256-cbc\';\nmysql> SET @key_str = SHA2(\'My secret passphrase\',512);\nmysql> SET @init_vector = RANDOM_BYTES(16);\nmysql> SET @crypt_str = AES_ENCRYPT(\'text\',@key_str,@init_vector);\nmysql> SELECT AES_DECRYPT(@crypt_str,@key_str,@init_vector);\n+-----------------------------------------------+\n| AES_DECRYPT(@crypt_str,@key_str,@init_vector) |\n+-----------------------------------------------+\n| text |\n+-----------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (599,3,'+','Syntax:\n+\n\nAddition:\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/arithmetic-functions.html\n\n','mysql> SELECT 3+5;\n -> 8\n','http://dev.mysql.com/doc/refman/5.7/en/arithmetic-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (600,7,'GTID_SUBTRACT','Syntax:\nGTID_SUBTRACT(set,subset)\n\nGiven two sets of global transaction IDs subset and set, returns only\nthose GTIDs from set that are not in subset.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gtid-functions.html\n\n','mysql> SELECT GTID_SUBTRACT(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\',\n -> \'3E11FA47-71CA-11E1-9E33-C80AA9429562:21\')\\G\n*************************** 1. row ***************************\nGTID_SUBTRACT(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\',\n \'3E11FA47-71CA-11E1-9E33-C80AA9429562:21\'): 3e11fa47-71ca-11e1-9e33-c80aa9429562:22-57\n1 row in set (0.00 sec)\n\nmysql> SELECT GTID_SUBTRACT(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\',\n -> \'3E11FA47-71CA-11E1-9E33-C80AA9429562:20-25\')\\G\n*************************** 1. row ***************************\nGTID_SUBTRACT(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\',\n \'3E11FA47-71CA-11E1-9E33-C80AA9429562:20-25\'): 3e11fa47-71ca-11e1-9e33-c80aa9429562:26-57\n1 row in set (0.00 sec)\n\nmysql> SELECT GTID_SUBTRACT(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\',\n -> \'3E11FA47-71CA-11E1-9E33-C80AA9429562:23-24\')\\G\n*************************** 1. row ***************************\nGTID_SUBTRACT(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\',\n \'3E11FA47-71CA-11E1-9E33-C80AA9429562:23-24\'): 3e11fa47-71ca-11e1-9e33-c80aa9429562:21-22:25-57\n1 row in set (0.01 sec)\n','http://dev.mysql.com/doc/refman/5.7/en/gtid-functions.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (600,7,'GTID_SUBTRACT','Syntax:\nGTID_SUBTRACT(set1,set2)\n\nGiven two sets of global transaction IDs set1 and set2, returns only\nthose GTIDs from set1 that are not in set2.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gtid-functions.html\n\n','mysql> SELECT GTID_SUBTRACT(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\',\n -> \'3E11FA47-71CA-11E1-9E33-C80AA9429562:21\')\\G\n*************************** 1. row ***************************\nGTID_SUBTRACT(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\',\n \'3E11FA47-71CA-11E1-9E33-C80AA9429562:21\'): 3e11fa47-71ca-11e1-9e33-c80aa9429562:22-57\n1 row in set (0.00 sec)\n\nmysql> SELECT GTID_SUBTRACT(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\',\n -> \'3E11FA47-71CA-11E1-9E33-C80AA9429562:20-25\')\\G\n*************************** 1. row ***************************\nGTID_SUBTRACT(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\',\n \'3E11FA47-71CA-11E1-9E33-C80AA9429562:20-25\'): 3e11fa47-71ca-11e1-9e33-c80aa9429562:26-57\n1 row in set (0.00 sec)\n\nmysql> SELECT GTID_SUBTRACT(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\',\n -> \'3E11FA47-71CA-11E1-9E33-C80AA9429562:23-24\')\\G\n*************************** 1. row ***************************\nGTID_SUBTRACT(\'3E11FA47-71CA-11E1-9E33-C80AA9429562:21-57\',\n \'3E11FA47-71CA-11E1-9E33-C80AA9429562:23-24\'): 3e11fa47-71ca-11e1-9e33-c80aa9429562:21-22:25-57\n1 row in set (0.01 sec)\n','http://dev.mysql.com/doc/refman/5.7/en/gtid-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (601,14,'INET_NTOA','Syntax:\nINET_NTOA(expr)\n\nGiven a numeric IPv4 network address in network byte order, returns the\ndotted-quad string representation of the address as a string in the\nconnection character set. INET_NTOA() returns NULL if it does not\nunderstand its argument.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html\n\n','mysql> SELECT INET_NTOA(167773449);\n -> \'10.0.5.9\'\n','http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (602,32,'DAYOFWEEK','Syntax:\nDAYOFWEEK(date)\n\nReturns the weekday index for date (1 = Sunday, 2 = Monday, ..., 7 =\nSaturday). These index values correspond to the ODBC standard.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html\n\n','mysql> SELECT DAYOFWEEK(\'2007-02-03\');\n -> 7\n','http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (603,3,'CEILING','Syntax:\nCEILING(X)\n\nReturns the smallest integer value not less than X.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html\n\n','mysql> SELECT CEILING(1.23);\n -> 2\nmysql> SELECT CEILING(-1.23);\n -> -1\n','http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (604,27,'SHOW PROCESSLIST','Syntax:\nSHOW [FULL] PROCESSLIST\n\nSHOW PROCESSLIST shows you which threads are running. You can also get\nthis information from the INFORMATION_SCHEMA PROCESSLIST table or the\nmysqladmin processlist command. If you have the PROCESS privilege, you\ncan see all threads. Otherwise, you can see only your own threads (that\nis, threads associated with the MySQL account that you are using). If\nyou do not use the FULL keyword, only the first 100 characters of each\nstatement are shown in the Info field.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-processlist.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-processlist.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (604,27,'SHOW PROCESSLIST','Syntax:\nSHOW [FULL] PROCESSLIST\n\nSHOW PROCESSLIST shows which threads are running. If you have the\nPROCESS privilege, you can see all threads. Otherwise, you can see only\nyour own threads (that is, threads associated with the MySQL account\nthat you are using). If you do not use the FULL keyword, only the first\n100 characters of each statement are shown in the Info field.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/show-processlist.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/show-processlist.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (605,33,'LINEFROMWKB','LineFromWKB(wkb[, srid]), LineStringFromWKB(wkb[, srid])\n\nST_LineFromWKB(), ST_LineStringFromWKB(), LineFromWKB(), and\nLineStringFromWKB() are synonyms. For more information, see the\ndescription of ST_LineFromWKB().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (606,37,'GEOMETRYTYPE','GeometryType(g)\n\nST_GeometryType() and GeometryType() are synonyms. For more\ninformation, see the description of ST_GeometryType().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-general-property-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-general-property-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (607,40,'CREATE VIEW','Syntax:\nCREATE\n [OR REPLACE]\n [ALGORITHM = {UNDEFINED | MERGE | TEMPTABLE}]\n [DEFINER = { user | CURRENT_USER }]\n [SQL SECURITY { DEFINER | INVOKER }]\n VIEW view_name [(column_list)]\n AS select_statement\n [WITH [CASCADED | LOCAL] CHECK OPTION]\n\nThe CREATE VIEW statement creates a new view, or replaces an existing\nview if the OR REPLACE clause is given. If the view does not exist,\nCREATE OR REPLACE VIEW is the same as CREATE VIEW. If the view does\nexist, CREATE OR REPLACE VIEW replaces it.\n\nFor information about restrictions on view use, see\nhttp://dev.mysql.com/doc/refman/5.7/en/view-restrictions.html.\n\nThe select_statement is a SELECT statement that provides the definition\nof the view. (Selecting from the view selects, in effect, using the\nSELECT statement.) The select_statement can select from base tables or\nother views.\n\nThe view definition is "frozen" at creation time and is not affected by\nsubsequent changes to the definitions of the underlying tables. For\nexample, if a view is defined as SELECT * on a table, new columns added\nto the table later do not become part of the view, and columns dropped\nfrom the table will result in an error when selecting from the view.\n\nThe ALGORITHM clause affects how MySQL processes the view. The DEFINER\nand SQL SECURITY clauses specify the security context to be used when\nchecking access privileges at view invocation time. The WITH CHECK\nOPTION clause can be given to constrain inserts or updates to rows in\ntables referenced by the view. These clauses are described later in\nthis section.\n\nThe CREATE VIEW statement requires the CREATE VIEW privilege for the\nview, and some privilege for each column selected by the SELECT\nstatement. For columns used elsewhere in the SELECT statement, you must\nhave the SELECT privilege. If the OR REPLACE clause is present, you\nmust also have the DROP privilege for the view. CREATE VIEW might also\nrequire the SUPER privilege, depending on the DEFINER value, as\ndescribed later in this section.\n\nWhen a view is referenced, privilege checking occurs as described later\nin this section.\n\nA view belongs to a database. By default, a new view is created in the\ndefault database. To create the view explicitly in a given database,\nuse db_name.view_name syntax to qualify the view name with the database\nname:\n\nCREATE VIEW test.v AS SELECT * FROM t;\n\nUnqualified table or view names in the SELECT statement are also\ninterpreted with respect to the default database. A view can refer to\ntables or views in other databases by qualifying the table or view name\nwith the appropriate database name.\n\nWithin a database, base tables and views share the same namespace, so a\nbase table and a view cannot have the same name.\n\nColumns retrieved by the SELECT statement can be simple references to\ntable columns, or expressions that use functions, constant values,\noperators, and so forth.\n\nA view must have unique column names with no duplicates, just like a\nbase table. By default, the names of the columns retrieved by the\nSELECT statement are used for the view column names. To define explicit\nnames for the view columns, specify the optional column_list clause as\na list of comma-separated identifiers. The number of names in\ncolumn_list must be the same as the number of columns retrieved by the\nSELECT statement.\n\nA view can be created from many kinds of SELECT statements. It can\nrefer to base tables or other views. It can use joins, UNION, and\nsubqueries. The SELECT need not even refer to any tables:\n\nCREATE VIEW v_today (today) AS SELECT CURRENT_DATE;\n\nThe following example defines a view that selects two columns from\nanother table as well as an expression calculated from those columns:\n\nmysql> CREATE TABLE t (qty INT, price INT);\nmysql> INSERT INTO t VALUES(3, 50);\nmysql> CREATE VIEW v AS SELECT qty, price, qty*price AS value FROM t;\nmysql> SELECT * FROM v;\n+------+-------+-------+\n| qty | price | value |\n+------+-------+-------+\n| 3 | 50 | 150 |\n+------+-------+-------+\n\nA view definition is subject to the following restrictions:\n\no The SELECT statement cannot refer to system variables or user-defined\n variables.\n\no Within a stored program, the SELECT statement cannot refer to program\n parameters or local variables.\n\no The SELECT statement cannot refer to prepared statement parameters.\n\no Any table or view referred to in the definition must exist. If, after\n the view has been created, a table or view that the definition refers\n to is dropped, use of the view results in an error. To check a view\n definition for problems of this kind, use the CHECK TABLE statement.\n\no The definition cannot refer to a TEMPORARY table, and you cannot\n create a TEMPORARY view.\n\no You cannot associate a trigger with a view.\n\no Aliases for column names in the SELECT statement are checked against\n the maximum column length of 64 characters (not the maximum alias\n length of 256 characters).\n\nORDER BY is permitted in a view definition, but it is ignored if you\nselect from a view using a statement that has its own ORDER BY.\n\nFor other options or clauses in the definition, they are added to the\noptions or clauses of the statement that references the view, but the\neffect is undefined. For example, if a view definition includes a LIMIT\nclause, and you select from the view using a statement that has its own\nLIMIT clause, it is undefined which limit applies. This same principle\napplies to options such as ALL, DISTINCT, or SQL_SMALL_RESULT that\nfollow the SELECT keyword, and to clauses such as INTO, FOR UPDATE,\nLOCK IN SHARE MODE, and PROCEDURE.\n\nThe results obtained from a view may be affected if you change the\nquery processing environment by changing system variables:\n\nmysql> CREATE VIEW v (mycol) AS SELECT \'abc\';\nQuery OK, 0 rows affected (0.01 sec)\n\nmysql> SET sql_mode = \'\';\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> SELECT "mycol" FROM v;\n+-------+\n| mycol |\n+-------+\n| mycol |\n+-------+\n1 row in set (0.01 sec)\n\nmysql> SET sql_mode = \'ANSI_QUOTES\';\nQuery OK, 0 rows affected (0.00 sec)\n\nmysql> SELECT "mycol" FROM v;\n+-------+\n| mycol |\n+-------+\n| abc |\n+-------+\n1 row in set (0.00 sec)\n\nThe DEFINER and SQL SECURITY clauses determine which MySQL account to\nuse when checking access privileges for the view when a statement is\nexecuted that references the view. The valid SQL SECURITY\ncharacteristic values are DEFINER (the default) and INVOKER. These\nindicate that the required privileges must be held by the user who\ndefined or invoked the view, respectively.\n\nIf a user value is given for the DEFINER clause, it should be a MySQL\naccount specified as \'user_name\'@\'host_name\', CURRENT_USER, or\nCURRENT_USER(). The default DEFINER value is the user who executes the\nCREATE VIEW statement. This is the same as specifying DEFINER =\nCURRENT_USER explicitly.\n\nIf the DEFINER clause is present, these rules determine the valid\nDEFINER user values:\n\no If you do not have the SUPER privilege, the only valid user value is\n your own account, either specified literally or by using\n CURRENT_USER. You cannot set the definer to some other account.\n\no If you have the SUPER privilege, you can specify any syntactically\n valid account name. If the account does not exist, a warning is\n generated.\n\no Although it is possible to create a view with a nonexistent DEFINER\n account, an error occurs when the view is referenced if the SQL\n SECURITY value is DEFINER but the definer account does not exist.\n\nFor more information about view security, see\nhttp://dev.mysql.com/doc/refman/5.7/en/stored-programs-security.html.\n\nWithin a view definition, CURRENT_USER returns the view\'s DEFINER value\nby default. For views defined with the SQL SECURITY INVOKER\ncharacteristic, CURRENT_USER returns the account for the view\'s\ninvoker. For information about user auditing within views, see\nhttp://dev.mysql.com/doc/refman/5.7/en/account-activity-auditing.html.\n\nWithin a stored routine that is defined with the SQL SECURITY DEFINER\ncharacteristic, CURRENT_USER returns the routine\'s DEFINER value. This\nalso affects a view defined within such a routine, if the view\ndefinition contains a DEFINER value of CURRENT_USER.\n\nMySQL checks view privileges like this:\n\no At view definition time, the view creator must have the privileges\n needed to use the top-level objects accessed by the view. For\n example, if the view definition refers to table columns, the creator\n must have some privilege for each column in the select list of the\n definition, and the SELECT privilege for each column used elsewhere\n in the definition. If the definition refers to a stored function,\n only the privileges needed to invoke the function can be checked. The\n privileges required at function invocation time can be checked only\n as it executes: For different invocations, different execution paths\n within the function might be taken.\n\no The user who references a view must have appropriate privileges to\n access it (SELECT to select from it, INSERT to insert into it, and so\n forth.)\n\no When a view has been referenced, privileges for objects accessed by\n the view are checked against the privileges held by the view DEFINER\n account or invoker, depending on whether the SQL SECURITY\n characteristic is DEFINER or INVOKER, respectively.\n\no If reference to a view causes execution of a stored function,\n privilege checking for statements executed within the function depend\n on whether the function SQL SECURITY characteristic is DEFINER or\n INVOKER. If the security characteristic is DEFINER, the function runs\n with the privileges of the DEFINER account. If the characteristic is\n INVOKER, the function runs with the privileges determined by the\n view\'s SQL SECURITY characteristic.\n\nExample: A view might depend on a stored function, and that function\nmight invoke other stored routines. For example, the following view\ninvokes a stored function f():\n\nCREATE VIEW v AS SELECT * FROM t WHERE t.id = f(t.name);\n\nSuppose that f() contains a statement such as this:\n\nIF name IS NULL then\n CALL p1();\nELSE\n CALL p2();\nEND IF;\n\nThe privileges required for executing statements within f() need to be\nchecked when f() executes. This might mean that privileges are needed\nfor p1() or p2(), depending on the execution path within f(). Those\nprivileges must be checked at runtime, and the user who must possess\nthe privileges is determined by the SQL SECURITY values of the view v\nand the function f().\n\nThe DEFINER and SQL SECURITY clauses for views are extensions to\nstandard SQL. In standard SQL, views are handled using the rules for\nSQL SECURITY DEFINER. The standard says that the definer of the view,\nwhich is the same as the owner of the view\'s schema, gets applicable\nprivileges on the view (for example, SELECT) and may grant them. MySQL\nhas no concept of a schema "owner", so MySQL adds a clause to identify\nthe definer. The DEFINER clause is an extension where the intent is to\nhave what the standard has; that is, a permanent record of who defined\nthe view. This is why the default DEFINER value is the account of the\nview creator.\n\nThe optional ALGORITHM clause is a MySQL extension to standard SQL. It\naffects how MySQL processes the view. ALGORITHM takes three values:\nMERGE, TEMPTABLE, or UNDEFINED. For more information, see\nhttp://dev.mysql.com/doc/refman/5.7/en/view-algorithms.html, as well as\nhttp://dev.mysql.com/doc/refman/5.7/en/derived-table-optimization.html.\n\nSome views are updatable. That is, you can use them in statements such\nas UPDATE, DELETE, or INSERT to update the contents of the underlying\ntable. For a view to be updatable, there must be a one-to-one\nrelationship between the rows in the view and the rows in the\nunderlying table. There are also certain other constructs that make a\nview nonupdatable.\n\nA generated column in a view is considered updatable because it is\npossible to assign to it. However, if such a column is updated\nexplicitly, the only permitted value is DEFAULT. For information about\ngenerated columns, see\nhttp://dev.mysql.com/doc/refman/5.7/en/create-table-generated-columns.h\ntml.\n\nThe WITH CHECK OPTION clause can be given for an updatable view to\nprevent inserts or updates to rows except those for which the WHERE\nclause in the select_statement is true.\n\nIn a WITH CHECK OPTION clause for an updatable view, the LOCAL and\nCASCADED keywords determine the scope of check testing when the view is\ndefined in terms of another view. The LOCAL keyword restricts the CHECK\nOPTION only to the view being defined. CASCADED causes the checks for\nunderlying views to be evaluated as well. When neither keyword is\ngiven, the default is CASCADED.\n\nFor more information about updatable views and the WITH CHECK OPTION\nclause, see\nhttp://dev.mysql.com/doc/refman/5.7/en/view-updatability.html, and\nhttp://dev.mysql.com/doc/refman/5.7/en/view-check-option.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-view.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/create-view.html'); @@ -694,14 +694,14 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (613,7,'JSON_DEPTH','Syntax:\nJSON_DEPTH(json_doc)\n\nReturns the maximum depth of a JSON document. Returns NULL if the\nargument is NULL. An error occurs if the argument is not a valid JSON\ndocument.\n\nAn empty array, empty object, or scalar value has depth 1. A nonempty\narray containing only elements of depth 1 or nonempty object containing\nonly member values of depth 1 has depth 2. Otherwise, a JSON document\nhas depth greater than 2.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/json-attribute-functions.html\n\n','mysql> SELECT JSON_DEPTH(\'{}\'), JSON_DEPTH(\'[]\'), JSON_DEPTH(\'true\');\n+------------------+------------------+--------------------+\n| JSON_DEPTH(\'{}\') | JSON_DEPTH(\'[]\') | JSON_DEPTH(\'true\') |\n+------------------+------------------+--------------------+\n| 1 | 1 | 1 |\n+------------------+------------------+--------------------+\nmysql> SELECT JSON_DEPTH(\'[10, 20]\'), JSON_DEPTH(\'[[], {}]\');\n+------------------------+------------------------+\n| JSON_DEPTH(\'[10, 20]\') | JSON_DEPTH(\'[[], {}]\') |\n+------------------------+------------------------+\n| 2 | 2 |\n+------------------------+------------------------+\nmysql> SELECT JSON_DEPTH(\'[10, {"a": 20}]\');\n+-------------------------------+\n| JSON_DEPTH(\'[10, {"a": 20}]\') |\n+-------------------------------+\n| 3 |\n+-------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/json-attribute-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (614,24,'LABELS','Syntax:\n[begin_label:] BEGIN\n [statement_list]\nEND [end_label]\n\n[begin_label:] LOOP\n statement_list\nEND LOOP [end_label]\n\n[begin_label:] REPEAT\n statement_list\nUNTIL search_condition\nEND REPEAT [end_label]\n\n[begin_label:] WHILE search_condition DO\n statement_list\nEND WHILE [end_label]\n\nLabels are permitted for BEGIN ... END blocks and for the LOOP, REPEAT,\nand WHILE statements. Label use for those statements follows these\nrules:\n\no begin_label must be followed by a colon.\n\no begin_label can be given without end_label. If end_label is present,\n it must be the same as begin_label.\n\no end_label cannot be given without begin_label.\n\no Labels at the same nesting level must be distinct.\n\no Labels can be up to 16 characters long.\n\nTo refer to a label within the labeled construct, use an ITERATE or\nLEAVE statement. The following example uses those statements to\ncontinue iterating or terminate the loop:\n\nCREATE PROCEDURE doiterate(p1 INT)\nBEGIN\n label1: LOOP\n SET p1 = p1 + 1;\n IF p1 < 10 THEN ITERATE label1; END IF;\n LEAVE label1;\n END LOOP label1;\nEND;\n\nThe scope of a block label does not include the code for handlers\ndeclared within the block. For details, see [HELP DECLARE HANDLER].\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/statement-labels.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/statement-labels.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (615,33,'MPOINTFROMWKB','MPointFromWKB(wkb[, srid]), MultiPointFromWKB(wkb[, srid])\n\nST_MPointFromWKB(), ST_MultiPointFromWKB(), MPointFromWKB(), and\nMultiPointFromWKB() are synonyms. For more information, see the\ndescription of ST_MPointFromWKB().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-wkb-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (616,40,'ALTER TABLE','Syntax:\nALTER TABLE tbl_name\n [alter_specification [, alter_specification] ...]\n [partition_options]\n\nalter_specification:\n table_options\n | ADD [COLUMN] col_name column_definition\n [FIRST | AFTER col_name]\n | ADD [COLUMN] (col_name column_definition,...)\n | ADD {INDEX|KEY} [index_name]\n [index_type] (index_col_name,...) [index_option] ...\n | ADD [CONSTRAINT [symbol]] PRIMARY KEY\n [index_type] (index_col_name,...) [index_option] ...\n | ADD [CONSTRAINT [symbol]]\n UNIQUE [INDEX|KEY] [index_name]\n [index_type] (index_col_name,...) [index_option] ...\n | ADD FULLTEXT [INDEX|KEY] [index_name]\n (index_col_name,...) [index_option] ...\n | ADD SPATIAL [INDEX|KEY] [index_name]\n (index_col_name,...) [index_option] ...\n | ADD [CONSTRAINT [symbol]]\n FOREIGN KEY [index_name] (index_col_name,...)\n reference_definition\n | ALGORITHM [=] {DEFAULT|INPLACE|COPY}\n | ALTER [COLUMN] col_name {SET DEFAULT literal | DROP DEFAULT}\n | CHANGE [COLUMN] old_col_name new_col_name column_definition\n [FIRST|AFTER col_name]\n | [DEFAULT] CHARACTER SET [=] charset_name [COLLATE [=] collation_name]\n | CONVERT TO CHARACTER SET charset_name [COLLATE collation_name]\n | {DISABLE|ENABLE} KEYS\n | {DISCARD|IMPORT} TABLESPACE\n | DROP [COLUMN] col_name\n | DROP {INDEX|KEY} index_name\n | DROP PRIMARY KEY\n | DROP FOREIGN KEY fk_symbol\n | FORCE\n | LOCK [=] {DEFAULT|NONE|SHARED|EXCLUSIVE}\n | MODIFY [COLUMN] col_name column_definition\n [FIRST | AFTER col_name]\n | ORDER BY col_name [, col_name] ...\n | RENAME {INDEX|KEY} old_index_name TO new_index_name\n | RENAME [TO|AS] new_tbl_name\n | {WITHOUT|WITH} VALIDATION\n | ADD PARTITION (partition_definition)\n | DROP PARTITION partition_names\n | DISCARD PARTITION {partition_names | ALL} TABLESPACE\n | IMPORT PARTITION {partition_names | ALL} TABLESPACE\n | TRUNCATE PARTITION {partition_names | ALL}\n | COALESCE PARTITION number\n | REORGANIZE PARTITION partition_names INTO (partition_definitions)\n | EXCHANGE PARTITION partition_name WITH TABLE tbl_name [{WITH|WITHOUT} VALIDATION]\n | ANALYZE PARTITION {partition_names | ALL}\n | CHECK PARTITION {partition_names | ALL}\n | OPTIMIZE PARTITION {partition_names | ALL}\n | REBUILD PARTITION {partition_names | ALL}\n | REPAIR PARTITION {partition_names | ALL}\n | REMOVE PARTITIONING\n | UPGRADE PARTITIONING\n\nindex_col_name:\n col_name [(length)] [ASC | DESC]\n\nindex_type:\n USING {BTREE | HASH}\n\nindex_option:\n KEY_BLOCK_SIZE [=] value\n | index_type\n | WITH PARSER parser_name\n | COMMENT \'string\'\n\ntable_options:\n table_option [[,] table_option] ...\n\ntable_option:\n AUTO_INCREMENT [=] value\n | AVG_ROW_LENGTH [=] value\n | [DEFAULT] CHARACTER SET [=] charset_name\n | CHECKSUM [=] {0 | 1}\n | [DEFAULT] COLLATE [=] collation_name\n | COMMENT [=] \'string\'\n | COMPRESSION [=] {\'ZLIB\'|\'LZ4\'|\'NONE\'}\n | CONNECTION [=] \'connect_string\'\n | {DATA|INDEX} DIRECTORY [=] \'absolute path to directory\'\n | DELAY_KEY_WRITE [=] {0 | 1}\n | ENCRYPTION [=] {\'Y\' | \'N\'}\n | ENGINE [=] engine_name\n | INSERT_METHOD [=] { NO | FIRST | LAST }\n | KEY_BLOCK_SIZE [=] value\n | MAX_ROWS [=] value\n | MIN_ROWS [=] value\n | PACK_KEYS [=] {0 | 1 | DEFAULT}\n | PASSWORD [=] \'string\'\n | ROW_FORMAT [=] {DEFAULT|DYNAMIC|FIXED|COMPRESSED|REDUNDANT|COMPACT}\n | STATS_AUTO_RECALC [=] {DEFAULT|0|1}\n | STATS_PERSISTENT [=] {DEFAULT|0|1}\n | STATS_SAMPLE_PAGES [=] value\n | TABLESPACE tablespace_name [STORAGE {DISK|MEMORY|DEFAULT}]\n | UNION [=] (tbl_name[,tbl_name]...)\n\npartition_options:\n (see CREATE TABLE options)\n\nALTER TABLE changes the structure of a table. For example, you can add\nor delete columns, create or destroy indexes, change the type of\nexisting columns, or rename columns or the table itself. You can also\nchange characteristics such as the storage engine used for the table or\nthe table comment.\n\no To use ALTER TABLE, you need ALTER, CREATE, and INSERT privileges for\n the table. Renaming a table requires ALTER and DROP on the old table,\n ALTER, CREATE, and INSERT on the new table.\n\no Following the table name, specify the alterations to be made. If none\n are given, ALTER TABLE does nothing.\n\no The syntax for many of the permissible alterations is similar to\n clauses of the CREATE TABLE statement. column_definition clauses use\n the same syntax for ADD and CHANGE as for CREATE TABLE. For more\n information, see [HELP CREATE TABLE].\n\no The word COLUMN is optional and can be omitted.\n\no Multiple ADD, ALTER, DROP, and CHANGE clauses are permitted in a\n single ALTER TABLE statement, separated by commas. This is a MySQL\n extension to standard SQL, which permits only one of each clause per\n ALTER TABLE statement. For example, to drop multiple columns in a\n single statement, do this:\n\nALTER TABLE t2 DROP COLUMN c, DROP COLUMN d;\n\no If a storage engine does not support an attempted ALTER TABLE\n operation, a warning may result. Such warnings can be displayed with\n SHOW WARNINGS. See [HELP SHOW WARNINGS]. For information on\n troubleshooting ALTER TABLE, see\n http://dev.mysql.com/doc/refman/5.7/en/alter-table-problems.html.\n\no For information about generated columns, see\n http://dev.mysql.com/doc/refman/5.7/en/alter-table-generated-columns.\n html.\n\no For usage examples, see\n http://dev.mysql.com/doc/refman/5.7/en/alter-table-examples.html.\n\no With the mysql_info() C API function, you can find out how many rows\n were copied by ALTER TABLE. See\n http://dev.mysql.com/doc/refman/5.7/en/mysql-info.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/alter-table.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/alter-table.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (616,40,'ALTER TABLE','Syntax:\nALTER TABLE tbl_name\n [alter_specification [, alter_specification] ...]\n [partition_options]\n\nalter_specification:\n table_options\n | ADD [COLUMN] col_name column_definition\n [FIRST | AFTER col_name]\n | ADD [COLUMN] (col_name column_definition,...)\n | ADD {INDEX|KEY} [index_name]\n [index_type] (key_part,...) [index_option] ...\n | ADD [CONSTRAINT [symbol]] PRIMARY KEY\n [index_type] (key_part,...) [index_option] ...\n | ADD [CONSTRAINT [symbol]]\n UNIQUE [INDEX|KEY] [index_name]\n [index_type] (key_part,...) [index_option] ...\n | ADD FULLTEXT [INDEX|KEY] [index_name]\n (key_part,...) [index_option] ...\n | ADD SPATIAL [INDEX|KEY] [index_name]\n (key_part,...) [index_option] ...\n | ADD [CONSTRAINT [symbol]]\n FOREIGN KEY [index_name] (col_name,...)\n reference_definition\n | ALGORITHM [=] {DEFAULT|INPLACE|COPY}\n | ALTER [COLUMN] col_name {SET DEFAULT literal | DROP DEFAULT}\n | CHANGE [COLUMN] old_col_name new_col_name column_definition\n [FIRST|AFTER col_name]\n | [DEFAULT] CHARACTER SET [=] charset_name [COLLATE [=] collation_name]\n | CONVERT TO CHARACTER SET charset_name [COLLATE collation_name]\n | {DISABLE|ENABLE} KEYS\n | {DISCARD|IMPORT} TABLESPACE\n | DROP [COLUMN] col_name\n | DROP {INDEX|KEY} index_name\n | DROP PRIMARY KEY\n | DROP FOREIGN KEY fk_symbol\n | FORCE\n | LOCK [=] {DEFAULT|NONE|SHARED|EXCLUSIVE}\n | MODIFY [COLUMN] col_name column_definition\n [FIRST | AFTER col_name]\n | ORDER BY col_name [, col_name] ...\n | RENAME {INDEX|KEY} old_index_name TO new_index_name\n | RENAME [TO|AS] new_tbl_name\n | {WITHOUT|WITH} VALIDATION\n | ADD PARTITION (partition_definition)\n | DROP PARTITION partition_names\n | DISCARD PARTITION {partition_names | ALL} TABLESPACE\n | IMPORT PARTITION {partition_names | ALL} TABLESPACE\n | TRUNCATE PARTITION {partition_names | ALL}\n | COALESCE PARTITION number\n | REORGANIZE PARTITION partition_names INTO (partition_definitions)\n | EXCHANGE PARTITION partition_name WITH TABLE tbl_name [{WITH|WITHOUT} VALIDATION]\n | ANALYZE PARTITION {partition_names | ALL}\n | CHECK PARTITION {partition_names | ALL}\n | OPTIMIZE PARTITION {partition_names | ALL}\n | REBUILD PARTITION {partition_names | ALL}\n | REPAIR PARTITION {partition_names | ALL}\n | REMOVE PARTITIONING\n | UPGRADE PARTITIONING\n\nkey_part:\n col_name [(length)] [ASC | DESC]\n\nindex_type:\n USING {BTREE | HASH}\n\nindex_option:\n KEY_BLOCK_SIZE [=] value\n | index_type\n | WITH PARSER parser_name\n | COMMENT \'string\'\n\ntable_options:\n table_option [[,] table_option] ...\n\ntable_option:\n AUTO_INCREMENT [=] value\n | AVG_ROW_LENGTH [=] value\n | [DEFAULT] CHARACTER SET [=] charset_name\n | CHECKSUM [=] {0 | 1}\n | [DEFAULT] COLLATE [=] collation_name\n | COMMENT [=] \'string\'\n | COMPRESSION [=] {\'ZLIB\'|\'LZ4\'|\'NONE\'}\n | CONNECTION [=] \'connect_string\'\n | {DATA|INDEX} DIRECTORY [=] \'absolute path to directory\'\n | DELAY_KEY_WRITE [=] {0 | 1}\n | ENCRYPTION [=] {\'Y\' | \'N\'}\n | ENGINE [=] engine_name\n | INSERT_METHOD [=] { NO | FIRST | LAST }\n | KEY_BLOCK_SIZE [=] value\n | MAX_ROWS [=] value\n | MIN_ROWS [=] value\n | PACK_KEYS [=] {0 | 1 | DEFAULT}\n | PASSWORD [=] \'string\'\n | ROW_FORMAT [=] {DEFAULT|DYNAMIC|FIXED|COMPRESSED|REDUNDANT|COMPACT}\n | STATS_AUTO_RECALC [=] {DEFAULT|0|1}\n | STATS_PERSISTENT [=] {DEFAULT|0|1}\n | STATS_SAMPLE_PAGES [=] value\n | TABLESPACE tablespace_name [STORAGE {DISK|MEMORY|DEFAULT}]\n | UNION [=] (tbl_name[,tbl_name]...)\n\npartition_options:\n (see CREATE TABLE options)\n\nALTER TABLE changes the structure of a table. For example, you can add\nor delete columns, create or destroy indexes, change the type of\nexisting columns, or rename columns or the table itself. You can also\nchange characteristics such as the storage engine used for the table or\nthe table comment.\n\no To use ALTER TABLE, you need ALTER, CREATE, and INSERT privileges for\n the table. Renaming a table requires ALTER and DROP on the old table,\n ALTER, CREATE, and INSERT on the new table.\n\no Following the table name, specify the alterations to be made. If none\n are given, ALTER TABLE does nothing.\n\no The syntax for many of the permissible alterations is similar to\n clauses of the CREATE TABLE statement. column_definition clauses use\n the same syntax for ADD and CHANGE as for CREATE TABLE. For more\n information, see [HELP CREATE TABLE].\n\no The word COLUMN is optional and can be omitted.\n\no Multiple ADD, ALTER, DROP, and CHANGE clauses are permitted in a\n single ALTER TABLE statement, separated by commas. This is a MySQL\n extension to standard SQL, which permits only one of each clause per\n ALTER TABLE statement. For example, to drop multiple columns in a\n single statement, do this:\n\nALTER TABLE t2 DROP COLUMN c, DROP COLUMN d;\n\no If a storage engine does not support an attempted ALTER TABLE\n operation, a warning may result. Such warnings can be displayed with\n SHOW WARNINGS. See [HELP SHOW WARNINGS]. For information on\n troubleshooting ALTER TABLE, see\n http://dev.mysql.com/doc/refman/5.7/en/alter-table-problems.html.\n\no For information about generated columns, see\n http://dev.mysql.com/doc/refman/5.7/en/alter-table-generated-columns.\n html.\n\no For usage examples, see\n http://dev.mysql.com/doc/refman/5.7/en/alter-table-examples.html.\n\no With the mysql_info() C API function, you can find out how many rows\n were copied by ALTER TABLE. See\n http://dev.mysql.com/doc/refman/5.7/en/mysql-info.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/alter-table.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/alter-table.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (617,23,'CHAR BYTE','The CHAR BYTE data type is an alias for the BINARY data type. This is a\ncompatibility feature.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-type-overview.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/string-type-overview.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (618,4,'ST_MLINEFROMTEXT','ST_MLineFromText(wkt[, srid]), ST_MultiLineStringFromText(wkt[, srid])\n\nConstructs a MultiLineString value using its WKT representation and\nSRID.\n\nIf the geometry argument is NULL or not a syntactically well-formed\ngeometry, or if the SRID argument is NULL, the return value is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-wkt-functions.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/gis-wkt-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (619,20,'>','Syntax:\n>\n\nGreater than:\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html\n\n','mysql> SELECT 2 > 2;\n -> 0\n','http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (620,21,'ANALYZE TABLE','Syntax:\nANALYZE [NO_WRITE_TO_BINLOG | LOCAL]\n TABLE tbl_name [, tbl_name] ...\n\nANALYZE TABLE performs a key distribution analysis and stores the\ndistribution for the named table or tables. For MyISAM tables, this\nstatement is equivalent to using myisamchk --analyze.\n\nThis statement requires SELECT and INSERT privileges for the table.\n\nANALYZE TABLE works with InnoDB, NDB, and MyISAM tables. It does not\nwork with views.\n\nANALYZE TABLE is supported for partitioned tables, and you can use\nALTER TABLE ... ANALYZE PARTITION to analyze one or more partitions;\nfor more information, see [HELP ALTER TABLE], and\nhttp://dev.mysql.com/doc/refman/5.7/en/partitioning-maintenance.html.\n\nDuring the analysis, the table is locked with a read lock for InnoDB\nand MyISAM.\n\nBy default, the server writes ANALYZE TABLE statements to the binary\nlog so that they replicate to replication slaves. To suppress logging,\nspecify the optional NO_WRITE_TO_BINLOG keyword or its alias LOCAL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/analyze-table.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/analyze-table.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (621,2,'ST_EXTERIORRING','ST_ExteriorRing(poly)\n\nReturns the exterior ring of the Polygon value poly as a LineString. If\nthe argument is NULL or an empty geometry, the return value is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html\n\n','mysql> SET @poly =\n -> \'Polygon((0 0,0 3,3 3,3 0,0 0),(1 1,1 2,2 2,2 1,1 1))\';\nmysql> SELECT ST_AsText(ST_ExteriorRing(ST_GeomFromText(@poly)));\n+----------------------------------------------------+\n| ST_AsText(ST_ExteriorRing(ST_GeomFromText(@poly))) |\n+----------------------------------------------------+\n| LINESTRING(0 0,0 3,3 3,3 0,0 0) |\n+----------------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (621,2,'ST_EXTERIORRING','ST_ExteriorRing(poly)\n\nReturns the exterior ring of the Polygon value poly as a LineString. If\nthe argument is NULL or an empty geometry, the return value is NULL.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html\n\n','mysql> SET @poly =\n \'Polygon((0 0,0 3,3 3,3 0,0 0),(1 1,1 2,2 2,2 1,1 1))\';\nmysql> SELECT ST_AsText(ST_ExteriorRing(ST_GeomFromText(@poly)));\n+----------------------------------------------------+\n| ST_AsText(ST_ExteriorRing(ST_GeomFromText(@poly))) |\n+----------------------------------------------------+\n| LINESTRING(0 0,0 3,3 3,3 0,0 0) |\n+----------------------------------------------------+\n','http://dev.mysql.com/doc/refman/5.7/en/gis-polygon-property-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (622,38,'FIELD','Syntax:\nFIELD(str,str1,str2,str3,...)\n\nReturns the index (position) of str in the str1, str2, str3, ... list.\nReturns 0 if str is not found.\n\nIf all arguments to FIELD() are strings, all arguments are compared as\nstrings. If all arguments are numbers, they are compared as numbers.\nOtherwise, the arguments are compared as double.\n\nIf str is NULL, the return value is 0 because NULL fails equality\ncomparison with any value. FIELD() is the complement of ELT().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-functions.html\n\n','mysql> SELECT FIELD(\'Bb\', \'Aa\', \'Bb\', \'Cc\', \'Dd\', \'Ff\');\n -> 2\nmysql> SELECT FIELD(\'Gg\', \'Aa\', \'Bb\', \'Cc\', \'Dd\', \'Ff\');\n -> 0\n','http://dev.mysql.com/doc/refman/5.7/en/string-functions.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (623,40,'CONSTRAINT','MySQL supports foreign keys, which let you cross-reference related data\nacross tables, and foreign key constraints, which help keep this\nspread-out data consistent. The essential syntax for a foreign key\nconstraint definition in a CREATE TABLE or ALTER TABLE statement looks\nlike this:\n\n[CONSTRAINT [symbol]] FOREIGN KEY\n [index_name] (index_col_name, ...)\n REFERENCES tbl_name (index_col_name,...)\n [ON DELETE reference_option]\n [ON UPDATE reference_option]\n\nreference_option:\n RESTRICT | CASCADE | SET NULL | NO ACTION | SET DEFAULT\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-table-foreign-keys.html\n\n','CREATE TABLE product (\n category INT NOT NULL, id INT NOT NULL,\n price DECIMAL,\n PRIMARY KEY(category, id)\n) ENGINE=INNODB;\n\nCREATE TABLE customer (\n id INT NOT NULL,\n PRIMARY KEY (id)\n) ENGINE=INNODB;\n\nCREATE TABLE product_order (\n no INT NOT NULL AUTO_INCREMENT,\n product_category INT NOT NULL,\n product_id INT NOT NULL,\n customer_id INT NOT NULL,\n\n PRIMARY KEY(no),\n INDEX (product_category, product_id),\n INDEX (customer_id),\n\n FOREIGN KEY (product_category, product_id)\n REFERENCES product(category, id)\n ON UPDATE CASCADE ON DELETE RESTRICT,\n\n FOREIGN KEY (customer_id)\n REFERENCES customer(id)\n) ENGINE=INNODB;\n','http://dev.mysql.com/doc/refman/5.7/en/create-table-foreign-keys.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (623,40,'CONSTRAINT','MySQL supports foreign keys, which let you cross-reference related data\nacross tables, and foreign key constraints, which help keep this\nspread-out data consistent. The essential syntax for a foreign key\nconstraint definition in a CREATE TABLE or ALTER TABLE statement looks\nlike this:\n\n[CONSTRAINT [symbol]] FOREIGN KEY\n [index_name] (col_name, ...)\n REFERENCES tbl_name (col_name,...)\n [ON DELETE reference_option]\n [ON UPDATE reference_option]\n\nreference_option:\n RESTRICT | CASCADE | SET NULL | NO ACTION | SET DEFAULT\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/create-table-foreign-keys.html\n\n','CREATE TABLE product (\n category INT NOT NULL, id INT NOT NULL,\n price DECIMAL,\n PRIMARY KEY(category, id)\n) ENGINE=INNODB;\n\nCREATE TABLE customer (\n id INT NOT NULL,\n PRIMARY KEY (id)\n) ENGINE=INNODB;\n\nCREATE TABLE product_order (\n no INT NOT NULL AUTO_INCREMENT,\n product_category INT NOT NULL,\n product_id INT NOT NULL,\n customer_id INT NOT NULL,\n\n PRIMARY KEY(no),\n INDEX (product_category, product_id),\n INDEX (customer_id),\n\n FOREIGN KEY (product_category, product_id)\n REFERENCES product(category, id)\n ON UPDATE CASCADE ON DELETE RESTRICT,\n\n FOREIGN KEY (customer_id)\n REFERENCES customer(id)\n) ENGINE=INNODB;\n','http://dev.mysql.com/doc/refman/5.7/en/create-table-foreign-keys.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (624,7,'CREATE_ASYMMETRIC_PRIV_KEY','Syntax:\nCREATE_ASYMMETRIC_PRIV_KEY(algorithm, {key_len|dh_secret})\n\nCreates a private key using the given algorithm and key length or DH\nsecret, and returns the key as a binary string in PEM format. If key\ngeneration fails, the result is NULL.\n\nSupported algorithm values: \'RSA\', \'DSA\', \'DH\'\n\nSupported key_len values: The minimum key length in bits is 1,024. The\nmaximum key length depends on the algorithm: 16,384 for RSA and 10,000\nfor DSA. These key-length limits are constraints imposed by OpenSSL.\nServer administrators can impose additional limits on maximum key\nlength by setting environment variables. See\nhttp://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-usage.html\n.\n\nFor DH keys, pass a shared DH secret instead of a key length. To create\nthe secret, pass the key length to CREATE_DH_PARAMETERS().\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html\n\n','SET @priv = CREATE_ASYMMETRIC_PRIV_KEY(\'DSA\', 2048);\nSET @pub = CREATE_ASYMMETRIC_PUB_KEY(\'DSA\', @priv);\n','http://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (625,40,'ALTER TABLESPACE','Syntax:\nALTER TABLESPACE tablespace_name\n {ADD|DROP} DATAFILE \'file_name\'\n [INITIAL_SIZE [=] size]\n [WAIT]\n ENGINE [=] engine_name\n\nThis statement can be used either to add a new data file, or to drop a\ndata file from a tablespace.\n\nThe ADD DATAFILE variant enables you to specify an initial size using\nan INITIAL_SIZE clause, where size is measured in bytes; the default\nvalue is 134217728 (128 MB). You may optionally follow size with a\none-letter abbreviation for an order of magnitude, similar to those\nused in my.cnf. Generally, this is one of the letters M (megabytes) or\nG (gigabytes).\n\n*Note*:\n\nAll NDB Cluster Disk Data objects share the same namespace. This means\nthat each Disk Data object must be uniquely named (and not merely each\nDisk Data object of a given type). For example, you cannot have a\ntablespace and an data file with the same name, or an undo log file and\na tablespace with the same name.\n\nOn 32-bit systems, the maximum supported value for INITIAL_SIZE is\n4294967296 (4 GB). (Bug #29186)\n\nINITIAL_SIZE is rounded, explicitly, as for CREATE TABLESPACE.\n\nOnce a data file has been created, its size cannot be changed; however,\nyou can add more data files to the tablespace using additional ALTER\nTABLESPACE ... ADD DATAFILE statements.\n\nUsing DROP DATAFILE with ALTER TABLESPACE drops the data file\n\'file_name\' from the tablespace. You cannot drop a data file from a\ntablespace which is in use by any table; in other words, the data file\nmust be empty (no extents used). See\nhttp://dev.mysql.com/doc/refman/5.7/en/mysql-cluster-disk-data-objects.\nhtml. In addition, any data file to be dropped must previously have\nbeen added to the tablespace with CREATE TABLESPACE or ALTER\nTABLESPACE.\n\nBoth ALTER TABLESPACE ... ADD DATAFILE and ALTER TABLESPACE ... DROP\nDATAFILE require an ENGINE clause which specifies the storage engine\nused by the tablespace. Currently, the only accepted values for\nengine_name are NDB and NDBCLUSTER.\n\nWAIT is parsed but otherwise ignored, and so has no effect in MySQL\n5.7. It is intended for future expansion.\n\nWhen ALTER TABLESPACE ... ADD DATAFILE is used with ENGINE = NDB, a\ndata file is created on each Cluster data node. You can verify that the\ndata files were created and obtain information about them by querying\nthe INFORMATION_SCHEMA.FILES table. For example, the following query\nshows all data files belonging to the tablespace named newts:\n\nmysql> SELECT LOGFILE_GROUP_NAME, FILE_NAME, EXTRA\n -> FROM INFORMATION_SCHEMA.FILES\n -> WHERE TABLESPACE_NAME = \'newts\' AND FILE_TYPE = \'DATAFILE\';\n+--------------------+--------------+----------------+\n| LOGFILE_GROUP_NAME | FILE_NAME | EXTRA |\n+--------------------+--------------+----------------+\n| lg_3 | newdata.dat | CLUSTER_NODE=3 |\n| lg_3 | newdata.dat | CLUSTER_NODE=4 |\n| lg_3 | newdata2.dat | CLUSTER_NODE=3 |\n| lg_3 | newdata2.dat | CLUSTER_NODE=4 |\n+--------------------+--------------+----------------+\n2 rows in set (0.03 sec)\n\nSee http://dev.mysql.com/doc/refman/5.7/en/files-table.html.\n\nALTER TABLESPACE is useful only with Disk Data storage for NDB Cluster.\nSee\nhttp://dev.mysql.com/doc/refman/5.7/en/mysql-cluster-disk-data.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/alter-tablespace.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/alter-tablespace.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (626,23,'ENUM','ENUM(\'value1\',\'value2\',...) [CHARACTER SET charset_name] [COLLATE\ncollation_name]\n\nAn enumeration. A string object that can have only one value, chosen\nfrom the list of values \'value1\', \'value2\', ..., NULL or the special \'\'\nerror value. ENUM values are represented internally as integers.\n\nAn ENUM column can have a maximum of 65,535 distinct elements. (The\npractical limit is less than 3000.) A table can have no more than 255\nunique element list definitions among its ENUM and SET columns\nconsidered as a group. For more information on these limits, see\nhttp://dev.mysql.com/doc/refman/5.7/en/limits-frm-file.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/string-type-overview.html\n\n','','http://dev.mysql.com/doc/refman/5.7/en/string-type-overview.html'); @@ -720,7 +720,7 @@ INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (639,3,'RADIANS','Syntax:\nRADIANS(X)\n\nReturns the argument X, converted from degrees to radians. (Note that\nÏ€ radians equals 180 degrees.)\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html\n\n','mysql> SELECT RADIANS(90);\n -> 1.5707963267949\n','http://dev.mysql.com/doc/refman/5.7/en/mathematical-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (640,17,'COLLATION','Syntax:\nCOLLATION(str)\n\nReturns the collation of the string argument.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/information-functions.html\n\n','mysql> SELECT COLLATION(\'abc\');\n -> \'latin1_swedish_ci\'\nmysql> SELECT COLLATION(_utf8\'abc\');\n -> \'utf8_general_ci\'\n','http://dev.mysql.com/doc/refman/5.7/en/information-functions.html'); INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (641,20,'COALESCE','Syntax:\nCOALESCE(value,...)\n\nReturns the first non-NULL value in the list, or NULL if there are no\nnon-NULL values.\n\nThe return type of COALESCE() is the aggregated type of the argument\ntypes.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html\n\n','mysql> SELECT COALESCE(NULL,1);\n -> 1\nmysql> SELECT COALESCE(NULL,NULL,NULL);\n -> NULL\n','http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html'); -INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (642,17,'VERSION','Syntax:\nVERSION()\n\nReturns a string that indicates the MySQL server version. The string\nuses the utf8 character set. The value might have a suffix in addition\nto the version number. See the description of the version system\nvariable in\nhttp://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/information-functions.html\n\n','mysql> SELECT VERSION();\n -> \'5.7.24-standard\'\n','http://dev.mysql.com/doc/refman/5.7/en/information-functions.html'); +INSERT INTO help_topic (help_topic_id,help_category_id,name,description,example,url) VALUES (642,17,'VERSION','Syntax:\nVERSION()\n\nReturns a string that indicates the MySQL server version. The string\nuses the utf8 character set. The value might have a suffix in addition\nto the version number. See the description of the version system\nvariable in\nhttp://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html.\n\nURL: http://dev.mysql.com/doc/refman/5.7/en/information-functions.html\n\n','mysql> SELECT VERSION();\n -> \'5.7.25-standard\'\n','http://dev.mysql.com/doc/refman/5.7/en/information-functions.html'); INSERT INTO help_keyword (help_keyword_id,name) VALUES (0,'JOIN'); INSERT INTO help_keyword (help_keyword_id,name) VALUES (1,'HOST'); @@ -1629,6 +1629,7 @@ INSERT INTO help_relation (help_topic_id,help_keyword_id) VALUES (434,109); INSERT INTO help_relation (help_topic_id,help_keyword_id) VALUES (540,109); INSERT INTO help_relation (help_topic_id,help_keyword_id) VALUES (437,109); +INSERT INTO help_relation (help_topic_id,help_keyword_id) VALUES (303,109); INSERT INTO help_relation (help_topic_id,help_keyword_id) VALUES (583,109); INSERT INTO help_relation (help_topic_id,help_keyword_id) VALUES (533,110); INSERT INTO help_relation (help_topic_id,help_keyword_id) VALUES (516,110); diff -Nru mysql-5.7-5.7.23/sql/auth/sql_authentication.cc mysql-5.7-5.7.24/sql/auth/sql_authentication.cc --- mysql-5.7-5.7.23/sql/auth/sql_authentication.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/auth/sql_authentication.cc 2018-10-04 05:48:22.000000000 +0000 @@ -189,9 +189,9 @@ */ if ((key_file= fopen(key_file_path.c_ptr(), "r")) == NULL) { - sql_print_information("RSA %s key file not found: %s." - " Some authentication plugins will not work.", - key_type, key_file_path.c_ptr()); + sql_print_warning("RSA %s key file not found: %s." + " Some authentication plugins will not work.", + key_type, key_file_path.c_ptr()); } else { @@ -460,7 +460,11 @@ static void login_failed_error(MPVIO_EXT *mpvio, int passwd_used) { THD *thd= current_thd; - if (passwd_used == 2) + + if (thd->is_error()) + sql_print_information("%s", thd->get_stmt_da()->message_text()); + + else if (passwd_used == 2) { my_error(ER_ACCESS_DENIED_NO_PASSWORD_ERROR, MYF(0), mpvio->auth_info.user_name, @@ -2196,8 +2200,7 @@ if (parse_com_change_user_packet(&mpvio, mpvio.protocol->get_packet_length())) { - if (!thd->is_error()) - login_failed_error(&mpvio, mpvio.auth_info.password_used); + login_failed_error(&mpvio, mpvio.auth_info.password_used); server_mpvio_update_thd(thd, &mpvio); DBUG_RETURN(1); } @@ -2315,8 +2318,7 @@ acl_log_connect(mpvio.auth_info.user_name, mpvio.auth_info.host_or_ip, mpvio.auth_info.authenticated_as, mpvio.db.str, thd, command); } - if (!thd->is_error()) - login_failed_error(&mpvio, mpvio.auth_info.password_used); + login_failed_error(&mpvio, mpvio.auth_info.password_used); DBUG_RETURN (1); } @@ -2355,8 +2357,7 @@ Host_errors errors; errors.m_proxy_user= 1; inc_host_errors(mpvio.ip, &errors); - if (!thd->is_error()) - login_failed_error(&mpvio, mpvio.auth_info.password_used); + login_failed_error(&mpvio, mpvio.auth_info.password_used); DBUG_RETURN(1); } @@ -2375,8 +2376,7 @@ Host_errors errors; errors.m_proxy_user_acl= 1; inc_host_errors(mpvio.ip, &errors); - if (!thd->is_error()) - login_failed_error(&mpvio, mpvio.auth_info.password_used); + login_failed_error(&mpvio, mpvio.auth_info.password_used); mysql_mutex_unlock(&acl_cache->lock); DBUG_RETURN(1); } @@ -2414,8 +2414,7 @@ Host_errors errors; errors.m_ssl= 1; inc_host_errors(mpvio.ip, &errors); - if (!thd->is_error()) - login_failed_error(&mpvio, thd->password); + login_failed_error(&mpvio, thd->password); DBUG_RETURN(1); } @@ -2541,6 +2540,7 @@ Host_errors errors; errors.m_default_database= 1; inc_host_errors(mpvio.ip, &errors); + login_failed_error(&mpvio, mpvio.auth_info.password_used); DBUG_RETURN(1); } } diff -Nru mysql-5.7-5.7.23/sql/auth/sql_authorization.cc mysql-5.7-5.7.24/sql/auth/sql_authorization.cc --- mysql-5.7-5.7.23/sql/auth/sql_authorization.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/auth/sql_authorization.cc 2018-10-04 05:48:22.000000000 +0000 @@ -228,7 +228,6 @@ bool multi_delete_precheck(THD *thd, TABLE_LIST *tables) { - SELECT_LEX *select_lex= thd->lex->select_lex; TABLE_LIST *aux_tables= thd->lex->auxiliary_table_list.first; TABLE_LIST **save_query_tables_own_last= thd->lex->query_tables_own_last; DBUG_ENTER("multi_delete_precheck"); @@ -251,13 +250,6 @@ } thd->lex->query_tables_own_last= save_query_tables_own_last; - if ((thd->variables.option_bits & OPTION_SAFE_UPDATES) && - !select_lex->where_cond()) - { - my_message(ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE, - ER(ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE), MYF(0)); - DBUG_RETURN(TRUE); - } DBUG_RETURN(FALSE); } diff -Nru mysql-5.7-5.7.23/sql/auth/sql_user.cc mysql-5.7-5.7.24/sql/auth/sql_user.cc --- mysql-5.7-5.7.23/sql/auth/sql_user.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/auth/sql_user.cc 2018-10-04 05:48:22.000000000 +0000 @@ -769,15 +769,19 @@ thd->lex->alter_password.account_locked= false; thd->lex->alter_password.update_password_expired_fields= false; + /* - When @@log-backward-compatible-user-definitions variable is ON - and its a slave thread, then the password is already hashed. So - do not generate another hash. - */ - if (opt_log_builtin_as_identified_by_password && - thd->slave_thread) + In case its a slave thread or a binlog applier thread, the password + is already hashed. Do not generate another hash! + */ + if (thd->slave_thread || thd->is_binlog_applier()) + { + /* Password is in hash form */ + combo->uses_authentication_string_clause= true; + /* Password is not plain text */ combo->uses_identified_by_clause= false; - + } + if (set_and_validate_user_attributes(thd, combo, what_to_set, true, "SET PASSWORD")) { diff -Nru mysql-5.7-5.7.23/sql/binlog.cc mysql-5.7-5.7.24/sql/binlog.cc --- mysql-5.7-5.7.23/sql/binlog.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/binlog.cc 2018-10-04 05:48:22.000000000 +0000 @@ -2252,9 +2252,9 @@ DBUG_RETURN(result); } -void Stage_manager::wait_count_or_timeout(ulong count, ulong usec, StageID stage) +void Stage_manager::wait_count_or_timeout(ulong count, long usec, StageID stage) { - ulong to_wait= + long to_wait= DBUG_EVALUATE_IF("bgc_set_infinite_delay", LONG_MAX, usec); /* For testing purposes while waiting for inifinity @@ -2262,9 +2262,9 @@ small intervals. Otherwise, waiting 0.1 * infinite is too long. */ - ulong delta= + long delta= DBUG_EVALUATE_IF("bgc_set_infinite_delay", 100000, - max(1, (to_wait * 0.1))); + max(1, (to_wait * 0.1))); while (to_wait > 0 && (count == 0 || static_cast(m_queue[stage].get_size()) < count)) { diff -Nru mysql-5.7-5.7.23/sql/binlog.h mysql-5.7-5.7.24/sql/binlog.h --- mysql-5.7-5.7.23/sql/binlog.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/binlog.h 2018-10-04 05:48:22.000000000 +0000 @@ -246,7 +246,7 @@ session is waiting on @param stage which stage queue size to compare count against. */ - void wait_count_or_timeout(ulong count, ulong usec, StageID stage); + void wait_count_or_timeout(ulong count, long usec, StageID stage); void signal_done(THD *queue); diff -Nru mysql-5.7-5.7.23/sql/CMakeLists.txt mysql-5.7-5.7.24/sql/CMakeLists.txt --- mysql-5.7-5.7.23/sql/CMakeLists.txt 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/CMakeLists.txt 2018-10-04 05:48:22.000000000 +0000 @@ -21,7 +21,6 @@ ${CMAKE_SOURCE_DIR}/sql ${CMAKE_SOURCE_DIR}/sql/auth ${CMAKE_SOURCE_DIR}/regex - ${ZLIB_INCLUDE_DIR} ${SSL_INCLUDE_DIRS} ${CMAKE_BINARY_DIR}/sql ${LZ4_INCLUDE_DIR} diff -Nru mysql-5.7-5.7.23/sql/field.cc mysql-5.7-5.7.24/sql/field.cc --- mysql-5.7-5.7.23/sql/field.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/field.cc 2018-10-04 05:48:22.000000000 +0000 @@ -6392,7 +6392,7 @@ type_conversion_status Field_year::store(double nr) { - if (nr < 0.0 || nr >= 2155.0) + if (nr < 0.0 || nr > 2155.0) { (void) Field_year::store((longlong) -1, FALSE); return TYPE_WARN_OUT_OF_RANGE; diff -Nru mysql-5.7-5.7.23/sql/field_conv.cc mysql-5.7-5.7.24/sql/field_conv.cc --- mysql-5.7-5.7.23/sql/field_conv.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/field_conv.cc 2018-10-04 05:48:22.000000000 +0000 @@ -325,9 +325,23 @@ static void do_copy_blob(Copy_field *copy) { - ulong length=((Field_blob*) copy->from_field())->get_length(); - ((Field_blob*) copy->to_field())->store_length(length); + ulong from_length=((Field_blob*) copy->from_field())->get_length(); + ((Field_blob*) copy->to_field())->store_length(from_length); memcpy(copy->to_ptr, copy->from_ptr, sizeof(char*)); + ulong to_length=((Field_blob*) copy->to_field())->get_length(); + if (to_length < from_length) + { + if (copy->to_field()->table->in_use->is_strict_mode()) + { + copy->to_field()->set_warning(Sql_condition::SL_WARNING, + ER_DATA_TOO_LONG, 1); + } + else + { + copy->to_field()->set_warning(Sql_condition::SL_WARNING, + WARN_DATA_TRUNCATED, 1); + } + } } static void do_conv_blob(Copy_field *copy) diff -Nru mysql-5.7-5.7.23/sql/handler.cc mysql-5.7-5.7.24/sql/handler.cc --- mysql-5.7-5.7.23/sql/handler.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/handler.cc 2018-10-04 05:48:22.000000000 +0000 @@ -2667,7 +2667,7 @@ void handler::ha_statistic_increment(ulonglong SSV::*offset) const { - (table->in_use->status_var.*offset)++; + if (table && table->in_use) (table->in_use->status_var.*offset)++; } diff -Nru mysql-5.7-5.7.23/sql/item_strfunc.cc mysql-5.7-5.7.24/sql/item_strfunc.cc --- mysql-5.7-5.7.23/sql/item_strfunc.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/item_strfunc.cc 2018-10-04 05:48:22.000000000 +0000 @@ -3708,6 +3708,7 @@ char *to; /* must be longlong to avoid truncation */ longlong count= args[1]->val_int(); + /* Avoid modifying this string as it may affect args[0] */ String *res= args[0]->val_str(str); String *rpad= args[2]->val_str(&rpad_str); @@ -3751,10 +3752,15 @@ const size_t res_char_length= res->numchars(); + // String to pad is big enough if (count <= static_cast(res_char_length)) - { // String to pad is big enough - res->length(res->charpos((int) count)); // Shorten result if longer - return (res); + { + int res_charpos= res->charpos((int)count); + if (tmp_value.alloc(res_charpos)) + return NULL; + (void)tmp_value.copy(*res); + tmp_value.length(res_charpos); // Shorten result if longer + return &tmp_value; } const size_t pad_char_length= rpad->numchars(); @@ -3776,6 +3782,10 @@ } /* Must be done before alloc_buffer */ const size_t res_byte_length= res->length(); + /* + alloc_buffer() doesn't modify 'res' because 'res' is guaranteed too short + at this stage. + */ if (!(res= alloc_buffer(res, str, &tmp_value, static_cast(byte_count)))) { @@ -3836,6 +3846,7 @@ /* must be longlong to avoid truncation */ longlong count= args[1]->val_int(); size_t byte_count; + /* Avoid modifying this string as it may affect args[0] */ String *res= args[0]->val_str(&tmp_value); String *pad= args[2]->val_str(&lpad_str); @@ -3876,8 +3887,12 @@ if (count <= static_cast(res_char_length)) { - res->length(res->charpos((int) count)); - return res; + int res_charpos= res->charpos((int)count); + if (tmp_value.alloc(res_charpos)) + return NULL; + (void)tmp_value.copy(*res); + tmp_value.length(res_charpos); // Shorten result if longer + return &tmp_value; } pad_char_length= pad->numchars(); diff -Nru mysql-5.7-5.7.23/sql/log.cc mysql-5.7-5.7.24/sql/log.cc --- mysql-5.7-5.7.23/sql/log.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/log.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -1979,7 +1979,7 @@ } -bool open_error_log(const char *filename) +bool open_error_log(const char *filename, bool get_lock) { DBUG_ASSERT(filename); int retries= 2, errors= 0; @@ -1999,9 +1999,13 @@ if (errors) { char errbuf[MYSYS_STRERROR_SIZE]; - sql_print_error("Could not open file '%s' for error logging: %s", - filename, my_strerror(errbuf, sizeof(errbuf), errno)); + if (get_lock) + mysql_mutex_unlock(&LOCK_error_log); + sql_print_error(ER_DEFAULT(ER_CANT_OPEN_ERROR_LOG), filename, + ": ", my_strerror(errbuf, sizeof(errbuf), errno)); flush_error_log_messages(); + if (get_lock) + mysql_mutex_lock(&LOCK_error_log); return true; } @@ -2036,10 +2040,10 @@ if (!error_log_file) return false; mysql_mutex_lock(&LOCK_error_log); - bool result= open_error_log(error_log_file); + bool result= open_error_log(error_log_file, true); mysql_mutex_unlock(&LOCK_error_log); if (result) - my_error(ER_UNKNOWN_ERROR, MYF(0)); + my_error(ER_CANT_OPEN_ERROR_LOG, MYF(0), error_log_file, ".", ""); return result; } diff -Nru mysql-5.7-5.7.23/sql/log_event.cc mysql-5.7-5.7.24/sql/log_event.cc --- mysql-5.7-5.7.23/sql/log_event.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/log_event.cc 2018-10-04 05:48:22.000000000 +0000 @@ -4867,6 +4867,13 @@ } compare_errors: + /* Parser errors shall be ignored when (GTID) skipping statements */ + if (thd->is_error() && + thd->get_stmt_da()->mysql_errno() == ER_PARSE_ERROR && + gtid_pre_statement_checks(thd) == GTID_STATEMENT_SKIP) + { + thd->get_stmt_da()->reset_diagnostics_area(); + } /* In the slave thread, we may sometimes execute some DROP / * 40005 TEMPORARY * / TABLE that come from parts of binlogs (likely if we @@ -9838,7 +9845,7 @@ DBUG_ASSERT (m_key_index < MAX_KEY); // Allocate buffer for key searches m_key= (uchar*)my_malloc(key_memory_log_event, - MAX_KEY_LENGTH, MYF(MY_WME)); + m_key_info->key_length, MYF(MY_WME)); if (!m_key) error= HA_ERR_OUT_OF_MEM; goto err; diff -Nru mysql-5.7-5.7.23/sql/log.h mysql-5.7-5.7.24/sql/log.h --- mysql-5.7-5.7.23/sql/log.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/log.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -902,8 +902,9 @@ have been buffered by calling flush_error_log_messages(). @param filename Name of error log file + @param get_lock Should we acquire LOCK_error_log? */ -bool open_error_log(const char *filename); +bool open_error_log(const char *filename, bool get_lock); /** Free any error log resources. diff -Nru mysql-5.7-5.7.23/sql/mysqld.cc mysql-5.7-5.7.24/sql/mysqld.cc --- mysql-5.7-5.7.23/sql/mysqld.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/mysqld.cc 2018-10-04 05:48:22.000000000 +0000 @@ -473,7 +473,7 @@ ulong slave_max_allowed_packet= 0; ulong binlog_stmt_cache_size=0; int32 opt_binlog_max_flush_queue_time= 0; -ulong opt_binlog_group_commit_sync_delay= 0; +long opt_binlog_group_commit_sync_delay= 0; ulong opt_binlog_group_commit_sync_no_delay_count= 0; ulonglong max_binlog_stmt_cache_size=0; ulong query_cache_size=0; @@ -686,7 +686,6 @@ mysql_mutex_t LOCK_reset_gtid_table; mysql_mutex_t LOCK_compress_gtid_table; mysql_cond_t COND_compress_gtid_table; -mysql_mutex_t LOCK_group_replication_handler; #if !defined (EMBEDDED_LIBRARY) && !defined(_WIN32) mysql_mutex_t LOCK_socket_listener_active; mysql_cond_t COND_socket_listener_active; @@ -3237,8 +3236,6 @@ &LOCK_compress_gtid_table, MY_MUTEX_INIT_FAST); mysql_cond_init(key_COND_compress_gtid_table, &COND_compress_gtid_table); - mysql_mutex_init(key_LOCK_group_replication_handler, - &LOCK_group_replication_handler, MY_MUTEX_INIT_FAST); #ifndef EMBEDDED_LIBRARY Events::init_mutexes(); #if defined(_WIN32) @@ -3852,8 +3849,9 @@ */ log_error_dest= errorlog_filename_buff; - if (open_error_log(errorlog_filename_buff)) + if (open_error_log(errorlog_filename_buff, false)) unireg_abort(MYSQLD_ABORT_EXIT); + #ifdef _WIN32 FreeConsole(); // Remove window #endif @@ -8711,7 +8709,6 @@ PSI_mutex_key key_thd_timer_mutex; PSI_mutex_key key_LOCK_offline_mode; PSI_mutex_key key_LOCK_default_password_lifetime; -PSI_mutex_key key_LOCK_group_replication_handler; #ifdef HAVE_REPLICATION PSI_mutex_key key_commit_order_manager_mutex; @@ -8795,7 +8792,7 @@ { &key_gtid_ensure_index_mutex, "Gtid_state", PSI_FLAG_GLOBAL}, { &key_LOCK_query_plan, "THD::LOCK_query_plan", PSI_FLAG_VOLATILITY_SESSION}, { &key_LOCK_cost_const, "Cost_constant_cache::LOCK_cost_const", - PSI_FLAG_GLOBAL}, + PSI_FLAG_GLOBAL}, { &key_LOCK_current_cond, "THD::LOCK_current_cond", PSI_FLAG_VOLATILITY_SESSION}, { &key_mts_temp_table_LOCK, "key_mts_temp_table_LOCK", 0}, { &key_LOCK_reset_gtid_table, "LOCK_reset_gtid_table", PSI_FLAG_GLOBAL}, @@ -8807,8 +8804,7 @@ { &key_mutex_slave_worker_hash, "Relay_log_info::slave_worker_hash_lock", 0}, #endif { &key_LOCK_offline_mode, "LOCK_offline_mode", PSI_FLAG_GLOBAL}, - { &key_LOCK_default_password_lifetime, "LOCK_default_password_lifetime", PSI_FLAG_GLOBAL}, - { &key_LOCK_group_replication_handler, "LOCK_group_replication_handler", PSI_FLAG_GLOBAL} + { &key_LOCK_default_password_lifetime, "LOCK_default_password_lifetime", PSI_FLAG_GLOBAL} }; PSI_rwlock_key key_rwlock_LOCK_grant, key_rwlock_LOCK_logger, diff -Nru mysql-5.7-5.7.23/sql/mysqld.h mysql-5.7-5.7.24/sql/mysqld.h --- mysql-5.7-5.7.23/sql/mysqld.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/mysqld.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -246,7 +246,7 @@ extern ulong binlog_cache_size, binlog_stmt_cache_size; extern ulonglong max_binlog_cache_size, max_binlog_stmt_cache_size; extern int32 opt_binlog_max_flush_queue_time; -extern ulong opt_binlog_group_commit_sync_delay; +extern long opt_binlog_group_commit_sync_delay; extern ulong opt_binlog_group_commit_sync_no_delay_count; extern ulong max_binlog_size, max_relay_log_size; extern ulong slave_max_allowed_packet; @@ -447,7 +447,6 @@ extern PSI_mutex_key key_thd_timer_mutex; extern PSI_mutex_key key_LOCK_offline_mode; extern PSI_mutex_key key_LOCK_default_password_lifetime; -extern PSI_mutex_key key_LOCK_group_replication_handler; #ifdef HAVE_REPLICATION extern PSI_mutex_key key_commit_order_manager_mutex; @@ -838,7 +837,6 @@ extern mysql_rwlock_t LOCK_system_variables_hash; extern mysql_cond_t COND_manager; extern int32 thread_running; -extern mysql_mutex_t LOCK_group_replication_handler; extern mysql_mutex_t LOCK_keyring_operations; extern char *opt_ssl_ca, *opt_ssl_capath, *opt_ssl_cert, *opt_ssl_cipher, diff -Nru mysql-5.7-5.7.23/sql/opt_range.cc mysql-5.7-5.7.24/sql/opt_range.cc --- mysql-5.7-5.7.23/sql/opt_range.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/opt_range.cc 2018-10-04 05:48:22.000000000 +0000 @@ -6022,21 +6022,21 @@ /** - If EXPLAIN, add a warning that the index cannot be - used for range access due to either type conversion or different - collations on the field used for comparison + If EXPLAIN or if the --safe-updates option is enabled, add a warning that + the index cannot be used for range access due to either type conversion or + different collations on the field used for comparison @param param PARAM from test_quick_select @param key_num Key number @param field Field in the predicate - */ -static void -if_explain_warn_index_not_applicable(const RANGE_OPT_PARAM *param, - const uint key_num, - const Field *field) +*/ +static void warn_index_not_applicable(const RANGE_OPT_PARAM *param, + const uint key_num, const Field *field) { + THD *thd= param->thd; if (param->using_real_indexes && - param->thd->lex->describe) + (param->thd->lex->describe || + thd->variables.option_bits & OPTION_SAFE_UPDATES)) push_warning_printf( param->thd, Sql_condition::SL_WARNING, @@ -7069,7 +7069,7 @@ key_part->image_type, type, value)) { - if_explain_warn_index_not_applicable(param, key_part->key, field); + warn_index_not_applicable(param, key_part->key, field); DBUG_RETURN(NULL); } @@ -7380,7 +7380,7 @@ if (!comparable_in_index(conf_func, field, key_part->image_type, type, value)) { - if_explain_warn_index_not_applicable(param, key_part->key, field); + warn_index_not_applicable(param, key_part->key, field); goto end; } diff -Nru mysql-5.7-5.7.23/sql/rpl_group_replication.cc mysql-5.7-5.7.24/sql/rpl_group_replication.cc --- mysql-5.7-5.7.23/sql/rpl_group_replication.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/rpl_group_replication.cc 2018-10-04 05:48:22.000000000 +0000 @@ -22,177 +22,50 @@ #include "log.h" -/* - Group Replication plugin handler. -*/ -Group_replication_handler:: -Group_replication_handler(const char* plugin_name_arg) - :plugin(NULL), plugin_handle(NULL) -{ - plugin_name.assign(plugin_name_arg); -} - -Group_replication_handler::~Group_replication_handler() -{ - if (plugin_handle) - plugin_handle->stop(); -} - -int Group_replication_handler::init() -{ - int error= 0; - if (!plugin_handle) - if ((error = plugin_init())) - return error; - return 0; -} - -int Group_replication_handler::start() -{ - if (plugin_handle) - return plugin_handle->start(); - return 1; -} - -int Group_replication_handler::stop() -{ - if (plugin_handle) - return plugin_handle->stop(); - return 1; -} - -bool Group_replication_handler::is_running() -{ - if (plugin_handle) - return plugin_handle->is_running(); - return false; -} - -int -Group_replication_handler:: -set_retrieved_certification_info(View_change_log_event* view_change_event) -{ - if (plugin_handle) - return plugin_handle->set_retrieved_certification_info(view_change_event); - return 1; -} - -bool -Group_replication_handler:: -get_connection_status_info( - const GROUP_REPLICATION_CONNECTION_STATUS_CALLBACKS& callbacks) -{ - if (plugin_handle) - return plugin_handle->get_connection_status_info(callbacks); - return true; -} -bool -Group_replication_handler:: -get_group_members_info( - unsigned int index, - const GROUP_REPLICATION_GROUP_MEMBERS_CALLBACKS& callbacks) -{ - if (plugin_handle) - return plugin_handle->get_group_members_info(index, callbacks); - return true; -} - -bool -Group_replication_handler:: -get_group_member_stats_info( - const GROUP_REPLICATION_GROUP_MEMBER_STATS_CALLBACKS& callbacks) -{ - if (plugin_handle) - return plugin_handle->get_group_member_stats_info(callbacks); - return true; -} - -unsigned int Group_replication_handler::get_members_number_info() -{ - if (plugin_handle) - return plugin_handle->get_members_number_info(); - return 0; -} - -int Group_replication_handler::plugin_init() -{ - plugin= my_plugin_lock_by_name(0, to_lex_cstring(plugin_name.c_str()), - MYSQL_GROUP_REPLICATION_PLUGIN); - if (plugin) - { - plugin_handle= (st_mysql_group_replication*) plugin_decl(plugin)->info; - plugin_unlock(0, plugin); - } - else - { - plugin_handle= NULL; - return 1; - } - return 0; -} - -Group_replication_handler* group_replication_handler= NULL; +/** + Static name of Group Replication plugin. +*/ +LEX_CSTRING group_replication_plugin_name= { + C_STRING_WITH_LEN("group_replication") +}; /* Group Replication plugin handler function accessors. */ #ifdef HAVE_REPLICATION -int group_replication_init(const char* plugin_name) +int group_replication_init() { - if (initialize_channel_service_interface()) - { - return 1; - } - - mysql_mutex_lock(&LOCK_group_replication_handler); - if (group_replication_handler == NULL) - { - group_replication_handler= new Group_replication_handler(plugin_name); - - if (group_replication_handler) - { - int ret= group_replication_handler->init(); - mysql_mutex_unlock(&LOCK_group_replication_handler); - return ret; - } - } - mysql_mutex_unlock(&LOCK_group_replication_handler); - - return 1; + return initialize_channel_service_interface(); } #endif -int group_replication_cleanup() + +bool is_group_replication_plugin_loaded() { - mysql_mutex_lock(&LOCK_group_replication_handler); - if (group_replication_handler != NULL) - { - delete group_replication_handler; - group_replication_handler= NULL; - } - else + bool result= false; + + plugin_ref plugin= my_plugin_lock_by_name(0, + group_replication_plugin_name, + MYSQL_GROUP_REPLICATION_PLUGIN); + if (plugin != NULL) { - mysql_mutex_unlock(&LOCK_group_replication_handler); - return 1; + plugin_unlock(0, plugin); + result= true; } - mysql_mutex_unlock(&LOCK_group_replication_handler); - return 0; -} - -bool is_group_replication_plugin_loaded() -{ - if (group_replication_handler) - return true; - return false; + return result; } int group_replication_start() { - mysql_mutex_lock(&LOCK_group_replication_handler); - if (is_group_replication_plugin_loaded()) + int result= 1; + + plugin_ref plugin= my_plugin_lock_by_name(0, + group_replication_plugin_name, + MYSQL_GROUP_REPLICATION_PLUGIN); + if (plugin != NULL) { /* We need to take global_sid_lock because @@ -208,111 +81,160 @@ gtid_mode_lock. */ gtid_mode_lock->rdlock(); - int ret= group_replication_handler->start(); + st_mysql_group_replication *plugin_handle= + (st_mysql_group_replication*) plugin_decl(plugin)->info; + result= plugin_handle->start(); gtid_mode_lock->unlock(); - mysql_mutex_unlock(&LOCK_group_replication_handler); - return ret; + + plugin_unlock(0, plugin); + } + else + { + sql_print_error("Group Replication plugin is not installed."); } - mysql_mutex_unlock(&LOCK_group_replication_handler); - sql_print_error("Group Replication plugin is not installed."); - return 1; + + return result; } int group_replication_stop() { - mysql_mutex_lock(&LOCK_group_replication_handler); - if (is_group_replication_plugin_loaded()) + int result= 1; + + plugin_ref plugin= my_plugin_lock_by_name(0, + group_replication_plugin_name, + MYSQL_GROUP_REPLICATION_PLUGIN); + if (plugin != NULL) + { + st_mysql_group_replication *plugin_handle= + (st_mysql_group_replication*) plugin_decl(plugin)->info; + result= plugin_handle->stop(); + + plugin_unlock(0, plugin); + } + else { - int ret= group_replication_handler->stop(); - mysql_mutex_unlock(&LOCK_group_replication_handler); - return ret; + sql_print_error("Group Replication plugin is not installed."); } - mysql_mutex_unlock(&LOCK_group_replication_handler); - sql_print_error("Group Replication plugin is not installed."); - return 1; + return result; } bool is_group_replication_running() { - mysql_mutex_lock(&LOCK_group_replication_handler); - if (is_group_replication_plugin_loaded()) - { - bool ret= group_replication_handler->is_running(); - mysql_mutex_unlock(&LOCK_group_replication_handler); - return ret; + bool result= false; + + plugin_ref plugin= my_plugin_lock_by_name(0, + group_replication_plugin_name, + MYSQL_GROUP_REPLICATION_PLUGIN); + if (plugin != NULL) + { + st_mysql_group_replication *plugin_handle= + (st_mysql_group_replication*) plugin_decl(plugin)->info; + result= plugin_handle->is_running(); + + plugin_unlock(0, plugin); } - mysql_mutex_unlock(&LOCK_group_replication_handler); - return false; + return result; } int set_group_replication_retrieved_certification_info(View_change_log_event *view_change_event) { - if (is_group_replication_plugin_loaded()) - return group_replication_handler->set_retrieved_certification_info(view_change_event); - return 1; + int result= 1; + + plugin_ref plugin= my_plugin_lock_by_name(0, + group_replication_plugin_name, + MYSQL_GROUP_REPLICATION_PLUGIN); + if (plugin != NULL) + { + st_mysql_group_replication *plugin_handle= + (st_mysql_group_replication*) plugin_decl(plugin)->info; + result= plugin_handle->set_retrieved_certification_info(view_change_event); + + plugin_unlock(0, plugin); + } + + return result; } bool get_group_replication_connection_status_info( const GROUP_REPLICATION_CONNECTION_STATUS_CALLBACKS& callbacks) { - mysql_mutex_lock(&LOCK_group_replication_handler); - if (is_group_replication_plugin_loaded()) - { - int ret= group_replication_handler->get_connection_status_info(callbacks); - mysql_mutex_unlock(&LOCK_group_replication_handler); - return ret; + bool result= true; + + plugin_ref plugin= my_plugin_lock_by_name(0, + group_replication_plugin_name, + MYSQL_GROUP_REPLICATION_PLUGIN); + if (plugin != NULL) + { + st_mysql_group_replication *plugin_handle= + (st_mysql_group_replication*) plugin_decl(plugin)->info; + result= plugin_handle->get_connection_status_info(callbacks); + + plugin_unlock(0, plugin); } - mysql_mutex_unlock(&LOCK_group_replication_handler); - return true; + return result; } bool get_group_replication_group_members_info( unsigned int index, const GROUP_REPLICATION_GROUP_MEMBERS_CALLBACKS& callbacks) { - mysql_mutex_lock(&LOCK_group_replication_handler); - if (is_group_replication_plugin_loaded()) - { - bool ret= - group_replication_handler->get_group_members_info(index, callbacks); - mysql_mutex_unlock(&LOCK_group_replication_handler); - return ret; + bool result= true; + + plugin_ref plugin= my_plugin_lock_by_name(0, + group_replication_plugin_name, + MYSQL_GROUP_REPLICATION_PLUGIN); + if (plugin != NULL) + { + st_mysql_group_replication *plugin_handle= + (st_mysql_group_replication*) plugin_decl(plugin)->info; + result= plugin_handle->get_group_members_info(index, callbacks); + + plugin_unlock(0, plugin); } - mysql_mutex_unlock(&LOCK_group_replication_handler); - return true; + return result; } bool get_group_replication_group_member_stats_info( const GROUP_REPLICATION_GROUP_MEMBER_STATS_CALLBACKS& callbacks) { - mysql_mutex_lock(&LOCK_group_replication_handler); - if (is_group_replication_plugin_loaded()) - { - bool ret= group_replication_handler->get_group_member_stats_info(callbacks); - mysql_mutex_unlock(&LOCK_group_replication_handler); - return ret; + bool result= true; + + plugin_ref plugin= my_plugin_lock_by_name(0, + group_replication_plugin_name, + MYSQL_GROUP_REPLICATION_PLUGIN); + if (plugin != NULL) + { + st_mysql_group_replication *plugin_handle= + (st_mysql_group_replication*) plugin_decl(plugin)->info; + result= plugin_handle->get_group_member_stats_info(callbacks); + + plugin_unlock(0, plugin); } - mysql_mutex_unlock(&LOCK_group_replication_handler); - return true; + return result; } unsigned int get_group_replication_members_number_info() { - mysql_mutex_lock(&LOCK_group_replication_handler); - if (is_group_replication_plugin_loaded()) - { - unsigned int ret= group_replication_handler->get_members_number_info(); - mysql_mutex_unlock(&LOCK_group_replication_handler); - return ret; + unsigned int result= 0; + + plugin_ref plugin= my_plugin_lock_by_name(0, + group_replication_plugin_name, + MYSQL_GROUP_REPLICATION_PLUGIN); + if (plugin != NULL) + { + st_mysql_group_replication *plugin_handle= + (st_mysql_group_replication*) plugin_decl(plugin)->info; + result= plugin_handle->get_members_number_info(); + + plugin_unlock(0, plugin); } - mysql_mutex_unlock(&LOCK_group_replication_handler); - return 0; + return result; } diff -Nru mysql-5.7-5.7.23/sql/rpl_group_replication.h mysql-5.7-5.7.24/sql/rpl_group_replication.h --- mysql-5.7-5.7.23/sql/rpl_group_replication.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/rpl_group_replication.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -23,41 +23,14 @@ #include "replication.h" #include "log_event.h" +#include "mysql/plugin_group_replication.h" + +class View_change_log_event; -/* - Group Replication plugin handler. -*/ -class Group_replication_handler -{ -public: - Group_replication_handler(const char *plugin_name_arg); - ~Group_replication_handler(); - int init(); - int start(); - int stop(); - bool is_running(); - int set_retrieved_certification_info(View_change_log_event *view_change_event); - bool get_connection_status_info( - const GROUP_REPLICATION_CONNECTION_STATUS_CALLBACKS& callbacks); - bool get_group_members_info( - unsigned int index, - const GROUP_REPLICATION_GROUP_MEMBERS_CALLBACKS& callbacks); - bool get_group_member_stats_info( - const GROUP_REPLICATION_GROUP_MEMBER_STATS_CALLBACKS& callbacks); - unsigned int get_members_number_info(); - -private: - std::string plugin_name; - plugin_ref plugin; - st_mysql_group_replication *plugin_handle; - int plugin_init(); -}; /* Group Replication plugin handler function accessors. */ -int group_replication_init(const char* plugin_name); -int group_replication_cleanup(); bool is_group_replication_plugin_loaded(); int group_replication_start(); diff -Nru mysql-5.7-5.7.23/sql/rpl_mi.cc mysql-5.7-5.7.24/sql/rpl_mi.cc --- mysql-5.7-5.7.23/sql/rpl_mi.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/rpl_mi.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2006, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -132,7 +132,8 @@ checksum_alg_before_fd(binary_log::BINLOG_CHECKSUM_ALG_UNDEF), retry_count(master_retry_count), mi_description_event(NULL), - auto_position(false) + auto_position(false), + reset(false) { host[0] = 0; user[0] = 0; bind_addr[0] = 0; password[0]= 0; start_password[0]= 0; @@ -208,6 +209,7 @@ handler->end_info(); inited = 0; + reset = true; DBUG_VOID_RETURN; } @@ -246,16 +248,25 @@ DBUG_ENTER("Master_info::flush_info"); DBUG_PRINT("enter",("master_pos: %lu", (ulong) master_log_pos)); - if (!inited) + bool skip_flushing = !inited; + /* + A Master_info of a channel that was inited and then reset must be flushed + into the repository or else its connection configuration will be lost in + case the server restarts before starting the channel again. + */ + if (force && reset) skip_flushing= false; + + if (skip_flushing) DBUG_RETURN(0); /* We update the sync_period at this point because only here we now that we are handling a master info. This needs to be update every time we call flush because the option maybe - dinamically set. + dynamically set. */ - handler->set_sync_period(sync_masterinfo_period); + if (inited) + handler->set_sync_period(sync_masterinfo_period); if (write_info(handler)) goto err; @@ -306,6 +317,7 @@ } inited= 1; + reset= false; if (flush_info(TRUE)) goto err; diff -Nru mysql-5.7-5.7.23/sql/rpl_mi.h mysql-5.7-5.7.24/sql/rpl_mi.h --- mysql-5.7-5.7.23/sql/rpl_mi.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/rpl_mi.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2006, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -501,6 +501,9 @@ @param THD thd the THD object of current thread */ void wait_until_no_reference(THD *thd); + + /* Set true when the Master_info object was cleared by a RESET SLAVE */ + bool reset; }; int change_master_server_id_cmp(ulong *id1, ulong *id2); diff -Nru mysql-5.7-5.7.23/sql/rpl_rli.cc mysql-5.7-5.7.24/sql/rpl_rli.cc --- mysql-5.7-5.7.23/sql/rpl_rli.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/rpl_rli.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1249,7 +1249,15 @@ if (!inited) { DBUG_PRINT("info", ("inited == 0")); - if (error_on_rli_init_info) + if (error_on_rli_init_info || + /* + mi->reset means that the channel was reset but still exists. Channel + shall have the index and the first relay log file. + + Those files shall be remove in a following RESET SLAVE ALL (even when + channel was not inited again). + */ + (mi->reset && delete_only)) { ln_without_channel_name= relay_log.generate_name(opt_relay_logname, "-relay-bin", buffer); @@ -1321,13 +1329,6 @@ cur_log_fd= -1; } - if (relay_log.reset_logs(thd, delete_only)) - { - *errmsg = "Failed during log reset"; - error=1; - goto err; - } - /** Clear the retrieved gtid set for this channel. global_sid_lock->wrlock() is needed. @@ -1336,6 +1337,13 @@ (const_cast(get_gtid_set()))->clear(); global_sid_lock->unlock(); + if (relay_log.reset_logs(thd, delete_only)) + { + *errmsg = "Failed during log reset"; + error=1; + goto err; + } + /* Save name of used relay log file */ set_group_relay_log_name(relay_log.get_log_fname()); set_event_relay_log_name(relay_log.get_log_fname()); diff -Nru mysql-5.7-5.7.23/sql/rpl_slave.cc mysql-5.7-5.7.24/sql/rpl_slave.cc --- mysql-5.7-5.7.23/sql/rpl_slave.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/rpl_slave.cc 2018-10-04 05:48:22.000000000 +0000 @@ -459,7 +459,7 @@ mi= it->second; /* If server id is not set, start_slave_thread() will say it */ - if (mi && mi->host[0]) + if (mi && mi->host[0] && mi->rli->inited) { /* same as in start_slave() cache the global var values into rli's members */ mi->rli->opt_slave_parallel_workers= opt_mts_slave_parallel_workers; @@ -477,6 +477,11 @@ mi->get_channel()); } } + else + { + sql_print_information("Failed to start slave threads for channel '%s'", + mi->get_channel()); + } } } @@ -550,7 +555,9 @@ { mi= it->second; - channel_configured= mi && mi->inited && mi->host[0]; // channel properly configured. + channel_configured= mi && // Master_info exists + (mi->inited || mi->reset) // It is inited or was reset + && mi->host[0]; // host is set if (channel_configured) { @@ -10283,7 +10290,8 @@ Master_info *mi= 0; int result= 0; - mi_map::iterator it; + mi_map::iterator it, gr_channel_map_it; + if (thd->lex->reset_slave_info.all) { /* First do reset_slave for default channel */ @@ -10305,6 +10313,26 @@ break; it= channel_map.begin(); } + /* RESET group replication specific channels */ + gr_channel_map_it= channel_map.begin(GROUP_REPLICATION_CHANNEL); + while (gr_channel_map_it != channel_map.end(GROUP_REPLICATION_CHANNEL)) + { + mi= gr_channel_map_it->second; + DBUG_ASSERT(mi); + /* + We cannot RESET a group replication channel while the group + replication is running. + */ + if (is_group_replication_running()) + { + my_error(ER_SLAVE_CHANNEL_OPERATION_NOT_ALLOWED, MYF(0), + "RESET SLAVE ALL FOR CHANNEL", mi->get_channel()); + DBUG_RETURN(1); + } + if ((result= reset_slave(thd, mi, thd->lex->reset_slave_info.all))) + break; + gr_channel_map_it= channel_map.begin(GROUP_REPLICATION_CHANNEL); + } } else { @@ -10317,6 +10345,27 @@ break; it++; } + /* + RESET group replication specific channels. + + We cannot RESET a group replication channel while the group + replication is running. + */ + gr_channel_map_it= channel_map.begin(GROUP_REPLICATION_CHANNEL); + while (gr_channel_map_it != channel_map.end(GROUP_REPLICATION_CHANNEL)) + { + mi= gr_channel_map_it->second; + DBUG_ASSERT(mi); + if (is_group_replication_running()) + { + my_error(ER_SLAVE_CHANNEL_OPERATION_NOT_ALLOWED, MYF(0), + "RESET SLAVE FOR CHANNEL", mi->get_channel()); + DBUG_RETURN(1); + } + if ((result= reset_slave(thd, mi, thd->lex->reset_slave_info.all))) + break; + gr_channel_map_it++; + } } DBUG_RETURN(result); @@ -10344,7 +10393,8 @@ const char* errmsg= "Unknown error occured while reseting slave"; DBUG_ENTER("reset_slave"); - bool no_init_after_delete= false; + bool is_default_channel= strcmp(mi->get_channel(), + channel_map.get_default_channel()) == 0; /* RESET SLAVE command should ignore 'read-only' and 'super_read_only' @@ -10369,18 +10419,10 @@ // delete relay logs, clear relay log coordinates - - /* - For named channels, we have to delete the index and log files - and not init them - */ - if (strcmp(mi->get_channel(), channel_map.get_default_channel())) - no_init_after_delete= true; - if ((error= mi->rli->purge_relay_logs(thd, 1 /* just reset */, &errmsg, - no_init_after_delete))) + reset_all && !is_default_channel))) { my_error(ER_RELAY_LOG_FAIL, MYF(0), errmsg); error= ER_RELAY_LOG_FAIL; @@ -10400,7 +10442,25 @@ goto err; } if (!reset_all) + { mi->init_master_log_pos(); + mi->master_uuid[0]= 0; + /* + This shall prevent the channel to vanish if server is restarted + after this RESET SLAVE and before the channel be started. + */ + if (mi->reset && + opt_mi_repository_id == INFO_REPOSITORY_TABLE && + opt_rli_repository_id == INFO_REPOSITORY_TABLE && + mi->flush_info(true)) + { + error= ER_MASTER_INFO; + my_error(ER_MASTER_INFO, MYF(0)); + unlock_slave_threads(mi); + mi->channel_unlock(); + goto err; + } + } unlock_slave_threads(mi); diff -Nru mysql-5.7-5.7.23/sql/share/errmsg-utf8.txt mysql-5.7-5.7.24/sql/share/errmsg-utf8.txt --- mysql-5.7-5.7.23/sql/share/errmsg-utf8.txt 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/share/errmsg-utf8.txt 2018-10-04 05:48:22.000000000 +0000 @@ -3825,22 +3825,22 @@ swe "Denna version av MySQL är inte kompilerad med RAID" ukr "Ð¦Ñ Ð²ÐµÑ€ÑÑ–Ñ MySQL не зкомпільована з підтримкою RAID" ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE - cze "Update tabulky bez WHERE s klíÄem není v módu bezpeÄných update dovoleno" - dan "Du bruger sikker opdaterings modus ('safe update mode') og du forsøgte at opdatere en tabel uden en WHERE klausul, der gør brug af et KEY felt" - nla "U gebruikt 'safe update mode' en u probeerde een tabel te updaten zonder een WHERE met een KEY kolom" - eng "You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column" - est "Katse muuta tabelit turvalises rezhiimis ilma WHERE klauslita" - fre "Vous êtes en mode 'safe update' et vous essayez de faire un UPDATE sans clause WHERE utilisant un index" - ger "MySQL läuft im sicheren Aktualisierungsmodus (safe update mode). Sie haben versucht, eine Tabelle zu aktualisieren, ohne in der WHERE-Klausel ein KEY-Feld anzugeben" - hun "On a biztonsagos update modot hasznalja, es WHERE that uses a KEY column" - ita "In modalita` 'safe update' si e` cercato di aggiornare una tabella senza clausola WHERE su una chiave" - jpn "'safe update mode'ã§ã€ç´¢å¼•ã‚’利用ã™ã‚‹WHEREå¥ã®ç„¡ã„更新処ç†ã‚’実行ã—よã†ã¨ã—ã¾ã—ãŸã€‚" - por "Você está usando modo de atualização seguro e tentou atualizar uma tabela sem uma cláusula WHERE que use uma coluna chave" - rus "Ð’Ñ‹ работаете в режиме безопаÑных обновлений (safe update mode) и попробовали изменить таблицу без иÑÐ¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ ÐºÐ»ÑŽÑ‡ÐµÐ²Ð¾Ð³Ð¾ Ñтолбца в чаÑти WHERE" - serbian "Vi koristite safe update mod servera, a probali ste da promenite podatke bez 'WHERE' komande koja koristi kolonu kljuÄa" - spa "Tu estás usando modo de actualización segura y tentado actualizar una tabla sin un WHERE que usa una KEY columna" - swe "Du använder 'säker uppdateringsmod' och försökte uppdatera en tabell utan en WHERE-sats som använder sig av en nyckel" - ukr "Ви у режимі безпечного Ð¾Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ñ Ñ‚Ð° намагаєтеÑÑŒ оновити таблицю без оператора WHERE, що викориÑтовує KEY Ñтовбець" + cze "Update tabulky bez WHERE s klíÄem není v módu bezpeÄných update dovoleno. %s" + dan "Du bruger sikker opdaterings modus ('safe update mode') og du forsøgte at opdatere en tabel uden en WHERE klausul, der gør brug af et KEY felt. %s" + nla "U gebruikt 'safe update mode' en u probeerde een tabel te updaten zonder een WHERE met een KEY kolom. %s" + eng "You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. %s" + est "Katse muuta tabelit turvalises rezhiimis ilma WHERE klauslita. %s" + fre "Vous êtes en mode 'safe update' et vous essayez de faire un UPDATE sans clause WHERE utilisant un index. %s" + ger "MySQL läuft im sicheren Aktualisierungsmodus (safe update mode). Sie haben versucht, eine Tabelle zu aktualisieren, ohne in der WHERE-Klausel ein KEY-Feld anzugeben. %s" + hun "On a biztonsagos update modot hasznalja, es WHERE that uses a KEY column. %s" + ita "In modalita` 'safe update' si e` cercato di aggiornare una tabella senza clausola WHERE su una chiave. %s" + jpn "'safe update mode'ã§ã€ç´¢å¼•ã‚’利用ã™ã‚‹WHEREå¥ã®ç„¡ã„更新処ç†ã‚’実行ã—よã†ã¨ã—ã¾ã—ãŸã€‚. %s" + por "Você está usando modo de atualização seguro e tentou atualizar uma tabela sem uma cláusula WHERE que use uma coluna chave. %s" + rus "Ð’Ñ‹ работаете в режиме безопаÑных обновлений (safe update mode) и попробовали изменить таблицу без иÑÐ¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ ÐºÐ»ÑŽÑ‡ÐµÐ²Ð¾Ð³Ð¾ Ñтолбца в чаÑти WHERE. %s" + serbian "Vi koristite safe update mod servera, a probali ste da promenite podatke bez 'WHERE' komande koja koristi kolonu kljuÄa. %s" + spa "Tu estás usando modo de actualización segura y tentado actualizar una tabla sin un WHERE que usa una KEY columna. %s" + swe "Du använder 'säker uppdateringsmod' och försökte uppdatera en tabell utan en WHERE-sats som använder sig av en nyckel. %s" + ukr "Ви у режимі безпечного Ð¾Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ñ Ñ‚Ð° намагаєтеÑÑŒ оновити таблицю без оператора WHERE, що викориÑтовує KEY Ñтовбець. %s" ER_KEY_DOES_NOT_EXITS 42000 S1009 cze "KlÃ­Ä '%-.192s' v tabulce '%-.192s' neexistuje" dan "Nøglen '%-.192s' eksisterer ikke i tabellen '%-.192s'" @@ -7771,6 +7771,9 @@ ER_XA_REPLICATION_FILTERS eng "The use of replication filters with XA transactions is not supported, and can lead to an undefined state in the replication slave." +ER_CANT_OPEN_ERROR_LOG + eng "Could not open file '%s' for error logging%s%s" + # # End of 5.7 error messages. # diff -Nru mysql-5.7-5.7.23/sql/sp_head.cc mysql-5.7-5.7.24/sql/sp_head.cc --- mysql-5.7-5.7.23/sql/sp_head.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/sp_head.cc 2018-10-04 05:48:22.000000000 +0000 @@ -2232,6 +2232,8 @@ m_saved_free_list= thd->free_list; thd->mem_root= sp->get_persistent_mem_root(); + set_memroot_max_capacity(thd->mem_root, m_saved_memroot->max_capacity); + set_memroot_error_reporting(thd->mem_root, m_saved_memroot->error_for_capacity_exceeded); thd->free_list= NULL; } diff -Nru mysql-5.7-5.7.23/sql/sql_alter.cc mysql-5.7-5.7.24/sql/sql_alter.cc --- mysql-5.7-5.7.23/sql/sql_alter.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/sql_alter.cc 2018-10-04 05:48:22.000000000 +0000 @@ -321,8 +321,11 @@ if (!thd->lex->is_ignore() && thd->is_strict_mode()) thd->push_internal_handler(&strict_handler); + Partition_in_shared_ts_error_handler partition_in_shared_ts_handler; + thd->push_internal_handler(&partition_in_shared_ts_handler); result= mysql_alter_table(thd, select_lex->db, lex->name.str, &create_info, first_table, &alter_info); + thd->pop_internal_handler(); if (!thd->lex->is_ignore() && thd->is_strict_mode()) thd->pop_internal_handler(); diff -Nru mysql-5.7-5.7.23/sql/sql_base.cc mysql-5.7-5.7.24/sql/sql_base.cc --- mysql-5.7-5.7.23/sql/sql_base.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/sql_base.cc 2018-10-04 05:48:22.000000000 +0000 @@ -246,6 +246,28 @@ return false; } +/** + Implementation of Partition_in_shared_ts error handler. + This internal handler is to make sure that deprecation warning is not + displayed again if already displayed once. +*/ +bool Partition_in_shared_ts_error_handler::handle_condition( + THD *thd, + uint sql_errno, + const char *sqlstate, + Sql_condition::enum_severity_level *level, + const char *msg) +{ + if (sql_errno == ER_WARN_DEPRECATED_SYNTAX_NO_REPLACEMENT && + strstr(msg, "InnoDB : A table partition in a shared tablespace") != NULL) { + if (m_is_already_reported == false) { + m_is_already_reported= true; + thd->get_stmt_da()->push_warning(thd, sql_errno, sqlstate, *level, msg); + } + return true; + } + return false; +} /** This internal handler is used to trap ER_NO_SUCH_TABLE and diff -Nru mysql-5.7-5.7.23/sql/sql_base.h mysql-5.7-5.7.24/sql/sql_base.h --- mysql-5.7-5.7.23/sql/sql_base.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/sql_base.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -764,6 +764,28 @@ enum_set_select_behavior m_set_select_behavior; }; +/** + This internal handler is to make sure that deprecation warning is not + displayed again if already displayed once. +*/ + +class Partition_in_shared_ts_error_handler : public Internal_error_handler +{ +public: + Partition_in_shared_ts_error_handler() + : m_is_already_reported(false) + {} + + virtual bool handle_condition(THD *thd, + uint sql_errno, + const char* sqlstate, + Sql_condition::enum_severity_level *level, + const char* msg); + +private: + bool m_is_already_reported; +}; + void update_indexed_column_map(TABLE *table, MY_BITMAP *read_set); #endif /* SQL_BASE_INCLUDED */ diff -Nru mysql-5.7-5.7.23/sql/sql_delete.cc mysql-5.7-5.7.24/sql/sql_delete.cc --- mysql-5.7-5.7.23/sql/sql_delete.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/sql_delete.cc 2018-10-04 05:48:22.000000000 +0000 @@ -136,13 +136,6 @@ DBUG_RETURN(true); const_cond= (!conds || conds->const_item()); - if (safe_update && const_cond) - { - my_message(ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE, - ER(ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE), MYF(0)); - DBUG_RETURN(TRUE); - } - const_cond_result= const_cond && (!conds || conds->val_int()); if (thd->is_error()) { @@ -192,6 +185,14 @@ goto exit_without_my_ok; } + /* Do not allow deletion of all records if safe_update is set. */ + if (safe_update) + { + my_error(ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE, MYF(0), + thd->get_stmt_da()->get_first_condition_message()); + DBUG_RETURN(true); + } + DBUG_PRINT("debug", ("Trying to use delete_all_rows()")); if (!(error=table->file->ha_delete_all_rows())) { @@ -321,13 +322,22 @@ /* If running in safe sql mode, don't allow updates without keys */ if (table->quick_keys.is_clear_all()) { - thd->server_status|=SERVER_QUERY_NO_INDEX_USED; - if (safe_update && !using_limit) + thd->server_status|= SERVER_QUERY_NO_INDEX_USED; + + /* + Safe update error isn't returned if: + 1) It is an EXPLAIN statement OR + 2) LIMIT is present. + + Append the first warning (if any) to the error message. This allows the + user to understand why index access couldn't be chosen. + */ + if (!thd->lex->is_explain() && safe_update && !using_limit) { free_underlaid_joins(thd, select_lex); - my_message(ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE, - ER(ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE), MYF(0)); - DBUG_RETURN(TRUE); + my_error(ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE, MYF(0), + thd->get_stmt_da()->get_first_condition_message()); + DBUG_RETURN(true); } } diff -Nru mysql-5.7-5.7.23/sql/sql_error.cc mysql-5.7-5.7.24/sql/sql_error.cc --- mysql-5.7-5.7.23/sql/sql_error.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/sql_error.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -497,6 +497,12 @@ return false; } +const char * Diagnostics_area::get_first_condition_message() +{ + if (m_conditions_list.elements()) + return m_conditions_list.front()->message_text(); + return ""; +} void Diagnostics_area::reset_condition_info(THD *thd) { diff -Nru mysql-5.7-5.7.23/sql/sql_error.h mysql-5.7-5.7.24/sql/sql_error.h --- mysql-5.7-5.7.23/sql/sql_error.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/sql_error.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -484,6 +484,8 @@ Sql_condition_iterator sql_conditions() const { return m_conditions_list; } + const char * get_first_condition_message(); + /** Make sure there is room for the given number of conditions. */ void reserve_number_of_conditions(THD *thd, uint count); diff -Nru mysql-5.7-5.7.23/sql/sql_hints.yy.cc mysql-5.7-5.7.24/sql/sql_hints.yy.cc --- mysql-5.7-5.7.23/sql/sql_hints.yy.cc 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/sql/sql_hints.yy.cc 2018-10-04 06:01:50.000000000 +0000 @@ -68,7 +68,7 @@ /* Copy the first part of user declarations. */ -#line 21 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:339 */ +#line 21 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:339 */ #include "sql_class.h" #include "parse_tree_hints.h" @@ -77,7 +77,7 @@ #define NEW_PTN new (thd->mem_root) -#line 81 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:339 */ +#line 81 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:339 */ # ifndef YY_NULLPTR # if defined __cplusplus && 201103L <= __cplusplus @@ -97,8 +97,8 @@ /* In a future release of Bison, this section will be replaced by #include "sql_hints.yy.h". */ -#ifndef YY_HINT_PARSER_EXPORT_HOME2_PB2_BUILD_SB_1_29015990_1528451851_72_DIST_GPL_SQL_SQL_HINTS_YY_H_INCLUDED -# define YY_HINT_PARSER_EXPORT_HOME2_PB2_BUILD_SB_1_29015990_1528451851_72_DIST_GPL_SQL_SQL_HINTS_YY_H_INCLUDED +#ifndef YY_HINT_PARSER_EXPORT_HOME2_PB2_BUILD_SB_2_30854041_1538632219_7_DIST_GPL_SQL_SQL_HINTS_YY_H_INCLUDED +# define YY_HINT_PARSER_EXPORT_HOME2_PB2_BUILD_SB_2_30854041_1538632219_7_DIST_GPL_SQL_SQL_HINTS_YY_H_INCLUDED /* Debug traces. */ #ifndef YYDEBUG # define YYDEBUG 0 @@ -168,11 +168,11 @@ int HINT_PARSER_parse (class THD *thd, class Hint_scanner *scanner, class PT_hint_list **ret); -#endif /* !YY_HINT_PARSER_EXPORT_HOME2_PB2_BUILD_SB_1_29015990_1528451851_72_DIST_GPL_SQL_SQL_HINTS_YY_H_INCLUDED */ +#endif /* !YY_HINT_PARSER_EXPORT_HOME2_PB2_BUILD_SB_2_30854041_1538632219_7_DIST_GPL_SQL_SQL_HINTS_YY_H_INCLUDED */ /* Copy the second part of user declarations. */ -#line 176 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:358 */ +#line 176 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:358 */ #ifdef short # undef short @@ -1331,44 +1331,44 @@ switch (yyn) { case 2: -#line 119 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 119 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { *ret= (yyvsp[-1].hint_list); } -#line 1337 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1337 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 3: -#line 121 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 121 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { *ret= (yyvsp[-2].hint_list); } -#line 1343 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1343 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 4: -#line 123 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 123 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { *ret= NULL; } -#line 1349 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1349 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 5: -#line 128 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 128 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_list)= NEW_PTN PT_hint_list(thd->mem_root); if ((yyval.hint_list) == NULL || (yyval.hint_list)->push_back((yyvsp[0].hint))) YYABORT; // OOM } -#line 1359 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1359 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 6: -#line 134 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 134 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyvsp[-1].hint_list)->push_back((yyvsp[0].hint)); (yyval.hint_list)= (yyvsp[-1].hint_list); } -#line 1368 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1368 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 12: -#line 151 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 151 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { int error; char *end= const_cast((yyvsp[-1].hint_string).str + (yyvsp[-1].hint_string).length); @@ -1386,345 +1386,345 @@ YYABORT; // OOM } } -#line 1390 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1390 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 13: -#line 172 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 172 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_param_table_list).init(thd->mem_root); } -#line 1396 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1396 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 15: -#line 178 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 178 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_param_table_list).init(thd->mem_root); if ((yyval.hint_param_table_list).push_back((yyvsp[0].hint_param_table))) YYABORT; // OOM } -#line 1406 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1406 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 16: -#line 184 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 184 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { if ((yyvsp[-2].hint_param_table_list).push_back((yyvsp[0].hint_param_table))) YYABORT; // OOM (yyval.hint_param_table_list)= (yyvsp[-2].hint_param_table_list); } -#line 1416 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1416 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 17: -#line 192 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 192 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_param_table_list).init(thd->mem_root); } -#line 1422 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1422 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 19: -#line 198 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 198 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_param_table_list).init(thd->mem_root); if ((yyval.hint_param_table_list).push_back((yyvsp[0].hint_param_table))) YYABORT; // OOM } -#line 1432 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1432 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 20: -#line 204 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 204 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { if ((yyvsp[-2].hint_param_table_list).push_back((yyvsp[0].hint_param_table))) YYABORT; // OOM (yyval.hint_param_table_list)= (yyvsp[-2].hint_param_table_list); } -#line 1442 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1442 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 21: -#line 212 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 212 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_param_index_list).init(thd->mem_root); } -#line 1448 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1448 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 23: -#line 218 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 218 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_param_index_list).init(thd->mem_root); if ((yyval.hint_param_index_list).push_back((yyvsp[0].hint_string))) YYABORT; // OOM } -#line 1458 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1458 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 24: -#line 224 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 224 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { if ((yyvsp[-2].hint_param_index_list).push_back((yyvsp[0].hint_string))) YYABORT; // OOM (yyval.hint_param_index_list)= (yyvsp[-2].hint_param_index_list); } -#line 1468 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1468 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 26: -#line 237 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 237 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_param_table).table= (yyvsp[0].hint_string); (yyval.hint_param_table).opt_query_block= NULL_CSTR; } -#line 1477 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1477 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 27: -#line 245 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 245 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_param_table).table= (yyvsp[-1].hint_string); (yyval.hint_param_table).opt_query_block= (yyvsp[0].hint_string); } -#line 1486 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1486 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 29: -#line 254 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 254 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_param_table).table= (yyvsp[0].hint_string); (yyval.hint_param_table).opt_query_block= (yyvsp[-1].hint_string); } -#line 1495 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1495 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 30: -#line 261 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 261 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_string)= NULL_CSTR; } -#line 1501 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1501 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 32: -#line 267 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 267 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint)= NEW_PTN PT_qb_level_hint((yyvsp[-2].hint_string), TRUE, SEMIJOIN_HINT_ENUM, (yyvsp[-1].ulong_num)); if ((yyval.hint) == NULL) YYABORT; // OOM } -#line 1511 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1511 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 33: -#line 274 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 274 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint)= NEW_PTN PT_qb_level_hint((yyvsp[-2].hint_string), FALSE, SEMIJOIN_HINT_ENUM, (yyvsp[-1].ulong_num)); if ((yyval.hint) == NULL) YYABORT; // OOM } -#line 1521 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1521 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 34: -#line 281 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 281 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint)= NEW_PTN PT_qb_level_hint((yyvsp[-2].hint_string), TRUE, SUBQUERY_HINT_ENUM, (yyvsp[-1].ulong_num)); if ((yyval.hint) == NULL) YYABORT; // OOM } -#line 1531 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1531 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 35: -#line 289 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 289 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= 0; } -#line 1537 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1537 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 36: -#line 291 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 291 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= (yyvsp[0].ulong_num); } -#line 1545 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1545 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 37: -#line 295 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 295 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= (yyvsp[-2].ulong_num) | (yyvsp[0].ulong_num); } -#line 1553 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1553 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 38: -#line 301 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 301 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= OPTIMIZER_SWITCH_FIRSTMATCH; } -#line 1559 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1559 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 39: -#line 302 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 302 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= OPTIMIZER_SWITCH_LOOSE_SCAN; } -#line 1565 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1565 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 40: -#line 303 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 303 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= OPTIMIZER_SWITCH_MATERIALIZATION; } -#line 1571 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1571 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 41: -#line 304 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 304 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= OPTIMIZER_SWITCH_DUPSWEEDOUT; } -#line 1577 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1577 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 42: -#line 308 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 308 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= Item_exists_subselect::EXEC_MATERIALIZATION; } -#line 1584 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1584 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 43: -#line 310 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 310 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= Item_exists_subselect::EXEC_EXISTS; } -#line 1590 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1590 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 44: -#line 316 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 316 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint)= NEW_PTN PT_table_level_hint(NULL_CSTR, (yyvsp[-1].hint_param_table_list), TRUE, (yyvsp[-3].hint_type)); if ((yyval.hint) == NULL) YYABORT; // OOM } -#line 1600 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1600 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 45: -#line 323 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 323 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint)= NEW_PTN PT_table_level_hint((yyvsp[-2].hint_string), (yyvsp[-1].hint_param_table_list), TRUE, (yyvsp[-4].hint_type)); if ((yyval.hint) == NULL) YYABORT; // OOM } -#line 1610 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1610 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 46: -#line 329 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 329 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint)= NEW_PTN PT_table_level_hint(NULL_CSTR, (yyvsp[-1].hint_param_table_list), FALSE, (yyvsp[-3].hint_type)); if ((yyval.hint) == NULL) YYABORT; // OOM } -#line 1620 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1620 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 47: -#line 336 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 336 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint)= NEW_PTN PT_table_level_hint((yyvsp[-2].hint_string), (yyvsp[-1].hint_param_table_list), FALSE, (yyvsp[-4].hint_type)); if ((yyval.hint) == NULL) YYABORT; // OOM } -#line 1630 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1630 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 48: -#line 346 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 346 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint)= NEW_PTN PT_key_level_hint((yyvsp[-2].hint_param_table), (yyvsp[-1].hint_param_index_list), TRUE, (yyvsp[-4].hint_type)); if ((yyval.hint) == NULL) YYABORT; // OOM } -#line 1640 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1640 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 49: -#line 353 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 353 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint)= NEW_PTN PT_key_level_hint((yyvsp[-2].hint_param_table), (yyvsp[-1].hint_param_index_list), FALSE, (yyvsp[-4].hint_type)); if ((yyval.hint) == NULL) YYABORT; // OOM } -#line 1650 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1650 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 50: -#line 362 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 362 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_type)= BKA_HINT_ENUM; } -#line 1658 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1658 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 51: -#line 366 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 366 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_type)= BNL_HINT_ENUM; } -#line 1666 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1666 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 52: -#line 373 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 373 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_type)= BKA_HINT_ENUM; } -#line 1674 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1674 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 53: -#line 377 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 377 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_type)= BNL_HINT_ENUM; } -#line 1682 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1682 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 54: -#line 384 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 384 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_type)= MRR_HINT_ENUM; } -#line 1690 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1690 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 55: -#line 388 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 388 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_type)= NO_RANGE_HINT_ENUM; } -#line 1698 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1698 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 56: -#line 395 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 395 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_type)= ICP_HINT_ENUM; } -#line 1706 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1706 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 57: -#line 399 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 399 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint_type)= MRR_HINT_ENUM; } -#line 1714 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1714 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; case 58: -#line 406 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ +#line 406 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_hints.yy" /* yacc.c:1646 */ { (yyval.hint)= NEW_PTN PT_hint_qb_name((yyvsp[-1].hint_string)); if ((yyval.hint) == NULL) YYABORT; // OOM } -#line 1724 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1724 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ break; -#line 1728 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ +#line 1728 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_hints.yy.cc" /* yacc.c:1646 */ default: break; } /* User semantic actions sometimes alter yychar, and that requires diff -Nru mysql-5.7-5.7.23/sql/sql_hints.yy.h mysql-5.7-5.7.24/sql/sql_hints.yy.h --- mysql-5.7-5.7.23/sql/sql_hints.yy.h 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/sql/sql_hints.yy.h 2018-10-04 06:01:50.000000000 +0000 @@ -30,8 +30,8 @@ This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ -#ifndef YY_HINT_PARSER_EXPORT_HOME2_PB2_BUILD_SB_1_29015990_1528451851_72_DIST_GPL_SQL_SQL_HINTS_YY_H_INCLUDED -# define YY_HINT_PARSER_EXPORT_HOME2_PB2_BUILD_SB_1_29015990_1528451851_72_DIST_GPL_SQL_SQL_HINTS_YY_H_INCLUDED +#ifndef YY_HINT_PARSER_EXPORT_HOME2_PB2_BUILD_SB_2_30854041_1538632219_7_DIST_GPL_SQL_SQL_HINTS_YY_H_INCLUDED +# define YY_HINT_PARSER_EXPORT_HOME2_PB2_BUILD_SB_2_30854041_1538632219_7_DIST_GPL_SQL_SQL_HINTS_YY_H_INCLUDED /* Debug traces. */ #ifndef YYDEBUG # define YYDEBUG 0 @@ -101,4 +101,4 @@ int HINT_PARSER_parse (class THD *thd, class Hint_scanner *scanner, class PT_hint_list **ret); -#endif /* !YY_HINT_PARSER_EXPORT_HOME2_PB2_BUILD_SB_1_29015990_1528451851_72_DIST_GPL_SQL_SQL_HINTS_YY_H_INCLUDED */ +#endif /* !YY_HINT_PARSER_EXPORT_HOME2_PB2_BUILD_SB_2_30854041_1538632219_7_DIST_GPL_SQL_SQL_HINTS_YY_H_INCLUDED */ diff -Nru mysql-5.7-5.7.23/sql/sql_optimizer.cc mysql-5.7-5.7.24/sql/sql_optimizer.cc --- mysql-5.7-5.7.23/sql/sql_optimizer.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/sql_optimizer.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -6383,7 +6383,14 @@ if (!(keyuse->used_tables & sj_inner_tables) && !(keyuse->optimize & KEY_OPTIMIZE_REF_OR_NULL)) { - bound_parts|= (key_part_map)1 << keyuse->keypart; + /* + Consider only if the resulting condition does not pass a NULL + value through. Especially needed for a UNIQUE index on NULLable + columns where a duplicate row is possible with NULL values. + */ + if (keyuse->null_rejecting || !keyuse->val->maybe_null || + !keyinfo->key_part[keyuse->keypart].field->maybe_null()) + bound_parts|= (key_part_map)1 << keyuse->keypart; } keyuse++; } while (keyuse->key == key && keyuse->table_ref == tl); @@ -6819,14 +6826,14 @@ } /** - @brief - If EXPLAIN EXTENDED, add warning that an index cannot be used for - ref access + @brief + If EXPLAIN EXTENDED or if the --safe-updates option is enabled, add a + warning that an index cannot be used for ref access @details - If EXPLAIN EXTENDED, add a warning for each index that cannot be - used for ref access due to either type conversion or different - collations on the field used for comparison + If EXPLAIN EXTENDED or if the --safe-updates option is enabled, add a + warning for each index that cannot be used for ref access due to either type + conversion or different collations on the field used for comparison Example type conversion (char compared to int): @@ -6840,13 +6847,14 @@ @param thd Thread for the connection that submitted the query @param field Field used in comparision - @param cant_use_indexes Indexes that cannot be used for lookup + @param cant_use_index Indexes that cannot be used for lookup */ -static void -warn_index_not_applicable(THD *thd, const Field *field, - const key_map cant_use_index) +static void +warn_index_not_applicable(THD *thd, const Field *field, + const key_map cant_use_index) { - if (thd->lex->describe) + if (thd->lex->describe || + thd->variables.option_bits & OPTION_SAFE_UPDATES) for (uint j=0 ; j < field->table->s->keys ; j++) if (cant_use_index.is_set(j)) push_warning_printf(thd, diff -Nru mysql-5.7-5.7.23/sql/sql_parse.cc mysql-5.7-5.7.24/sql/sql_parse.cc --- mysql-5.7-5.7.23/sql/sql_parse.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/sql_parse.cc 2018-10-04 05:48:22.000000000 +0000 @@ -2452,6 +2452,8 @@ TABLE_LIST *all_tables; /* most outer SELECT_LEX_UNIT of query */ SELECT_LEX_UNIT *const unit= lex->unit; + // keep GTID violation state in order to roll it back on statement failure + bool gtid_consistency_violation_state = thd->has_gtid_consistency_violation; DBUG_ASSERT(select_lex->master_unit() == unit); DBUG_ENTER("mysql_execute_command"); /* EXPLAIN OTHER isn't explainable command, but can have describe flag. */ @@ -3257,6 +3259,10 @@ /* Push Strict_error_handler */ if (!thd->lex->is_ignore() && thd->is_strict_mode()) thd->push_internal_handler(&strict_handler); + + Partition_in_shared_ts_error_handler partition_in_shared_ts_handler; + thd->push_internal_handler(&partition_in_shared_ts_handler); + /* regular create */ if (create_info.options & HA_LEX_CREATE_TABLE_LIKE) { @@ -3270,6 +3276,9 @@ res= mysql_create_table(thd, create_table, &create_info, &alter_info); } + + thd->pop_internal_handler(); + /* Pop Strict_error_handler */ if (!thd->lex->is_ignore() && thd->is_strict_mode()) thd->pop_internal_handler(); @@ -5072,8 +5081,15 @@ } #endif - if (!(res || thd->is_error())) - binlog_gtid_end_transaction(thd); + if (!res && !thd->is_error()) { // if statement succeeded + binlog_gtid_end_transaction(thd); // finalize GTID life-cycle + DEBUG_SYNC(thd, "persist_new_state_after_statement_succeeded"); + } else if (!gtid_consistency_violation_state && // if the consistency state + thd->has_gtid_consistency_violation) { // was set by the failing + // statement + gtid_state->end_gtid_violating_transaction(thd); // just roll it back + DEBUG_SYNC(thd, "restore_previous_state_after_statement_failed"); + } DBUG_RETURN(res || thd->is_error()); } diff -Nru mysql-5.7-5.7.23/sql/sql_reload.cc mysql-5.7-5.7.24/sql/sql_reload.cc --- mysql-5.7-5.7.23/sql/sql_reload.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/sql_reload.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -126,10 +126,12 @@ result= 1; if ((options & REFRESH_SLOW_LOG) && opt_slow_log) - query_logger.reopen_log_file(QUERY_LOG_SLOW); + if (query_logger.reopen_log_file(QUERY_LOG_SLOW)) + result= 1; if ((options & REFRESH_GENERAL_LOG) && opt_general_log) - query_logger.reopen_log_file(QUERY_LOG_GENERAL); + if (query_logger.reopen_log_file(QUERY_LOG_GENERAL)) + result= 1; if (options & REFRESH_ENGINE_LOG) if (ha_flush_logs(NULL)) diff -Nru mysql-5.7-5.7.23/sql/sql_select.cc mysql-5.7-5.7.24/sql/sql_select.cc --- mysql-5.7-5.7.23/sql/sql_select.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/sql_select.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -2341,11 +2341,22 @@ for (uint i= 0; i < join->primary_tables; i++) { JOIN_TAB *const tab= join->best_ref[i]; + THD *thd = join->thd; - if (tab->type() == JT_ALL && (!tab->quick())) + /* + Safe update error isn't returned if: + 1) It is an EXPLAIN statement OR + 2) Table is not the target. + + Append the first warning (if any) to the error message. Allows the user + to understand why index access couldn't be chosen. + */ + + if (!thd->lex->is_explain() && tab->table()->pos_in_table_list->updating && + tab->type() == JT_ALL) { - my_message(ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE, - ER(ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE), MYF(0)); + my_error(ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE, MYF(0), + thd->get_stmt_da()->get_first_condition_message()); return true; } } diff -Nru mysql-5.7-5.7.23/sql/sql_update.cc mysql-5.7-5.7.24/sql/sql_update.cc --- mysql-5.7-5.7.23/sql/sql_update.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/sql_update.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -531,12 +531,21 @@ /* If running in safe sql mode, don't allow updates without keys */ if (table->quick_keys.is_clear_all()) { - thd->server_status|=SERVER_QUERY_NO_INDEX_USED; - if (safe_update && !using_limit) + thd->server_status|= SERVER_QUERY_NO_INDEX_USED; + + /* + No safe update error will be returned if: + 1) Statement is an EXPLAIN OR + 2) LIMIT is present. + + Append the first warning (if any) to the error message. Allows the user + to understand why index access couldn't be chosen. + */ + if (!thd->lex->is_explain() && safe_update && !using_limit) { - my_message(ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE, - ER(ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE), MYF(0)); - goto exit_without_my_ok; + my_error(ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE, MYF(0), + thd->get_stmt_da()->get_first_condition_message()); + DBUG_RETURN(true); } } if (select_lex->has_ft_funcs() && init_ftfuncs(thd, select_lex)) diff -Nru mysql-5.7-5.7.23/sql/sql_yacc.cc mysql-5.7-5.7.24/sql/sql_yacc.cc --- mysql-5.7-5.7.23/sql/sql_yacc.cc 2018-06-08 10:09:31.000000000 +0000 +++ mysql-5.7-5.7.24/sql/sql_yacc.cc 2018-10-04 06:02:02.000000000 +0000 @@ -68,7 +68,7 @@ /* Copy the first part of user declarations. */ -#line 24 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:339 */ +#line 24 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:339 */ /* Note: YYTHD is passed as an argument to yyparse(), and subsequently to yylex(). @@ -495,7 +495,7 @@ #include "parse_tree_items.h" -#line 499 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:339 */ +#line 499 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:339 */ # ifndef YY_NULLPTR # if defined __cplusplus && 201103L <= __cplusplus @@ -515,8 +515,8 @@ /* In a future release of Bison, this section will be replaced by #include "sql_yacc.h". */ -#ifndef YY_MYSQL_EXPORT_HOME2_PB2_BUILD_SB_1_29015990_1528451851_72_DIST_GPL_SQL_SQL_YACC_H_INCLUDED -# define YY_MYSQL_EXPORT_HOME2_PB2_BUILD_SB_1_29015990_1528451851_72_DIST_GPL_SQL_SQL_YACC_H_INCLUDED +#ifndef YY_MYSQL_EXPORT_HOME2_PB2_BUILD_SB_2_30854041_1538632219_7_DIST_GPL_SQL_SQL_YACC_H_INCLUDED +# define YY_MYSQL_EXPORT_HOME2_PB2_BUILD_SB_2_30854041_1538632219_7_DIST_GPL_SQL_SQL_YACC_H_INCLUDED /* Debug traces. */ #ifndef YYDEBUG # define YYDEBUG 0 @@ -1858,11 +1858,11 @@ int MYSQLparse (class THD *YYTHD); -#endif /* !YY_MYSQL_EXPORT_HOME2_PB2_BUILD_SB_1_29015990_1528451851_72_DIST_GPL_SQL_SQL_YACC_H_INCLUDED */ +#endif /* !YY_MYSQL_EXPORT_HOME2_PB2_BUILD_SB_2_30854041_1538632219_7_DIST_GPL_SQL_SQL_YACC_H_INCLUDED */ /* Copy the second part of user declarations. */ -#line 1866 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:358 */ +#line 1866 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:358 */ #ifdef short # undef short @@ -2282,225 +2282,225 @@ 5247, 5252, 5253, 5259, 5260, 5277, 5278, 5282, 5283, 5287, 5306, 5316, 5332, 5346, 5347, 5363, 5365, 5364, 5369, 5367, 5378, 5379, 5383, 5401, 5419, 5420, 5436, 5451, 5473, 5474, - 5479, 5478, 5502, 5518, 5540, 5539, 5557, 5556, 5576, 5598, - 5602, 5631, 5643, 5644, 5649, 5660, 5648, 5685, 5686, 5690, - 5703, 5726, 5739, 5765, 5766, 5771, 5770, 5807, 5820, 5821, - 5825, 5826, 5830, 5832, 5838, 5840, 5842, 5844, 5846, 5848, - 5857, 5864, 5865, 5869, 5870, 5874, 5875, 5879, 5880, 5884, - 5885, 5889, 5890, 5894, 5898, 5899, 5902, 5904, 5908, 5909, - 5913, 5914, 5915, 5919, 5924, 5929, 5934, 5939, 5944, 5949, - 5954, 5959, 5964, 5979, 5985, 6000, 6005, 6020, 6026, 6044, - 6049, 6054, 6059, 6064, 6070, 6069, 6095, 6096, 6097, 6102, - 6107, 6112, 6117, 6119, 6121, 6127, 6135, 6153, 6170, 6196, - 6214, 6215, 6216, 6217, 6218, 6219, 6223, 6224, 6225, 6229, - 6230, 6231, 6232, 6237, 6244, 6245, 6249, 6250, 6254, 6255, - 6262, 6267, 6273, 6279, 6285, 6304, 6310, 6312, 6316, 6324, - 6325, 6329, 6334, 6333, 6358, 6359, 6376, 6378, 6381, 6383, - 6387, 6388, 6392, 6398, 6404, 6405, 6406, 6407, 6415, 6417, - 6418, 6425, 6441, 6470, 6475, 6481, 6487, 6492, 6497, 6502, - 6507, 6514, 6521, 6528, 6535, 6541, 6547, 6554, 6561, 6567, - 6583, 6585, 6590, 6619, 6624, 6629, 6635, 6641, 6646, 6651, - 6656, 6662, 6668, 6675, 6681, 6687, 6693, 6699, 6706, 6705, - 6714, 6713, 6721, 6727, 6733, 6741, 6742, 6743, 6749, 6750, - 6751, 6752, 6753, 6757, 6761, 6762, 6766, 6767, 6771, 6772, - 6773, 6774, 6775, 6779, 6780, 6781, 6782, 6783, 6787, 6792, - 6794, 6800, 6804, 6809, 6813, 6822, 6823, 6827, 6828, 6829, - 6837, 6838, 6842, 6843, 6847, 6848, 6849, 6853, 6854, 6855, - 6856, 6859, 6860, 6865, 6869, 6873, 6874, 6878, 6879, 6883, - 6888, 6889, 6890, 6898, 6899, 6905, 6911, 6917, 6923, 6924, - 6937, 6943, 6949, 6955, 6960, 6965, 6974, 6995, 7001, 7008, - 7013, 7014, 7018, 7026, 7030, 7031, 7035, 7036, 7040, 7049, - 7053, 7054, 7058, 7066, 7067, 7071, 7072, 7076, 7077, 7081, - 7082, 7087, 7088, 7089, 7093, 7101, 7106, 7115, 7119, 7124, - 7129, 7134, 7139, 7144, 7152, 7153, 7158, 7157, 7170, 7171, - 7175, 7178, 7179, 7180, 7181, 7185, 7193, 7200, 7201, 7205, - 7215, 7216, 7220, 7221, 7224, 7226, 7230, 7242, 7243, 7247, - 7254, 7267, 7268, 7270, 7272, 7278, 7283, 7289, 7295, 7302, - 7312, 7313, 7314, 7315, 7316, 7320, 7324, 7325, 7329, 7330, - 7334, 7335, 7339, 7340, 7341, 7345, 7346, 7350, 7354, 7361, - 7373, 7374, 7378, 7379, 7383, 7384, 7388, 7389, 7393, 7394, - 7398, 7399, 7403, 7404, 7408, 7409, 7413, 7415, 7419, 7420, - 7424, 7428, 7429, 7443, 7444, 7445, 7449, 7453, 7460, 7466, - 7480, 7481, 7485, 7486, 7490, 7491, 7499, 7498, 7538, 7537, - 7551, 7565, 7564, 7583, 7582, 7601, 7600, 7619, 7613, 7633, - 7632, 7665, 7670, 7675, 7680, 7685, 7693, 7695, 7702, 7706, - 7715, 7716, 7720, 7721, 7725, 7731, 7737, 7743, 7757, 7763, - 7770, 7774, 7775, 7779, 7780, 7784, 7790, 7796, 7802, 7811, - 7825, 7826, 7827, 7828, 7832, 7833, 7845, 7846, 7850, 7851, - 7855, 7856, 7857, 7858, 7859, 7862, 7864, 7865, 7866, 7870, - 7878, 7893, 7894, 7898, 7907, 7905, 7919, 7933, 7932, 7946, - 7944, 7958, 7965, 7976, 7977, 8003, 8012, 8023, 8025, 8029, - 8033, 8041, 8048, 8052, 8057, 8056, 8072, 8074, 8079, 8087, - 8086, 8102, 8106, 8105, 8117, 8118, 8122, 8142, 8143, 8144, - 8148, 8149, 8153, 8162, 8166, 8171, 8173, 8172, 8183, 8193, - 8182, 8209, 8218, 8227, 8236, 8245, 8251, 8257, 8266, 8275, - 8305, 8315, 8336, 8346, 8350, 8355, 8362, 8363, 8364, 8367, - 8369, 8370, 8371, 8372, 8375, 8380, 8391, 8396, 8407, 8408, - 8412, 8413, 8417, 8418, 8419, 8423, 8424, 8429, 8437, 8438, - 8439, 8440, 8444, 8449, 8457, 8458, 8468, 8484, 8482, 8504, - 8521, 8524, 8531, 8535, 8542, 8546, 8550, 8557, 8562, 8565, - 8572, 8575, 8582, 8585, 8592, 8595, 8603, 8606, 8613, 8617, - 8624, 8628, 8636, 8640, 8666, 8667, 8668, 8673, 8678, 8686, - 8685, 8697, 8698, 8699, 8704, 8703, 8725, 8726, 8730, 8731, - 8735, 8736, 8737, 8742, 8741, 8763, 8772, 8771, 8798, 8799, - 8803, 8804, 8808, 8809, 8810, 8811, 8812, 8813, 8818, 8817, - 8839, 8840, 8841, 8846, 8845, 8851, 8858, 8863, 8871, 8872, - 8876, 8890, 8889, 8902, 8903, 8907, 8908, 8912, 8922, 8932, - 8933, 8938, 8937, 8948, 8949, 8953, 8954, 8958, 8968, 8979, - 8978, 8986, 8990, 8991, 9002, 9003, 9012, 9020, 9024, 9031, - 9035, 9040, 9044, 9053, 9061, 9066, 9096, 9096, 9110, 9124, - 9128, 9129, 9133, 9137, 9146, 9150, 9154, 9159, 9163, 9168, - 9178, 9191, 9192, 9198, 9207, 9213, 9219, 9229, 9230, 9238, - 9239, 9240, 9241, 9242, 9246, 9247, 9252, 9258, 9263, 9269, - 9273, 9277, 9281, 9285, 9289, 9293, 9297, 9301, 9305, 9309, - 9313, 9326, 9330, 9334, 9339, 9343, 9350, 9354, 9361, 9365, - 9369, 9377, 9381, 9388, 9392, 9397, 9401, 9405, 9409, 9413, - 9417, 9421, 9425, 9429, 9433, 9437, 9441, 9445, 9449, 9453, - 9457, 9461, 9462, 9466, 9467, 9471, 9472, 9476, 9477, 9481, - 9482, 9483, 9484, 9485, 9486, 9487, 9491, 9492, 9496, 9497, - 9498, 9499, 9500, 9501, 9505, 9506, 9507, 9508, 9509, 9513, - 9517, 9521, 9525, 9529, 9533, 9535, 9539, 9543, 9547, 9551, - 9555, 9559, 9563, 9567, 9571, 9575, 9579, 9583, 9588, 9595, - 9612, 9616, 9620, 9624, 9628, 9632, 9636, 9640, 9644, 9648, - 9652, 9656, 9660, 9664, 9668, 9672, 9676, 9680, 9685, 9690, - 9695, 9699, 9703, 9707, 9711, 9716, 9720, 9739, 9743, 9747, - 9751, 9755, 9760, 9765, 9769, 9773, 9778, 9782, 9786, 9790, - 9794, 9798, 9802, 9806, 9811, 9815, 9819, 9823, 9827, 9839, - 9843, 9847, 9851, 9855, 9859, 9863, 9867, 9871, 9875, 9879, - 9883, 9887, 9891, 9895, 9899, 9903, 9907, 9911, 9915, 9919, - 9924, 9929, 9933, 9937, 9943, 9949, 9955, 9961, 9967, 9973, - 9977, 9995, 9999, 10006, 10008, 10021, 10022, 10026, 10027, 10031, - 10032, 10036, 10042, 10051, 10058, 10062, 10066, 10070, 10074, 10078, - 10082, 10086, 10090, 10094, 10098, 10107, 10111, 10115, 10119, 10123, - 10127, 10131, 10135, 10139, 10143, 10153, 10157, 10161, 10165, 10172, - 10173, 10178, 10183, 10187, 10188, 10192, 10197, 10207, 10214, 10222, - 10230, 10238, 10246, 10254, 10262, 10270, 10278, 10286, 10294, 10302, - 10313, 10314, 10318, 10324, 10333, 10334, 10338, 10344, 10353, 10354, - 10358, 10359, 10363, 10371, 10382, 10383, 10390, 10404, 10405, 10411, - 10412, 10432, 10436, 10440, 10446, 10452, 10458, 10464, 10470, 10475, - 10481, 10487, 10492, 10499, 10500, 10501, 10509, 10510, 10514, 10529, - 10533, 10555, 10582, 10586, 10594, 10594, 10608, 10615, 10616, 10621, - 10624, 10625, 10626, 10630, 10631, 10635, 10641, 10650, 10651, 10659, - 10660, 10664, 10669, 10675, 10679, 10685, 10694, 10700, 10708, 10719, - 10732, 10733, 10734, 10735, 10736, 10737, 10738, 10739, 10740, 10741, - 10742, 10743, 10747, 10748, 10749, 10750, 10751, 10752, 10753, 10754, - 10755, 10759, 10760, 10761, 10762, 10765, 10767, 10768, 10772, 10773, - 10781, 10783, 10787, 10788, 10795, 10796, 10803, 10804, 10812, 10813, - 10820, 10825, 10835, 10836, 10844, 10859, 10863, 10864, 10868, 10888, - 10889, 10893, 10900, 10905, 10915, 10916, 10920, 10921, 10925, 10926, - 10930, 10937, 10943, 10949, 10958, 10962, 10966, 10970, 10974, 10981, - 10982, 10986, 10987, 10988, 10989, 10990, 10991, 10995, 10996, 10997, - 10998, 10999, 11003, 11004, 11005, 11006, 11007, 11011, 11012, 11013, - 11014, 11018, 11023, 11024, 11028, 11029, 11039, 11043, 11048, 11056, - 11069, 11075, 11084, 11088, 11095, 11096, 11100, 11107, 11113, 11117, - 11125, 11137, 11149, 11148, 11159, 11160, 11159, 11176, 11183, 11206, - 11238, 11250, 11257, 11256, 11266, 11272, 11279, 11284, 11289, 11298, - 11299, 11303, 11314, 11320, 11329, 11330, 11334, 11335, 11338, 11340, - 11343, 11344, 11345, 11349, 11350, 11357, 11371, 11389, 11406, 11418, - 11434, 11449, 11450, 11451, 11460, 11464, 11465, 11476, 11478, 11482, - 11487, 11492, 11500, 11505, 11510, 11518, 11524, 11533, 11540, 11544, - 11551, 11552, 11556, 11561, 11571, 11572, 11576, 11577, 11581, 11586, - 11591, 11595, 11601, 11610, 11611, 11619, 11623, 11632, 11648, 11655, - 11667, 11675, 11676, 11682, 11693, 11702, 11714, 11716, 11720, 11721, - 11725, 11726, 11727, 11732, 11731, 11750, 11752, 11755, 11757, 11760, - 11761, 11764, 11768, 11772, 11776, 11780, 11784, 11788, 11792, 11796, - 11804, 11807, 11820, 11819, 11828, 11835, 11843, 11851, 11859, 11867, - 11875, 11882, 11884, 11886, 11895, 11899, 11904, 11903, 11914, 11913, - 11923, 11940, 11947, 11952, 11958, 11964, 11972, 11980, 11988, 11998, - 12029, 12031, 12062, 12069, 12076, 12086, 12093, 12099, 12108, 12116, - 12120, 12124, 12131, 12138, 12144, 12151, 12158, 12163, 12168, 12173, - 12182, 12184, 12186, 12191, 12192, 12195, 12197, 12201, 12202, 12206, - 12207, 12211, 12212, 12216, 12217, 12221, 12222, 12225, 12227, 12234, - 12244, 12246, 12253, 12281, 12280, 12297, 12296, 12304, 12305, 12306, - 12307, 12308, 12309, 12323, 12324, 12329, 12333, 12339, 12345, 12366, - 12367, 12368, 12383, 12382, 12395, 12404, 12394, 12406, 12410, 12411, - 12423, 12422, 12444, 12445, 12450, 12452, 12454, 12456, 12458, 12460, - 12462, 12467, 12469, 12471, 12473, 12475, 12477, 12479, 12484, 12485, - 12490, 12489, 12499, 12500, 12504, 12504, 12506, 12507, 12515, 12516, - 12521, 12520, 12531, 12535, 12539, 12553, 12565, 12566, 12567, 12573, - 12585, 12597, 12607, 12625, 12584, 12636, 12637, 12641, 12642, 12646, - 12647, 12648, 12652, 12653, 12654, 12658, 12659, 12663, 12668, 12672, - 12677, 12683, 12688, 12696, 12697, 12701, 12706, 12710, 12715, 12723, - 12724, 12727, 12729, 12737, 12739, 12743, 12744, 12745, 12749, 12751, - 12756, 12757, 12766, 12767, 12771, 12772, 12776, 12799, 12804, 12809, - 12814, 12822, 12830, 12837, 12847, 12855, 12856, 12857, 12868, 12869, - 12870, 12871, 12884, 12888, 12892, 12896, 12900, 12904, 12911, 12915, - 12919, 12923, 12927, 12935, 12939, 12943, 12957, 12958, 12962, 12966, - 12973, 12980, 12984, 12993, 12997, 13001, 13005, 13009, 13013, 13019, - 13026, 13027, 13043, 13053, 13061, 13067, 13077, 13088, 13094, 13104, - 13114, 13115, 13145, 13158, 13171, 13187, 13203, 13220, 13221, 13232, - 13233, 13244, 13245, 13246, 13250, 13278, 13315, 13330, 13331, 13332, - 13333, 13334, 13335, 13336, 13337, 13338, 13339, 13340, 13341, 13342, - 13343, 13344, 13345, 13346, 13347, 13348, 13349, 13350, 13351, 13352, - 13353, 13354, 13355, 13356, 13357, 13358, 13359, 13360, 13361, 13362, - 13363, 13364, 13365, 13366, 13367, 13368, 13369, 13370, 13371, 13372, - 13373, 13374, 13375, 13376, 13377, 13378, 13379, 13380, 13381, 13382, - 13383, 13384, 13385, 13386, 13396, 13397, 13398, 13399, 13400, 13401, - 13402, 13403, 13404, 13405, 13406, 13407, 13408, 13409, 13410, 13411, - 13412, 13413, 13414, 13415, 13416, 13417, 13418, 13419, 13420, 13421, - 13422, 13423, 13424, 13425, 13426, 13427, 13428, 13429, 13430, 13431, - 13432, 13433, 13434, 13435, 13436, 13437, 13438, 13439, 13440, 13441, - 13442, 13443, 13448, 13449, 13450, 13451, 13452, 13453, 13454, 13455, - 13456, 13457, 13458, 13459, 13460, 13461, 13462, 13463, 13464, 13465, - 13466, 13467, 13468, 13469, 13470, 13471, 13472, 13473, 13474, 13475, - 13476, 13477, 13478, 13479, 13480, 13481, 13482, 13483, 13484, 13485, - 13486, 13487, 13488, 13489, 13490, 13491, 13492, 13493, 13494, 13495, - 13496, 13497, 13498, 13499, 13500, 13501, 13502, 13503, 13504, 13505, - 13506, 13507, 13508, 13509, 13510, 13511, 13512, 13513, 13514, 13515, - 13516, 13517, 13518, 13519, 13520, 13521, 13522, 13523, 13524, 13525, - 13526, 13527, 13528, 13529, 13530, 13531, 13532, 13533, 13534, 13535, - 13536, 13537, 13538, 13539, 13540, 13541, 13542, 13543, 13544, 13545, - 13546, 13547, 13548, 13549, 13550, 13551, 13552, 13553, 13554, 13555, - 13556, 13557, 13558, 13559, 13560, 13561, 13562, 13563, 13564, 13565, - 13566, 13567, 13568, 13569, 13570, 13571, 13572, 13573, 13574, 13575, - 13576, 13577, 13578, 13579, 13580, 13581, 13582, 13583, 13584, 13585, - 13586, 13587, 13588, 13589, 13590, 13591, 13592, 13593, 13594, 13595, - 13596, 13597, 13598, 13599, 13600, 13601, 13602, 13603, 13604, 13605, - 13606, 13607, 13608, 13609, 13610, 13611, 13612, 13613, 13614, 13615, - 13616, 13617, 13618, 13619, 13620, 13621, 13622, 13623, 13624, 13625, - 13626, 13627, 13628, 13629, 13630, 13631, 13632, 13633, 13634, 13635, - 13636, 13637, 13638, 13639, 13640, 13641, 13642, 13643, 13644, 13645, - 13646, 13647, 13648, 13649, 13650, 13651, 13652, 13653, 13654, 13655, - 13656, 13657, 13658, 13659, 13660, 13661, 13662, 13663, 13664, 13665, - 13666, 13667, 13668, 13669, 13670, 13671, 13672, 13673, 13674, 13675, - 13676, 13677, 13678, 13679, 13680, 13681, 13682, 13683, 13684, 13685, - 13686, 13687, 13688, 13689, 13690, 13691, 13692, 13693, 13694, 13695, - 13696, 13697, 13698, 13699, 13700, 13701, 13702, 13703, 13704, 13705, - 13706, 13707, 13708, 13709, 13710, 13711, 13712, 13713, 13714, 13715, - 13716, 13717, 13718, 13719, 13730, 13739, 13743, 13747, 13751, 13755, - 13762, 13766, 13779, 13786, 13796, 13797, 13802, 13806, 13814, 13818, - 13822, 13823, 13824, 13828, 13829, 13830, 13831, 13835, 13836, 13837, - 13838, 13843, 13851, 13857, 13861, 13865, 13869, 13876, 13883, 13887, - 13891, 13898, 13902, 13909, 13916, 13917, 13921, 13928, 13929, 13933, - 13934, 13938, 13939, 13940, 13941, 13945, 13954, 13955, 13956, 13960, - 13964, 13974, 13973, 13989, 13990, 13994, 13995, 13999, 14027, 14028, - 14029, 14034, 14039, 14038, 14055, 14063, 14070, 14089, 14105, 14124, - 14121, 14171, 14172, 14176, 14177, 14181, 14182, 14183, 14184, 14186, - 14185, 14198, 14199, 14200, 14201, 14202, 14208, 14208, 14213, 14218, - 14228, 14238, 14242, 14251, 14251, 14256, 14262, 14273, 14284, 14292, - 14294, 14298, 14305, 14312, 14314, 14318, 14319, 14324, 14323, 14327, - 14326, 14330, 14329, 14333, 14332, 14335, 14336, 14337, 14338, 14339, - 14340, 14341, 14342, 14343, 14344, 14345, 14346, 14347, 14348, 14349, - 14350, 14351, 14352, 14353, 14354, 14355, 14356, 14357, 14358, 14359, - 14360, 14364, 14365, 14369, 14370, 14374, 14384, 14394, 14407, 14422, - 14435, 14448, 14460, 14465, 14473, 14478, 14486, 14494, 14509, 14517, - 14527, 14538, 14547, 14551, 14555, 14556, 14560, 14587, 14589, 14593, - 14597, 14601, 14608, 14609, 14613, 14614, 14618, 14619, 14623, 14624, - 14630, 14636, 14642, 14652, 14651, 14661, 14662, 14667, 14668, 14669, - 14674, 14675, 14676, 14680, 14681, 14685, 14697, 14706, 14716, 14725, - 14739, 14740, 14744, 14751, 14752, 14753, 14757, 14758, 14762, 14769, - 14773, 14777, 14778, 14779, 14783, 14787, 14795, 14796, 14804, 14804, - 14817, 14818, 14822, 14826, 14830, 14831, 14832, 14833, 14834, 14835, - 14836, 14837, 14847, 14849, 14851, 14856, 14857, 14858, 14859, 14860, - 14864, 14865, 14866, 14867, 14868, 14869, 14879, 14880, 14885, 14898, - 14911, 14913, 14915, 14920, 14925, 14927, 14929, 14935, 14936, 14938, - 14944, 14943, 14961, 14962, 14966, 14971, 14979, 14979, 15004, 15003, - 15024, 15032, 15032, 15040, 15045, 15044, 15058, 15059, 15061, 15063, - 15074, 15076, 15082, 15088, 15106, 15096, 15189, 15207, 15231, 15255, - 15259, 15268, 15291, 15228, 15358, 15378, 15383, 15391, 15356, 15412, - 15417, 15422, 15427, 15432, 15437, 15445, 15446, 15449, 15458, 15468, - 15486, 15487, 15491, 15492, 15493, 15497, 15498, 15503, 15504, 15506, - 15511, 15520 + 5479, 5478, 5502, 5518, 5537, 5536, 5551, 5550, 5567, 5589, + 5593, 5622, 5634, 5635, 5640, 5651, 5639, 5676, 5677, 5681, + 5694, 5717, 5730, 5756, 5757, 5762, 5761, 5798, 5811, 5812, + 5816, 5817, 5821, 5823, 5829, 5831, 5833, 5835, 5837, 5839, + 5848, 5855, 5856, 5860, 5861, 5865, 5866, 5870, 5871, 5875, + 5876, 5880, 5881, 5885, 5889, 5890, 5893, 5895, 5899, 5900, + 5904, 5905, 5906, 5910, 5915, 5920, 5925, 5930, 5935, 5940, + 5945, 5950, 5955, 5970, 5976, 5991, 5996, 6011, 6017, 6035, + 6040, 6045, 6050, 6055, 6061, 6060, 6086, 6087, 6088, 6093, + 6098, 6103, 6108, 6110, 6112, 6118, 6126, 6144, 6161, 6187, + 6205, 6206, 6207, 6208, 6209, 6210, 6214, 6215, 6216, 6220, + 6221, 6222, 6223, 6228, 6235, 6236, 6240, 6241, 6245, 6246, + 6253, 6258, 6264, 6270, 6276, 6295, 6301, 6303, 6307, 6315, + 6316, 6320, 6325, 6324, 6349, 6350, 6367, 6369, 6372, 6374, + 6378, 6379, 6383, 6389, 6395, 6396, 6397, 6398, 6406, 6408, + 6409, 6416, 6432, 6461, 6466, 6472, 6478, 6483, 6488, 6493, + 6498, 6505, 6512, 6519, 6526, 6532, 6538, 6545, 6552, 6558, + 6574, 6576, 6581, 6610, 6615, 6620, 6626, 6632, 6637, 6642, + 6647, 6653, 6659, 6666, 6672, 6678, 6684, 6690, 6697, 6696, + 6705, 6704, 6712, 6718, 6724, 6732, 6733, 6734, 6740, 6741, + 6742, 6743, 6744, 6748, 6752, 6753, 6757, 6758, 6762, 6763, + 6764, 6765, 6766, 6770, 6771, 6772, 6773, 6774, 6778, 6783, + 6785, 6791, 6795, 6800, 6804, 6813, 6814, 6818, 6819, 6820, + 6828, 6829, 6833, 6834, 6838, 6839, 6840, 6844, 6845, 6846, + 6847, 6850, 6851, 6856, 6860, 6864, 6865, 6869, 6870, 6874, + 6879, 6880, 6881, 6889, 6890, 6896, 6902, 6908, 6914, 6915, + 6928, 6934, 6940, 6946, 6951, 6956, 6965, 6986, 6992, 6999, + 7004, 7005, 7009, 7017, 7021, 7022, 7026, 7027, 7031, 7040, + 7044, 7045, 7049, 7057, 7058, 7062, 7063, 7067, 7068, 7072, + 7073, 7078, 7079, 7080, 7084, 7092, 7097, 7106, 7110, 7115, + 7120, 7125, 7130, 7135, 7143, 7144, 7149, 7148, 7161, 7162, + 7166, 7169, 7170, 7171, 7172, 7176, 7184, 7191, 7192, 7196, + 7206, 7207, 7211, 7212, 7215, 7217, 7221, 7233, 7234, 7238, + 7245, 7258, 7259, 7261, 7263, 7269, 7274, 7280, 7286, 7293, + 7303, 7304, 7305, 7306, 7307, 7311, 7315, 7316, 7320, 7321, + 7325, 7326, 7330, 7331, 7332, 7336, 7337, 7341, 7345, 7352, + 7364, 7365, 7369, 7370, 7374, 7375, 7379, 7380, 7384, 7385, + 7389, 7390, 7394, 7395, 7399, 7400, 7404, 7406, 7410, 7411, + 7415, 7419, 7420, 7434, 7435, 7436, 7440, 7444, 7451, 7457, + 7471, 7472, 7476, 7477, 7481, 7482, 7490, 7489, 7529, 7528, + 7542, 7556, 7555, 7574, 7573, 7592, 7591, 7610, 7604, 7624, + 7623, 7656, 7661, 7666, 7671, 7676, 7684, 7686, 7693, 7697, + 7706, 7707, 7711, 7712, 7716, 7722, 7728, 7734, 7748, 7754, + 7761, 7765, 7766, 7770, 7771, 7775, 7781, 7787, 7793, 7802, + 7816, 7817, 7818, 7819, 7823, 7824, 7836, 7837, 7841, 7842, + 7846, 7847, 7848, 7849, 7850, 7853, 7855, 7856, 7857, 7861, + 7869, 7884, 7885, 7889, 7898, 7896, 7910, 7924, 7923, 7937, + 7935, 7949, 7956, 7967, 7968, 7994, 8003, 8014, 8016, 8020, + 8024, 8032, 8039, 8043, 8048, 8047, 8063, 8065, 8070, 8078, + 8077, 8093, 8097, 8096, 8108, 8109, 8113, 8133, 8134, 8135, + 8139, 8140, 8144, 8153, 8157, 8162, 8164, 8163, 8174, 8184, + 8173, 8200, 8209, 8218, 8227, 8236, 8242, 8248, 8257, 8266, + 8296, 8306, 8327, 8337, 8341, 8346, 8353, 8354, 8355, 8358, + 8360, 8361, 8362, 8363, 8366, 8371, 8382, 8387, 8398, 8399, + 8403, 8404, 8408, 8409, 8410, 8414, 8415, 8420, 8428, 8429, + 8430, 8431, 8435, 8440, 8448, 8449, 8459, 8475, 8473, 8495, + 8512, 8515, 8522, 8526, 8533, 8537, 8541, 8548, 8553, 8556, + 8563, 8566, 8573, 8576, 8583, 8586, 8594, 8597, 8604, 8608, + 8615, 8619, 8627, 8631, 8657, 8658, 8659, 8664, 8669, 8677, + 8676, 8688, 8689, 8690, 8695, 8694, 8716, 8717, 8721, 8722, + 8726, 8727, 8728, 8733, 8732, 8754, 8763, 8762, 8789, 8790, + 8794, 8795, 8799, 8800, 8801, 8802, 8803, 8804, 8809, 8808, + 8830, 8831, 8832, 8837, 8836, 8842, 8849, 8854, 8862, 8863, + 8867, 8881, 8880, 8893, 8894, 8898, 8899, 8903, 8913, 8923, + 8924, 8929, 8928, 8939, 8940, 8944, 8945, 8949, 8959, 8970, + 8969, 8977, 8981, 8982, 8993, 8994, 9003, 9011, 9015, 9022, + 9026, 9031, 9035, 9044, 9052, 9057, 9087, 9087, 9101, 9115, + 9119, 9120, 9124, 9128, 9137, 9141, 9145, 9150, 9154, 9159, + 9169, 9182, 9183, 9189, 9198, 9204, 9210, 9220, 9221, 9229, + 9230, 9231, 9232, 9233, 9237, 9238, 9243, 9249, 9254, 9260, + 9264, 9268, 9272, 9276, 9280, 9284, 9288, 9292, 9296, 9300, + 9304, 9317, 9321, 9325, 9330, 9334, 9341, 9345, 9352, 9356, + 9360, 9368, 9372, 9379, 9383, 9388, 9392, 9396, 9400, 9404, + 9408, 9412, 9416, 9420, 9424, 9428, 9432, 9436, 9440, 9444, + 9448, 9452, 9453, 9457, 9458, 9462, 9463, 9467, 9468, 9472, + 9473, 9474, 9475, 9476, 9477, 9478, 9482, 9483, 9487, 9488, + 9489, 9490, 9491, 9492, 9496, 9497, 9498, 9499, 9500, 9504, + 9508, 9512, 9516, 9520, 9524, 9526, 9530, 9534, 9538, 9542, + 9546, 9550, 9554, 9558, 9562, 9566, 9570, 9574, 9579, 9586, + 9603, 9607, 9611, 9615, 9619, 9623, 9627, 9631, 9635, 9639, + 9643, 9647, 9651, 9655, 9659, 9663, 9667, 9671, 9676, 9681, + 9686, 9690, 9694, 9698, 9702, 9707, 9711, 9730, 9734, 9738, + 9742, 9746, 9751, 9756, 9760, 9764, 9769, 9773, 9777, 9781, + 9785, 9789, 9793, 9797, 9802, 9806, 9810, 9814, 9818, 9830, + 9834, 9838, 9842, 9846, 9850, 9854, 9858, 9862, 9866, 9870, + 9874, 9878, 9882, 9886, 9890, 9894, 9898, 9902, 9906, 9910, + 9915, 9920, 9924, 9928, 9934, 9940, 9946, 9952, 9958, 9964, + 9968, 9986, 9990, 9997, 9999, 10012, 10013, 10017, 10018, 10022, + 10023, 10027, 10033, 10042, 10049, 10053, 10057, 10061, 10065, 10069, + 10073, 10077, 10081, 10085, 10089, 10098, 10102, 10106, 10110, 10114, + 10118, 10122, 10126, 10130, 10134, 10144, 10148, 10152, 10156, 10163, + 10164, 10169, 10174, 10178, 10179, 10183, 10188, 10198, 10205, 10213, + 10221, 10229, 10237, 10245, 10253, 10261, 10269, 10277, 10285, 10293, + 10304, 10305, 10309, 10315, 10324, 10325, 10329, 10335, 10344, 10345, + 10349, 10350, 10354, 10362, 10373, 10374, 10381, 10395, 10396, 10402, + 10403, 10423, 10427, 10431, 10437, 10443, 10449, 10455, 10461, 10466, + 10472, 10478, 10483, 10490, 10491, 10492, 10500, 10501, 10505, 10520, + 10524, 10546, 10573, 10577, 10585, 10585, 10599, 10606, 10607, 10612, + 10615, 10616, 10617, 10621, 10622, 10626, 10632, 10641, 10642, 10650, + 10651, 10655, 10660, 10666, 10670, 10676, 10685, 10691, 10699, 10710, + 10723, 10724, 10725, 10726, 10727, 10728, 10729, 10730, 10731, 10732, + 10733, 10734, 10738, 10739, 10740, 10741, 10742, 10743, 10744, 10745, + 10746, 10750, 10751, 10752, 10753, 10756, 10758, 10759, 10763, 10764, + 10772, 10774, 10778, 10779, 10786, 10787, 10794, 10795, 10803, 10804, + 10811, 10816, 10826, 10827, 10835, 10850, 10854, 10855, 10859, 10879, + 10880, 10884, 10891, 10896, 10906, 10907, 10911, 10912, 10916, 10917, + 10921, 10928, 10934, 10940, 10949, 10953, 10957, 10961, 10965, 10972, + 10973, 10977, 10978, 10979, 10980, 10981, 10982, 10986, 10987, 10988, + 10989, 10990, 10994, 10995, 10996, 10997, 10998, 11002, 11003, 11004, + 11005, 11009, 11014, 11015, 11019, 11020, 11030, 11034, 11039, 11047, + 11060, 11066, 11075, 11079, 11086, 11087, 11091, 11098, 11104, 11108, + 11116, 11128, 11140, 11139, 11150, 11151, 11150, 11167, 11174, 11197, + 11229, 11241, 11248, 11247, 11257, 11263, 11270, 11275, 11280, 11289, + 11290, 11294, 11305, 11311, 11320, 11321, 11325, 11326, 11329, 11331, + 11334, 11335, 11336, 11340, 11341, 11348, 11362, 11380, 11397, 11409, + 11425, 11440, 11441, 11442, 11451, 11455, 11456, 11467, 11469, 11473, + 11478, 11483, 11491, 11496, 11501, 11509, 11515, 11524, 11531, 11535, + 11542, 11543, 11547, 11552, 11562, 11563, 11567, 11568, 11572, 11577, + 11582, 11586, 11592, 11601, 11602, 11610, 11614, 11623, 11639, 11646, + 11658, 11666, 11667, 11673, 11684, 11693, 11705, 11707, 11711, 11712, + 11716, 11717, 11718, 11723, 11722, 11741, 11743, 11746, 11748, 11751, + 11752, 11755, 11759, 11763, 11767, 11771, 11775, 11779, 11783, 11787, + 11795, 11798, 11811, 11810, 11819, 11826, 11834, 11842, 11850, 11858, + 11866, 11873, 11875, 11877, 11886, 11890, 11895, 11894, 11905, 11904, + 11914, 11931, 11938, 11943, 11949, 11955, 11963, 11971, 11979, 11989, + 12020, 12022, 12053, 12060, 12067, 12077, 12084, 12090, 12099, 12107, + 12111, 12115, 12122, 12129, 12135, 12142, 12149, 12154, 12159, 12164, + 12173, 12175, 12177, 12182, 12183, 12186, 12188, 12192, 12193, 12197, + 12198, 12202, 12203, 12207, 12208, 12212, 12213, 12216, 12218, 12225, + 12235, 12237, 12244, 12272, 12271, 12288, 12287, 12295, 12296, 12297, + 12298, 12299, 12300, 12314, 12315, 12320, 12324, 12330, 12336, 12357, + 12358, 12359, 12374, 12373, 12386, 12395, 12385, 12397, 12401, 12402, + 12414, 12413, 12435, 12436, 12441, 12443, 12445, 12447, 12449, 12451, + 12453, 12458, 12460, 12462, 12464, 12466, 12468, 12470, 12475, 12476, + 12481, 12480, 12490, 12491, 12495, 12495, 12497, 12498, 12506, 12507, + 12512, 12511, 12522, 12526, 12530, 12544, 12556, 12557, 12558, 12564, + 12576, 12588, 12598, 12616, 12575, 12627, 12628, 12632, 12633, 12637, + 12638, 12639, 12643, 12644, 12645, 12649, 12650, 12654, 12659, 12663, + 12668, 12674, 12679, 12687, 12688, 12692, 12697, 12701, 12706, 12714, + 12715, 12718, 12720, 12728, 12730, 12734, 12735, 12736, 12740, 12742, + 12747, 12748, 12757, 12758, 12762, 12763, 12767, 12790, 12795, 12800, + 12805, 12813, 12821, 12828, 12838, 12846, 12847, 12848, 12859, 12860, + 12861, 12862, 12875, 12879, 12883, 12887, 12891, 12895, 12902, 12906, + 12910, 12914, 12918, 12926, 12930, 12934, 12948, 12949, 12953, 12957, + 12964, 12971, 12975, 12984, 12988, 12992, 12996, 13000, 13004, 13010, + 13017, 13018, 13034, 13044, 13052, 13058, 13068, 13079, 13085, 13095, + 13105, 13106, 13136, 13149, 13162, 13178, 13194, 13211, 13212, 13223, + 13224, 13235, 13236, 13237, 13241, 13269, 13306, 13321, 13322, 13323, + 13324, 13325, 13326, 13327, 13328, 13329, 13330, 13331, 13332, 13333, + 13334, 13335, 13336, 13337, 13338, 13339, 13340, 13341, 13342, 13343, + 13344, 13345, 13346, 13347, 13348, 13349, 13350, 13351, 13352, 13353, + 13354, 13355, 13356, 13357, 13358, 13359, 13360, 13361, 13362, 13363, + 13364, 13365, 13366, 13367, 13368, 13369, 13370, 13371, 13372, 13373, + 13374, 13375, 13376, 13377, 13387, 13388, 13389, 13390, 13391, 13392, + 13393, 13394, 13395, 13396, 13397, 13398, 13399, 13400, 13401, 13402, + 13403, 13404, 13405, 13406, 13407, 13408, 13409, 13410, 13411, 13412, + 13413, 13414, 13415, 13416, 13417, 13418, 13419, 13420, 13421, 13422, + 13423, 13424, 13425, 13426, 13427, 13428, 13429, 13430, 13431, 13432, + 13433, 13434, 13439, 13440, 13441, 13442, 13443, 13444, 13445, 13446, + 13447, 13448, 13449, 13450, 13451, 13452, 13453, 13454, 13455, 13456, + 13457, 13458, 13459, 13460, 13461, 13462, 13463, 13464, 13465, 13466, + 13467, 13468, 13469, 13470, 13471, 13472, 13473, 13474, 13475, 13476, + 13477, 13478, 13479, 13480, 13481, 13482, 13483, 13484, 13485, 13486, + 13487, 13488, 13489, 13490, 13491, 13492, 13493, 13494, 13495, 13496, + 13497, 13498, 13499, 13500, 13501, 13502, 13503, 13504, 13505, 13506, + 13507, 13508, 13509, 13510, 13511, 13512, 13513, 13514, 13515, 13516, + 13517, 13518, 13519, 13520, 13521, 13522, 13523, 13524, 13525, 13526, + 13527, 13528, 13529, 13530, 13531, 13532, 13533, 13534, 13535, 13536, + 13537, 13538, 13539, 13540, 13541, 13542, 13543, 13544, 13545, 13546, + 13547, 13548, 13549, 13550, 13551, 13552, 13553, 13554, 13555, 13556, + 13557, 13558, 13559, 13560, 13561, 13562, 13563, 13564, 13565, 13566, + 13567, 13568, 13569, 13570, 13571, 13572, 13573, 13574, 13575, 13576, + 13577, 13578, 13579, 13580, 13581, 13582, 13583, 13584, 13585, 13586, + 13587, 13588, 13589, 13590, 13591, 13592, 13593, 13594, 13595, 13596, + 13597, 13598, 13599, 13600, 13601, 13602, 13603, 13604, 13605, 13606, + 13607, 13608, 13609, 13610, 13611, 13612, 13613, 13614, 13615, 13616, + 13617, 13618, 13619, 13620, 13621, 13622, 13623, 13624, 13625, 13626, + 13627, 13628, 13629, 13630, 13631, 13632, 13633, 13634, 13635, 13636, + 13637, 13638, 13639, 13640, 13641, 13642, 13643, 13644, 13645, 13646, + 13647, 13648, 13649, 13650, 13651, 13652, 13653, 13654, 13655, 13656, + 13657, 13658, 13659, 13660, 13661, 13662, 13663, 13664, 13665, 13666, + 13667, 13668, 13669, 13670, 13671, 13672, 13673, 13674, 13675, 13676, + 13677, 13678, 13679, 13680, 13681, 13682, 13683, 13684, 13685, 13686, + 13687, 13688, 13689, 13690, 13691, 13692, 13693, 13694, 13695, 13696, + 13697, 13698, 13699, 13700, 13701, 13702, 13703, 13704, 13705, 13706, + 13707, 13708, 13709, 13710, 13721, 13730, 13734, 13738, 13742, 13746, + 13753, 13757, 13770, 13777, 13787, 13788, 13793, 13797, 13805, 13809, + 13813, 13814, 13815, 13819, 13820, 13821, 13822, 13826, 13827, 13828, + 13829, 13834, 13842, 13848, 13852, 13856, 13860, 13867, 13874, 13878, + 13882, 13889, 13893, 13900, 13907, 13908, 13912, 13919, 13920, 13924, + 13925, 13929, 13930, 13931, 13932, 13936, 13945, 13946, 13947, 13951, + 13955, 13965, 13964, 13980, 13981, 13985, 13986, 13990, 14018, 14019, + 14020, 14025, 14030, 14029, 14046, 14054, 14061, 14080, 14096, 14115, + 14112, 14162, 14163, 14167, 14168, 14172, 14173, 14174, 14175, 14177, + 14176, 14189, 14190, 14191, 14192, 14193, 14199, 14199, 14204, 14209, + 14219, 14229, 14233, 14242, 14242, 14247, 14253, 14264, 14275, 14283, + 14285, 14289, 14296, 14303, 14305, 14309, 14310, 14315, 14314, 14318, + 14317, 14321, 14320, 14324, 14323, 14326, 14327, 14328, 14329, 14330, + 14331, 14332, 14333, 14334, 14335, 14336, 14337, 14338, 14339, 14340, + 14341, 14342, 14343, 14344, 14345, 14346, 14347, 14348, 14349, 14350, + 14351, 14355, 14356, 14360, 14361, 14365, 14375, 14385, 14398, 14413, + 14426, 14439, 14451, 14456, 14464, 14469, 14477, 14485, 14500, 14508, + 14518, 14529, 14538, 14542, 14546, 14547, 14551, 14578, 14580, 14584, + 14588, 14592, 14599, 14600, 14604, 14605, 14609, 14610, 14614, 14615, + 14621, 14627, 14633, 14643, 14642, 14652, 14653, 14658, 14659, 14660, + 14665, 14666, 14667, 14671, 14672, 14676, 14688, 14697, 14707, 14716, + 14730, 14731, 14735, 14742, 14743, 14744, 14748, 14749, 14753, 14760, + 14764, 14768, 14769, 14770, 14774, 14778, 14786, 14787, 14795, 14795, + 14808, 14809, 14813, 14817, 14821, 14822, 14823, 14824, 14825, 14826, + 14827, 14828, 14838, 14840, 14842, 14847, 14848, 14849, 14850, 14851, + 14855, 14856, 14857, 14858, 14859, 14860, 14870, 14871, 14876, 14889, + 14902, 14904, 14906, 14911, 14916, 14918, 14920, 14926, 14927, 14929, + 14935, 14934, 14952, 14953, 14957, 14962, 14970, 14970, 14995, 14994, + 15015, 15023, 15023, 15031, 15036, 15035, 15049, 15050, 15052, 15054, + 15065, 15067, 15073, 15079, 15097, 15087, 15180, 15198, 15222, 15246, + 15250, 15259, 15282, 15219, 15349, 15369, 15374, 15382, 15347, 15403, + 15408, 15413, 15418, 15423, 15428, 15436, 15437, 15440, 15449, 15459, + 15477, 15478, 15482, 15483, 15484, 15488, 15489, 15494, 15495, 15497, + 15502, 15511 }; #endif @@ -18846,7 +18846,7 @@ switch (yyn) { case 2: -#line 1601 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1601 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; if (!thd->bootstrap && @@ -18858,11 +18858,11 @@ thd->lex->sql_command= SQLCOM_EMPTY_QUERY; YYLIP->found_semicolon= NULL; } -#line 18862 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 18862 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 3: -#line 1613 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1613 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex_input_stream *lip = YYLIP; @@ -18885,79 +18885,79 @@ lip->found_semicolon= NULL; } } -#line 18889 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 18889 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 5: -#line 1638 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1638 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* Single query, not terminated. */ YYLIP->found_semicolon= NULL; } -#line 18898 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 18898 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 20: -#line 1666 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1666 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { MAKE_CMD((yyvsp[0].statement)); } -#line 18904 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 18904 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 22: -#line 1668 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1668 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { CONTEXTUALIZE((yyvsp[0].select)); } -#line 18910 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 18910 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 31: -#line 1677 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1677 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { MAKE_CMD((yyvsp[0].statement)); } -#line 18916 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 18916 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 46: -#line 1692 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1692 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { MAKE_CMD((yyvsp[0].statement)); } -#line 18922 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 18922 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 52: -#line 1698 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1698 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { CONTEXTUALIZE((yyvsp[0].select)); } -#line 18928 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 18928 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 53: -#line 1699 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1699 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { CONTEXTUALIZE((yyvsp[0].set)); } -#line 18934 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 18934 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 56: -#line 1702 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1702 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { MAKE_CMD((yyvsp[0].statement)); } -#line 18940 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 18940 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 62: -#line 1708 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1708 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { MAKE_CMD((yyvsp[0].statement)); } -#line 18946 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 18946 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 65: -#line 1715 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1715 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; lex->sql_command= SQLCOM_DEALLOCATE_PREPARE; lex->prepared_stmt_name= to_lex_cstring((yyvsp[0].lex_str)); } -#line 18957 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 18957 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 68: -#line 1730 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1730 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -18974,61 +18974,61 @@ */ lex->contains_plaintext_password= true; } -#line 18978 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 18978 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 69: -#line 1750 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1750 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; lex->prepared_stmt_code= (yyvsp[0].lex_str); lex->prepared_stmt_code_is_varref= FALSE; } -#line 18989 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 18989 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 70: -#line 1757 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1757 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; lex->prepared_stmt_code= (yyvsp[0].lex_str); lex->prepared_stmt_code_is_varref= TRUE; } -#line 19000 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19000 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 71: -#line 1767 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1767 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; lex->sql_command= SQLCOM_EXECUTE; lex->prepared_stmt_name= to_lex_cstring((yyvsp[0].lex_str)); } -#line 19011 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19011 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 72: -#line 1774 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1774 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 19017 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19017 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 77: -#line 1789 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1789 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; LEX_STRING *lexstr= (LEX_STRING*)sql_memdup(&(yyvsp[0].lex_str), sizeof(LEX_STRING)); if (!lexstr || lex->prepared_stmt_params.push_back(lexstr)) MYSQL_YYABORT; } -#line 19028 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19028 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 78: -#line 1801 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1801 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (Lex->sphead) { @@ -19036,21 +19036,21 @@ MYSQL_YYABORT; } } -#line 19040 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19040 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 79: -#line 1809 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1809 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_HELP; lex->help_arg= (yyvsp[0].lex_str).str; } -#line 19050 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19050 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 80: -#line 1820 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1820 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex = Lex; lex->sql_command = SQLCOM_CHANGE_MASTER; @@ -19061,17 +19061,17 @@ DBUG_ASSERT(Lex->mi.repl_ignore_server_ids.empty()); lex->mi.set_unspecified(); } -#line 19065 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19065 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 81: -#line 1831 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1831 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 19071 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19071 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 82: -#line 1833 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1833 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX* lex= thd->lex; @@ -19081,72 +19081,72 @@ if (lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 19085 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19085 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 83: -#line 1843 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1843 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 19091 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19091 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 86: -#line 1852 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1852 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Sql_cmd_change_repl_filter * filter_sql_cmd= (Sql_cmd_change_repl_filter*) Lex->m_sql_cmd; DBUG_ASSERT(filter_sql_cmd); filter_sql_cmd->set_filter_value((yyvsp[0].item_list), OPT_REPLICATE_DO_DB); } -#line 19102 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19102 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 87: -#line 1859 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1859 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Sql_cmd_change_repl_filter * filter_sql_cmd= (Sql_cmd_change_repl_filter*) Lex->m_sql_cmd; DBUG_ASSERT(filter_sql_cmd); filter_sql_cmd->set_filter_value((yyvsp[0].item_list), OPT_REPLICATE_IGNORE_DB); } -#line 19113 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19113 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 88: -#line 1866 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1866 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Sql_cmd_change_repl_filter * filter_sql_cmd= (Sql_cmd_change_repl_filter*) Lex->m_sql_cmd; DBUG_ASSERT(filter_sql_cmd); filter_sql_cmd->set_filter_value((yyvsp[0].item_list), OPT_REPLICATE_DO_TABLE); } -#line 19124 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19124 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 89: -#line 1873 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1873 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Sql_cmd_change_repl_filter * filter_sql_cmd= (Sql_cmd_change_repl_filter*) Lex->m_sql_cmd; DBUG_ASSERT(filter_sql_cmd); filter_sql_cmd->set_filter_value((yyvsp[0].item_list), OPT_REPLICATE_IGNORE_TABLE); } -#line 19135 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19135 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 90: -#line 1880 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1880 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Sql_cmd_change_repl_filter * filter_sql_cmd= (Sql_cmd_change_repl_filter*) Lex->m_sql_cmd; DBUG_ASSERT(filter_sql_cmd); filter_sql_cmd->set_filter_value((yyvsp[0].item_list), OPT_REPLICATE_WILD_DO_TABLE); } -#line 19146 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19146 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 91: -#line 1887 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1887 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Sql_cmd_change_repl_filter * filter_sql_cmd= (Sql_cmd_change_repl_filter*) Lex->m_sql_cmd; @@ -19154,60 +19154,60 @@ filter_sql_cmd->set_filter_value((yyvsp[0].item_list), OPT_REPLICATE_WILD_IGNORE_TABLE); } -#line 19158 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19158 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 92: -#line 1895 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1895 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Sql_cmd_change_repl_filter * filter_sql_cmd= (Sql_cmd_change_repl_filter*) Lex->m_sql_cmd; DBUG_ASSERT(filter_sql_cmd); filter_sql_cmd->set_filter_value((yyvsp[0].item_list), OPT_REPLICATE_REWRITE_DB); } -#line 19169 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19169 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 93: -#line 1904 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1904 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list)= new (YYTHD->mem_root) List; if ((yyval.item_list) == NULL) MYSQL_YYABORT; } -#line 19179 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19179 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 94: -#line 1910 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1910 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list)= (yyvsp[-1].item_list); } -#line 19187 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19187 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 95: -#line 1917 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1917 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list)= new (YYTHD->mem_root) List; if ((yyval.item_list) == NULL) MYSQL_YYABORT; (yyval.item_list)->push_back((yyvsp[0].item)); } -#line 19198 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19198 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 96: -#line 1924 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1924 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyvsp[-2].item_list)->push_back((yyvsp[0].item)); (yyval.item_list)= (yyvsp[-2].item_list); } -#line 19207 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19207 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 97: -#line 1932 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1932 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; Item *db_item= new (thd->mem_root) Item_string((yyvsp[0].lex_str).str, @@ -19215,29 +19215,29 @@ thd->charset()); (yyval.item)= db_item; } -#line 19219 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19219 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 98: -#line 1942 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1942 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list)= new (YYTHD->mem_root) List; if ((yyval.item_list) == NULL) MYSQL_YYABORT; } -#line 19229 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19229 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 99: -#line 1948 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1948 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list)= (yyvsp[-1].item_list); } -#line 19237 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19237 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 100: -#line 1954 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1954 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list)= new (YYTHD->mem_root) List; if ((yyval.item_list) == NULL) @@ -19245,59 +19245,59 @@ (yyval.item_list)->push_back((yyvsp[-3].item)); (yyval.item_list)->push_back((yyvsp[-1].item)); } -#line 19249 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19249 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 101: -#line 1962 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1962 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyvsp[-6].item_list)->push_back((yyvsp[-3].item)); (yyvsp[-6].item_list)->push_back((yyvsp[-1].item)); (yyval.item_list)= (yyvsp[-6].item_list); } -#line 19259 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19259 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 102: -#line 1970 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1970 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list)= new (YYTHD->mem_root) List; if ((yyval.item_list) == NULL) MYSQL_YYABORT; } -#line 19269 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19269 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 103: -#line 1976 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1976 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list)= (yyvsp[-1].item_list); } -#line 19277 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19277 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 104: -#line 1983 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1983 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list)= new (YYTHD->mem_root) List; if ((yyval.item_list) == NULL) MYSQL_YYABORT; (yyval.item_list)->push_back((yyvsp[0].item)); } -#line 19288 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19288 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 105: -#line 1990 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1990 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyvsp[-2].item_list)->push_back((yyvsp[0].item)); (yyval.item_list)= (yyvsp[-2].item_list); } -#line 19297 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19297 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 106: -#line 1998 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 1998 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; Item_string *table_item= new (thd->mem_root) Item_string((yyvsp[-2].lex_str).str, @@ -19307,49 +19307,49 @@ table_item->append((yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length); (yyval.item)= table_item; } -#line 19311 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19311 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 107: -#line 2011 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2011 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list)= new (YYTHD->mem_root) List; if ((yyval.item_list) == NULL) MYSQL_YYABORT; } -#line 19321 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19321 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 108: -#line 2017 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2017 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list)= (yyvsp[-1].item_list); } -#line 19329 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19329 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 109: -#line 2024 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2024 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list)= new (YYTHD->mem_root) List; if ((yyval.item_list) == NULL) MYSQL_YYABORT; (yyval.item_list)->push_back((yyvsp[0].item)); } -#line 19340 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19340 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 110: -#line 2031 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2031 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyvsp[-2].item_list)->push_back((yyvsp[0].item)); (yyval.item_list)= (yyvsp[-2].item_list); } -#line 19349 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19349 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 111: -#line 2039 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2039 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; Item *string_item= new (thd->mem_root) Item_string((yyvsp[0].lex_str).str, @@ -19357,35 +19357,35 @@ thd->charset()); (yyval.item)= string_item; } -#line 19361 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19361 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 114: -#line 2055 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2055 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.host = (yyvsp[0].lex_str).str; } -#line 19369 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19369 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 115: -#line 2059 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2059 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.bind_addr = (yyvsp[0].lex_str).str; } -#line 19377 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19377 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 116: -#line 2063 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2063 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.user = (yyvsp[0].lex_str).str; } -#line 19385 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19385 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 117: -#line 2067 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2067 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.password = (yyvsp[0].lex_str).str; if (strlen((yyvsp[0].lex_str).str) > 32) @@ -19395,36 +19395,36 @@ } Lex->contains_plaintext_password= true; } -#line 19399 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19399 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 118: -#line 2077 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2077 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.port = (yyvsp[0].ulong_num); } -#line 19407 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19407 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 119: -#line 2081 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2081 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.connect_retry = (yyvsp[0].ulong_num); } -#line 19415 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19415 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 120: -#line 2085 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2085 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.retry_count= (yyvsp[0].ulong_num); Lex->mi.retry_count_opt= LEX_MASTER_INFO::LEX_MI_ENABLE; } -#line 19424 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19424 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 121: -#line 2090 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2090 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[0].ulong_num) > MASTER_DELAY_MAX) { @@ -19435,93 +19435,93 @@ else Lex->mi.sql_delay = (yyvsp[0].ulong_num); } -#line 19439 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19439 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 122: -#line 2101 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2101 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.ssl= (yyvsp[0].ulong_num) ? LEX_MASTER_INFO::LEX_MI_ENABLE : LEX_MASTER_INFO::LEX_MI_DISABLE; } -#line 19448 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19448 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 123: -#line 2106 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2106 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.ssl_ca= (yyvsp[0].lex_str).str; } -#line 19456 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19456 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 124: -#line 2110 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2110 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.ssl_capath= (yyvsp[0].lex_str).str; } -#line 19464 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19464 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 125: -#line 2114 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2114 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.tls_version= (yyvsp[0].lex_str).str; } -#line 19472 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19472 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 126: -#line 2118 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2118 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.ssl_cert= (yyvsp[0].lex_str).str; } -#line 19480 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19480 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 127: -#line 2122 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2122 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.ssl_cipher= (yyvsp[0].lex_str).str; } -#line 19488 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19488 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 128: -#line 2126 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2126 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.ssl_key= (yyvsp[0].lex_str).str; } -#line 19496 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19496 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 129: -#line 2130 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2130 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.ssl_verify_server_cert= (yyvsp[0].ulong_num) ? LEX_MASTER_INFO::LEX_MI_ENABLE : LEX_MASTER_INFO::LEX_MI_DISABLE; } -#line 19505 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19505 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 130: -#line 2135 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2135 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.ssl_crl= (yyvsp[0].lex_str).str; } -#line 19513 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19513 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 131: -#line 2139 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2139 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.ssl_crlpath= (yyvsp[0].lex_str).str; } -#line 19521 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19521 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 132: -#line 2144 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2144 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); @@ -19554,45 +19554,45 @@ } Lex->mi.heartbeat_opt= LEX_MASTER_INFO::LEX_MI_ENABLE; } -#line 19558 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19558 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 133: -#line 2177 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2177 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.repl_ignore_server_ids_opt= LEX_MASTER_INFO::LEX_MI_ENABLE; } -#line 19566 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19566 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 134: -#line 2182 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2182 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.auto_position= (yyvsp[0].ulong_num) ? LEX_MASTER_INFO::LEX_MI_ENABLE : LEX_MASTER_INFO::LEX_MI_DISABLE; } -#line 19576 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19576 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 139: -#line 2199 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2199 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.repl_ignore_server_ids.push_back((yyvsp[0].ulong_num)); } -#line 19584 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19584 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 140: -#line 2205 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2205 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.log_file_name = (yyvsp[0].lex_str).str; } -#line 19592 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19592 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 141: -#line 2209 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2209 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.pos = (yyvsp[0].ulonglong_number); /* @@ -19608,39 +19608,39 @@ */ Lex->mi.pos = max(BIN_LOG_HEADER_SIZE, Lex->mi.pos); } -#line 19612 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19612 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 142: -#line 2225 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2225 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.relay_log_name = (yyvsp[0].lex_str).str; } -#line 19620 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19620 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 143: -#line 2229 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2229 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.relay_log_pos = (yyvsp[0].ulong_num); /* Adjust if < BIN_LOG_HEADER_SIZE (same comment as Lex->mi.pos) */ Lex->mi.relay_log_pos = max(BIN_LOG_HEADER_SIZE, Lex->mi.relay_log_pos); } -#line 19631 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19631 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 144: -#line 2239 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2239 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.channel= ""; Lex->mi.for_channel= false; } -#line 19640 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19640 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 145: -#line 2244 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2244 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* channel names are case insensitive. This means, even the results @@ -19652,11 +19652,11 @@ Lex->mi.channel= (yyvsp[0].lex_str).str; Lex->mi.for_channel= true; } -#line 19656 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19656 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 146: -#line 2261 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2261 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -19682,11 +19682,11 @@ lex->name.length= 0; lex->create_last_non_select_table= lex->last_table(); } -#line 19686 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19686 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 147: -#line 2287 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2287 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -19705,145 +19705,145 @@ } create_table_set_open_action_and_adjust_tables(lex); } -#line 19709 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19709 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 148: -#line 2306 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2306 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (add_create_index_prepare(Lex, (yyvsp[0].table))) MYSQL_YYABORT; } -#line 19718 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19718 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 149: -#line 2311 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2311 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (add_create_index(Lex, (yyvsp[-10].key_type), (yyvsp[-8].lex_str))) MYSQL_YYABORT; } -#line 19727 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19727 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 150: -#line 2315 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2315 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { } -#line 19733 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19733 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 151: -#line 2318 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2318 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (add_create_index_prepare(Lex, (yyvsp[0].table))) MYSQL_YYABORT; } -#line 19742 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19742 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 152: -#line 2323 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2323 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (add_create_index(Lex, (yyvsp[-10].key_type), (yyvsp[-8].lex_str))) MYSQL_YYABORT; } -#line 19751 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19751 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 153: -#line 2327 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2327 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { } -#line 19757 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19757 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 154: -#line 2330 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2330 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (add_create_index_prepare(Lex, (yyvsp[0].table))) MYSQL_YYABORT; } -#line 19766 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19766 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 155: -#line 2335 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2335 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (add_create_index(Lex, (yyvsp[-10].key_type), (yyvsp[-8].lex_str))) MYSQL_YYABORT; } -#line 19775 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19775 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 156: -#line 2339 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2339 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { } -#line 19781 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19781 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 157: -#line 2341 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2341 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.default_table_charset= NULL; Lex->create_info.used_fields= 0; } -#line 19790 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19790 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 158: -#line 2346 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2346 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command=SQLCOM_CREATE_DB; lex->name= (yyvsp[-2].lex_str); lex->create_info.options=(yyvsp[-3].num); } -#line 19801 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19801 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 159: -#line 2353 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2353 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_view_mode= VIEW_CREATE_NEW; Lex->create_view_algorithm= VIEW_ALGORITHM_UNDEFINED; Lex->create_view_suid= TRUE; } -#line 19811 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19811 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 160: -#line 2359 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2359 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 19817 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19817 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 161: -#line 2362 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2362 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command = SQLCOM_CREATE_USER; lex->create_info.options=(yyvsp[-5].num); } -#line 19827 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19827 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 162: -#line 2368 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2368 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->alter_tablespace_info->ts_cmd_type= CREATE_LOGFILE_GROUP; } -#line 19835 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19835 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 163: -#line 2372 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2372 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->alter_tablespace_info->ts_cmd_type= CREATE_TABLESPACE; } -#line 19843 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19843 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 164: -#line 2377 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2377 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command= SQLCOM_CREATE_SERVER; if ((yyvsp[-8].lex_str).length == 0) @@ -19856,68 +19856,68 @@ Lex->m_sql_cmd= new (YYTHD->mem_root) Sql_cmd_create_server(&Lex->server_options); } -#line 19860 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19860 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 167: -#line 2398 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2398 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->server_options.set_username((yyvsp[0].lex_str)); } -#line 19868 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19868 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 168: -#line 2402 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2402 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->server_options.set_host((yyvsp[0].lex_str)); } -#line 19876 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19876 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 169: -#line 2406 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2406 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->server_options.set_db((yyvsp[0].lex_str)); } -#line 19884 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19884 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 170: -#line 2410 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2410 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->server_options.set_owner((yyvsp[0].lex_str)); } -#line 19892 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19892 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 171: -#line 2414 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2414 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->server_options.set_password((yyvsp[0].lex_str)); Lex->contains_plaintext_password= true; } -#line 19901 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19901 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 172: -#line 2419 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2419 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->server_options.set_socket((yyvsp[0].lex_str)); } -#line 19909 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19909 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 173: -#line 2423 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2423 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->server_options.set_port((yyvsp[0].ulong_num)); } -#line 19917 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19917 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 174: -#line 2430 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2430 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex=Lex; @@ -19933,11 +19933,11 @@ lex->sql_command= SQLCOM_CREATE_EVENT; /* We need that for disallowing subqueries */ } -#line 19937 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19937 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 175: -#line 2450 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2450 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* sql_command is set here because some rules in ev_sql_stmt @@ -19945,140 +19945,140 @@ */ Lex->sql_command= SQLCOM_CREATE_EVENT; } -#line 19949 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19949 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 176: -#line 2461 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2461 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[-1].item), &(yyvsp[-1].item)); Lex->event_parse_data->item_expression= (yyvsp[-1].item); Lex->event_parse_data->interval= (yyvsp[0].interval); } -#line 19960 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19960 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 178: -#line 2470 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2470 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); Lex->event_parse_data->item_execute_at= (yyvsp[0].item); } -#line 19970 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19970 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 179: -#line 2478 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2478 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 0; } -#line 19976 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19976 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 180: -#line 2480 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2480 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->event_parse_data->status= Event_parse_data::ENABLED; Lex->event_parse_data->status_changed= true; (yyval.num)= 1; } -#line 19986 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19986 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 181: -#line 2486 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2486 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->event_parse_data->status= Event_parse_data::SLAVESIDE_DISABLED; Lex->event_parse_data->status_changed= true; (yyval.num)= 1; } -#line 19996 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 19996 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 182: -#line 2492 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2492 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->event_parse_data->status= Event_parse_data::DISABLED; Lex->event_parse_data->status_changed= true; (yyval.num)= 1; } -#line 20006 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20006 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 183: -#line 2501 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2501 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Item *item= new (YYTHD->mem_root) Item_func_now_local(0); if (item == NULL) MYSQL_YYABORT; Lex->event_parse_data->item_starts= item; } -#line 20017 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20017 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 184: -#line 2508 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2508 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); Lex->event_parse_data->item_starts= (yyvsp[0].item); } -#line 20027 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20027 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 186: -#line 2518 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2518 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); Lex->event_parse_data->item_ends= (yyvsp[0].item); } -#line 20037 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20037 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 187: -#line 2526 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2526 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 0; } -#line 20043 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20043 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 189: -#line 2532 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2532 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->event_parse_data->on_completion= Event_parse_data::ON_COMPLETION_PRESERVE; (yyval.num)= 1; } -#line 20053 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20053 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 190: -#line 2538 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2538 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->event_parse_data->on_completion= Event_parse_data::ON_COMPLETION_DROP; (yyval.num)= 1; } -#line 20063 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20063 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 191: -#line 2546 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2546 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 0; } -#line 20069 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20069 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 192: -#line 2548 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2548 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->comment= Lex->event_parse_data->comment= (yyvsp[0].lex_str); (yyval.num)= 1; } -#line 20078 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20078 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 193: -#line 2555 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2555 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -20124,11 +20124,11 @@ */ sp->set_body_start(thd, (yylsp[0]).cpp.end); } -#line 20128 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20128 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 194: -#line 2601 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2601 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -20138,11 +20138,11 @@ lex->sp_chistics.suid= SP_IS_SUID; //always the definer! lex->event_parse_data->body_changed= TRUE; } -#line 20142 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20142 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 208: -#line 2630 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2630 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->users_list.empty(); @@ -20156,11 +20156,11 @@ lex->alter_password.account_locked= false; memset(&(lex->mqh), 0, sizeof(lex->mqh)); } -#line 20160 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20160 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 209: -#line 2647 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2647 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->alter_password.update_password_expired_fields= false; @@ -20168,11 +20168,11 @@ lex->alter_password.use_default_password_lifetime= true; lex->alter_password.expire_after_days= 0; } -#line 20172 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20172 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 210: -#line 2658 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2658 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!(yyvsp[-2].lex_str).str || (check_and_convert_db_name(&(yyvsp[-2].lex_str), FALSE) != IDENT_NAME_OK)) @@ -20186,11 +20186,11 @@ MYSQL_YYABORT; (yyval.spname)->init_qname(YYTHD); } -#line 20190 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20190 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 211: -#line 2672 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2672 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -20206,111 +20206,111 @@ MYSQL_YYABORT; (yyval.spname)->init_qname(thd); } -#line 20210 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20210 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 212: -#line 2690 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2690 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 20216 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20216 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 213: -#line 2691 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2691 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 20222 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20222 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 214: -#line 2695 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2695 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 20228 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20228 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 215: -#line 2696 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2696 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 20234 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20234 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 216: -#line 2702 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2702 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sp_chistics.comment= (yyvsp[0].lex_str); } -#line 20240 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20240 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 217: -#line 2704 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2704 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* Just parse it, we only have one language for now. */ } -#line 20246 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20246 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 218: -#line 2706 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2706 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sp_chistics.daccess= SP_NO_SQL; } -#line 20252 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20252 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 219: -#line 2708 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2708 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sp_chistics.daccess= SP_CONTAINS_SQL; } -#line 20258 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20258 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 220: -#line 2710 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2710 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sp_chistics.daccess= SP_READS_SQL_DATA; } -#line 20264 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20264 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 221: -#line 2712 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2712 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sp_chistics.daccess= SP_MODIFIES_SQL_DATA; } -#line 20270 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20270 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 222: -#line 2714 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2714 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 20276 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20276 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 223: -#line 2719 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2719 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { } -#line 20282 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20282 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 224: -#line 2720 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2720 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sp_chistics.detistic= TRUE; } -#line 20288 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20288 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 225: -#line 2721 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2721 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sp_chistics.detistic= FALSE; } -#line 20294 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20294 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 226: -#line 2726 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2726 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sp_chistics.suid= SP_IS_SUID; } -#line 20302 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20302 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 227: -#line 2730 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2730 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sp_chistics.suid= SP_IS_NOT_SUID; } -#line 20310 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20310 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 228: -#line 2737 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2737 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex = Lex; @@ -20319,37 +20319,37 @@ lex->call_value_list.empty(); sp_add_used_routine(lex, YYTHD, (yyvsp[0].spname), SP_TYPE_PROCEDURE); } -#line 20323 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20323 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 229: -#line 2745 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2745 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 20329 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20329 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 234: -#line 2761 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2761 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); Lex->call_value_list.push_back((yyvsp[0].item)); } -#line 20339 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20339 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 235: -#line 2767 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2767 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); Lex->call_value_list.push_back((yyvsp[0].item)); } -#line 20349 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20349 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 240: -#line 2787 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2787 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; @@ -20366,11 +20366,11 @@ lex->interval_list.empty(); lex->uint_geom_type= 0; } -#line 20370 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20370 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 241: -#line 2807 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2807 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -20397,11 +20397,11 @@ spvar->field_def.field_name= spvar->name.str; spvar->field_def.pack_flag |= FIELDFLAG_MAYBE_NULL; } -#line 20401 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20401 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 246: -#line 2848 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2848 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -20427,55 +20427,55 @@ spvar->field_def.field_name= spvar->name.str; spvar->field_def.pack_flag |= FIELDFLAG_MAYBE_NULL; } -#line 20431 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20431 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 247: -#line 2876 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2876 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= sp_variable::MODE_IN; } -#line 20437 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20437 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 248: -#line 2877 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2877 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= sp_variable::MODE_IN; } -#line 20443 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20443 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 249: -#line 2878 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2878 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= sp_variable::MODE_OUT; } -#line 20449 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20449 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 250: -#line 2879 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2879 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= sp_variable::MODE_INOUT; } -#line 20455 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20455 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 251: -#line 2883 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2883 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 20461 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20461 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 253: -#line 2888 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2888 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 20467 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20467 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 255: -#line 2894 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2894 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.spblock).vars= (yyval.spblock).conds= (yyval.spblock).hndlrs= (yyval.spblock).curs= 0; } -#line 20475 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20475 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 256: -#line 2898 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2898 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* We check for declarations out of (standard) order this way because letting the grammar rules reflect it caused tricky @@ -20498,11 +20498,11 @@ (yyval.spblock).hndlrs= (yyvsp[-2].spblock).hndlrs + (yyvsp[-1].spblock).hndlrs; (yyval.spblock).curs= (yyvsp[-2].spblock).curs + (yyvsp[-1].spblock).curs; } -#line 20502 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20502 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 257: -#line 2925 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2925 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$3*/ THD *thd= YYTHD; LEX *lex= thd->lex; @@ -20512,11 +20512,11 @@ sp->reset_lex(thd); pctx->declare_var_boundary((yyvsp[0].num)); } -#line 20516 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20516 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 258: -#line 2936 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 2936 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$6*/ THD *thd= YYTHD; LEX *lex= thd->lex; @@ -20589,11 +20589,11 @@ (yyval.spblock).vars= (yyvsp[-3].num); (yyval.spblock).conds= (yyval.spblock).hndlrs= (yyval.spblock).curs= 0; } -#line 20593 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20593 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 259: -#line 3009 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3009 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -20610,11 +20610,11 @@ (yyval.spblock).vars= (yyval.spblock).hndlrs= (yyval.spblock).curs= 0; (yyval.spblock).conds= 1; } -#line 20614 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20614 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 260: -#line 3026 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3026 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -20656,11 +20656,11 @@ lex->keep_diagnostics= DA_KEEP_DIAGNOSTICS; // DECL HANDLER FOR } -#line 20660 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20660 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 261: -#line 3068 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3068 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= Lex; @@ -20694,11 +20694,11 @@ (yyval.spblock).vars= (yyval.spblock).conds= (yyval.spblock).curs= 0; (yyval.spblock).hndlrs= 1; } -#line 20698 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20698 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 262: -#line 3105 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3105 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$5*/ THD *thd= YYTHD; LEX *lex= Lex; @@ -20707,11 +20707,11 @@ sp->reset_lex(thd); sp->m_parser_data.set_current_stmt_start_ptr((yylsp[0]).raw.end); } -#line 20711 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20711 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 263: -#line 3114 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3114 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$7*/ CONTEXTUALIZE((yyvsp[0].select)); @@ -20774,35 +20774,35 @@ (yyval.spblock).vars= (yyval.spblock).conds= (yyval.spblock).hndlrs= 0; (yyval.spblock).curs= 1; } -#line 20778 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20778 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 264: -#line 3179 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3179 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= sp_handler::EXIT; } -#line 20784 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20784 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 265: -#line 3180 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3180 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= sp_handler::CONTINUE; } -#line 20790 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20790 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 266: -#line 3186 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3186 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 1; } -#line 20796 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20796 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 267: -#line 3188 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3188 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)+= 1; } -#line 20802 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20802 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 268: -#line 3193 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3193 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; sp_head *sp= lex->sphead; @@ -20822,11 +20822,11 @@ i->add_condition((yyvsp[0].spcondvalue)); } } -#line 20826 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20826 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 269: -#line 3216 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3216 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* mysql errno */ if ((yyvsp[0].ulong_num) == 0) { @@ -20837,11 +20837,11 @@ if ((yyval.spcondvalue) == NULL) MYSQL_YYABORT; } -#line 20841 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20841 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 271: -#line 3231 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3231 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* SQLSTATE */ /* @@ -20860,31 +20860,31 @@ if ((yyval.spcondvalue) == NULL) MYSQL_YYABORT; } -#line 20864 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20864 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 272: -#line 3252 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3252 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 20870 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20870 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 273: -#line 3253 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3253 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 20876 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20876 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 274: -#line 3258 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3258 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.spcondvalue)= (yyvsp[0].spcondvalue); } -#line 20884 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20884 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 275: -#line 3262 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3262 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; sp_pcontext *pctx= lex->get_sp_current_parsing_ctx(); @@ -20897,41 +20897,41 @@ MYSQL_YYABORT; } } -#line 20901 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20901 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 276: -#line 3275 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3275 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.spcondvalue)= new (YYTHD->mem_root) sp_condition_value(sp_condition_value::WARNING); if ((yyval.spcondvalue) == NULL) MYSQL_YYABORT; } -#line 20911 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20911 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 277: -#line 3281 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3281 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.spcondvalue)= new (YYTHD->mem_root) sp_condition_value(sp_condition_value::NOT_FOUND); if ((yyval.spcondvalue) == NULL) MYSQL_YYABORT; } -#line 20921 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20921 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 278: -#line 3287 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3287 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.spcondvalue)= new (YYTHD->mem_root) sp_condition_value(sp_condition_value::EXCEPTION); if ((yyval.spcondvalue) == NULL) MYSQL_YYABORT; } -#line 20931 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20931 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 279: -#line 3296 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3296 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -20941,11 +20941,11 @@ if (lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 20945 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20945 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 280: -#line 3309 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3309 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; sp_pcontext *pctx= lex->get_sp_current_parsing_ctx(); @@ -20971,67 +20971,67 @@ } (yyval.spcondvalue)= cond; } -#line 20975 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20975 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 281: -#line 3335 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3335 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.spcondvalue)= (yyvsp[0].spcondvalue); } -#line 20981 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20981 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 282: -#line 3340 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3340 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.spcondvalue)= NULL; } -#line 20987 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20987 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 283: -#line 3342 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3342 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.spcondvalue)= (yyvsp[0].spcondvalue); } -#line 20993 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20993 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 284: -#line 3347 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3347 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.signal_item_list)= new (YYTHD->mem_root) Set_signal_information(); } -#line 20999 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 20999 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 285: -#line 3349 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3349 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.signal_item_list)= (yyvsp[0].signal_item_list); } -#line 21005 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21005 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 286: -#line 3354 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3354 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.signal_item_list)= new (YYTHD->mem_root) Set_signal_information(); if ((yyval.signal_item_list)->set_item((yyvsp[-2].da_condition_item_name), (yyvsp[0].item))) MYSQL_YYABORT; } -#line 21015 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21015 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 287: -#line 3361 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3361 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.signal_item_list)= (yyvsp[-4].signal_item_list); if ((yyval.signal_item_list)->set_item((yyvsp[-2].da_condition_item_name), (yyvsp[0].item))) MYSQL_YYABORT; } -#line 21025 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21025 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 288: -#line 3373 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3373 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyval.item)); } -#line 21031 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21031 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 289: -#line 3375 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3375 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); @@ -21051,89 +21051,89 @@ } (yyval.item)= (yyvsp[0].item); } -#line 21055 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21055 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 290: -#line 3395 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3395 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyval.item)); } -#line 21061 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21061 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 291: -#line 3401 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3401 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.da_condition_item_name)= CIN_CLASS_ORIGIN; } -#line 21067 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21067 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 292: -#line 3403 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3403 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.da_condition_item_name)= CIN_SUBCLASS_ORIGIN; } -#line 21073 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21073 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 293: -#line 3405 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3405 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.da_condition_item_name)= CIN_CONSTRAINT_CATALOG; } -#line 21079 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21079 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 294: -#line 3407 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3407 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.da_condition_item_name)= CIN_CONSTRAINT_SCHEMA; } -#line 21085 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21085 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 295: -#line 3409 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3409 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.da_condition_item_name)= CIN_CONSTRAINT_NAME; } -#line 21091 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21091 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 296: -#line 3411 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3411 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.da_condition_item_name)= CIN_CATALOG_NAME; } -#line 21097 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21097 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 297: -#line 3413 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3413 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.da_condition_item_name)= CIN_SCHEMA_NAME; } -#line 21103 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21103 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 298: -#line 3415 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3415 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.da_condition_item_name)= CIN_TABLE_NAME; } -#line 21109 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21109 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 299: -#line 3417 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3417 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.da_condition_item_name)= CIN_COLUMN_NAME; } -#line 21115 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21115 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 300: -#line 3419 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3419 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.da_condition_item_name)= CIN_CURSOR_NAME; } -#line 21121 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21121 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 301: -#line 3421 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3421 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.da_condition_item_name)= CIN_MESSAGE_TEXT; } -#line 21127 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21127 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 302: -#line 3423 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3423 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.da_condition_item_name)= CIN_MYSQL_ERRNO; } -#line 21133 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21133 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 303: -#line 3428 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3428 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -21144,11 +21144,11 @@ if (lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 21148 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21148 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 304: -#line 3442 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3442 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Diagnostics_information *info= (yyvsp[0].diag_info); @@ -21161,79 +21161,79 @@ if (Lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 21165 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21165 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 305: -#line 3458 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3458 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.diag_area)= Diagnostics_information::CURRENT_AREA; } -#line 21171 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21171 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 306: -#line 3460 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3460 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.diag_area)= Diagnostics_information::CURRENT_AREA; } -#line 21177 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21177 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 307: -#line 3462 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3462 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.diag_area)= Diagnostics_information::STACKED_AREA; } -#line 21183 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21183 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 308: -#line 3467 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3467 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.diag_info)= new (YYTHD->mem_root) Statement_information((yyvsp[0].stmt_info_list)); if ((yyval.diag_info) == NULL) MYSQL_YYABORT; } -#line 21193 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21193 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 309: -#line 3473 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3473 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.diag_info)= new (YYTHD->mem_root) Condition_information((yyvsp[-1].item), (yyvsp[0].cond_info_list)); if ((yyval.diag_info) == NULL) MYSQL_YYABORT; } -#line 21203 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21203 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 310: -#line 3482 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3482 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.stmt_info_list)= new (YYTHD->mem_root) List; if ((yyval.stmt_info_list) == NULL || (yyval.stmt_info_list)->push_back((yyvsp[0].stmt_info_item))) MYSQL_YYABORT; } -#line 21213 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21213 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 311: -#line 3488 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3488 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[-2].stmt_info_list)->push_back((yyvsp[0].stmt_info_item))) MYSQL_YYABORT; (yyval.stmt_info_list)= (yyvsp[-2].stmt_info_list); } -#line 21223 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21223 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 312: -#line 3497 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3497 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.stmt_info_item)= new (YYTHD->mem_root) Statement_information_item((yyvsp[0].stmt_info_item_name), (yyvsp[-2].item)); if ((yyval.stmt_info_item) == NULL) MYSQL_YYABORT; } -#line 21233 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21233 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 313: -#line 3505 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3505 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -21261,146 +21261,146 @@ if ((yyval.item) == NULL) MYSQL_YYABORT; } -#line 21265 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21265 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 314: -#line 3533 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3533 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_get_user_var((yyloc), (yyvsp[0].lex_str)); ITEMIZE((yyval.item), &(yyval.item)); } -#line 21274 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21274 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 315: -#line 3541 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3541 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.stmt_info_item_name)= Statement_information_item::NUMBER; } -#line 21280 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21280 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 316: -#line 3543 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3543 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.stmt_info_item_name)= Statement_information_item::ROW_COUNT; } -#line 21286 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21286 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 317: -#line 3552 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3552 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= (yyvsp[0].item); } -#line 21292 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21292 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 318: -#line 3557 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3557 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cond_info_list)= new (YYTHD->mem_root) List; if ((yyval.cond_info_list) == NULL || (yyval.cond_info_list)->push_back((yyvsp[0].cond_info_item))) MYSQL_YYABORT; } -#line 21302 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21302 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 319: -#line 3563 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3563 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[-2].cond_info_list)->push_back((yyvsp[0].cond_info_item))) MYSQL_YYABORT; (yyval.cond_info_list)= (yyvsp[-2].cond_info_list); } -#line 21312 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21312 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 320: -#line 3572 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3572 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cond_info_item)= new (YYTHD->mem_root) Condition_information_item((yyvsp[0].cond_info_item_name), (yyvsp[-2].item)); if ((yyval.cond_info_item) == NULL) MYSQL_YYABORT; } -#line 21322 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21322 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 321: -#line 3580 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3580 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cond_info_item_name)= Condition_information_item::CLASS_ORIGIN; } -#line 21328 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21328 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 322: -#line 3582 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3582 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cond_info_item_name)= Condition_information_item::SUBCLASS_ORIGIN; } -#line 21334 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21334 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 323: -#line 3584 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3584 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cond_info_item_name)= Condition_information_item::CONSTRAINT_CATALOG; } -#line 21340 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21340 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 324: -#line 3586 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3586 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cond_info_item_name)= Condition_information_item::CONSTRAINT_SCHEMA; } -#line 21346 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21346 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 325: -#line 3588 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3588 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cond_info_item_name)= Condition_information_item::CONSTRAINT_NAME; } -#line 21352 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21352 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 326: -#line 3590 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3590 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cond_info_item_name)= Condition_information_item::CATALOG_NAME; } -#line 21358 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21358 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 327: -#line 3592 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3592 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cond_info_item_name)= Condition_information_item::SCHEMA_NAME; } -#line 21364 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21364 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 328: -#line 3594 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3594 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cond_info_item_name)= Condition_information_item::TABLE_NAME; } -#line 21370 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21370 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 329: -#line 3596 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3596 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cond_info_item_name)= Condition_information_item::COLUMN_NAME; } -#line 21376 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21376 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 330: -#line 3598 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3598 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cond_info_item_name)= Condition_information_item::CURSOR_NAME; } -#line 21382 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21382 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 331: -#line 3600 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3600 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cond_info_item_name)= Condition_information_item::MESSAGE_TEXT; } -#line 21388 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21388 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 332: -#line 3602 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3602 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cond_info_item_name)= Condition_information_item::MYSQL_ERRNO; } -#line 21394 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21394 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 333: -#line 3604 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3604 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cond_info_item_name)= Condition_information_item::RETURNED_SQLSTATE; } -#line 21400 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21400 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 334: -#line 3609 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3609 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* NOTE: field definition is filled in sp_decl section. */ @@ -21420,11 +21420,11 @@ sp_variable::MODE_IN); (yyval.num)= 1; } -#line 21424 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21424 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 335: -#line 3629 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3629 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* NOTE: field definition is filled in sp_decl section. */ @@ -21444,49 +21444,49 @@ sp_variable::MODE_IN); (yyval.num)= (yyvsp[-2].num) + 1; } -#line 21448 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21448 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 336: -#line 3652 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3652 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item) = NULL; } -#line 21454 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21454 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 337: -#line 3654 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3654 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sphead->m_parser_data.push_expr_start_ptr((yylsp[0]).raw.end); } -#line 21460 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21460 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 338: -#line 3656 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3656 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); (yyval.item) = (yyvsp[0].item); } -#line 21470 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21470 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 352: -#line 3681 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3681 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sphead->m_parser_data.new_cont_backpatch(); } -#line 21476 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21476 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 353: -#line 3683 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3683 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { sp_head *sp= Lex->sphead; sp->m_parser_data.do_cont_backpatch(sp->instructions()); } -#line 21486 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21486 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 354: -#line 3691 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3691 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -21495,11 +21495,11 @@ sp->reset_lex(thd); sp->m_parser_data.set_current_stmt_start_ptr(yylloc.raw.start); } -#line 21499 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21499 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 355: -#line 3700 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3700 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -21543,11 +21543,11 @@ if (sp->restore_lex(thd)) MYSQL_YYABORT; } -#line 21547 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21547 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 356: -#line 3747 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3747 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$2*/ THD *thd= YYTHD; LEX *lex= thd->lex; @@ -21557,11 +21557,11 @@ sp->m_parser_data.push_expr_start_ptr((yylsp[0]).raw.end); } -#line 21561 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21561 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 357: -#line 3757 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3757 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$4*/ ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); @@ -21607,11 +21607,11 @@ MYSQL_YYABORT; } } -#line 21611 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21611 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 358: -#line 3805 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3805 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* Unlabeled controls get a secret label. */ THD *thd= YYTHD; LEX *lex= thd->lex; @@ -21622,11 +21622,11 @@ EMPTY_STR, sp->instructions()); } -#line 21626 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21626 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 359: -#line 3816 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3816 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; sp_head *sp= lex->sphead; @@ -21635,11 +21635,11 @@ sp->m_parser_data.do_backpatch(pctx->pop_label(), sp->instructions()); } -#line 21639 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21639 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 360: -#line 3828 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3828 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= Lex; @@ -21695,11 +21695,11 @@ sp->add_instr(thd, i)) MYSQL_YYABORT; } -#line 21699 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21699 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 361: -#line 3887 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3887 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= Lex; @@ -21746,11 +21746,11 @@ if (!i || sp->add_instr(thd, i)) MYSQL_YYABORT; } -#line 21750 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21750 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 362: -#line 3937 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3937 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= Lex; @@ -21771,11 +21771,11 @@ if (!i || sp->add_instr(thd, i)) MYSQL_YYABORT; } -#line 21775 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21775 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 363: -#line 3961 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3961 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= Lex; @@ -21796,17 +21796,17 @@ if (!i || sp->add_instr(thd, i)) MYSQL_YYABORT; } -#line 21800 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21800 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 364: -#line 3982 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3982 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 21806 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21806 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 365: -#line 3987 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 3987 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= Lex; @@ -21827,11 +21827,11 @@ if (!i || sp->add_instr(thd, i)) MYSQL_YYABORT; } -#line 21831 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21831 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 369: -#line 4017 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4017 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; sp_head *sp= lex->sphead; @@ -21849,11 +21849,11 @@ i->add_to_varlist(spv); } -#line 21853 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21853 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 370: -#line 4035 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4035 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; sp_head *sp= lex->sphead; @@ -21871,11 +21871,11 @@ i->add_to_varlist(spv); } -#line 21875 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21875 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 371: -#line 4055 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4055 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$1*/ THD *thd= YYTHD; LEX *lex= thd->lex; @@ -21884,11 +21884,11 @@ sp->reset_lex(thd); sp->m_parser_data.push_expr_start_ptr((yylsp[0]).raw.end); } -#line 21888 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21888 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 372: -#line 4064 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4064 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$3*/ ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); @@ -21926,11 +21926,11 @@ MYSQL_YYABORT; } } -#line 21930 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21930 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 373: -#line 4103 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4103 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$6*/ THD *thd= YYTHD; LEX *lex= thd->lex; @@ -21949,11 +21949,11 @@ sp->m_parser_data.add_backpatch_entry( i, pctx->push_label(thd, EMPTY_STR, 0)); } -#line 21953 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21953 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 374: -#line 4122 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4122 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$8*/ LEX *lex= Lex; sp_head *sp= lex->sphead; @@ -21962,11 +21962,11 @@ sp->m_parser_data.do_backpatch(pctx->pop_label(), sp->instructions()); } -#line 21966 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21966 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 380: -#line 4145 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4145 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$2*/ THD *thd= YYTHD; LEX *lex= thd->lex; @@ -21977,11 +21977,11 @@ sp->reset_lex(thd); /* For CASE-expr $3 */ sp->m_parser_data.push_expr_start_ptr((yylsp[0]).raw.end); } -#line 21981 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 21981 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 381: -#line 4156 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4156 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$4*/ ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); @@ -22024,35 +22024,35 @@ MYSQL_YYABORT; } } -#line 22028 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22028 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 382: -#line 4202 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4202 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$9*/ case_stmt_action_end_case(Lex, true); } -#line 22036 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22036 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 383: -#line 4209 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4209 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { case_stmt_action_case(YYTHD); } -#line 22044 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22044 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 384: -#line 4216 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4216 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { case_stmt_action_end_case(Lex, false); } -#line 22052 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22052 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 389: -#line 4233 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4233 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$2*/ THD *thd= YYTHD; LEX *lex= thd->lex; @@ -22061,11 +22061,11 @@ sp->reset_lex(thd); sp->m_parser_data.push_expr_start_ptr((yylsp[0]).raw.end); } -#line 22065 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22065 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 390: -#line 4242 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4242 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$4*/ /* Simple case: = */ @@ -22107,20 +22107,20 @@ MYSQL_YYABORT; } } -#line 22111 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22111 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 391: -#line 4285 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4285 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$7*/ if (case_stmt_action_then(YYTHD, Lex)) MYSQL_YYABORT; } -#line 22120 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22120 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 392: -#line 4293 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4293 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$2*/ THD *thd= YYTHD; LEX *lex= thd->lex; @@ -22129,11 +22129,11 @@ sp->reset_lex(thd); sp->m_parser_data.push_expr_start_ptr((yylsp[0]).raw.end); } -#line 22133 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22133 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 393: -#line 4302 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4302 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$4*/ ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); @@ -22170,20 +22170,20 @@ MYSQL_YYABORT; } } -#line 22174 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22174 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 394: -#line 4340 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4340 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$8*/ if (case_stmt_action_then(YYTHD, Lex)) MYSQL_YYABORT; } -#line 22183 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22183 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 395: -#line 4348 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4348 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= Lex; @@ -22197,11 +22197,11 @@ if (!i || sp->add_instr(thd, i)) MYSQL_YYABORT; } -#line 22201 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22201 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 397: -#line 4366 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4366 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; sp_head *sp= lex->sphead; @@ -22219,11 +22219,11 @@ lab->type= sp_label::ITERATION; } } -#line 22223 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22223 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 398: -#line 4384 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4384 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; sp_head *sp= lex->sphead; @@ -22240,23 +22240,23 @@ } sp->m_parser_data.do_backpatch(lab, sp->instructions()); } -#line 22244 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22244 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 399: -#line 4403 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4403 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)= null_lex_str; } -#line 22250 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22250 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 400: -#line 4404 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4404 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)= (yyvsp[0].lex_str); } -#line 22256 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22256 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 401: -#line 4409 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4409 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; sp_head *sp= lex->sphead; @@ -22272,11 +22272,11 @@ lab= pctx->push_label(YYTHD, (yyvsp[-1].lex_str), sp->instructions()); lab->type= sp_label::BEGIN; } -#line 22276 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22276 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 402: -#line 4425 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4425 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; sp_pcontext *pctx= lex->get_sp_current_parsing_ctx(); @@ -22291,11 +22291,11 @@ } } } -#line 22295 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22295 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 403: -#line 4442 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4442 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* Unlabeled blocks get a secret label. */ LEX *lex= Lex; sp_head *sp= lex->sphead; @@ -22306,20 +22306,20 @@ lab->type= sp_label::BEGIN; } -#line 22310 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22310 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 404: -#line 4453 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4453 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->get_sp_current_parsing_ctx()->pop_label(); } -#line 22319 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22319 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 405: -#line 4461 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4461 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* QQ This is just a dummy for grouping declarations and statements together. No [[NOT] ATOMIC] yet, and we need to figure out how make it coexist with the existing BEGIN COMMIT/ROLLBACK. */ @@ -22332,11 +22332,11 @@ lex->set_sp_current_parsing_ctx(child_pctx); } -#line 22336 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22336 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 406: -#line 4476 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4476 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= Lex; @@ -22368,11 +22368,11 @@ lex->set_sp_current_parsing_ctx(pctx->pop_context()); } -#line 22372 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22372 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 407: -#line 4512 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4512 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= Lex; @@ -22387,11 +22387,11 @@ if (!i || sp->add_instr(thd, i)) MYSQL_YYABORT; } -#line 22391 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22391 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 408: -#line 4527 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4527 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$2*/ THD *thd= YYTHD; LEX *lex= thd->lex; @@ -22400,11 +22400,11 @@ sp->reset_lex(thd); sp->m_parser_data.push_expr_start_ptr((yylsp[0]).raw.end); } -#line 22404 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22404 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 409: -#line 4536 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4536 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$4*/ ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); @@ -22442,11 +22442,11 @@ MYSQL_YYABORT; } } -#line 22446 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22446 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 410: -#line 4577 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4577 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$14*/ THD *thd= YYTHD; LEX *lex= Lex; @@ -22462,11 +22462,11 @@ sp->m_parser_data.do_cont_backpatch(sp->instructions()); } -#line 22466 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22466 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 411: -#line 4595 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4595 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$4*/ THD *thd= YYTHD; LEX *lex= thd->lex; @@ -22475,11 +22475,11 @@ sp->reset_lex(thd); sp->m_parser_data.push_expr_start_ptr((yylsp[0]).raw.end); } -#line 22479 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22479 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 412: -#line 4604 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4604 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$6*/ ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); @@ -22518,105 +22518,105 @@ /* We can shortcut the cont_backpatch here */ i->set_cont_dest(ip + 1); } -#line 22522 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22522 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 414: -#line 4648 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4648 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= TRG_ACTION_BEFORE; } -#line 22528 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22528 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 415: -#line 4650 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4650 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= TRG_ACTION_AFTER; } -#line 22534 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22534 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 416: -#line 4655 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4655 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= TRG_EVENT_INSERT; } -#line 22540 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22540 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 417: -#line 4657 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4657 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= TRG_EVENT_UPDATE; } -#line 22546 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22546 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 418: -#line 4659 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4659 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= TRG_EVENT_DELETE; } -#line 22552 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22552 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 422: -#line 4693 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4693 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 22558 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22558 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 423: -#line 4695 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4695 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->logfile_group_name= (yyvsp[0].lex_str).str; } -#line 22567 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22567 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 424: -#line 4705 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4705 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->alter_tablespace_info->ts_alter_tablespace_type= ALTER_TABLESPACE_ADD_FILE; } -#line 22575 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22575 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 425: -#line 4711 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4711 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->alter_tablespace_info->ts_alter_tablespace_type= ALTER_TABLESPACE_DROP_FILE; } -#line 22583 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22583 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 430: -#line 4734 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4734 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 22589 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22589 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 482: -#line 4833 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4833 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->data_file_name= (yyvsp[0].lex_str).str; } -#line 22598 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22598 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 483: -#line 4841 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4841 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->undo_file_name= (yyvsp[0].lex_str).str; } -#line 22607 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22607 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 484: -#line 4849 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4849 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->redo_file_name= (yyvsp[0].lex_str).str; } -#line 22616 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22616 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 485: -#line 4857 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4857 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info= new st_alter_tablespace(); @@ -22625,11 +22625,11 @@ lex->alter_tablespace_info->tablespace_name= (yyvsp[0].lex_str).str; lex->sql_command= SQLCOM_ALTER_TABLESPACE; } -#line 22629 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22629 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 486: -#line 4869 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4869 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info= new st_alter_tablespace(); @@ -22638,92 +22638,92 @@ lex->alter_tablespace_info->logfile_group_name= (yyvsp[0].lex_str).str; lex->sql_command= SQLCOM_ALTER_TABLESPACE; } -#line 22642 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22642 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 487: -#line 4881 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4881 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->ts_access_mode= TS_READ_ONLY; } -#line 22651 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22651 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 488: -#line 4886 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4886 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->ts_access_mode= TS_READ_WRITE; } -#line 22660 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22660 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 489: -#line 4891 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4891 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->ts_access_mode= TS_NOT_ACCESSIBLE; } -#line 22669 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22669 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 490: -#line 4899 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4899 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->initial_size= (yyvsp[0].ulonglong_number); } -#line 22678 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22678 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 491: -#line 4907 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4907 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->autoextend_size= (yyvsp[0].ulonglong_number); } -#line 22687 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22687 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 492: -#line 4915 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4915 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->max_size= (yyvsp[0].ulonglong_number); } -#line 22696 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22696 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 493: -#line 4923 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4923 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->extent_size= (yyvsp[0].ulonglong_number); } -#line 22705 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22705 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 494: -#line 4931 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4931 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->undo_buffer_size= (yyvsp[0].ulonglong_number); } -#line 22714 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22714 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 495: -#line 4939 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4939 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->redo_buffer_size= (yyvsp[0].ulonglong_number); } -#line 22723 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22723 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 496: -#line 4947 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4947 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; if (lex->alter_tablespace_info->nodegroup_id != UNDEF_NODEGROUP) @@ -22733,11 +22733,11 @@ } lex->alter_tablespace_info->nodegroup_id= (yyvsp[0].ulong_num); } -#line 22737 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22737 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 497: -#line 4960 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4960 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; if (lex->alter_tablespace_info->ts_comment != NULL) @@ -22747,11 +22747,11 @@ } lex->alter_tablespace_info->ts_comment= (yyvsp[0].lex_str).str; } -#line 22751 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22751 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 498: -#line 4973 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4973 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; if (lex->alter_tablespace_info->storage_engine != NULL) @@ -22762,11 +22762,11 @@ } lex->alter_tablespace_info->storage_engine= (yyvsp[0].db_type); } -#line 22766 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22766 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 499: -#line 4987 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 4987 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; if (lex->alter_tablespace_info->file_block_size != 0) @@ -22777,20 +22777,20 @@ } lex->alter_tablespace_info->file_block_size= (yyvsp[0].ulonglong_number); } -#line 22781 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22781 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 500: -#line 5001 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5001 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->wait_until_completed= TRUE; } -#line 22790 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22790 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 501: -#line 5006 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5006 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; if (!(lex->alter_tablespace_info->wait_until_completed)) @@ -22800,17 +22800,17 @@ } lex->alter_tablespace_info->wait_until_completed= FALSE; } -#line 22804 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22804 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 502: -#line 5018 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5018 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulonglong_number)= (yyvsp[0].ulonglong_number);} -#line 22810 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22810 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 503: -#line 5020 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5020 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ulonglong number; uint text_shift_number= 0; @@ -22856,23 +22856,23 @@ } (yyval.ulonglong_number)= number; } -#line 22860 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22860 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 504: -#line 5072 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5072 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 22866 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22866 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 505: -#line 5075 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5075 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 22872 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22872 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 506: -#line 5077 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5077 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; TABLE_LIST *src_table; @@ -22887,11 +22887,11 @@ /* CREATE TABLE ... LIKE is not allowed for views. */ src_table->required_type= FRMTYPE_TABLE; } -#line 22891 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22891 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 507: -#line 5092 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5092 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; TABLE_LIST *src_table; @@ -22906,77 +22906,77 @@ /* CREATE TABLE ... LIKE is not allowed for views. */ src_table->required_type= FRMTYPE_TABLE; } -#line 22910 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22910 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 508: -#line 5111 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5111 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 22916 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22916 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 509: -#line 5114 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5114 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { CONTEXTUALIZE((yyvsp[-1].create_select)); Select->set_braces(1); } -#line 22925 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22925 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 510: -#line 5119 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5119 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[0].node) != NULL) CONTEXTUALIZE((yyvsp[0].node)); } -#line 22934 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22934 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 511: -#line 5126 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5126 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 22940 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22940 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 512: -#line 5128 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5128 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { CONTEXTUALIZE((yyvsp[0].create_select)); Select->set_braces(0); } -#line 22949 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22949 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 513: -#line 5133 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5133 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[0].union_list) != NULL) CONTEXTUALIZE((yyvsp[0].union_list)); } -#line 22958 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22958 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 514: -#line 5138 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5138 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { CONTEXTUALIZE((yyvsp[-1].create_select)); Select->set_braces(1); } -#line 22967 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22967 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 515: -#line 5143 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5143 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[0].node) != NULL) CONTEXTUALIZE((yyvsp[0].node)); } -#line 22976 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22976 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 516: -#line 5151 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5151 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* Remove all tables used in PARTITION clause from the global table @@ -22986,17 +22986,17 @@ last_non_sel_table->next_global= 0; Lex->query_tables_last= &last_non_sel_table->next_global; } -#line 22990 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22990 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 517: -#line 5187 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5187 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 22996 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 22996 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 519: -#line 5193 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5193 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->part_info= new partition_info(); @@ -23010,11 +23010,11 @@ lex->alter_info.flags|= Alter_info::ALTER_PARTITION; } } -#line 23014 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23014 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 521: -#line 5211 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5211 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; if (!lex->part_info) @@ -23027,82 +23027,82 @@ partition info string into part_info data structure. */ } -#line 23031 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23031 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 522: -#line 5223 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5223 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23037 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23037 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 524: -#line 5232 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5232 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; part_info->list_of_part_fields= TRUE; part_info->column_list= FALSE; part_info->part_type= HASH_PARTITION; } -#line 23048 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23048 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 525: -#line 5239 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5239 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->part_info->part_type= HASH_PARTITION; } -#line 23054 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23054 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 526: -#line 5240 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5240 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23060 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23060 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 527: -#line 5242 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5242 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->part_info->part_type= RANGE_PARTITION; } -#line 23066 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23066 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 528: -#line 5244 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5244 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->part_info->part_type= RANGE_PARTITION; } -#line 23072 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23072 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 529: -#line 5246 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5246 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->part_info->part_type= LIST_PARTITION; } -#line 23078 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23078 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 530: -#line 5248 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5248 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->part_info->part_type= LIST_PARTITION; } -#line 23084 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23084 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 531: -#line 5252 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5252 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23090 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23090 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 532: -#line 5254 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5254 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->part_info->linear_hash_ind= TRUE;} -#line 23096 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23096 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 533: -#line 5259 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5259 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->part_info->key_algorithm= partition_info::KEY_ALGORITHM_NONE;} -#line 23102 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23102 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 534: -#line 5261 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5261 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { switch ((yyvsp[0].ulong_num)) { case 1: @@ -23116,35 +23116,35 @@ MYSQL_YYABORT; } } -#line 23120 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23120 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 535: -#line 5277 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5277 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23126 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23126 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 536: -#line 5278 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5278 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23132 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23132 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 537: -#line 5282 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5282 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23138 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23138 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 538: -#line 5283 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5283 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23144 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23144 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 539: -#line 5288 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5288 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; part_info->num_columns++; @@ -23160,21 +23160,21 @@ MYSQL_YYABORT; } } -#line 23164 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23164 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 540: -#line 5307 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5307 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; part_info->column_list= TRUE; part_info->list_of_part_fields= TRUE; } -#line 23174 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23174 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 541: -#line 5317 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5317 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; /* @@ -23187,11 +23187,11 @@ part_info->num_columns= 1; part_info->column_list= FALSE; } -#line 23191 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23191 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 542: -#line 5333 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5333 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* TODO: replace @1.cpp.end with @2.cpp.start: we don't need whitespaces at @@ -23201,17 +23201,17 @@ const_cast((yylsp[-1]).cpp.end), TRUE)) { MYSQL_YYABORT; } } -#line 23205 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23205 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 543: -#line 5346 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5346 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23211 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23211 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 544: -#line 5348 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5348 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { uint num_parts= (yyvsp[0].ulong_num); partition_info *part_info= Lex->part_info; @@ -23224,57 +23224,57 @@ part_info->num_parts= num_parts; part_info->use_default_num_partitions= FALSE; } -#line 23228 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23228 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 545: -#line 5363 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5363 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23234 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23234 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 546: -#line 5365 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5365 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->part_info->subpart_type= HASH_PARTITION; } -#line 23240 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23240 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 547: -#line 5366 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5366 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23246 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23246 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 548: -#line 5369 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5369 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; part_info->subpart_type= HASH_PARTITION; part_info->list_of_subpart_fields= TRUE; } -#line 23256 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23256 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 549: -#line 5374 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5374 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23262 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23262 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 550: -#line 5378 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5378 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23268 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23268 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 551: -#line 5379 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5379 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23274 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23274 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 552: -#line 5384 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5384 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; if (part_info->subpart_field_list.push_back((yyvsp[0].lex_str).str)) @@ -23289,11 +23289,11 @@ MYSQL_YYABORT; } } -#line 23293 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23293 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 553: -#line 5402 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5402 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); @@ -23308,17 +23308,17 @@ } (yyval.item)=(yyvsp[0].item); } -#line 23312 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23312 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 554: -#line 5419 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5419 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23318 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23318 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 555: -#line 5421 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5421 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { uint num_parts= (yyvsp[0].ulong_num); LEX *lex= Lex; @@ -23330,11 +23330,11 @@ lex->part_info->num_subparts= num_parts; lex->part_info->use_default_num_subpartitions= FALSE; } -#line 23334 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23334 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 556: -#line 5436 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5436 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; if (part_info->part_type == RANGE_PARTITION) @@ -23350,11 +23350,11 @@ MYSQL_YYABORT; } } -#line 23354 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23354 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 557: -#line 5452 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5452 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; uint count_curr_parts= part_info->partitions.elements; @@ -23373,23 +23373,23 @@ } part_info->count_curr_subparts= 0; } -#line 23377 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23377 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 558: -#line 5473 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5473 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23383 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23383 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 559: -#line 5474 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5474 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23389 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23389 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 560: -#line 5479 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5479 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; partition_element *p_elem= new partition_element(); @@ -23405,17 +23405,17 @@ part_info->use_default_partitions= FALSE; part_info->use_default_num_partitions= FALSE; } -#line 23409 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23409 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 561: -#line 5498 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5498 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23415 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23415 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 562: -#line 5503 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5503 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; partition_element *p_elem= part_info->curr_part_elem; @@ -23427,89 +23427,80 @@ } p_elem->partition_name= (yyvsp[0].lex_str).str; } -#line 23431 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23431 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 563: -#line 5518 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5518 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; partition_info *part_info= lex->part_info; - if (! lex->is_partition_management()) + if (part_info->part_type == NOT_A_PARTITION) + part_info->part_type= HASH_PARTITION; + else if (part_info->part_type == RANGE_PARTITION) { - if (part_info->part_type == RANGE_PARTITION) - { - my_error(ER_PARTITION_REQUIRES_VALUES_ERROR, MYF(0), - "RANGE", "LESS THAN"); - MYSQL_YYABORT; - } - if (part_info->part_type == LIST_PARTITION) - { - my_error(ER_PARTITION_REQUIRES_VALUES_ERROR, MYF(0), - "LIST", "IN"); - MYSQL_YYABORT; - } + my_error(ER_PARTITION_REQUIRES_VALUES_ERROR, MYF(0), + "RANGE", "LESS THAN"); + MYSQL_YYABORT; + } + else if (part_info->part_type == LIST_PARTITION) + { + my_error(ER_PARTITION_REQUIRES_VALUES_ERROR, MYF(0), + "LIST", "IN"); + MYSQL_YYABORT; } - else - part_info->part_type= HASH_PARTITION; } -#line 23457 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23454 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 564: -#line 5540 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5537 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; partition_info *part_info= lex->part_info; - if (! lex->is_partition_management()) + if (part_info->part_type == NOT_A_PARTITION) + part_info->part_type= RANGE_PARTITION; + else if (part_info->part_type != RANGE_PARTITION) { - if (part_info->part_type != RANGE_PARTITION) - { - my_error(ER_PARTITION_WRONG_VALUES_ERROR, MYF(0), - "RANGE", "LESS THAN"); - MYSQL_YYABORT; - } + my_error(ER_PARTITION_WRONG_VALUES_ERROR, MYF(0), + "RANGE", "LESS THAN"); + MYSQL_YYABORT; } - else - part_info->part_type= RANGE_PARTITION; } -#line 23477 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23471 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 565: -#line 5555 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5549 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23483 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23477 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 566: -#line 5557 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5551 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; partition_info *part_info= lex->part_info; - if (! lex->is_partition_management()) + if (part_info->part_type == NOT_A_PARTITION) + part_info->part_type= LIST_PARTITION; + else if (part_info->part_type != LIST_PARTITION) { - if (part_info->part_type != LIST_PARTITION) - { - my_error(ER_PARTITION_WRONG_VALUES_ERROR, MYF(0), - "LIST", "IN"); - MYSQL_YYABORT; - } + my_error(ER_PARTITION_WRONG_VALUES_ERROR, MYF(0), + "LIST", "IN"); + MYSQL_YYABORT; } - else - part_info->part_type= LIST_PARTITION; } -#line 23503 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23494 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 567: -#line 5572 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5563 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23509 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23500 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 568: -#line 5577 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5568 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; @@ -23531,17 +23522,17 @@ MYSQL_YYABORT; } } -#line 23535 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23526 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 569: -#line 5598 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5589 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23541 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23532 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 570: -#line 5603 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5594 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; partition_info *part_info= lex->part_info; @@ -23570,11 +23561,11 @@ } } } -#line 23574 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23565 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 571: -#line 5632 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5623 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; if (part_info->num_columns < 2U) @@ -23583,23 +23574,23 @@ MYSQL_YYABORT; } } -#line 23587 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23578 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 572: -#line 5643 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5634 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23593 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23584 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 573: -#line 5644 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5635 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23599 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23590 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 574: -#line 5649 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5640 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; part_info->print_debug("( part_value_item", NULL); @@ -23611,17 +23602,17 @@ MYSQL_YYABORT; } } -#line 23615 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23606 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 575: -#line 5660 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5651 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23621 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23612 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 576: -#line 5662 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5653 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; part_info->print_debug(") part_value_item", NULL); @@ -23642,23 +23633,23 @@ } part_info->curr_list_object= 0; } -#line 23646 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23637 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 577: -#line 5685 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5676 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23652 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23643 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 578: -#line 5686 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5677 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23658 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23649 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 579: -#line 5691 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5682 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; if (part_info->part_type == LIST_PARTITION) @@ -23671,11 +23662,11 @@ MYSQL_YYABORT; } } -#line 23675 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23666 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 580: -#line 5704 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5695 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); @@ -23693,11 +23684,11 @@ MYSQL_YYABORT; } } -#line 23697 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23688 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 581: -#line 5726 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5717 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; if (part_info->num_subparts != 0 && @@ -23711,11 +23702,11 @@ MYSQL_YYABORT; } } -#line 23715 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23706 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 582: -#line 5740 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5731 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; if (part_info->num_subparts != 0) @@ -23738,23 +23729,23 @@ } part_info->count_curr_subparts= 0; } -#line 23742 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23733 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 583: -#line 5765 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5756 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23748 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23739 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 584: -#line 5766 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5757 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23754 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23745 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 585: -#line 5771 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5762 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; partition_element *curr_part= part_info->current_partition; @@ -23787,17 +23778,17 @@ part_info->use_default_num_subpartitions= FALSE; part_info->count_curr_subparts++; } -#line 23791 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23782 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 586: -#line 5803 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5794 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23797 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23788 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 587: -#line 5808 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5799 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (check_string_char_length(to_lex_cstring((yyvsp[0].lex_str)), "", NAME_CHAR_LEN, system_charset_info, true)) @@ -23807,266 +23798,266 @@ } Lex->part_info->curr_part_elem->partition_name= (yyvsp[0].lex_str).str; } -#line 23811 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23802 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 588: -#line 5820 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5811 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23817 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23808 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 589: -#line 5821 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5812 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23823 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23814 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 590: -#line 5825 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5816 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23829 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23820 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 591: -#line 5826 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5817 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23835 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23826 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 592: -#line 5831 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5822 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->part_info->curr_part_elem->tablespace_name= (yyvsp[0].lex_str).str; } -#line 23841 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23832 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 593: -#line 5833 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5824 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; part_info->curr_part_elem->engine_type= (yyvsp[0].db_type); part_info->default_engine_type= (yyvsp[0].db_type); } -#line 23851 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23842 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 594: -#line 5839 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5830 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->part_info->curr_part_elem->nodegroup_id= (uint16) (yyvsp[0].ulong_num); } -#line 23857 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23848 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 595: -#line 5841 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5832 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->part_info->curr_part_elem->part_max_rows= (ha_rows) (yyvsp[0].ulonglong_number); } -#line 23863 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23854 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 596: -#line 5843 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5834 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->part_info->curr_part_elem->part_min_rows= (ha_rows) (yyvsp[0].ulonglong_number); } -#line 23869 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23860 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 597: -#line 5845 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5836 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->part_info->curr_part_elem->data_file_name= (yyvsp[0].lex_str).str; } -#line 23875 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23866 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 598: -#line 5847 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5838 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->part_info->curr_part_elem->index_file_name= (yyvsp[0].lex_str).str; } -#line 23881 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23872 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 599: -#line 5849 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5840 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->part_info->curr_part_elem->part_comment= (yyvsp[0].lex_str).str; } -#line 23887 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23878 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 600: -#line 5858 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5849 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.create_select)= NEW_PTN PT_create_select((yyvsp[-3].optimizer_hints), (yyvsp[-2].select_options), (yyvsp[-1].item_list2), (yyvsp[0].table_expression)); } -#line 23895 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23886 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 601: -#line 5864 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5855 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23901 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23892 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 602: -#line 5865 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5856 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23907 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23898 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 603: -#line 5869 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5860 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23913 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23904 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 604: -#line 5870 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5861 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23919 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23910 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 605: -#line 5874 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5865 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23925 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23916 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 606: -#line 5875 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5866 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23931 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23922 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 607: -#line 5879 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5870 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23937 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23928 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 608: -#line 5880 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5871 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 23943 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23934 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 609: -#line 5884 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5875 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 0; } -#line 23949 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23940 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 610: -#line 5885 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5876 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= (yyvsp[0].num);} -#line 23955 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23946 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 611: -#line 5889 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5880 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)=(yyvsp[0].num); } -#line 23961 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23952 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 612: -#line 5890 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5881 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= (yyvsp[-1].num) | (yyvsp[0].num); } -#line 23967 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23958 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 613: -#line 5894 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5885 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)=HA_LEX_CREATE_TMP_TABLE; } -#line 23973 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23964 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 614: -#line 5898 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5889 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 0; } -#line 23979 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23970 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 615: -#line 5899 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5890 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)=HA_LEX_CREATE_IF_NOT_EXISTS; } -#line 23985 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23976 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 623: -#line 5920 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5911 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.db_type= (yyvsp[0].db_type); Lex->create_info.used_fields|= HA_CREATE_USED_ENGINE; } -#line 23994 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23985 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 624: -#line 5925 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5916 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.max_rows= (yyvsp[0].ulonglong_number); Lex->create_info.used_fields|= HA_CREATE_USED_MAX_ROWS; } -#line 24003 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 23994 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 625: -#line 5930 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5921 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.min_rows= (yyvsp[0].ulonglong_number); Lex->create_info.used_fields|= HA_CREATE_USED_MIN_ROWS; } -#line 24012 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24003 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 626: -#line 5935 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5926 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.avg_row_length=(yyvsp[0].ulong_num); Lex->create_info.used_fields|= HA_CREATE_USED_AVG_ROW_LENGTH; } -#line 24021 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24012 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 627: -#line 5940 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5931 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.password=(yyvsp[0].lex_str).str; Lex->create_info.used_fields|= HA_CREATE_USED_PASSWORD; } -#line 24030 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24021 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 628: -#line 5945 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5936 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.comment=(yyvsp[0].lex_str); Lex->create_info.used_fields|= HA_CREATE_USED_COMMENT; } -#line 24039 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24030 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 629: -#line 5950 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5941 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.used_fields|= HA_CREATE_USED_COMPRESS; Lex->create_info.compress= (yyvsp[0].lex_str); } -#line 24048 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24039 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 630: -#line 5955 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5946 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.used_fields|= HA_CREATE_USED_ENCRYPT; Lex->create_info.encrypt_type= (yyvsp[0].lex_str); } -#line 24057 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24048 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 631: -#line 5960 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5951 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.auto_increment_value=(yyvsp[0].ulonglong_number); Lex->create_info.used_fields|= HA_CREATE_USED_AUTO; } -#line 24066 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24057 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 632: -#line 5965 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5956 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { switch((yyvsp[0].ulong_num)) { case 0: @@ -24081,21 +24072,21 @@ } Lex->create_info.used_fields|= HA_CREATE_USED_PACK_KEYS; } -#line 24085 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24076 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 633: -#line 5980 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5971 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.table_options&= ~(HA_OPTION_PACK_KEYS | HA_OPTION_NO_PACK_KEYS); Lex->create_info.used_fields|= HA_CREATE_USED_PACK_KEYS; } -#line 24095 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24086 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 634: -#line 5986 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5977 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { switch((yyvsp[0].ulong_num)) { case 0: @@ -24110,20 +24101,20 @@ } Lex->create_info.used_fields|= HA_CREATE_USED_STATS_AUTO_RECALC; } -#line 24114 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24105 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 635: -#line 6001 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5992 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.stats_auto_recalc= HA_STATS_AUTO_RECALC_DEFAULT; Lex->create_info.used_fields|= HA_CREATE_USED_STATS_AUTO_RECALC; } -#line 24123 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24114 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 636: -#line 6006 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 5997 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { switch((yyvsp[0].ulong_num)) { case 0: @@ -24138,21 +24129,21 @@ } Lex->create_info.used_fields|= HA_CREATE_USED_STATS_PERSISTENT; } -#line 24142 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24133 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 637: -#line 6021 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6012 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.table_options&= ~(HA_OPTION_STATS_PERSISTENT | HA_OPTION_NO_STATS_PERSISTENT); Lex->create_info.used_fields|= HA_CREATE_USED_STATS_PERSISTENT; } -#line 24152 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24143 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 638: -#line 6027 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6018 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* From user point of view STATS_SAMPLE_PAGES can be specified as STATS_SAMPLE_PAGES=N (where 0create_info.stats_sample_pages=(yyvsp[0].ulong_num); Lex->create_info.used_fields|= HA_CREATE_USED_STATS_SAMPLE_PAGES; } -#line 24174 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24165 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 639: -#line 6045 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6036 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.stats_sample_pages=0; Lex->create_info.used_fields|= HA_CREATE_USED_STATS_SAMPLE_PAGES; } -#line 24183 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24174 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 640: -#line 6050 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6041 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.table_options|= (yyvsp[0].ulong_num) ? HA_OPTION_CHECKSUM : HA_OPTION_NO_CHECKSUM; Lex->create_info.used_fields|= HA_CREATE_USED_CHECKSUM; } -#line 24192 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24183 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 641: -#line 6055 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6046 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.table_options|= (yyvsp[0].ulong_num) ? HA_OPTION_CHECKSUM : HA_OPTION_NO_CHECKSUM; Lex->create_info.used_fields|= HA_CREATE_USED_CHECKSUM; } -#line 24201 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24192 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 642: -#line 6060 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6051 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.table_options|= (yyvsp[0].ulong_num) ? HA_OPTION_DELAY_KEY_WRITE : HA_OPTION_NO_DELAY_KEY_WRITE; Lex->create_info.used_fields|= HA_CREATE_USED_DELAY_KEY_WRITE; } -#line 24210 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24201 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 643: -#line 6065 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6056 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.row_type= (yyvsp[0].row_type); Lex->create_info.used_fields|= HA_CREATE_USED_ROW_FORMAT; } -#line 24219 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24210 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 644: -#line 6070 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6061 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->select_lex->table_list.save_and_clear(&Lex->save_list); } -#line 24227 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24218 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 645: -#line 6074 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6065 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* Move the union list to the merge_list and exclude its tables @@ -24249,78 +24240,78 @@ lex->create_info.used_fields|= HA_CREATE_USED_UNION; } -#line 24253 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24244 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 648: -#line 6098 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6089 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.merge_insert_method= (yyvsp[0].ulong_num); Lex->create_info.used_fields|= HA_CREATE_USED_INSERT_METHOD; } -#line 24262 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24253 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 649: -#line 6103 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6094 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.data_file_name= (yyvsp[0].lex_str).str; Lex->create_info.used_fields|= HA_CREATE_USED_DATADIR; } -#line 24271 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24262 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 650: -#line 6108 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6099 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.index_file_name= (yyvsp[0].lex_str).str; Lex->create_info.used_fields|= HA_CREATE_USED_INDEXDIR; } -#line 24280 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24271 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 651: -#line 6113 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6104 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.tablespace= (yyvsp[0].lex_str).str; Lex->create_info.used_fields|= HA_CREATE_USED_TABLESPACE; } -#line 24289 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24280 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 652: -#line 6118 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6109 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {Lex->create_info.storage_media= HA_SM_DISK;} -#line 24295 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24286 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 653: -#line 6120 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6111 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {Lex->create_info.storage_media= HA_SM_MEMORY;} -#line 24301 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24292 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 654: -#line 6122 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6113 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.connect_string.str= (yyvsp[0].lex_str).str; Lex->create_info.connect_string.length= (yyvsp[0].lex_str).length; Lex->create_info.used_fields|= HA_CREATE_USED_CONNECTION; } -#line 24311 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24302 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 655: -#line 6128 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6119 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.used_fields|= HA_CREATE_USED_KEY_BLOCK_SIZE; Lex->create_info.key_block_size= (yyvsp[0].ulong_num); } -#line 24320 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24311 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 656: -#line 6136 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6127 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { HA_CREATE_INFO *cinfo= &Lex->create_info; if ((cinfo->used_fields & HA_CREATE_USED_DEFAULT_CHARSET) && @@ -24335,11 +24326,11 @@ Lex->create_info.default_table_charset= (yyvsp[0].charset); Lex->create_info.used_fields|= HA_CREATE_USED_DEFAULT_CHARSET; } -#line 24339 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24330 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 657: -#line 6154 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6145 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { HA_CREATE_INFO *cinfo= &Lex->create_info; if ((cinfo->used_fields & HA_CREATE_USED_DEFAULT_CHARSET) && @@ -24353,11 +24344,11 @@ Lex->create_info.default_table_charset= (yyvsp[0].charset); Lex->create_info.used_fields|= HA_CREATE_USED_DEFAULT_CHARSET; } -#line 24357 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24348 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 658: -#line 6171 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6162 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; plugin_ref plugin= @@ -24380,11 +24371,11 @@ (yyvsp[0].lex_str).str); } } -#line 24384 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24375 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 659: -#line 6197 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6188 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -24399,141 +24390,141 @@ MYSQL_YYABORT; } } -#line 24403 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24394 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 660: -#line 6214 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6205 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.row_type)= ROW_TYPE_DEFAULT; } -#line 24409 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24400 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 661: -#line 6215 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6206 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.row_type)= ROW_TYPE_FIXED; } -#line 24415 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24406 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 662: -#line 6216 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6207 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.row_type)= ROW_TYPE_DYNAMIC; } -#line 24421 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24412 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 663: -#line 6217 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6208 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.row_type)= ROW_TYPE_COMPRESSED; } -#line 24427 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24418 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 664: -#line 6218 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6209 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.row_type)= ROW_TYPE_REDUNDANT; } -#line 24433 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24424 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 665: -#line 6219 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6210 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.row_type)= ROW_TYPE_COMPACT; } -#line 24439 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24430 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 666: -#line 6223 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6214 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= MERGE_INSERT_DISABLED; } -#line 24445 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24436 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 667: -#line 6224 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6215 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= MERGE_INSERT_TO_FIRST; } -#line 24451 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24442 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 668: -#line 6225 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6216 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= MERGE_INSERT_TO_LAST; } -#line 24457 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24448 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 669: -#line 6229 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6220 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {(yyval.num) = (int) STRING_RESULT; } -#line 24463 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24454 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 670: -#line 6230 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6221 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {(yyval.num) = (int) REAL_RESULT; } -#line 24469 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24460 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 671: -#line 6231 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6222 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {(yyval.num) = (int) DECIMAL_RESULT; } -#line 24475 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24466 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 672: -#line 6232 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6223 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {(yyval.num) = (int) INT_RESULT; } -#line 24481 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24472 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 673: -#line 6238 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6229 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_last_non_select_table= Lex->last_table(); } -#line 24489 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24480 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 679: -#line 6256 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6247 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->col_list.empty(); /* Alloced by sql_alloc */ } -#line 24497 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24488 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 680: -#line 6263 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6254 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (add_create_index (Lex, (yyvsp[-6].key_type), (yyvsp[-5].lex_str))) MYSQL_YYABORT; } -#line 24506 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24497 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 681: -#line 6269 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6260 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (add_create_index (Lex, (yyvsp[-7].key_type), (yyvsp[-5].lex_str))) MYSQL_YYABORT; } -#line 24515 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24506 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 682: -#line 6275 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6266 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (add_create_index (Lex, (yyvsp[-7].key_type), (yyvsp[-5].lex_str))) MYSQL_YYABORT; } -#line 24524 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24515 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 683: -#line 6281 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6272 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (add_create_index (Lex, (yyvsp[-6].key_type), (yyvsp[-5].lex_str).str ? (yyvsp[-5].lex_str) : (yyvsp[-7].lex_str))) MYSQL_YYABORT; } -#line 24533 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24524 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 684: -#line 6286 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6277 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; Key *key= new Foreign_key((yyvsp[-4].lex_str).str ? (yyvsp[-4].lex_str) : (yyvsp[-7].lex_str), lex->col_list, @@ -24552,45 +24543,45 @@ /* Only used for ALTER TABLE. Ignored otherwise. */ lex->alter_info.flags|= Alter_info::ADD_FOREIGN_KEY; } -#line 24556 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24547 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 685: -#line 6305 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6296 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->col_list.empty(); /* Alloced by sql_alloc */ } -#line 24564 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24555 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 688: -#line 6317 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6308 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[-1].item), &(yyvsp[-1].item)); } -#line 24572 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24563 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 689: -#line 6324 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6315 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)= null_lex_str; } -#line 24578 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24569 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 690: -#line 6325 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6316 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)= (yyvsp[0].lex_str); } -#line 24584 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24575 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 691: -#line 6329 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6320 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)=(yyvsp[0].lex_str); } -#line 24590 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24581 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 692: -#line 6334 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6325 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->length=lex->dec=0; @@ -24600,11 +24591,11 @@ lex->charset=NULL; lex->gcol_info= 0; } -#line 24604 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24595 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 693: -#line 6344 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6335 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; if (add_field_to_list(lex->thd, &(yyvsp[-2].lex_str), (enum enum_field_types) (yyvsp[0].num), @@ -24616,17 +24607,17 @@ lex->gcol_info)) MYSQL_YYABORT; } -#line 24620 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24611 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 694: -#line 6358 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6349 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 24626 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24617 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 695: -#line 6362 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6353 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= (yyvsp[-8].num); if (Lex->charset) @@ -24639,61 +24630,61 @@ Lex->charset= (yyvsp[-7].charset); Lex->gcol_info->set_field_type((enum enum_field_types) (yyval.num)); } -#line 24643 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24634 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 702: -#line 6393 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6384 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->type|= UNIQUE_FLAG; lex->alter_info.flags|= Alter_info::ALTER_ADD_INDEX; } -#line 24653 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24644 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 703: -#line 6399 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6390 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->type|= UNIQUE_KEY_FLAG; lex->alter_info.flags|= Alter_info::ALTER_ADD_INDEX; } -#line 24663 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24654 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 704: -#line 6404 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6395 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->comment= (yyvsp[0].lex_str); } -#line 24669 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24660 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 705: -#line 6405 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6396 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= NOT_NULL_FLAG; } -#line 24675 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24666 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 707: -#line 6408 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6399 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->type|= PRI_KEY_FLAG | NOT_NULL_FLAG; lex->alter_info.flags|= Alter_info::ALTER_ADD_INDEX; } -#line 24685 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24676 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 710: -#line 6419 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6410 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->gcol_info->set_field_stored(TRUE); } -#line 24693 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24684 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 711: -#line 6426 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6417 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* "PARSE_GCOL_EXPR" can only be used by the SQL server @@ -24706,11 +24697,11 @@ MYSQL_YYABORT; } } -#line 24710 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24701 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 712: -#line 6442 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6433 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->gcol_info= new Generated_column(); if (!Lex->gcol_info) @@ -24736,172 +24727,172 @@ This would also get rid of some setters like set_field_stored(); */ } -#line 24740 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24731 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 713: -#line 6471 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6462 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= const_cast((yyvsp[-1].c_str)); (yyval.num)=(yyvsp[-2].num); } -#line 24749 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24740 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 714: -#line 6476 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6467 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)=(yyvsp[-2].num); Lex->length= const_cast((yyvsp[-1].precision).length); Lex->dec= const_cast((yyvsp[-1].precision).dec); } -#line 24759 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24750 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 715: -#line 6482 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6473 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= const_cast((yyvsp[-1].precision).length); Lex->dec= const_cast((yyvsp[-1].precision).dec); (yyval.num)=MYSQL_TYPE_FLOAT; } -#line 24769 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24760 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 716: -#line 6488 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6479 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= (char*) "1"; (yyval.num)=MYSQL_TYPE_BIT; } -#line 24778 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24769 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 717: -#line 6493 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6484 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= const_cast((yyvsp[0].c_str)); (yyval.num)=MYSQL_TYPE_BIT; } -#line 24787 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24778 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 718: -#line 6498 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6489 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= (char*) "1"; (yyval.num)=MYSQL_TYPE_TINY; } -#line 24796 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24787 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 719: -#line 6503 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6494 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= (char*) "1"; (yyval.num)=MYSQL_TYPE_TINY; } -#line 24805 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24796 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 720: -#line 6508 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6499 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= const_cast((yyvsp[-1].c_str)); Lex->charset= (yyvsp[0].charset_with_flags).charset; Lex->type|= (yyvsp[0].charset_with_flags).type_flags; (yyval.num)=MYSQL_TYPE_STRING; } -#line 24816 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24807 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 721: -#line 6515 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6506 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= (char*) "1"; Lex->charset= (yyvsp[0].charset_with_flags).charset; Lex->type|= (yyvsp[0].charset_with_flags).type_flags; (yyval.num)=MYSQL_TYPE_STRING; } -#line 24827 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24818 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 722: -#line 6522 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6513 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= const_cast((yyvsp[-1].c_str)); Lex->type|= (yyvsp[0].ulong_num); (yyval.num)=MYSQL_TYPE_STRING; Lex->charset=national_charset_info; } -#line 24838 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24829 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 723: -#line 6529 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6520 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= (char*) "1"; Lex->type|= (yyvsp[0].ulong_num); (yyval.num)=MYSQL_TYPE_STRING; Lex->charset=national_charset_info; } -#line 24849 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24840 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 724: -#line 6536 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6527 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= const_cast((yyvsp[0].c_str)); Lex->charset=&my_charset_bin; (yyval.num)=MYSQL_TYPE_STRING; } -#line 24859 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24850 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 725: -#line 6542 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6533 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= (char*) "1"; Lex->charset=&my_charset_bin; (yyval.num)=MYSQL_TYPE_STRING; } -#line 24869 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24860 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 726: -#line 6548 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6539 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= const_cast((yyvsp[-1].c_str)); Lex->charset= (yyvsp[0].charset_with_flags).charset; Lex->type|= (yyvsp[0].charset_with_flags).type_flags; (yyval.num)= MYSQL_TYPE_VARCHAR; } -#line 24880 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24871 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 727: -#line 6555 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6546 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= const_cast((yyvsp[-1].c_str)); Lex->type|= (yyvsp[0].ulong_num); (yyval.num)= MYSQL_TYPE_VARCHAR; Lex->charset=national_charset_info; } -#line 24891 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24882 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 728: -#line 6562 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6553 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= const_cast((yyvsp[0].c_str)); Lex->charset=&my_charset_bin; (yyval.num)= MYSQL_TYPE_VARCHAR; } -#line 24901 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24892 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 729: -#line 6568 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6559 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= const_cast((yyvsp[-1].c_str)); if (Lex->length) @@ -24917,26 +24908,26 @@ } (yyval.num)=MYSQL_TYPE_YEAR; } -#line 24921 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24912 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 730: -#line 6584 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6575 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)=MYSQL_TYPE_DATE; } -#line 24927 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24918 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 731: -#line 6586 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6577 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->dec= const_cast((yyvsp[0].c_str)); (yyval.num)= MYSQL_TYPE_TIME2; } -#line 24936 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24927 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 732: -#line 6591 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6582 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->dec= const_cast((yyvsp[0].c_str)); if (YYTHD->variables.sql_mode & MODE_MAXDB) @@ -24965,561 +24956,561 @@ (yyval.num)=MYSQL_TYPE_TIMESTAMP2; } } -#line 24969 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24960 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 733: -#line 6620 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6611 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->dec= const_cast((yyvsp[0].c_str)); (yyval.num)= MYSQL_TYPE_DATETIME2; } -#line 24978 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24969 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 734: -#line 6625 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6616 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->charset=&my_charset_bin; (yyval.num)=MYSQL_TYPE_TINY_BLOB; } -#line 24987 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24978 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 735: -#line 6630 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6621 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= const_cast((yyvsp[0].c_str)); Lex->charset=&my_charset_bin; (yyval.num)=MYSQL_TYPE_BLOB; } -#line 24997 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24988 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 736: -#line 6636 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6627 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->charset=&my_charset_bin; Lex->uint_geom_type= (uint)(yyvsp[0].num); (yyval.num)=MYSQL_TYPE_GEOMETRY; } -#line 25007 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 24998 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 737: -#line 6642 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6633 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->charset=&my_charset_bin; (yyval.num)=MYSQL_TYPE_MEDIUM_BLOB; } -#line 25016 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25007 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 738: -#line 6647 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6638 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->charset=&my_charset_bin; (yyval.num)=MYSQL_TYPE_LONG_BLOB; } -#line 25025 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25016 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 739: -#line 6652 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6643 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->charset=&my_charset_bin; (yyval.num)=MYSQL_TYPE_MEDIUM_BLOB; } -#line 25034 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25025 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 740: -#line 6657 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6648 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->charset= (yyvsp[0].charset_with_flags).charset; Lex->type|= (yyvsp[0].charset_with_flags).type_flags; (yyval.num)=MYSQL_TYPE_MEDIUM_BLOB; } -#line 25044 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25035 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 741: -#line 6663 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6654 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->charset= (yyvsp[0].charset_with_flags).charset; Lex->type|= (yyvsp[0].charset_with_flags).type_flags; (yyval.num)=MYSQL_TYPE_TINY_BLOB; } -#line 25054 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25045 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 742: -#line 6669 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6660 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= const_cast((yyvsp[-1].c_str)); Lex->charset= (yyvsp[0].charset_with_flags).charset; Lex->type|= (yyvsp[0].charset_with_flags).type_flags; (yyval.num)=MYSQL_TYPE_BLOB; } -#line 25065 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25056 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 743: -#line 6676 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6667 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->charset= (yyvsp[0].charset_with_flags).charset; Lex->type|= (yyvsp[0].charset_with_flags).type_flags; (yyval.num)=MYSQL_TYPE_MEDIUM_BLOB; } -#line 25075 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25066 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 744: -#line 6682 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6673 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->charset= (yyvsp[0].charset_with_flags).charset; Lex->type|= (yyvsp[0].charset_with_flags).type_flags; (yyval.num)=MYSQL_TYPE_LONG_BLOB; } -#line 25085 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25076 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 745: -#line 6688 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6679 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= const_cast((yyvsp[-1].precision).length); Lex->dec= const_cast((yyvsp[-1].precision).dec); (yyval.num)=MYSQL_TYPE_NEWDECIMAL; } -#line 25095 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25086 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 746: -#line 6694 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6685 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= const_cast((yyvsp[-1].precision).length); Lex->dec= const_cast((yyvsp[-1].precision).dec); (yyval.num)=MYSQL_TYPE_NEWDECIMAL; } -#line 25105 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25096 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 747: -#line 6700 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6691 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= const_cast((yyvsp[-1].precision).length); Lex->dec= const_cast((yyvsp[-1].precision).dec); (yyval.num)=MYSQL_TYPE_NEWDECIMAL; } -#line 25115 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25106 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 748: -#line 6706 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6697 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {Lex->interval_list.empty();} -#line 25121 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25112 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 749: -#line 6708 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6699 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->charset= (yyvsp[0].charset_with_flags).charset; Lex->type|= (yyvsp[0].charset_with_flags).type_flags; (yyval.num)=MYSQL_TYPE_ENUM; } -#line 25131 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25122 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 750: -#line 6714 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6705 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->interval_list.empty();} -#line 25137 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25128 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 751: -#line 6716 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6707 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->charset= (yyvsp[0].charset_with_flags).charset; Lex->type|= (yyvsp[0].charset_with_flags).type_flags; (yyval.num)=MYSQL_TYPE_SET; } -#line 25147 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25138 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 752: -#line 6722 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6713 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->charset= (yyvsp[0].charset_with_flags).charset; Lex->type|= (yyvsp[0].charset_with_flags).type_flags; (yyval.num)=MYSQL_TYPE_MEDIUM_BLOB; } -#line 25157 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25148 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 753: -#line 6728 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6719 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)=MYSQL_TYPE_LONGLONG; Lex->type|= (AUTO_INCREMENT_FLAG | NOT_NULL_FLAG | UNSIGNED_FLAG | UNIQUE_FLAG); } -#line 25167 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25158 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 754: -#line 6734 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6725 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->charset=&my_charset_bin; (yyval.num)=MYSQL_TYPE_JSON; } -#line 25176 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25167 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 755: -#line 6741 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6732 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= Field::GEOM_GEOMETRY; } -#line 25182 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25173 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 756: -#line 6742 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6733 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= Field::GEOM_GEOMETRYCOLLECTION; } -#line 25188 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25179 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 757: -#line 6744 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6735 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->length= const_cast(STRINGIFY_ARG (MAX_LEN_GEOM_POINT_FIELD)); (yyval.num)= Field::GEOM_POINT; } -#line 25198 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25189 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 758: -#line 6749 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6740 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= Field::GEOM_MULTIPOINT; } -#line 25204 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25195 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 759: -#line 6750 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6741 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= Field::GEOM_LINESTRING; } -#line 25210 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25201 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 760: -#line 6751 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6742 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= Field::GEOM_MULTILINESTRING; } -#line 25216 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25207 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 761: -#line 6752 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6743 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= Field::GEOM_POLYGON; } -#line 25222 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25213 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 762: -#line 6753 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6744 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= Field::GEOM_MULTIPOLYGON; } -#line 25228 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25219 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 763: -#line 6757 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6748 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25234 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25225 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 764: -#line 6761 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6752 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25240 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25231 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 765: -#line 6762 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6753 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25246 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25237 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 766: -#line 6766 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6757 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25252 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25243 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 767: -#line 6767 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6758 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25258 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25249 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 768: -#line 6771 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6762 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25264 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25255 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 769: -#line 6772 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6763 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25270 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25261 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 770: -#line 6773 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6764 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25276 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25267 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 771: -#line 6774 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6765 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25282 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25273 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 772: -#line 6775 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6766 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25288 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25279 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 773: -#line 6779 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6770 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)=MYSQL_TYPE_LONG; } -#line 25294 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25285 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 774: -#line 6780 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6771 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)=MYSQL_TYPE_TINY; } -#line 25300 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25291 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 775: -#line 6781 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6772 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)=MYSQL_TYPE_SHORT; } -#line 25306 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25297 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 776: -#line 6782 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6773 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)=MYSQL_TYPE_INT24; } -#line 25312 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25303 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 777: -#line 6783 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6774 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)=MYSQL_TYPE_LONGLONG; } -#line 25318 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25309 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 778: -#line 6788 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6779 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= YYTHD->variables.sql_mode & MODE_REAL_AS_FLOAT ? MYSQL_TYPE_FLOAT : MYSQL_TYPE_DOUBLE; } -#line 25327 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25318 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 779: -#line 6793 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6784 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)=MYSQL_TYPE_DOUBLE; } -#line 25333 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25324 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 780: -#line 6795 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6786 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)=MYSQL_TYPE_DOUBLE; } -#line 25339 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25330 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 781: -#line 6800 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6791 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.precision).length= NULL; (yyval.precision).dec= NULL; } -#line 25348 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25339 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 782: -#line 6805 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6796 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.precision).length= (yyvsp[0].c_str); (yyval.precision).dec= NULL; } -#line 25357 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25348 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 784: -#line 6814 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6805 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.precision).length= (yyvsp[-3].lex_str).str; (yyval.precision).dec= (yyvsp[-1].lex_str).str; } -#line 25366 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25357 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 785: -#line 6822 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6813 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.c_str)= NULL; } -#line 25372 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25363 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 786: -#line 6823 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6814 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.c_str)= (yyvsp[-1].lex_str).str; } -#line 25378 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25369 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 787: -#line 6827 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6818 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= 0; } -#line 25384 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25375 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 788: -#line 6828 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6819 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= 0; } -#line 25390 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25381 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 789: -#line 6830 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6821 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; (yyval.ulong_num)= (ulong) my_strtoll10((yyvsp[-1].lex_str).str, NULL, &error); } -#line 25399 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25390 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 790: -#line 6837 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6828 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25405 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25396 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 791: -#line 6838 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6829 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25411 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25402 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 792: -#line 6842 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6833 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25417 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25408 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 793: -#line 6843 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6834 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25423 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25414 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 794: -#line 6847 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6838 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25429 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25420 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 795: -#line 6848 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6839 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= UNSIGNED_FLAG;} -#line 25435 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25426 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 796: -#line 6849 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6840 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= UNSIGNED_FLAG | ZEROFILL_FLAG; } -#line 25441 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25432 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 797: -#line 6853 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6844 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.c_str)= (yyvsp[-1].lex_str).str; } -#line 25447 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25438 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 798: -#line 6854 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6845 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.c_str)= (yyvsp[-1].lex_str).str; } -#line 25453 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25444 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 799: -#line 6855 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6846 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.c_str)= (yyvsp[-1].lex_str).str; } -#line 25459 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25450 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 800: -#line 6856 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6847 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.c_str)= (yyvsp[-1].lex_str).str; } -#line 25465 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25456 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 801: -#line 6859 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6850 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.c_str)= NULL; /* use default length */ } -#line 25471 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25462 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 803: -#line 6865 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6856 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.precision).length= NULL; (yyval.precision).dec = NULL; } -#line 25480 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25471 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 805: -#line 6873 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6864 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25486 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25477 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 806: -#line 6874 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6865 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25492 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25483 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 807: -#line 6878 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6869 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25498 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25489 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 809: -#line 6884 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6875 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type&= ~ NOT_NULL_FLAG; Lex->type|= EXPLICIT_NULL_FLAG; } -#line 25507 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25498 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 810: -#line 6888 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6879 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= NOT_NULL_FLAG; } -#line 25513 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25504 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 811: -#line 6889 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6880 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->default_value=(yyvsp[0].item); } -#line 25519 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25510 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 812: -#line 6891 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6882 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Item *item= new (YYTHD->mem_root) Item_func_now_local(static_cast((yyvsp[0].ulong_num))); @@ -25527,63 +25518,63 @@ MYSQL_YYABORT; Lex->on_update_value= item; } -#line 25531 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25522 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 813: -#line 6898 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6889 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= AUTO_INCREMENT_FLAG | NOT_NULL_FLAG; } -#line 25537 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25528 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 814: -#line 6900 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6891 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->type|= AUTO_INCREMENT_FLAG | NOT_NULL_FLAG | UNIQUE_FLAG; lex->alter_info.flags|= Alter_info::ALTER_ADD_INDEX; } -#line 25547 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25538 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 815: -#line 6906 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6897 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->type|= PRI_KEY_FLAG | NOT_NULL_FLAG; lex->alter_info.flags|= Alter_info::ALTER_ADD_INDEX; } -#line 25557 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25548 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 816: -#line 6912 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6903 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->type|= UNIQUE_FLAG; lex->alter_info.flags|= Alter_info::ALTER_ADD_INDEX; } -#line 25567 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25558 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 817: -#line 6918 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6909 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->type|= UNIQUE_KEY_FLAG; lex->alter_info.flags|= Alter_info::ALTER_ADD_INDEX; } -#line 25577 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25568 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 818: -#line 6923 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6914 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->comment= (yyvsp[0].lex_str); } -#line 25583 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25574 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 819: -#line 6925 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6916 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (Lex->charset && !my_charset_same(Lex->charset,(yyvsp[0].charset))) { @@ -25596,68 +25587,68 @@ Lex->charset=(yyvsp[0].charset); } } -#line 25600 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25591 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 820: -#line 6938 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6929 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type&= ~(FIELD_FLAGS_COLUMN_FORMAT_MASK); Lex->type|= (COLUMN_FORMAT_TYPE_DEFAULT << FIELD_FLAGS_COLUMN_FORMAT); } -#line 25610 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25601 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 821: -#line 6944 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6935 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type&= ~(FIELD_FLAGS_COLUMN_FORMAT_MASK); Lex->type|= (COLUMN_FORMAT_TYPE_FIXED << FIELD_FLAGS_COLUMN_FORMAT); } -#line 25620 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25611 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 822: -#line 6950 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6941 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type&= ~(FIELD_FLAGS_COLUMN_FORMAT_MASK); Lex->type|= (COLUMN_FORMAT_TYPE_DYNAMIC << FIELD_FLAGS_COLUMN_FORMAT); } -#line 25630 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25621 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 823: -#line 6956 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6947 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type&= ~(FIELD_FLAGS_STORAGE_MEDIA_MASK); Lex->type|= (HA_SM_DEFAULT << FIELD_FLAGS_STORAGE_MEDIA); } -#line 25639 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25630 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 824: -#line 6961 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6952 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type&= ~(FIELD_FLAGS_STORAGE_MEDIA_MASK); Lex->type|= (HA_SM_DISK << FIELD_FLAGS_STORAGE_MEDIA); } -#line 25648 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25639 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 825: -#line 6966 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6957 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type&= ~(FIELD_FLAGS_STORAGE_MEDIA_MASK); Lex->type|= (HA_SM_MEMORY << FIELD_FLAGS_STORAGE_MEDIA); } -#line 25657 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25648 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 826: -#line 6975 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6966 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= (yyvsp[-1].num); @@ -25674,48 +25665,48 @@ MYSQL_YYABORT; } } -#line 25678 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25669 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 827: -#line 6996 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6987 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= (yyvsp[0].ulong_num); } -#line 25686 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25677 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 828: -#line 7002 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 6993 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= new (YYTHD->mem_root) Item_func_now_local(static_cast((yyvsp[0].ulong_num))); if ((yyval.item) == NULL) MYSQL_YYABORT; } -#line 25697 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25688 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 829: -#line 7009 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7000 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)=(yyvsp[0].item); } -#line 25703 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25694 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 830: -#line 7013 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7004 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25709 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25700 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 831: -#line 7014 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7005 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25715 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25706 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 832: -#line 7019 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7010 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!((yyval.charset)=get_charset_by_csname((yyvsp[0].lex_str).str,MY_CS_PRIMARY,MYF(0)))) { @@ -25723,41 +25714,41 @@ MYSQL_YYABORT; } } -#line 25727 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25718 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 833: -#line 7026 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7017 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset)= &my_charset_bin; } -#line 25733 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25724 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 834: -#line 7030 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7021 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset)=(yyvsp[0].charset); } -#line 25739 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25730 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 835: -#line 7031 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7022 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset)=NULL; } -#line 25745 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25736 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 836: -#line 7035 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7026 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset)= NULL; } -#line 25751 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25742 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 837: -#line 7036 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7027 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset)= (yyvsp[0].charset); } -#line 25757 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25748 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 838: -#line 7041 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7032 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!((yyval.charset)=get_charset_by_csname((yyvsp[0].lex_str).str,MY_CS_PRIMARY,MYF(0))) && !((yyval.charset)=get_old_charset_by_name((yyvsp[0].lex_str).str))) @@ -25766,104 +25757,104 @@ MYSQL_YYABORT; } } -#line 25770 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25761 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 839: -#line 7049 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7040 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset)= &my_charset_bin; } -#line 25776 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25767 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 840: -#line 7053 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7044 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset)=(yyvsp[0].charset); } -#line 25782 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25773 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 841: -#line 7054 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7045 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset)=NULL; } -#line 25788 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25779 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 842: -#line 7059 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7050 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!((yyval.charset)= mysqld_collation_get_by_name((yyvsp[0].lex_str).str))) MYSQL_YYABORT; } -#line 25797 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25788 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 843: -#line 7066 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7057 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset)=NULL; } -#line 25803 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25794 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 844: -#line 7067 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7058 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset)=(yyvsp[0].charset); } -#line 25809 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25800 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 845: -#line 7071 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7062 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset)= NULL; } -#line 25815 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25806 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 846: -#line 7072 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7063 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset)= (yyvsp[0].charset); } -#line 25821 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25812 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 847: -#line 7076 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7067 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset)=(yyvsp[0].charset); } -#line 25827 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25818 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 848: -#line 7077 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7068 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset)=NULL; } -#line 25833 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25824 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 849: -#line 7081 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7072 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25839 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25830 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 850: -#line 7082 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7073 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 25845 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25836 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 851: -#line 7087 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7078 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset)= &my_charset_latin1; } -#line 25851 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25842 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 852: -#line 7088 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7079 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset)= &my_charset_latin1_bin; } -#line 25857 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25848 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 853: -#line 7089 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7080 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset)= &my_charset_latin1_bin; } -#line 25863 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25854 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 854: -#line 7094 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7085 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!((yyval.charset)= get_charset_by_csname("ucs2", MY_CS_PRIMARY,MYF(0)))) { @@ -25871,104 +25862,104 @@ MYSQL_YYABORT; } } -#line 25875 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25866 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 855: -#line 7102 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7093 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!((yyval.charset)= mysqld_collation_get_by_name("ucs2_bin"))) MYSQL_YYABORT; } -#line 25884 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25875 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 856: -#line 7107 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7098 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!((yyval.charset)= mysqld_collation_get_by_name("ucs2_bin"))) my_error(ER_UNKNOWN_COLLATION, MYF(0), "ucs2_bin"); } -#line 25893 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25884 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 857: -#line 7115 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7106 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset_with_flags).charset= NULL; (yyval.charset_with_flags).type_flags= 0; } -#line 25902 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25893 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 858: -#line 7120 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7111 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset_with_flags).charset= (yyvsp[0].charset); (yyval.charset_with_flags).type_flags= 0; } -#line 25911 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25902 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 859: -#line 7125 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7116 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset_with_flags).charset= (yyvsp[0].charset); (yyval.charset_with_flags).type_flags= 0; } -#line 25920 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25911 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 860: -#line 7130 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7121 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset_with_flags).charset= &my_charset_bin; (yyval.charset_with_flags).type_flags= 0; } -#line 25929 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25920 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 861: -#line 7135 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7126 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset_with_flags).charset= (yyvsp[-1].charset); (yyval.charset_with_flags).type_flags= (yyvsp[0].ulong_num); } -#line 25938 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25929 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 862: -#line 7140 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7131 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset_with_flags).charset= NULL; (yyval.charset_with_flags).type_flags= BINCMP_FLAG; } -#line 25947 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25938 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 863: -#line 7145 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7136 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.charset_with_flags).charset= (yyvsp[0].charset); (yyval.charset_with_flags).type_flags= BINCMP_FLAG; } -#line 25956 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25947 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 864: -#line 7152 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7143 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= 0; } -#line 25962 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25953 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 865: -#line 7153 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7144 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= BINCMP_FLAG; } -#line 25968 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25959 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 866: -#line 7158 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7149 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[0].ulong_num) == 0) { @@ -25976,148 +25967,148 @@ MYSQL_YYABORT; } } -#line 25980 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25971 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 867: -#line 7166 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7157 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= (yyvsp[-2].ulong_num); } -#line 25986 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25977 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 868: -#line 7170 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7161 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= 0; } -#line 25992 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25983 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 869: -#line 7171 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7162 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= 1 << MY_STRXFRM_DESC_SHIFT; } -#line 25998 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25989 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 870: -#line 7175 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7166 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= 1 << MY_STRXFRM_REVERSE_SHIFT; } -#line 26004 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 25995 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 871: -#line 7178 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7169 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= 0; } -#line 26010 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26001 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 872: -#line 7179 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7170 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= (yyvsp[0].ulong_num); } -#line 26016 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26007 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 873: -#line 7180 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7171 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= (yyvsp[-1].ulong_num) | (yyvsp[0].ulong_num); } -#line 26022 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26013 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 874: -#line 7181 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7172 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= (yyvsp[0].ulong_num) ; } -#line 26028 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26019 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 875: -#line 7186 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7177 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= (yyvsp[0].ulong_num) < 1 ? 1 : ((yyvsp[0].ulong_num) > MY_STRXFRM_NLEVELS ? MY_STRXFRM_NLEVELS : (yyvsp[0].ulong_num)); (yyval.ulong_num)--; } -#line 26037 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26028 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 876: -#line 7194 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7185 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= (1 | (yyvsp[0].ulong_num)) << (yyvsp[-1].ulong_num); } -#line 26045 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26036 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 877: -#line 7200 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7191 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= (yyvsp[0].ulong_num); } -#line 26051 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26042 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 878: -#line 7201 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7192 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)|= (yyvsp[0].ulong_num); } -#line 26057 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26048 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 879: -#line 7206 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7197 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { uint start= (yyvsp[-2].ulong_num); uint end= (yyvsp[0].ulong_num); for ((yyval.ulong_num)= 0; start <= end; start++) (yyval.ulong_num)|= (1 << start); } -#line 26068 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26059 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 880: -#line 7215 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7206 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= (yyvsp[0].ulong_num); } -#line 26074 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26065 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 881: -#line 7216 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7207 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= (yyvsp[0].ulong_num); } -#line 26080 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26071 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 882: -#line 7220 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7211 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= 0; } -#line 26086 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26077 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 883: -#line 7221 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7212 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= (yyvsp[0].ulong_num); } -#line 26092 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26083 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 886: -#line 7235 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7226 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table)=(yyvsp[-3].table); } -#line 26100 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26091 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 887: -#line 7242 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7233 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->ref_list.empty(); } -#line 26106 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26097 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 889: -#line 7248 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7239 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Key_part_spec *key= new Key_part_spec((yyvsp[0].lex_str), 0); if (key == NULL) MYSQL_YYABORT; Lex->ref_list.push_back(key); } -#line 26117 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26108 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 890: -#line 7255 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7246 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Key_part_spec *key= new Key_part_spec((yyvsp[0].lex_str), 0); if (key == NULL) @@ -26126,245 +26117,245 @@ lex->ref_list.empty(); lex->ref_list.push_back(key); } -#line 26130 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26121 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 891: -#line 7267 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7258 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->fk_match_option= FK_MATCH_UNDEF; } -#line 26136 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26127 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 892: -#line 7269 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7260 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->fk_match_option= FK_MATCH_FULL; } -#line 26142 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26133 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 893: -#line 7271 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7262 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->fk_match_option= FK_MATCH_PARTIAL; } -#line 26148 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26139 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 894: -#line 7273 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7264 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->fk_match_option= FK_MATCH_SIMPLE; } -#line 26154 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26145 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 895: -#line 7278 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7269 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->fk_update_opt= FK_OPTION_UNDEF; lex->fk_delete_opt= FK_OPTION_UNDEF; } -#line 26164 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26155 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 896: -#line 7284 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7275 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->fk_update_opt= (yyvsp[0].m_fk_option); lex->fk_delete_opt= FK_OPTION_UNDEF; } -#line 26174 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26165 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 897: -#line 7290 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7281 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->fk_update_opt= FK_OPTION_UNDEF; lex->fk_delete_opt= (yyvsp[0].m_fk_option); } -#line 26184 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26175 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 898: -#line 7297 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7288 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->fk_update_opt= (yyvsp[-3].m_fk_option); lex->fk_delete_opt= (yyvsp[0].m_fk_option); } -#line 26194 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26185 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 899: -#line 7304 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7295 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->fk_update_opt= (yyvsp[0].m_fk_option); lex->fk_delete_opt= (yyvsp[-3].m_fk_option); } -#line 26204 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26195 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 900: -#line 7312 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7303 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.m_fk_option)= FK_OPTION_RESTRICT; } -#line 26210 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26201 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 901: -#line 7313 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7304 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.m_fk_option)= FK_OPTION_CASCADE; } -#line 26216 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26207 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 902: -#line 7314 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7305 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.m_fk_option)= FK_OPTION_SET_NULL; } -#line 26222 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26213 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 903: -#line 7315 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7306 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.m_fk_option)= FK_OPTION_NO_ACTION; } -#line 26228 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26219 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 904: -#line 7316 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7307 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.m_fk_option)= FK_OPTION_DEFAULT; } -#line 26234 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26225 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 905: -#line 7320 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7311 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.key_type)= KEYTYPE_MULTIPLE; } -#line 26240 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26231 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 906: -#line 7324 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7315 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.key_type)= KEYTYPE_PRIMARY; } -#line 26246 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26237 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 907: -#line 7325 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7316 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.key_type)= KEYTYPE_UNIQUE; } -#line 26252 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26243 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 908: -#line 7329 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7320 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 26258 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26249 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 909: -#line 7330 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7321 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 26264 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26255 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 910: -#line 7334 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7325 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 26270 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26261 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 912: -#line 7339 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7330 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 26276 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26267 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 913: -#line 7340 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7331 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 26282 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26273 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 914: -#line 7341 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7332 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 26288 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26279 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 915: -#line 7345 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7336 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.key_type)= KEYTYPE_MULTIPLE; } -#line 26294 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26285 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 916: -#line 7346 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7337 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.key_type)= KEYTYPE_UNIQUE; } -#line 26300 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26291 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 917: -#line 7350 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7341 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.key_type)= KEYTYPE_FULLTEXT;} -#line 26306 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26297 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 918: -#line 7355 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7346 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.key_type)= KEYTYPE_SPATIAL; } -#line 26314 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26305 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 919: -#line 7361 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7352 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->key_create_info= default_key_create_info; } -#line 26322 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26313 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 922: -#line 7378 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7369 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 26328 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26319 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 924: -#line 7383 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7374 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 26334 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26325 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 926: -#line 7388 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7379 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 26340 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26331 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 934: -#line 7408 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7399 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->key_create_info.algorithm= (yyvsp[0].key_alg); } -#line 26346 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26337 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 935: -#line 7409 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7400 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->key_create_info.algorithm= (yyvsp[0].key_alg); } -#line 26352 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26343 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 936: -#line 7414 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7405 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->key_create_info.block_size= (yyvsp[0].ulong_num); } -#line 26358 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26349 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 937: -#line 7415 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7406 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->key_create_info.comment= (yyvsp[0].lex_str); } -#line 26364 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26355 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 942: -#line 7430 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7421 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX_CSTRING plugin_name= {(yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length}; if (plugin_is_ready(plugin_name, MYSQL_FTPARSER_PLUGIN)) @@ -26375,55 +26366,55 @@ MYSQL_YYABORT; } } -#line 26379 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26370 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 943: -#line 7443 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7434 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.key_alg)= HA_KEY_ALG_BTREE; } -#line 26385 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26376 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 944: -#line 7444 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7435 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.key_alg)= HA_KEY_ALG_RTREE; } -#line 26391 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26382 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 945: -#line 7445 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7436 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.key_alg)= HA_KEY_ALG_HASH; } -#line 26397 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26388 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 946: -#line 7450 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7441 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->col_list.push_back((yyvsp[-1].key_part)); } -#line 26405 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26396 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 947: -#line 7454 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7445 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->col_list.push_back((yyvsp[-1].key_part)); } -#line 26413 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26404 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 948: -#line 7461 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7452 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.key_part)= new Key_part_spec((yyvsp[0].lex_str), 0); if ((yyval.key_part) == NULL) MYSQL_YYABORT; } -#line 26423 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26414 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 949: -#line 7467 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7458 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int key_part_len= atoi((yyvsp[-1].lex_str).str); if (!key_part_len) @@ -26434,47 +26425,47 @@ if ((yyval.key_part) == NULL) MYSQL_YYABORT; } -#line 26438 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26429 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 950: -#line 7480 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7471 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)= null_lex_str; } -#line 26444 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26435 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 951: -#line 7481 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7472 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)= (yyvsp[0].lex_str); } -#line 26450 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26441 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 952: -#line 7485 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7476 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)= null_lex_str; } -#line 26456 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26447 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 953: -#line 7486 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7477 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)= (yyvsp[0].lex_str); } -#line 26462 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26453 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 954: -#line 7490 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7481 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->interval_list.push_back((yyvsp[0].string)); } -#line 26468 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26459 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 955: -#line 7491 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7482 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->interval_list.push_back((yyvsp[0].string)); } -#line 26474 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26465 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 956: -#line 7499 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7490 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -26501,11 +26492,11 @@ lex->create_last_non_select_table= lex->last_table(); DBUG_ASSERT(!lex->m_sql_cmd); } -#line 26505 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26496 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 957: -#line 7526 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7517 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -26517,20 +26508,20 @@ MYSQL_YYABORT; } } -#line 26521 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26512 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 958: -#line 7538 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7529 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.default_table_charset= NULL; Lex->create_info.used_fields= 0; } -#line 26530 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26521 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 959: -#line 7543 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7534 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command=SQLCOM_ALTER_DB; @@ -26539,11 +26530,11 @@ lex->copy_db_to(&lex->name.str, &lex->name.length)) MYSQL_YYABORT; } -#line 26543 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26534 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 960: -#line 7552 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7543 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; push_deprecated_warn_no_replacement(YYTHD, @@ -26556,11 +26547,11 @@ lex->sql_command= SQLCOM_ALTER_DB_UPGRADE; lex->name= (yyvsp[-4].lex_str); } -#line 26560 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26551 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 961: -#line 7565 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7556 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; @@ -26571,22 +26562,22 @@ } memset(&lex->sp_chistics, 0, sizeof(st_sp_chistics)); } -#line 26575 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26566 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 962: -#line 7576 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7567 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command= SQLCOM_ALTER_PROCEDURE; lex->spname= (yyvsp[-2].spname); } -#line 26586 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26577 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 963: -#line 7583 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7574 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; @@ -26597,22 +26588,22 @@ } memset(&lex->sp_chistics, 0, sizeof(st_sp_chistics)); } -#line 26601 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26592 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 964: -#line 7594 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7585 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command= SQLCOM_ALTER_FUNCTION; lex->spname= (yyvsp[-2].spname); } -#line 26612 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26603 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 965: -#line 7601 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7592 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; @@ -26623,17 +26614,17 @@ } lex->create_view_mode= VIEW_ALTER; } -#line 26627 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26618 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 966: -#line 7612 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7603 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 26633 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26624 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 967: -#line 7619 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7610 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; @@ -26645,17 +26636,17 @@ lex->create_view_algorithm= VIEW_ALGORITHM_UNDEFINED; lex->create_view_mode= VIEW_ALTER; } -#line 26649 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26640 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 968: -#line 7631 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7622 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 26655 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26646 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 969: -#line 7633 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7624 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* It is safe to use Lex->spname because @@ -26671,11 +26662,11 @@ Lex->sql_command= SQLCOM_ALTER_EVENT; } -#line 26675 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26666 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 970: -#line 7653 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7644 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!((yyvsp[-4].num) || (yyvsp[-3].num) || (yyvsp[-2].num) || (yyvsp[-1].num) || (yyvsp[0].num))) { @@ -26688,47 +26679,47 @@ */ Lex->sql_command= SQLCOM_ALTER_EVENT; } -#line 26692 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26683 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 971: -#line 7666 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7657 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->ts_cmd_type= ALTER_TABLESPACE; } -#line 26701 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26692 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 972: -#line 7671 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7662 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->ts_cmd_type= ALTER_LOGFILE_GROUP; } -#line 26710 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26701 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 973: -#line 7676 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7667 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->ts_cmd_type= CHANGE_FILE_TABLESPACE; } -#line 26719 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26710 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 974: -#line 7681 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7672 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->ts_cmd_type= ALTER_ACCESS_MODE_TABLESPACE; } -#line 26728 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26719 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 975: -#line 7686 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7677 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_ALTER_SERVER; @@ -26736,74 +26727,74 @@ lex->m_sql_cmd= new (YYTHD->mem_root) Sql_cmd_alter_server(&Lex->server_options); } -#line 26740 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26731 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 977: -#line 7696 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7687 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyvsp[-3].lex_user)->auth.str= (yyvsp[0].lex_str).str; (yyvsp[-3].lex_user)->auth.length= (yyvsp[0].lex_str).length; (yyvsp[-3].lex_user)->uses_identified_by_clause= true; Lex->contains_plaintext_password= true; } -#line 26751 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26742 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 978: -#line 7702 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7693 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { MAKE_CMD((yyvsp[0].statement)); } -#line 26757 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26748 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 979: -#line 7707 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7698 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_ALTER_USER; lex->drop_if_exists= (yyvsp[-1].num); } -#line 26767 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26758 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 980: -#line 7715 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7706 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 26773 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26764 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 984: -#line 7726 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7717 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->alter_password.update_account_locked_column= true; lex->alter_password.account_locked= false; } -#line 26783 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26774 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 985: -#line 7732 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7723 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->alter_password.update_account_locked_column= true; lex->alter_password.account_locked= true; } -#line 26793 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26784 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 986: -#line 7738 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7729 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->alter_password.update_password_expired_fields= true; lex->alter_password.update_password_expired_column= true; } -#line 26803 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26794 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 987: -#line 7744 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7735 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; if ((yyvsp[-1].ulong_num) == 0 || (yyvsp[-1].ulong_num) > UINT_MAX16) @@ -26817,93 +26808,93 @@ lex->alter_password.expire_after_days= (yyvsp[-1].ulong_num); lex->alter_password.use_default_password_lifetime= false; } -#line 26821 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26812 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 988: -#line 7758 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7749 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->alter_password.update_password_expired_fields= true; lex->alter_password.use_default_password_lifetime= false; } -#line 26831 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26822 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 989: -#line 7764 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7755 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->alter_password.update_password_expired_fields= true; } -#line 26839 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26830 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 990: -#line 7770 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7761 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 26845 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26836 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 991: -#line 7774 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7765 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 26851 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26842 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 993: -#line 7779 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7770 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 26857 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26848 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 994: -#line 7780 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7771 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 26863 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26854 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 995: -#line 7785 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7776 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->mqh.questions=(yyvsp[0].ulong_num); lex->mqh.specified_limits|= USER_RESOURCES::QUERIES_PER_HOUR; } -#line 26873 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26864 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 996: -#line 7791 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7782 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->mqh.updates=(yyvsp[0].ulong_num); lex->mqh.specified_limits|= USER_RESOURCES::UPDATES_PER_HOUR; } -#line 26883 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26874 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 997: -#line 7797 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7788 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->mqh.conn_per_hour= (yyvsp[0].ulong_num); lex->mqh.specified_limits|= USER_RESOURCES::CONNECTIONS_PER_HOUR; } -#line 26893 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26884 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 998: -#line 7803 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7794 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->mqh.user_conn= (yyvsp[0].ulong_num); lex->mqh.specified_limits|= USER_RESOURCES::USER_CONNECTIONS; } -#line 26903 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26894 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 999: -#line 7812 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7803 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* empty LEX_USER means current_user */ LEX_USER *curr_user; @@ -26914,41 +26905,41 @@ Lex->users_list.push_back(curr_user); (yyval.lex_user)= curr_user; } -#line 26918 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26909 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1000: -#line 7825 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7816 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 0;} -#line 26924 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26915 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1001: -#line 7826 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7817 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 1; } -#line 26930 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26921 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1002: -#line 7827 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7818 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 1; } -#line 26936 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26927 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1003: -#line 7828 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7819 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 1; } -#line 26942 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26933 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1004: -#line 7832 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7823 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 0;} -#line 26948 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26939 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1005: -#line 7834 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7825 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* Use lex's spname to hold the new name. @@ -26957,35 +26948,35 @@ Lex->spname= (yyvsp[0].spname); (yyval.num)= 1; } -#line 26961 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26952 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1006: -#line 7845 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7836 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 0;} -#line 26967 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26958 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1007: -#line 7846 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7837 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 1; } -#line 26973 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26964 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1008: -#line 7850 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7841 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str).str= 0; (yyval.lex_str).length= 0; } -#line 26979 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26970 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1009: -#line 7851 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7842 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)= (yyvsp[0].lex_str); } -#line 26985 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26976 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1019: -#line 7871 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7862 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->m_sql_cmd= new (YYTHD->mem_root) Sql_cmd_discard_import_tablespace( @@ -26993,11 +26984,11 @@ if (Lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 26997 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 26988 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1020: -#line 7879 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7870 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->m_sql_cmd= new (YYTHD->mem_root) Sql_cmd_discard_import_tablespace( @@ -27005,29 +26996,29 @@ if (Lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 27009 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27000 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1022: -#line 7895 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7886 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->alter_info.flags|= Alter_info::ALTER_DROP_PARTITION; } -#line 27017 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27008 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1023: -#line 7900 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7891 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_info.flags|= Alter_info::ALTER_REBUILD_PARTITION; lex->no_write_to_binlog= (yyvsp[-1].num); } -#line 27027 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27018 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1024: -#line 7907 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7898 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -27039,11 +27030,11 @@ if (lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 27043 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27034 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1026: -#line 7921 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7912 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -27055,11 +27046,11 @@ if (lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 27059 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27050 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1027: -#line 7933 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7924 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -27070,11 +27061,11 @@ if (lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 27074 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27065 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1029: -#line 7946 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7937 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -27086,22 +27077,22 @@ if (lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 27090 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27081 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1031: -#line 7959 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7950 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_info.flags|= Alter_info::ALTER_COALESCE_PARTITION; lex->no_write_to_binlog= (yyvsp[-1].num); lex->alter_info.num_parts= (yyvsp[0].ulong_num); } -#line 27101 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27092 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1032: -#line 7966 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7957 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -27112,11 +27103,11 @@ if (lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 27116 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27107 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1034: -#line 7979 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7970 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -27141,11 +27132,11 @@ if (lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 27145 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27136 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1035: -#line 8005 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 7996 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->m_sql_cmd= new (YYTHD->mem_root) Sql_cmd_discard_import_tablespace( @@ -27153,11 +27144,11 @@ if (Lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 27157 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27148 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1036: -#line 8014 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8005 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->m_sql_cmd= new (YYTHD->mem_root) Sql_cmd_discard_import_tablespace( @@ -27165,44 +27156,44 @@ if (Lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 27169 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27160 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1039: -#line 8030 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8021 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->alter_info.with_validation= Alter_info::ALTER_WITH_VALIDATION; } -#line 27177 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27168 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1040: -#line 8034 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8025 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->alter_info.with_validation= Alter_info::ALTER_WITHOUT_VALIDATION; } -#line 27186 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27177 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1041: -#line 8042 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8033 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->alter_info.flags|= Alter_info::ALTER_REMOVE_PARTITIONING; } -#line 27194 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27185 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1042: -#line 8049 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8040 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->alter_info.flags|= Alter_info::ALTER_ALL_PARTITION; } -#line 27202 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27193 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1044: -#line 8057 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8048 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->part_info= new partition_info(); @@ -27214,34 +27205,34 @@ lex->alter_info.flags|= Alter_info::ALTER_ADD_PARTITION; lex->no_write_to_binlog= (yyvsp[0].num); } -#line 27218 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27209 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1045: -#line 8069 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8060 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 27224 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27215 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1047: -#line 8075 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8066 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->part_info->num_parts= lex->part_info->partitions.elements; } -#line 27233 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27224 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1048: -#line 8080 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8071 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->part_info->num_parts= (yyvsp[0].ulong_num); } -#line 27241 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27232 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1049: -#line 8087 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8078 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->part_info= new partition_info(); @@ -27252,48 +27243,48 @@ } lex->no_write_to_binlog= (yyvsp[0].num); } -#line 27256 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27247 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1051: -#line 8102 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8093 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->alter_info.flags|= Alter_info::ALTER_TABLE_REORG; } -#line 27264 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27255 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1052: -#line 8106 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8097 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->alter_info.flags|= Alter_info::ALTER_REORGANIZE_PARTITION; } -#line 27272 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27263 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1053: -#line 8110 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8101 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { partition_info *part_info= Lex->part_info; part_info->num_parts= part_info->partitions.elements; } -#line 27281 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27272 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1054: -#line 8117 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8108 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 27287 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27278 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1055: -#line 8118 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8109 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 27293 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27284 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1056: -#line 8123 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8114 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { String *s= new (YYTHD->mem_root) String((const char *) (yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length, @@ -27306,56 +27297,56 @@ MYSQL_YYABORT; } } -#line 27310 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27301 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1062: -#line 8154 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8145 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->change=0; lex->alter_info.flags|= Alter_info::ALTER_ADD_COLUMN; } -#line 27320 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27311 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1063: -#line 8163 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8154 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_last_non_select_table= Lex->last_table(); } -#line 27328 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27319 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1064: -#line 8167 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8158 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_last_non_select_table= Lex->last_table(); Lex->alter_info.flags|= Alter_info::ALTER_ADD_INDEX; } -#line 27337 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27328 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1066: -#line 8173 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8164 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->change= (yyvsp[0].lex_str).str; lex->alter_info.flags|= Alter_info::ALTER_CHANGE_COLUMN; } -#line 27347 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27338 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1067: -#line 8179 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8170 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_last_non_select_table= Lex->last_table(); } -#line 27355 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27346 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1068: -#line 8183 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8174 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->length=lex->dec=0; lex->type=0; @@ -27365,11 +27356,11 @@ lex->alter_info.flags|= Alter_info::ALTER_CHANGE_COLUMN; lex->gcol_info= 0; } -#line 27369 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27360 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1069: -#line 8193 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8184 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; if (add_field_to_list(lex->thd,&(yyvsp[-2].lex_str), @@ -27382,19 +27373,19 @@ lex->gcol_info)) MYSQL_YYABORT; } -#line 27386 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27377 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1070: -#line 8206 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8197 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_last_non_select_table= Lex->last_table(); } -#line 27394 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27385 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1071: -#line 8210 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8201 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; Alter_drop *ad= new Alter_drop(Alter_drop::COLUMN, (yyvsp[-1].lex_str).str); @@ -27403,11 +27394,11 @@ lex->alter_info.drop_list.push_back(ad); lex->alter_info.flags|= Alter_info::ALTER_DROP_COLUMN; } -#line 27407 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27398 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1072: -#line 8219 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8210 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; Alter_drop *ad= new Alter_drop(Alter_drop::FOREIGN_KEY, (yyvsp[0].lex_str).str); @@ -27416,11 +27407,11 @@ lex->alter_info.drop_list.push_back(ad); lex->alter_info.flags|= Alter_info::DROP_FOREIGN_KEY; } -#line 27420 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27411 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1073: -#line 8228 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8219 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; Alter_drop *ad= new Alter_drop(Alter_drop::KEY, primary_key_name); @@ -27429,11 +27420,11 @@ lex->alter_info.drop_list.push_back(ad); lex->alter_info.flags|= Alter_info::ALTER_DROP_INDEX; } -#line 27433 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27424 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1074: -#line 8237 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8228 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; Alter_drop *ad= new Alter_drop(Alter_drop::KEY, (yyvsp[0].lex_str).str); @@ -27442,31 +27433,31 @@ lex->alter_info.drop_list.push_back(ad); lex->alter_info.flags|= Alter_info::ALTER_DROP_INDEX; } -#line 27446 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27437 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1075: -#line 8246 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8237 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->alter_info.keys_onoff= Alter_info::DISABLE; lex->alter_info.flags|= Alter_info::ALTER_KEYS_ONOFF; } -#line 27456 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27447 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1076: -#line 8252 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8243 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->alter_info.keys_onoff= Alter_info::ENABLE; lex->alter_info.flags|= Alter_info::ALTER_KEYS_ONOFF; } -#line 27466 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27457 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1077: -#line 8258 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8249 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; Alter_column *ac= new Alter_column((yyvsp[-3].lex_str).str,(yyvsp[0].item)); @@ -27475,11 +27466,11 @@ lex->alter_info.alter_list.push_back(ac); lex->alter_info.flags|= Alter_info::ALTER_CHANGE_COLUMN_DEFAULT; } -#line 27479 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27470 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1078: -#line 8267 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8258 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; Alter_column *ac= new Alter_column((yyvsp[-2].lex_str).str, (Item*) 0); @@ -27488,11 +27479,11 @@ lex->alter_info.alter_list.push_back(ac); lex->alter_info.flags|= Alter_info::ALTER_CHANGE_COLUMN_DEFAULT; } -#line 27492 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27483 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1079: -#line 8276 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8267 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; size_t dummy; @@ -27522,11 +27513,11 @@ lex->name.length= (yyvsp[0].table)->table.length; lex->alter_info.flags|= Alter_info::ALTER_RENAME; } -#line 27526 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27517 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1080: -#line 8306 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8297 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; Alter_rename_key *ak= new (YYTHD->mem_root) @@ -27536,11 +27527,11 @@ lex->alter_info.alter_rename_key_list.push_back(ak); lex->alter_info.flags|= Alter_info::ALTER_RENAME_INDEX; } -#line 27540 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27531 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1081: -#line 8316 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8307 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!(yyvsp[-1].charset)) { @@ -27561,11 +27552,11 @@ HA_CREATE_USED_DEFAULT_CHARSET); lex->alter_info.flags|= Alter_info::ALTER_OPTIONS; } -#line 27565 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27556 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1082: -#line 8337 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8328 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->alter_info.flags|= Alter_info::ALTER_OPTIONS; @@ -27575,45 +27566,45 @@ lex->create_info.used_fields&= ~HA_CREATE_USED_ENGINE; } } -#line 27579 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27570 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1083: -#line 8347 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8338 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->alter_info.flags|= Alter_info::ALTER_RECREATE; } -#line 27587 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27578 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1084: -#line 8351 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8342 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->alter_info.flags|= Alter_info::ALTER_ORDER; } -#line 27596 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27587 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1085: -#line 8356 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8347 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->alter_info.flags|= Alter_info::ALTER_UPGRADE_PARTITIONING; } -#line 27604 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27595 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1094: -#line 8376 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8367 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->alter_info.requested_algorithm= Alter_info::ALTER_TABLE_ALGORITHM_DEFAULT; } -#line 27613 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27604 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1095: -#line 8381 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8372 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (Lex->alter_info.set_requested_algorithm(&(yyvsp[0].lex_str))) { @@ -27621,20 +27612,20 @@ MYSQL_YYABORT; } } -#line 27625 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27616 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1096: -#line 8392 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8383 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->alter_info.requested_lock= Alter_info::ALTER_TABLE_LOCK_DEFAULT; } -#line 27634 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27625 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1097: -#line 8397 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8388 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (Lex->alter_info.set_requested_lock(&(yyvsp[0].lex_str))) { @@ -27642,136 +27633,136 @@ MYSQL_YYABORT; } } -#line 27646 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27637 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1098: -#line 8407 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8398 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 27652 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27643 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1099: -#line 8408 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8399 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 27658 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27649 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1100: -#line 8412 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8403 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.is_not_empty)= false; } -#line 27664 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27655 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1101: -#line 8413 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8404 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.is_not_empty)= true; } -#line 27670 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27661 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1102: -#line 8417 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8408 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->drop_mode= DROP_DEFAULT; } -#line 27676 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27667 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1103: -#line 8418 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8409 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->drop_mode= DROP_RESTRICT; } -#line 27682 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27673 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1104: -#line 8419 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8410 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->drop_mode= DROP_CASCADE; } -#line 27688 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27679 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1105: -#line 8423 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8414 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 27694 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27685 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1106: -#line 8425 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8416 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { store_position_for_column((yyvsp[0].lex_str).str); Lex->alter_info.flags |= Alter_info::ALTER_COLUMN_ORDER; } -#line 27703 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27694 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1107: -#line 8430 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8421 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { store_position_for_column(first_keyword); Lex->alter_info.flags |= Alter_info::ALTER_COLUMN_ORDER; } -#line 27712 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27703 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1108: -#line 8437 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8428 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 27718 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27709 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1109: -#line 8438 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8429 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 27724 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27715 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1110: -#line 8439 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8430 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 27730 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27721 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1111: -#line 8440 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8431 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 27736 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27727 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1112: -#line 8445 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8436 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command = SQLCOM_START_GROUP_REPLICATION; } -#line 27745 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27736 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1113: -#line 8450 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8441 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command = SQLCOM_STOP_GROUP_REPLICATION; } -#line 27754 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27745 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1114: -#line 8457 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8448 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 27760 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27751 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1115: -#line 8459 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8450 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command = SQLCOM_SLAVE_STOP; lex->type = 0; lex->slave_thd_opt= (yyvsp[-1].num); } -#line 27771 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27762 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1116: -#line 8469 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8460 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; /* Clean previous slave connection values */ @@ -27782,11 +27773,11 @@ lex->mi.set_unspecified(); lex->slave_thd_opt= (yyvsp[0].num); } -#line 27786 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27777 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1117: -#line 8484 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8475 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* It is not possible to set user's information when @@ -27803,11 +27794,11 @@ MYSQL_YYABORT; } } -#line 27807 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27798 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1119: -#line 8505 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8496 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_BEGIN; @@ -27820,189 +27811,189 @@ } lex->start_transaction_opt= (yyvsp[0].num); } -#line 27824 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27815 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1120: -#line 8521 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8512 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 0; } -#line 27832 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27823 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1121: -#line 8525 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8516 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= (yyvsp[0].num); } -#line 27840 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27831 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1122: -#line 8532 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8523 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= (yyvsp[0].num); } -#line 27848 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27839 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1123: -#line 8536 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8527 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= (yyvsp[-2].num) | (yyvsp[0].num); } -#line 27856 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27847 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1124: -#line 8543 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8534 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= MYSQL_START_TRANS_OPT_WITH_CONS_SNAPSHOT; } -#line 27864 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27855 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1125: -#line 8547 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8538 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= MYSQL_START_TRANS_OPT_READ_ONLY; } -#line 27872 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27863 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1126: -#line 8551 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8542 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= MYSQL_START_TRANS_OPT_READ_WRITE; } -#line 27880 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27871 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1128: -#line 8562 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8553 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* empty */ } -#line 27888 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27879 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1129: -#line 8566 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8557 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->slave_connection.user= (yyvsp[0].lex_str).str; } -#line 27896 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27887 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1130: -#line 8572 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8563 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* empty */ } -#line 27904 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27895 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1131: -#line 8576 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8567 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->slave_connection.password= (yyvsp[0].lex_str).str; Lex->contains_plaintext_password= true; } -#line 27913 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27904 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1132: -#line 8582 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8573 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* empty */ } -#line 27921 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27912 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1133: -#line 8586 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8577 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->slave_connection.plugin_auth= (yyvsp[0].lex_str).str; } -#line 27929 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27920 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1134: -#line 8592 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8583 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* empty */ } -#line 27937 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27928 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1135: -#line 8596 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8587 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->slave_connection.plugin_dir= (yyvsp[0].lex_str).str; } -#line 27945 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27936 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1136: -#line 8603 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8594 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 0; } -#line 27953 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27944 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1137: -#line 8607 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8598 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= (yyvsp[0].num); } -#line 27961 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27952 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1138: -#line 8614 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8605 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= (yyvsp[0].num); } -#line 27969 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27960 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1139: -#line 8618 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8609 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= (yyvsp[-2].num) | (yyvsp[0].num); } -#line 27977 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27968 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1140: -#line 8625 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8616 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= SLAVE_SQL; } -#line 27985 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27976 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1141: -#line 8629 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8620 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= SLAVE_IO; } -#line 27993 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27984 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1142: -#line 8636 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8627 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->mi.slave_until= false; } -#line 28002 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 27993 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1143: -#line 8641 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8632 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; if (((lex->mi.log_file_name || lex->mi.pos) && @@ -28025,72 +28016,72 @@ } lex->mi.slave_until= true; } -#line 28029 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28020 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1146: -#line 8669 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8660 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.gtid= (yyvsp[0].lex_str).str; Lex->mi.gtid_until_condition= LEX_MASTER_INFO::UNTIL_SQL_BEFORE_GTIDS; } -#line 28038 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28029 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1147: -#line 8674 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8665 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.gtid= (yyvsp[0].lex_str).str; Lex->mi.gtid_until_condition= LEX_MASTER_INFO::UNTIL_SQL_AFTER_GTIDS; } -#line 28047 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28038 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1148: -#line 8679 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8670 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.until_after_gaps= true; } -#line 28055 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28046 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1149: -#line 8686 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8677 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command = SQLCOM_CHECKSUM; /* Will be overriden during execution. */ YYPS->m_lock_type= TL_UNLOCK; } -#line 28066 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28057 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1150: -#line 8693 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8684 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 28072 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28063 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1151: -#line 8697 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8688 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->check_opt.flags= 0; } -#line 28078 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28069 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1152: -#line 8698 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8689 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->check_opt.flags= T_QUICK; } -#line 28084 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28075 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1153: -#line 8699 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8690 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->check_opt.flags= T_EXTEND; } -#line 28090 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28081 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1154: -#line 8704 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8695 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command = SQLCOM_REPAIR; @@ -28100,11 +28091,11 @@ /* Will be overriden during execution. */ YYPS->m_lock_type= TL_UNLOCK; } -#line 28104 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28095 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1155: -#line 8714 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8705 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX* lex= thd->lex; @@ -28113,53 +28104,53 @@ if (lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 28117 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28108 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1156: -#line 8725 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8716 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->check_opt.flags = T_MEDIUM; } -#line 28123 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28114 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1157: -#line 8726 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8717 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 28129 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28120 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1158: -#line 8730 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8721 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 28135 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28126 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1159: -#line 8731 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8722 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 28141 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28132 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1160: -#line 8735 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8726 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->check_opt.flags|= T_QUICK; } -#line 28147 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28138 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1161: -#line 8736 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8727 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->check_opt.flags|= T_EXTEND; } -#line 28153 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28144 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1162: -#line 8737 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8728 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->check_opt.sql_flags|= TT_USEFRM; } -#line 28159 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28150 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1163: -#line 8742 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8733 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command = SQLCOM_ANALYZE; @@ -28169,11 +28160,11 @@ /* Will be overriden during execution. */ YYPS->m_lock_type= TL_UNLOCK; } -#line 28173 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28164 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1164: -#line 8752 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8743 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX* lex= thd->lex; @@ -28182,20 +28173,20 @@ if (lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 28186 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28177 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1165: -#line 8764 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8755 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command = SQLCOM_BINLOG_BASE64_EVENT; Lex->comment= (yyvsp[0].lex_str); } -#line 28195 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28186 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1166: -#line 8772 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8763 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; @@ -28210,11 +28201,11 @@ /* Will be overriden during execution. */ YYPS->m_lock_type= TL_UNLOCK; } -#line 28214 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28205 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1167: -#line 8787 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8778 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX* lex= thd->lex; @@ -28223,71 +28214,71 @@ if (lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 28227 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28218 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1168: -#line 8798 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8789 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->check_opt.flags = T_MEDIUM; } -#line 28233 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28224 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1169: -#line 8799 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8790 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 28239 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28230 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1170: -#line 8803 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8794 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 28245 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28236 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1171: -#line 8804 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8795 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 28251 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28242 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1172: -#line 8808 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8799 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->check_opt.flags|= T_QUICK; } -#line 28257 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28248 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1173: -#line 8809 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8800 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->check_opt.flags|= T_FAST; } -#line 28263 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28254 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1174: -#line 8810 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8801 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->check_opt.flags|= T_MEDIUM; } -#line 28269 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28260 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1175: -#line 8811 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8802 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->check_opt.flags|= T_EXTEND; } -#line 28275 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28266 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1176: -#line 8812 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8803 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->check_opt.flags|= T_CHECK_ONLY_CHANGED; } -#line 28281 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28272 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1177: -#line 8813 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8804 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->check_opt.sql_flags|= TT_FOR_UPGRADE; } -#line 28287 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28278 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1178: -#line 8818 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8809 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command = SQLCOM_OPTIMIZE; @@ -28297,11 +28288,11 @@ /* Will be overriden during execution. */ YYPS->m_lock_type= TL_UNLOCK; } -#line 28301 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28292 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1179: -#line 8828 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8819 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX* lex= thd->lex; @@ -28310,69 +28301,69 @@ if (lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 28314 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28305 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1180: -#line 8839 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8830 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 0; } -#line 28320 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28311 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1181: -#line 8840 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8831 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 1; } -#line 28326 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28317 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1182: -#line 8841 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8832 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 1; } -#line 28332 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28323 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1183: -#line 8846 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8837 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command= SQLCOM_RENAME_TABLE; } -#line 28340 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28331 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1184: -#line 8850 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8841 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 28346 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28337 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1185: -#line 8852 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8843 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command = SQLCOM_RENAME_USER; } -#line 28354 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28345 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1186: -#line 8859 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8850 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (Lex->users_list.push_back((yyvsp[-2].lex_user)) || Lex->users_list.push_back((yyvsp[0].lex_user))) MYSQL_YYABORT; } -#line 28363 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28354 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1187: -#line 8864 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8855 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (Lex->users_list.push_back((yyvsp[-2].lex_user)) || Lex->users_list.push_back((yyvsp[0].lex_user))) MYSQL_YYABORT; } -#line 28372 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28363 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1190: -#line 8877 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8868 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; SELECT_LEX *sl= Select; @@ -28382,208 +28373,208 @@ TL_IGNORE, MDL_EXCLUSIVE)) MYSQL_YYABORT; } -#line 28386 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28377 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1191: -#line 8890 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8881 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->alter_info.reset(); } -#line 28394 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28385 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1192: -#line 8894 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8885 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command= SQLCOM_ASSIGN_TO_KEYCACHE; lex->ident= (yyvsp[0].lex_str); } -#line 28404 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28395 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1197: -#line 8913 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8904 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!Select->add_table_to_list(YYTHD, (yyvsp[-1].table), NULL, 0, TL_READ, MDL_SHARED_READ, (yyvsp[0].key_usage_list))) MYSQL_YYABORT; } -#line 28415 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28406 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1198: -#line 8923 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8914 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!Select->add_table_to_list(YYTHD, (yyvsp[-2].table), NULL, 0, TL_READ, MDL_SHARED_READ, (yyvsp[0].key_usage_list))) MYSQL_YYABORT; } -#line 28426 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28417 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1199: -#line 8932 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8923 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)= (yyvsp[0].lex_str); } -#line 28432 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28423 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1200: -#line 8933 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8924 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str) = default_key_cache_base; } -#line 28438 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28429 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1201: -#line 8938 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8929 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command=SQLCOM_PRELOAD_KEYS; lex->alter_info.reset(); } -#line 28448 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28439 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1202: -#line 8944 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8935 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 28454 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28445 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1207: -#line 8959 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8950 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!Select->add_table_to_list(YYTHD, (yyvsp[-2].table), NULL, (yyvsp[0].num), TL_READ, MDL_SHARED_READ, (yyvsp[-1].key_usage_list))) MYSQL_YYABORT; } -#line 28465 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28456 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1208: -#line 8969 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8960 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!Select->add_table_to_list(YYTHD, (yyvsp[-3].table), NULL, (yyvsp[0].num), TL_READ, MDL_SHARED_READ, (yyvsp[-1].key_usage_list))) MYSQL_YYABORT; } -#line 28476 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28467 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1209: -#line 8979 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8970 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->alter_info.flags|= Alter_info::ALTER_ADMIN_PARTITION; } -#line 28484 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28475 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1212: -#line 8990 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8981 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.key_usage_list)= NULL; } -#line 28490 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28481 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1213: -#line 8992 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8983 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { init_index_hints((yyvsp[-1].key_usage_list), INDEX_HINT_USE, old_mode ? INDEX_HINT_MASK_JOIN : INDEX_HINT_MASK_ALL); (yyval.key_usage_list)= (yyvsp[-1].key_usage_list); } -#line 28501 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28492 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1214: -#line 9002 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8993 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 0; } -#line 28507 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28498 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1215: -#line 9003 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 8994 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= TL_OPTION_IGNORE_LEAVES; } -#line 28513 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28504 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1216: -#line 9013 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9004 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select)= NEW_PTN PT_select((yyvsp[0].select_init), SQLCOM_SELECT); } -#line 28521 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28512 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1217: -#line 9021 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9012 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_init)= NEW_PTN PT_select_init2((yyvsp[-2].optimizer_hints), (yyvsp[-1].select_part2), (yyvsp[0].union_list)); } -#line 28529 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28520 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1218: -#line 9025 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9016 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_init)= NEW_PTN PT_select_init_parenthesis((yyvsp[-2].select_paren), (yyvsp[0].node)); } -#line 28537 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28528 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1219: -#line 9032 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9023 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_paren)= NEW_PTN PT_select_paren((yyvsp[-1].optimizer_hints), (yyvsp[0].select_part2)); } -#line 28545 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28536 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1220: -#line 9035 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9026 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_paren)= (yyvsp[-1].select_paren); } -#line 28551 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28542 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1221: -#line 9041 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9032 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_paren_derived)= NEW_PTN PT_select_paren_derived((yyvsp[-2].optimizer_hints), (yyvsp[-1].select_part2_derived), (yyvsp[0].table_expression)); } -#line 28559 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28550 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1222: -#line 9044 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9035 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_paren_derived)= (yyvsp[-1].select_paren_derived); } -#line 28565 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28556 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1223: -#line 9057 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9048 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_part2)= NEW_PTN PT_select_part2((yyvsp[-3].select_options_and_item_list), NULL, NULL, NULL, NULL, NULL, (yyvsp[-2].order), (yyvsp[-1].limit_clause), NULL, NULL, (yyvsp[0].select_lock_type)); } -#line 28574 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28565 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1224: -#line 9062 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9053 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_part2)= NEW_PTN PT_select_part2((yyvsp[-2].select_options_and_item_list), (yyvsp[-1].into_destination), NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, (yyvsp[0].select_lock_type)); } -#line 28583 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28574 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1225: -#line 9077 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9068 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[-9].into_destination) && (yyvsp[-1].into_destination)) { @@ -28600,91 +28591,91 @@ (yyval.select_part2)= NEW_PTN PT_select_part2((yyvsp[-10].select_options_and_item_list), (yyvsp[-9].into_destination), (yyvsp[-8].table_reference_list), (yyvsp[-7].item), (yyvsp[-6].group), (yyvsp[-5].item), (yyvsp[-4].order), (yyvsp[-3].limit_clause), (yyvsp[-2].procedure_analyse), (yyvsp[-1].into_destination), (yyvsp[0].select_lock_type)); } -#line 28604 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28595 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1226: -#line 9096 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9087 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* TODO: remove this semantic action (currently this removal adds shift/reduce conflict) */ } -#line 28615 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28606 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1227: -#line 9103 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9094 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_options_and_item_list)= NEW_PTN PT_select_options_and_item_list((yyvsp[-1].select_options), (yyvsp[0].item_list2)); } -#line 28623 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28614 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1228: -#line 9118 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9109 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table_expression)= NEW_PTN PT_table_expression((yyvsp[-7].table_reference_list), (yyvsp[-6].item), (yyvsp[-5].group), (yyvsp[-4].item), (yyvsp[-3].order), (yyvsp[-2].limit_clause), (yyvsp[-1].procedure_analyse), (yyvsp[0].select_lock_type)); } -#line 28631 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28622 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1229: -#line 9124 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9115 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table_reference_list)= (yyvsp[0].table_reference_list); } -#line 28637 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28628 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1230: -#line 9128 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9119 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table_reference_list)= NULL; } -#line 28643 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28634 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1232: -#line 9134 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9125 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table_reference_list)= NEW_PTN PT_table_reference_list((yyvsp[0].join_table_list)); } -#line 28651 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28642 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1233: -#line 9137 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9128 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table_reference_list)= NULL; } -#line 28657 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28648 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1234: -#line 9146 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9137 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_options).query_spec_options= 0; (yyval.select_options).sql_cache= SELECT_LEX::SQL_CACHE_UNSPECIFIED; } -#line 28666 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28657 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1236: -#line 9155 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9146 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyval.select_options).merge((yyvsp[-1].select_options), (yyvsp[0].select_options))) MYSQL_YYABORT; } -#line 28675 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28666 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1238: -#line 9164 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9155 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_options).query_spec_options= (yyvsp[0].ulonglong_number); (yyval.select_options).sql_cache= SELECT_LEX::SQL_CACHE_UNSPECIFIED; } -#line 28684 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28675 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1239: -#line 9169 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9160 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { push_deprecated_warn_no_replacement(YYTHD, "SQL_NO_CACHE"); /* @@ -28694,11 +28685,11 @@ (yyval.select_options).query_spec_options= 0; (yyval.select_options).sql_cache= SELECT_LEX::SQL_NO_CACHE; } -#line 28698 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28689 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1240: -#line 9179 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9170 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { push_deprecated_warn_no_replacement(YYTHD, "SQL_CACHE"); /* @@ -28708,233 +28699,233 @@ (yyval.select_options).query_spec_options= 0; (yyval.select_options).sql_cache= SELECT_LEX::SQL_CACHE; } -#line 28712 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28703 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1241: -#line 9191 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9182 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_lock_type).is_set= false; } -#line 28718 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28709 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1242: -#line 9193 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9184 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_lock_type).is_set= true; (yyval.select_lock_type).lock_type= TL_WRITE; (yyval.select_lock_type).is_safe_to_cache_query= false; } -#line 28728 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28719 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1243: -#line 9199 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9190 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_lock_type).is_set= true; (yyval.select_lock_type).lock_type= TL_READ_WITH_SHARED_LOCKS; (yyval.select_lock_type).is_safe_to_cache_query= false; } -#line 28738 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28729 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1244: -#line 9208 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9199 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[-2].item_list2) == NULL || (yyvsp[-2].item_list2)->push_back((yyvsp[0].item))) MYSQL_YYABORT; (yyval.item_list2)= (yyvsp[-2].item_list2); } -#line 28748 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28739 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1245: -#line 9214 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9205 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list2)= NEW_PTN PT_select_item_list; if ((yyval.item_list2) == NULL || (yyval.item_list2)->push_back((yyvsp[0].item))) MYSQL_YYABORT; } -#line 28758 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28749 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1246: -#line 9220 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9211 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Item *item= NEW_PTN Item_field((yyloc), NULL, NULL, "*"); (yyval.item_list2)= NEW_PTN PT_select_item_list; if ((yyval.item_list2) == NULL || (yyval.item_list2)->push_back(item)) MYSQL_YYABORT; } -#line 28769 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28760 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1247: -#line 9229 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9220 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= (yyvsp[0].item); } -#line 28775 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28766 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1248: -#line 9231 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9222 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_expr_with_alias((yyloc), (yyvsp[-1].item), (yylsp[-1]).cpp, (yyvsp[0].lex_str)); } -#line 28783 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28774 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1249: -#line 9238 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9229 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)=null_lex_str;} -#line 28789 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28780 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1250: -#line 9239 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9230 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)=(yyvsp[0].lex_str); } -#line 28795 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28786 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1251: -#line 9240 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9231 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)=(yyvsp[0].lex_str); } -#line 28801 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28792 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1252: -#line 9241 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9232 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)=(yyvsp[0].lex_str); } -#line 28807 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28798 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1253: -#line 9242 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9233 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)=(yyvsp[0].lex_str); } -#line 28813 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28804 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1254: -#line 9246 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9237 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 28819 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28810 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1255: -#line 9247 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9238 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 28825 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28816 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1256: -#line 9253 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9244 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= flatten_associative_operator( YYTHD->mem_root, (yyloc), (yyvsp[-2].item), (yyvsp[0].item)); } -#line 28835 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28826 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1257: -#line 9259 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9250 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* XOR is a proprietary extension */ (yyval.item) = NEW_PTN Item_func_xor((yyloc), (yyvsp[-2].item), (yyvsp[0].item)); } -#line 28844 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28835 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1258: -#line 9264 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9255 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= flatten_associative_operator( YYTHD->mem_root, (yyloc), (yyvsp[-2].item), (yyvsp[0].item)); } -#line 28854 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28845 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1259: -#line 9270 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9261 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_negate_expression((yyloc), (yyvsp[0].item)); } -#line 28862 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28853 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1260: -#line 9274 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9265 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_istrue((yyloc), (yyvsp[-2].item)); } -#line 28870 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28861 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1261: -#line 9278 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9269 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_isnottrue((yyloc), (yyvsp[-3].item)); } -#line 28878 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28869 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1262: -#line 9282 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9273 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_isfalse((yyloc), (yyvsp[-2].item)); } -#line 28886 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28877 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1263: -#line 9286 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9277 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_isnotfalse((yyloc), (yyvsp[-3].item)); } -#line 28894 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28885 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1264: -#line 9290 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9281 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_isnull((yyloc), (yyvsp[-2].item)); } -#line 28902 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28893 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1265: -#line 9294 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9285 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_isnotnull((yyloc), (yyvsp[-3].item)); } -#line 28910 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28901 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1267: -#line 9302 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9293 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_isnull((yyloc), (yyvsp[-2].item)); } -#line 28918 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28909 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1268: -#line 9306 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9297 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_isnotnull((yyloc), (yyvsp[-3].item)); } -#line 28926 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28917 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1269: -#line 9310 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9301 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_comp_op((yyloc), (yyvsp[-2].item), (yyvsp[-1].boolfunc2creator), (yyvsp[0].item)); } -#line 28934 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28925 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1270: -#line 9314 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9305 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[-4].boolfunc2creator) == &comp_equal_creator) /* @@ -28947,82 +28938,82 @@ YYTHD->parse_error_at((yylsp[-4]), ER_THD(YYTHD, ER_SYNTAX_ERROR)); (yyval.item)= NEW_PTN PTI_comp_op_all((yyloc), (yyvsp[-5].item), (yyvsp[-4].boolfunc2creator), (yyvsp[-3].num), (yyvsp[-1].subselect)); } -#line 28951 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28942 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1272: -#line 9331 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9322 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_in_subselect((yyloc), (yyvsp[-4].item), (yyvsp[-1].subselect)); } -#line 28959 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28950 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1273: -#line 9335 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9326 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Item *item= NEW_PTN Item_in_subselect((yyloc), (yyvsp[-5].item), (yyvsp[-1].subselect)); (yyval.item)= NEW_PTN PTI_negate_expression((yyloc), item); } -#line 28968 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28959 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1274: -#line 9340 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9331 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_handle_sql2003_note184_exception((yyloc), (yyvsp[-4].item), true, (yyvsp[-1].item)); } -#line 28976 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28967 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1275: -#line 9344 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9335 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[-1].item_list2) == NULL || (yyvsp[-1].item_list2)->push_front((yyvsp[-3].item)) || (yyvsp[-1].item_list2)->push_front((yyvsp[-6].item))) MYSQL_YYABORT; (yyval.item)= NEW_PTN Item_func_in((yyloc), (yyvsp[-1].item_list2), false); } -#line 28987 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28978 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1276: -#line 9351 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9342 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_handle_sql2003_note184_exception((yyloc), (yyvsp[-5].item), false, (yyvsp[-1].item)); } -#line 28995 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28986 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1277: -#line 9355 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9346 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[-1].item_list2) == NULL || (yyvsp[-1].item_list2)->push_front((yyvsp[-3].item)) || (yyvsp[-1].item_list2)->value.push_front((yyvsp[-7].item))) MYSQL_YYABORT; (yyval.item)= NEW_PTN Item_func_in((yyloc), (yyvsp[-1].item_list2), true); } -#line 29006 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 28997 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1278: -#line 9362 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9353 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_between((yyloc), (yyvsp[-4].item), (yyvsp[-2].item), (yyvsp[0].item), false); } -#line 29014 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29005 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1279: -#line 9366 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9357 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_between((yyloc), (yyvsp[-5].item), (yyvsp[-2].item), (yyvsp[0].item), true); } -#line 29022 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29013 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1280: -#line 9370 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9361 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Item *item1= NEW_PTN Item_func_soundex((yyloc), (yyvsp[-3].item)); Item *item4= NEW_PTN Item_func_soundex((yyloc), (yyvsp[0].item)); @@ -29030,396 +29021,396 @@ MYSQL_YYABORT; (yyval.item)= NEW_PTN Item_func_eq((yyloc), item1, item4); } -#line 29034 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29025 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1281: -#line 9378 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9369 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_like((yyloc), (yyvsp[-3].item), (yyvsp[-1].item), (yyvsp[0].item)); } -#line 29042 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29033 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1282: -#line 9382 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9373 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Item *item= NEW_PTN Item_func_like((yyloc), (yyvsp[-4].item), (yyvsp[-1].item), (yyvsp[0].item)); if (item == NULL) MYSQL_YYABORT; (yyval.item)= NEW_PTN Item_func_not((yyloc), item); } -#line 29053 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29044 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1283: -#line 9389 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9380 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_regex((yyloc), (yyvsp[-2].item), (yyvsp[0].item)); } -#line 29061 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29052 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1284: -#line 9393 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9384 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Item *item= NEW_PTN Item_func_regex((yyloc), (yyvsp[-3].item), (yyvsp[0].item)); (yyval.item)= NEW_PTN PTI_negate_expression((yyloc), item); } -#line 29070 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29061 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1286: -#line 9402 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9393 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_bit_or((yyloc), (yyvsp[-2].item), (yyvsp[0].item)); } -#line 29078 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29069 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1287: -#line 9406 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9397 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_bit_and((yyloc), (yyvsp[-2].item), (yyvsp[0].item)); } -#line 29086 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29077 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1288: -#line 9410 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9401 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_shift_left((yyloc), (yyvsp[-2].item), (yyvsp[0].item)); } -#line 29094 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29085 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1289: -#line 9414 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9405 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_shift_right((yyloc), (yyvsp[-2].item), (yyvsp[0].item)); } -#line 29102 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29093 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1290: -#line 9418 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9409 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_plus((yyloc), (yyvsp[-2].item), (yyvsp[0].item)); } -#line 29110 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29101 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1291: -#line 9422 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9413 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_minus((yyloc), (yyvsp[-2].item), (yyvsp[0].item)); } -#line 29118 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29109 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1292: -#line 9426 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9417 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_date_add_interval((yyloc), (yyvsp[-4].item), (yyvsp[-1].item), (yyvsp[0].interval), 0); } -#line 29126 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29117 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1293: -#line 9430 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9421 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_date_add_interval((yyloc), (yyvsp[-4].item), (yyvsp[-1].item), (yyvsp[0].interval), 1); } -#line 29134 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29125 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1294: -#line 9434 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9425 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_mul((yyloc), (yyvsp[-2].item), (yyvsp[0].item)); } -#line 29142 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29133 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1295: -#line 9438 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9429 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_div((yyloc), (yyvsp[-2].item),(yyvsp[0].item)); } -#line 29150 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29141 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1296: -#line 9442 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9433 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_mod((yyloc), (yyvsp[-2].item),(yyvsp[0].item)); } -#line 29158 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29149 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1297: -#line 9446 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9437 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_int_div((yyloc), (yyvsp[-2].item),(yyvsp[0].item)); } -#line 29166 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29157 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1298: -#line 9450 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9441 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_mod((yyloc), (yyvsp[-2].item), (yyvsp[0].item)); } -#line 29174 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29165 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1299: -#line 9454 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9445 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_bit_xor((yyloc), (yyvsp[-2].item), (yyvsp[0].item)); } -#line 29182 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29173 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1309: -#line 9481 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9472 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.boolfunc2creator) = &comp_eq_creator; } -#line 29188 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29179 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1310: -#line 9482 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9473 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.boolfunc2creator) = &comp_equal_creator; } -#line 29194 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29185 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1311: -#line 9483 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9474 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.boolfunc2creator) = &comp_ge_creator; } -#line 29200 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29191 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1312: -#line 9484 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9475 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.boolfunc2creator) = &comp_gt_creator; } -#line 29206 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29197 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1313: -#line 9485 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9476 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.boolfunc2creator) = &comp_le_creator; } -#line 29212 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29203 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1314: -#line 9486 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9477 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.boolfunc2creator) = &comp_lt_creator; } -#line 29218 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29209 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1315: -#line 9487 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9478 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.boolfunc2creator) = &comp_ne_creator; } -#line 29224 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29215 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1316: -#line 9491 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9482 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num) = 1; } -#line 29230 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29221 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1317: -#line 9492 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9483 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num) = 0; } -#line 29236 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29227 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1323: -#line 9502 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9493 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_set_collation((yyloc), (yyvsp[-2].item), (yyvsp[0].lex_str)); } -#line 29244 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29235 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1325: -#line 9506 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9497 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= (yyvsp[0].param_marker); } -#line 29250 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29241 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1328: -#line 9510 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9501 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_concat((yyloc), (yyvsp[-2].item), (yyvsp[0].item)); } -#line 29258 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29249 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1329: -#line 9514 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9505 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= (yyvsp[0].item); // TODO: do we really want to ignore unary '+' before any kind of literals? } -#line 29266 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29257 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1330: -#line 9518 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9509 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_neg((yyloc), (yyvsp[0].item)); } -#line 29274 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29265 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1331: -#line 9522 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9513 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_bit_neg((yyloc), (yyvsp[0].item)); } -#line 29282 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29273 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1332: -#line 9526 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9517 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_negate_expression((yyloc), (yyvsp[0].item)); } -#line 29290 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29281 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1333: -#line 9530 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9521 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_singlerow_subselect((yyloc), (yyvsp[-1].subselect)); } -#line 29298 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29289 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1334: -#line 9534 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9525 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= (yyvsp[-1].item); } -#line 29304 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29295 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1335: -#line 9536 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9527 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_row((yyloc), (yyvsp[-3].item), (yyvsp[-1].item_list2)->value); } -#line 29312 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29303 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1336: -#line 9540 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9531 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_row((yyloc), (yyvsp[-3].item), (yyvsp[-1].item_list2)->value); } -#line 29320 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29311 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1337: -#line 9544 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9535 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_exists_subselect((yyloc), (yyvsp[-1].subselect)); } -#line 29328 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29319 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1338: -#line 9548 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9539 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_odbc_date((yyloc), (yyvsp[-2].lex_str), (yyvsp[-1].item)); } -#line 29336 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29327 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1339: -#line 9552 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9543 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_match((yyloc), (yyvsp[-5].item_list2), (yyvsp[-2].item), (yyvsp[-1].num)); } -#line 29344 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29335 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1340: -#line 9556 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9547 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= create_func_cast(YYTHD, (yylsp[0]), (yyvsp[0].item), ITEM_CAST_CHAR, &my_charset_bin); } -#line 29352 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29343 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1341: -#line 9560 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9551 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= create_func_cast(YYTHD, (yylsp[-3]), (yyvsp[-3].item), &(yyvsp[-1].cast_type)); } -#line 29360 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29351 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1342: -#line 9564 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9555 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_case((yyloc), *(yyvsp[-2].item_list), (yyvsp[-3].item), (yyvsp[-1].item) ); } -#line 29368 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29359 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1343: -#line 9568 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9559 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= create_func_cast(YYTHD, (yylsp[-3]), (yyvsp[-3].item), &(yyvsp[-1].cast_type)); } -#line 29376 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29367 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1344: -#line 9572 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9563 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_conv_charset((yyloc), (yyvsp[-3].item),(yyvsp[-1].charset)); } -#line 29384 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29375 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1345: -#line 9576 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9567 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_default_value((yyloc), (yyvsp[-1].item)); } -#line 29392 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29383 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1346: -#line 9580 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9571 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_insert_value((yyloc), (yyvsp[-1].item)); } -#line 29400 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29391 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1347: -#line 9585 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9576 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_date_add_interval((yyloc), (yyvsp[0].item), (yyvsp[-3].item), (yyvsp[-2].interval), 0); } -#line 29408 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29399 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1348: -#line 9589 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9580 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Item_string *path= NEW_PTN Item_string((yyloc), (yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length, YYTHD->variables.collation_connection); (yyval.item)= NEW_PTN Item_func_json_extract(YYTHD, (yyloc), (yyvsp[-2].item), path); } -#line 29419 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29410 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1349: -#line 9596 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9587 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Item_string *path= NEW_PTN Item_string((yyloc), (yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length, @@ -29427,695 +29418,695 @@ Item *extr= NEW_PTN Item_func_json_extract(YYTHD, (yyloc), (yyvsp[-2].item), path); (yyval.item)= NEW_PTN Item_func_json_unquote((yyloc), extr); } -#line 29431 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29422 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1350: -#line 9613 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9604 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_char((yyloc), (yyvsp[-1].item_list2)); } -#line 29439 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29430 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1351: -#line 9617 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9608 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_char((yyloc), (yyvsp[-3].item_list2), (yyvsp[-1].charset)); } -#line 29447 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29438 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1352: -#line 9621 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9612 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_current_user((yyloc)); } -#line 29455 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29446 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1353: -#line 9625 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9616 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_date_typecast((yyloc), (yyvsp[-1].item)); } -#line 29463 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29454 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1354: -#line 9629 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9620 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_dayofmonth((yyloc), (yyvsp[-1].item)); } -#line 29471 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29462 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1355: -#line 9633 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9624 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_hour((yyloc), (yyvsp[-1].item)); } -#line 29479 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29470 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1356: -#line 9637 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9628 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_insert((yyloc), (yyvsp[-7].item), (yyvsp[-5].item), (yyvsp[-3].item), (yyvsp[-1].item)); } -#line 29487 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29478 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1357: -#line 9641 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9632 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_interval((yyloc), YYTHD->mem_root, (yyvsp[-3].item), (yyvsp[-1].item)); } -#line 29495 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29486 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1358: -#line 9645 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9636 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_interval((yyloc), YYTHD->mem_root, (yyvsp[-5].item), (yyvsp[-3].item), (yyvsp[-1].item_list2)); } -#line 29503 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29494 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1359: -#line 9649 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9640 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_left((yyloc), (yyvsp[-3].item), (yyvsp[-1].item)); } -#line 29511 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29502 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1360: -#line 9653 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9644 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_minute((yyloc), (yyvsp[-1].item)); } -#line 29519 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29510 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1361: -#line 9657 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9648 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_month((yyloc), (yyvsp[-1].item)); } -#line 29527 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29518 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1362: -#line 9661 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9652 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_right((yyloc), (yyvsp[-3].item), (yyvsp[-1].item)); } -#line 29535 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29526 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1363: -#line 9665 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9656 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_second((yyloc), (yyvsp[-1].item)); } -#line 29543 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29534 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1364: -#line 9669 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9660 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_time_typecast((yyloc), (yyvsp[-1].item)); } -#line 29551 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29542 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1365: -#line 9673 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9664 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_datetime_typecast((yyloc), (yyvsp[-1].item)); } -#line 29559 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29550 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1366: -#line 9677 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9668 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_add_time((yyloc), (yyvsp[-3].item), (yyvsp[-1].item), 1, 0); } -#line 29567 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29558 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1367: -#line 9681 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9672 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_trim((yyloc), (yyvsp[-1].item), Item_func_trim::TRIM_BOTH_DEFAULT); } -#line 29576 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29567 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1368: -#line 9686 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9677 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_trim((yyloc), (yyvsp[-1].item), (yyvsp[-3].item), Item_func_trim::TRIM_LEADING); } -#line 29585 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29576 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1369: -#line 9691 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9682 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_trim((yyloc), (yyvsp[-1].item), (yyvsp[-3].item), Item_func_trim::TRIM_TRAILING); } -#line 29594 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29585 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1370: -#line 9696 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9687 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_trim((yyloc), (yyvsp[-1].item), (yyvsp[-3].item), Item_func_trim::TRIM_BOTH); } -#line 29602 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29593 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1371: -#line 9700 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9691 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_trim((yyloc), (yyvsp[-1].item), Item_func_trim::TRIM_LEADING); } -#line 29610 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29601 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1372: -#line 9704 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9695 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_trim((yyloc), (yyvsp[-1].item), Item_func_trim::TRIM_TRAILING); } -#line 29618 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29609 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1373: -#line 9708 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9699 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_trim((yyloc), (yyvsp[-1].item), Item_func_trim::TRIM_BOTH); } -#line 29626 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29617 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1374: -#line 9712 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9703 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_trim((yyloc), (yyvsp[-1].item), (yyvsp[-3].item), Item_func_trim::TRIM_BOTH_DEFAULT); } -#line 29635 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29626 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1375: -#line 9717 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9708 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_user((yyloc)); } -#line 29643 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29634 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1376: -#line 9721 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9712 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_year((yyloc), (yyvsp[-1].item)); } -#line 29651 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29642 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1377: -#line 9740 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9731 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_date_add_interval((yyloc), (yyvsp[-3].item), (yyvsp[-1].item), INTERVAL_DAY, 0); } -#line 29659 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29650 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1378: -#line 9744 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9735 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_date_add_interval((yyloc), (yyvsp[-5].item), (yyvsp[-2].item), (yyvsp[-1].interval), 0); } -#line 29667 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29658 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1379: -#line 9748 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9739 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_curdate_local((yyloc)); } -#line 29675 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29666 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1380: -#line 9752 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9743 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_curtime_local((yyloc), static_cast((yyvsp[0].ulong_num))); } -#line 29683 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29674 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1381: -#line 9757 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9748 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_date_add_interval((yyloc), (yyvsp[-5].item), (yyvsp[-2].item), (yyvsp[-1].interval), 0); } -#line 29691 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29682 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1382: -#line 9762 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9753 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_date_add_interval((yyloc), (yyvsp[-5].item), (yyvsp[-2].item), (yyvsp[-1].interval), 1); } -#line 29699 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29690 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1383: -#line 9766 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9757 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_extract((yyloc), (yyvsp[-3].interval), (yyvsp[-1].item)); } -#line 29707 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29698 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1384: -#line 9770 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9761 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_get_format((yyloc), (yyvsp[-3].date_time_type), (yyvsp[-1].item)); } -#line 29715 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29706 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1385: -#line 9774 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9765 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_function_call_nonkeyword_now((yyloc), static_cast((yyvsp[0].ulong_num))); } -#line 29724 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29715 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1386: -#line 9779 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9770 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_locate((yyloc), (yyvsp[-1].item),(yyvsp[-3].item)); } -#line 29732 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29723 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1387: -#line 9783 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9774 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_date_add_interval((yyloc), (yyvsp[-3].item), (yyvsp[-1].item), INTERVAL_DAY, 1); } -#line 29740 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29731 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1388: -#line 9787 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9778 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_date_add_interval((yyloc), (yyvsp[-5].item), (yyvsp[-2].item), (yyvsp[-1].interval), 1); } -#line 29748 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29739 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1389: -#line 9791 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9782 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_substr((yyloc), (yyvsp[-5].item),(yyvsp[-3].item),(yyvsp[-1].item)); } -#line 29756 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29747 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1390: -#line 9795 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9786 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_substr((yyloc), (yyvsp[-3].item),(yyvsp[-1].item)); } -#line 29764 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29755 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1391: -#line 9799 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9790 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_substr((yyloc), (yyvsp[-5].item),(yyvsp[-3].item),(yyvsp[-1].item)); } -#line 29772 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29763 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1392: -#line 9803 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9794 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_substr((yyloc), (yyvsp[-3].item),(yyvsp[-1].item)); } -#line 29780 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29771 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1393: -#line 9807 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9798 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_function_call_nonkeyword_sysdate((yyloc), static_cast((yyvsp[0].ulong_num))); } -#line 29789 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29780 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1394: -#line 9812 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9803 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_date_add_interval((yyloc), (yyvsp[-1].item), (yyvsp[-3].item), (yyvsp[-5].interval_time_st), 0); } -#line 29797 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29788 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1395: -#line 9816 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9807 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_timestamp_diff((yyloc), (yyvsp[-3].item),(yyvsp[-1].item),(yyvsp[-5].interval_time_st)); } -#line 29805 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29796 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1396: -#line 9820 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9811 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_curdate_utc((yyloc)); } -#line 29813 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29804 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1397: -#line 9824 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9815 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_curtime_utc((yyloc), static_cast((yyvsp[0].ulong_num))); } -#line 29821 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29812 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1398: -#line 9828 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9819 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_now_utc((yyloc), static_cast((yyvsp[0].ulong_num))); } -#line 29829 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29820 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1399: -#line 9840 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9831 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_ascii((yyloc), (yyvsp[-1].item)); } -#line 29837 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29828 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1400: -#line 9844 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9835 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_charset((yyloc), (yyvsp[-1].item)); } -#line 29845 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29836 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1401: -#line 9848 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9839 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_coalesce((yyloc), (yyvsp[-1].item_list2)); } -#line 29853 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29844 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1402: -#line 9852 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9843 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_collation((yyloc), (yyvsp[-1].item)); } -#line 29861 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29852 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1403: -#line 9856 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9847 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_database((yyloc)); } -#line 29869 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29860 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1404: -#line 9860 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9851 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_if((yyloc), (yyvsp[-5].item),(yyvsp[-3].item),(yyvsp[-1].item)); } -#line 29877 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29868 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1405: -#line 9864 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9855 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_format((yyloc), (yyvsp[-3].item), (yyvsp[-1].item)); } -#line 29885 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29876 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1406: -#line 9868 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9859 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_format((yyloc), (yyvsp[-5].item), (yyvsp[-3].item), (yyvsp[-1].item)); } -#line 29893 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29884 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1407: -#line 9872 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9863 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_microsecond((yyloc), (yyvsp[-1].item)); } -#line 29901 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29892 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1408: -#line 9876 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9867 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_mod((yyloc), (yyvsp[-3].item), (yyvsp[-1].item)); } -#line 29909 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29900 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1409: -#line 9880 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9871 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_password((yyloc), (yyvsp[-1].item)); } -#line 29917 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29908 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1410: -#line 9884 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9875 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_quarter((yyloc), (yyvsp[-1].item)); } -#line 29925 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29916 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1411: -#line 9888 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9879 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_repeat((yyloc), (yyvsp[-3].item),(yyvsp[-1].item)); } -#line 29933 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29924 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1412: -#line 9892 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9883 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_replace((yyloc), (yyvsp[-5].item),(yyvsp[-3].item),(yyvsp[-1].item)); } -#line 29941 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29932 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1413: -#line 9896 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9887 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_reverse((yyloc), (yyvsp[-1].item)); } -#line 29949 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29940 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1414: -#line 9900 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9891 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_row_count((yyloc)); } -#line 29957 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29948 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1415: -#line 9904 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9895 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_round((yyloc), (yyvsp[-3].item),(yyvsp[-1].item),1); } -#line 29965 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29956 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1416: -#line 9908 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9899 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_week((yyloc), (yyvsp[-1].item), NULL); } -#line 29973 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29964 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1417: -#line 9912 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9903 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_week((yyloc), (yyvsp[-3].item), (yyvsp[-1].item)); } -#line 29981 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29972 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1418: -#line 9916 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9907 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_weight_string((yyloc), (yyvsp[-2].item), 0, 0, (yyvsp[-1].ulong_num)); } -#line 29989 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29980 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1419: -#line 9920 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9911 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_weight_string((yyloc), (yyvsp[-5].item), 0, (yyvsp[-2].ulong_num), (yyvsp[-1].ulong_num) | MY_STRXFRM_PAD_WITH_SPACE); } -#line 29998 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29989 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1420: -#line 9925 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9916 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_weight_string((yyloc), (yyvsp[-4].item), 0, (yyvsp[-1].ulong_num), MY_STRXFRM_PAD_WITH_SPACE, true); } -#line 30007 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 29998 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1421: -#line 9930 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9921 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_weight_string((yyloc), (yyvsp[-7].item), (yyvsp[-5].ulong_num), (yyvsp[-3].ulong_num), (yyvsp[-1].ulong_num)); } -#line 30015 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30006 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1423: -#line 9938 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9929 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { push_deprecated_warn(YYTHD, "CONTAINS", "MBRCONTAINS"); (yyval.item)= NEW_PTN Item_func_spatial_mbr_rel((yyloc), (yyvsp[-3].item), (yyvsp[-1].item), Item_func::SP_CONTAINS_FUNC); } -#line 30025 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30016 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1424: -#line 9944 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9935 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_spatial_collection((yyloc), (yyvsp[-1].item_list2), Geometry::wkb_geometrycollection, Geometry::wkb_point); } -#line 30035 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30026 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1425: -#line 9950 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9941 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_spatial_collection((yyloc), (yyvsp[-1].item_list2), Geometry::wkb_linestring, Geometry::wkb_point); } -#line 30045 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30036 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1426: -#line 9956 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9947 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_spatial_collection((yyloc), (yyvsp[-1].item_list2), Geometry::wkb_multilinestring, Geometry::wkb_linestring); } -#line 30055 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30046 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1427: -#line 9962 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9953 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_spatial_collection((yyloc), (yyvsp[-1].item_list2), Geometry::wkb_multipoint, Geometry::wkb_point); } -#line 30065 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30056 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1428: -#line 9968 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9959 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_spatial_collection((yyloc), (yyvsp[-1].item_list2), Geometry::wkb_multipolygon, Geometry::wkb_polygon); } -#line 30075 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30066 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1429: -#line 9974 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9965 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_point((yyloc), (yyvsp[-3].item),(yyvsp[-1].item)); } -#line 30083 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30074 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1430: -#line 9978 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9969 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_spatial_collection((yyloc), (yyvsp[-1].item_list2), Geometry::wkb_polygon, Geometry::wkb_linestring); } -#line 30093 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30084 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1431: -#line 9996 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9987 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_function_call_generic_ident_sys((yylsp[-3]), (yyvsp[-3].lex_str), (yyvsp[-1].item_list2)); } -#line 30101 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30092 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1432: -#line 10000 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9991 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_function_call_generic_2d((yyloc), (yyvsp[-5].lex_str), (yyvsp[-3].lex_str), (yyvsp[-1].item_list2)); } -#line 30109 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30100 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1433: -#line 10007 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 9998 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= (yyvsp[-1].num) | (yyvsp[0].num); } -#line 30115 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30106 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1434: -#line 10009 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10000 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= FT_BOOL; DBUG_EXECUTE_IF("simulate_bug18831513", @@ -30125,341 +30116,341 @@ MYSQLerror(NULL,thd,"syntax error"); }); } -#line 30129 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30120 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1435: -#line 10021 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10012 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= FT_NL; } -#line 30135 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30126 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1436: -#line 10022 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10013 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= FT_NL; } -#line 30141 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30132 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1437: -#line 10026 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10017 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 0; } -#line 30147 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30138 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1438: -#line 10027 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10018 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= FT_EXPAND; } -#line 30153 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30144 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1439: -#line 10031 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10022 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list2)= NULL; } -#line 30159 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30150 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1440: -#line 10032 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10023 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list2)= (yyvsp[0].item_list2); } -#line 30165 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30156 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1441: -#line 10037 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10028 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list2)= NEW_PTN PT_item_list; if ((yyval.item_list2) == NULL || (yyval.item_list2)->push_back((yyvsp[0].item))) MYSQL_YYABORT; } -#line 30175 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30166 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1442: -#line 10043 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10034 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[-2].item_list2) == NULL || (yyvsp[-2].item_list2)->push_back((yyvsp[0].item))) MYSQL_YYABORT; (yyval.item_list2)= (yyvsp[-2].item_list2); } -#line 30185 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30176 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1443: -#line 10052 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10043 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_udf_expr((yyloc), (yyvsp[-1].item), (yyvsp[0].lex_str), (yylsp[-1]).cpp); } -#line 30193 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30184 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1444: -#line 10059 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10050 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_sum_avg((yyloc), (yyvsp[-1].item), FALSE); } -#line 30201 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30192 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1445: -#line 10063 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10054 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_sum_avg((yyloc), (yyvsp[-1].item), TRUE); } -#line 30209 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30200 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1446: -#line 10067 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10058 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_sum_and((yyloc), (yyvsp[-1].item)); } -#line 30217 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30208 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1447: -#line 10071 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10062 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_sum_or((yyloc), (yyvsp[-1].item)); } -#line 30225 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30216 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1448: -#line 10075 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10066 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_sum_json_array((yyloc), (yyvsp[-1].item)); } -#line 30233 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30224 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1449: -#line 10079 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10070 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_sum_json_object((yyloc), (yyvsp[-3].item), (yyvsp[-1].item)); } -#line 30241 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30232 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1450: -#line 10083 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10074 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_sum_xor((yyloc), (yyvsp[-1].item)); } -#line 30249 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30240 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1451: -#line 10087 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10078 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_count_sym((yyloc)); } -#line 30257 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30248 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1452: -#line 10091 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10082 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_sum_count((yyloc), (yyvsp[-1].item)); } -#line 30265 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30256 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1453: -#line 10095 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10086 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= new Item_sum_count((yyloc), (yyvsp[-1].item_list2)); } -#line 30273 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30264 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1454: -#line 10099 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10090 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_sum_min((yyloc), (yyvsp[-1].item)); } -#line 30281 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30272 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1455: -#line 10108 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10099 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_sum_min((yyloc), (yyvsp[-1].item)); } -#line 30289 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30280 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1456: -#line 10112 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10103 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_sum_max((yyloc), (yyvsp[-1].item)); } -#line 30297 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30288 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1457: -#line 10116 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10107 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_sum_max((yyloc), (yyvsp[-1].item)); } -#line 30305 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30296 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1458: -#line 10120 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10111 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_sum_std((yyloc), (yyvsp[-1].item), 0); } -#line 30313 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30304 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1459: -#line 10124 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10115 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_sum_variance((yyloc), (yyvsp[-1].item), 0); } -#line 30321 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30312 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1460: -#line 10128 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10119 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_sum_std((yyloc), (yyvsp[-1].item), 1); } -#line 30329 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30320 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1461: -#line 10132 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10123 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_sum_variance((yyloc), (yyvsp[-1].item), 1); } -#line 30337 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30328 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1462: -#line 10136 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10127 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_sum_sum((yyloc), (yyvsp[-1].item), FALSE); } -#line 30345 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30336 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1463: -#line 10140 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10131 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_sum_sum((yyloc), (yyvsp[-1].item), TRUE); } -#line 30353 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30344 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1464: -#line 10147 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10138 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_func_group_concat((yyloc), (yyvsp[-4].num), (yyvsp[-3].item_list2), (yyvsp[-2].order_list), (yyvsp[-1].string)); } -#line 30361 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30352 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1465: -#line 10153 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10144 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= (yyvsp[0].item); } -#line 30367 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30358 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1466: -#line 10158 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10149 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_variable_aux_set_var((yyloc), (yyvsp[-2].lex_str), (yyvsp[0].item)); } -#line 30375 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30366 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1467: -#line 10162 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10153 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_variable_aux_ident_or_text((yyloc), (yyvsp[0].lex_str)); } -#line 30383 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30374 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1468: -#line 10166 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10157 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_variable_aux_3d((yyloc), (yyvsp[-2].var_type), (yyvsp[-1].lex_str), (yylsp[-1]), (yyvsp[0].lex_str)); } -#line 30391 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30382 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1469: -#line 10172 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10163 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num) = 0; } -#line 30397 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30388 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1470: -#line 10173 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10164 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num) = 1; } -#line 30403 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30394 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1471: -#line 10178 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10169 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.string)= new (YYTHD->mem_root) String(",", 1, &my_charset_latin1); if ((yyval.string) == NULL) MYSQL_YYABORT; } -#line 30413 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30404 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1472: -#line 10183 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10174 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.string) = (yyvsp[0].string); } -#line 30419 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30410 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1473: -#line 10187 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10178 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.order_list)= NULL; } -#line 30425 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30416 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1474: -#line 10188 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10179 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.order_list)= (yyvsp[0].order_list); } -#line 30431 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30422 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1475: -#line 10193 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10184 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyvsp[-2].order_list)->push_back((yyvsp[0].order_expr)); (yyval.order_list)= (yyvsp[-2].order_list); } -#line 30440 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30431 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1476: -#line 10198 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10189 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.order_list)= NEW_PTN PT_gorder_list(); if ((yyvsp[0].order_expr) == NULL) MYSQL_YYABORT; (yyval.order_list)->push_back((yyvsp[0].order_expr)); } -#line 30451 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30442 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1477: -#line 10208 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10199 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_in_sum_expr((yylsp[-1]), (yyvsp[0].item)); } -#line 30459 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30450 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1478: -#line 10215 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10206 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cast_type).target= ITEM_CAST_CHAR; (yyval.cast_type).charset= &my_charset_bin; @@ -30467,11 +30458,11 @@ (yyval.cast_type).length= (yyvsp[0].c_str); (yyval.cast_type).dec= NULL; } -#line 30471 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30462 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1479: -#line 10223 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10214 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cast_type).target= ITEM_CAST_CHAR; (yyval.cast_type).charset= (yyvsp[0].charset_with_flags).charset; @@ -30479,11 +30470,11 @@ (yyval.cast_type).length= (yyvsp[-1].c_str); (yyval.cast_type).dec= NULL; } -#line 30483 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30474 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1480: -#line 10231 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10222 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cast_type).target= ITEM_CAST_CHAR; (yyval.cast_type).charset= national_charset_info; @@ -30491,11 +30482,11 @@ (yyval.cast_type).length= (yyvsp[0].c_str); (yyval.cast_type).dec= NULL; } -#line 30495 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30486 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1481: -#line 10239 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10230 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cast_type).target= ITEM_CAST_SIGNED_INT; (yyval.cast_type).charset= NULL; @@ -30503,11 +30494,11 @@ (yyval.cast_type).length= NULL; (yyval.cast_type).dec= NULL; } -#line 30507 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30498 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1482: -#line 10247 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10238 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cast_type).target= ITEM_CAST_SIGNED_INT; (yyval.cast_type).charset= NULL; @@ -30515,11 +30506,11 @@ (yyval.cast_type).length= NULL; (yyval.cast_type).dec= NULL; } -#line 30519 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30510 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1483: -#line 10255 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10246 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cast_type).target= ITEM_CAST_UNSIGNED_INT; (yyval.cast_type).charset= NULL; @@ -30527,11 +30518,11 @@ (yyval.cast_type).length= NULL; (yyval.cast_type).dec= NULL; } -#line 30531 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30522 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1484: -#line 10263 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10254 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cast_type).target= ITEM_CAST_UNSIGNED_INT; (yyval.cast_type).charset= NULL; @@ -30539,11 +30530,11 @@ (yyval.cast_type).length= NULL; (yyval.cast_type).dec= NULL; } -#line 30543 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30534 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1485: -#line 10271 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10262 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cast_type).target= ITEM_CAST_DATE; (yyval.cast_type).charset= NULL; @@ -30551,11 +30542,11 @@ (yyval.cast_type).length= NULL; (yyval.cast_type).dec= NULL; } -#line 30555 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30546 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1486: -#line 10279 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10270 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cast_type).target= ITEM_CAST_TIME; (yyval.cast_type).charset= NULL; @@ -30563,11 +30554,11 @@ (yyval.cast_type).length= NULL; (yyval.cast_type).dec= (yyvsp[0].c_str); } -#line 30567 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30558 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1487: -#line 10287 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10278 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cast_type).target= ITEM_CAST_DATETIME; (yyval.cast_type).charset= NULL; @@ -30575,11 +30566,11 @@ (yyval.cast_type).length= NULL; (yyval.cast_type).dec= (yyvsp[0].c_str); } -#line 30579 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30570 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1488: -#line 10295 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10286 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cast_type).target=ITEM_CAST_DECIMAL; (yyval.cast_type).charset= NULL; @@ -30587,11 +30578,11 @@ (yyval.cast_type).length= (yyvsp[0].precision).length; (yyval.cast_type).dec= (yyvsp[0].precision).dec; } -#line 30591 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30582 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1489: -#line 10303 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10294 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.cast_type).target=ITEM_CAST_JSON; (yyval.cast_type).charset= NULL; @@ -30599,93 +30590,93 @@ (yyval.cast_type).length= NULL; (yyval.cast_type).dec= NULL; } -#line 30603 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30594 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1490: -#line 10313 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10304 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list2)= NULL; } -#line 30609 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30600 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1492: -#line 10319 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10310 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list2)= NEW_PTN PT_item_list; if ((yyval.item_list2) == NULL || (yyval.item_list2)->push_back((yyvsp[0].item))) MYSQL_YYABORT; } -#line 30619 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30610 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1493: -#line 10325 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10316 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[-2].item_list2) == NULL || (yyvsp[-2].item_list2)->push_back((yyvsp[0].item))) MYSQL_YYABORT; (yyval.item_list2)= (yyvsp[-2].item_list2); } -#line 30629 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30620 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1494: -#line 10333 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10324 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list2)= (yyvsp[0].item_list2); } -#line 30635 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30626 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1495: -#line 10334 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10325 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list2)= (yyvsp[-1].item_list2); } -#line 30641 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30632 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1496: -#line 10339 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10330 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list2)= NEW_PTN PT_item_list; if ((yyval.item_list2) == NULL || (yyval.item_list2)->push_back((yyvsp[0].item))) MYSQL_YYABORT; } -#line 30651 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30642 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1497: -#line 10345 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10336 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[-2].item_list2) == NULL || (yyvsp[-2].item_list2)->push_back((yyvsp[0].item))) MYSQL_YYABORT; (yyval.item_list2)= (yyvsp[-2].item_list2); } -#line 30661 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30652 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1498: -#line 10353 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10344 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NULL; } -#line 30667 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30658 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1499: -#line 10354 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10345 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= (yyvsp[0].item); } -#line 30673 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30664 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1500: -#line 10358 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10349 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NULL; } -#line 30679 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30670 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1501: -#line 10359 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10350 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= (yyvsp[0].item); } -#line 30685 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30676 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1502: -#line 10364 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10355 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list)= new List; if ((yyval.item_list) == NULL) @@ -30693,379 +30684,379 @@ (yyval.item_list)->push_back((yyvsp[-2].item)); (yyval.item_list)->push_back((yyvsp[0].item)); } -#line 30697 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30688 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1503: -#line 10372 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10363 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyvsp[-4].item_list)->push_back((yyvsp[-2].item)); (yyvsp[-4].item_list)->push_back((yyvsp[0].item)); (yyval.item_list)= (yyvsp[-4].item_list); } -#line 30707 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30698 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1505: -#line 10384 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10375 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table_list2)= NEW_PTN PT_table_ref_join_table((yyvsp[0].node)); } -#line 30715 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30706 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1506: -#line 10391 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10382 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.join_table_list)= NEW_PTN PT_join_table_list((yyloc), (yyvsp[0].table_list2)); } -#line 30723 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30714 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1508: -#line 10405 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10396 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table_list2)= (yyvsp[-1].table_list2); } -#line 30729 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30720 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1510: -#line 10413 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10404 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table_list2)= NEW_PTN PT_derived_table_list((yyloc), (yyvsp[-2].table_list2), (yyvsp[0].table_list2)); } -#line 30737 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30728 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1511: -#line 10433 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10424 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= NEW_PTN PT_join_table((yyvsp[-2].table_list2), (yylsp[-1]), (yyvsp[0].table_list2)); } -#line 30745 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30736 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1512: -#line 10437 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10428 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= NEW_PTN PT_join_table((yyvsp[-2].table_list2), (yylsp[-1]), (yyvsp[0].table_list2)); } -#line 30753 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30744 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1513: -#line 10443 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10434 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= NEW_PTN PT_join_table_on((yyvsp[-4].table_list2), (yylsp[-3]), (yyvsp[-2].table_list2), (yyvsp[0].item)); } -#line 30761 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30752 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1514: -#line 10449 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10440 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= NEW_PTN PT_join_table_on((yyvsp[-4].table_list2), (yylsp[-3]), (yyvsp[-2].table_list2), (yyvsp[0].item)); } -#line 30769 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30760 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1515: -#line 10455 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10446 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= NEW_PTN PT_join_table_using((yyvsp[-6].table_list2), (yylsp[-5]), (yyvsp[-4].table_list2), (yyvsp[-1].string_list)); } -#line 30777 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30768 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1516: -#line 10459 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10450 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= NEW_PTN PT_join_table((yyvsp[-3].table_list2), (yylsp[-2]), (yyvsp[0].table_list2)); } -#line 30785 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30776 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1517: -#line 10467 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10458 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= NEW_PTN PT_join_table_on((yyvsp[-6].table_list2), (yylsp[-5]), (yyvsp[-2].table_list2), (yyvsp[0].item)); } -#line 30793 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30784 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1518: -#line 10472 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10463 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= NEW_PTN PT_join_table_using((yyvsp[-8].table_list2), (yylsp[-7]), (yyvsp[-4].table_list2), (yyvsp[-1].string_list)); } -#line 30801 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30792 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1519: -#line 10476 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10467 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= NEW_PTN PT_join_table((yyvsp[-5].table_list2), (yylsp[-4]), (yyvsp[0].table_list2)); } -#line 30809 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30800 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1520: -#line 10484 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10475 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= NEW_PTN PT_join_table_on((yyvsp[-6].table_list2), (yylsp[-5]), (yyvsp[-2].table_list2), (yyvsp[0].item)); } -#line 30817 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30808 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1521: -#line 10489 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10480 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= NEW_PTN PT_join_table_using((yyvsp[-8].table_list2), (yylsp[-7]), (yyvsp[-4].table_list2), (yyvsp[-1].string_list)); } -#line 30825 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30816 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1522: -#line 10493 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10484 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= NEW_PTN PT_join_table((yyvsp[-5].table_list2), (yylsp[-4]), (yyvsp[0].table_list2)); } -#line 30833 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30824 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1523: -#line 10499 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10490 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 30839 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30830 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1524: -#line 10500 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10491 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 30845 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30836 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1525: -#line 10501 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10492 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 30851 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30842 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1526: -#line 10509 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10500 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.string_list)= NULL; } -#line 30857 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30848 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1528: -#line 10515 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10506 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.string_list)= (yyvsp[-1].string_list); } -#line 30865 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30856 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1529: -#line 10530 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10521 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table_list2)= NEW_PTN PT_table_factor_table_ident((yyvsp[-3].table), (yyvsp[-2].string_list), (yyvsp[-1].lex_str_ptr), (yyvsp[0].key_usage_list)); } -#line 30873 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30864 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1530: -#line 10534 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10525 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table_list2)= NEW_PTN PT_table_factor_select_sym((yyloc), (yyvsp[-3].optimizer_hints), (yyvsp[-2].select_options), (yyvsp[-1].item_list2), (yyvsp[0].table_expression)); } -#line 30881 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30872 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1531: -#line 10556 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10547 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table_list2)= NEW_PTN PT_table_factor_parenthesis((yyvsp[-2].table_list2), (yyvsp[0].lex_str_ptr), (yylsp[0])); } -#line 30889 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30880 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1532: -#line 10583 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10574 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table_list2)= NEW_PTN PT_select_derived_union_select((yyvsp[-1].table_list2), (yyvsp[0].node), (yylsp[0])); } -#line 30897 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30888 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1533: -#line 10587 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10578 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table_list2)= NEW_PTN PT_select_derived_union_union((yyvsp[-3].table_list2), (yylsp[-2]), (yyvsp[-1].num), (yyvsp[0].select_lex2)); } -#line 30905 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30896 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1534: -#line 10594 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10585 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* TODO: remove this semantic action (currently this removal adds shift/reduce conflict) */ } -#line 30916 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30907 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1535: -#line 10601 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10592 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_part2_derived)= NEW_PTN PT_select_part2_derived((yyvsp[-1].ulonglong_number), (yyvsp[0].item_list2)); } -#line 30924 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30915 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1536: -#line 10609 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10600 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table_list2)= NEW_PTN PT_select_derived((yylsp[0]), (yyvsp[0].table_list2)); } -#line 30932 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30923 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1537: -#line 10615 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10606 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 30938 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30929 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1538: -#line 10616 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10607 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 30944 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30935 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1539: -#line 10621 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10612 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= old_mode ? INDEX_HINT_MASK_JOIN : INDEX_HINT_MASK_ALL; } -#line 30952 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30943 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1540: -#line 10624 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10615 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= INDEX_HINT_MASK_JOIN; } -#line 30958 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30949 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1541: -#line 10625 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10616 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= INDEX_HINT_MASK_ORDER; } -#line 30964 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30955 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1542: -#line 10626 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10617 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= INDEX_HINT_MASK_GROUP; } -#line 30970 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30961 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1543: -#line 10630 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10621 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.index_hint)= INDEX_HINT_FORCE; } -#line 30976 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30967 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1544: -#line 10631 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10622 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.index_hint)= INDEX_HINT_IGNORE; } -#line 30982 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30973 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1545: -#line 10637 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10628 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { init_index_hints((yyvsp[-1].key_usage_list), (yyvsp[-5].index_hint), (yyvsp[-3].num)); (yyval.key_usage_list)= (yyvsp[-1].key_usage_list); } -#line 30991 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30982 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1546: -#line 10643 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10634 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { init_index_hints((yyvsp[-1].key_usage_list), INDEX_HINT_USE, (yyvsp[-3].num)); (yyval.key_usage_list)= (yyvsp[-1].key_usage_list); } -#line 31000 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 30991 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1548: -#line 10652 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10643 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyvsp[0].key_usage_list)->concat((yyvsp[-1].key_usage_list)); (yyval.key_usage_list)= (yyvsp[0].key_usage_list); } -#line 31009 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31000 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1549: -#line 10659 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10650 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.key_usage_list)= NULL; } -#line 31015 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31006 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1552: -#line 10669 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10660 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.key_usage_list)= new (YYTHD->mem_root) List; Index_hint *hint= new (YYTHD->mem_root) Index_hint(NULL, 0); if ((yyval.key_usage_list) == NULL || hint == NULL || (yyval.key_usage_list)->push_front(hint)) MYSQL_YYABORT; } -#line 31026 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31017 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1554: -#line 10680 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10671 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.key_usage_element)= new (YYTHD->mem_root) Index_hint((yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length); if ((yyval.key_usage_element) == NULL) MYSQL_YYABORT; } -#line 31036 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31027 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1555: -#line 10686 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10677 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.key_usage_element)= new (YYTHD->mem_root) Index_hint(STRING_WITH_LEN("PRIMARY")); if ((yyval.key_usage_element) == NULL) MYSQL_YYABORT; } -#line 31046 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31037 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1556: -#line 10695 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10686 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.key_usage_list)= new (YYTHD->mem_root) List; if ((yyval.key_usage_list) == NULL || (yyval.key_usage_list)->push_front((yyvsp[0].key_usage_element))) MYSQL_YYABORT; } -#line 31056 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31047 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1557: -#line 10701 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10692 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyval.key_usage_list)->push_front((yyvsp[0].key_usage_element))) MYSQL_YYABORT; } -#line 31065 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31056 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1558: -#line 10709 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10700 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!((yyval.string_list)= new List)) MYSQL_YYABORT; @@ -31076,11 +31067,11 @@ MYSQL_YYABORT; (yyval.string_list)->push_back(s); } -#line 31080 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31071 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1559: -#line 10720 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10711 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { String *s= new (YYTHD->mem_root) String((const char *) (yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length, @@ -31090,269 +31081,269 @@ (yyvsp[-2].string_list)->push_back(s); (yyval.string_list)= (yyvsp[-2].string_list); } -#line 31094 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31085 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1560: -#line 10732 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10723 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 31100 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31091 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1561: -#line 10733 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10724 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval)=INTERVAL_DAY_HOUR; } -#line 31106 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31097 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1562: -#line 10734 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10725 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval)=INTERVAL_DAY_MICROSECOND; } -#line 31112 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31103 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1563: -#line 10735 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10726 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval)=INTERVAL_DAY_MINUTE; } -#line 31118 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31109 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1564: -#line 10736 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10727 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval)=INTERVAL_DAY_SECOND; } -#line 31124 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31115 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1565: -#line 10737 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10728 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval)=INTERVAL_HOUR_MICROSECOND; } -#line 31130 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31121 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1566: -#line 10738 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10729 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval)=INTERVAL_HOUR_MINUTE; } -#line 31136 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31127 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1567: -#line 10739 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10730 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval)=INTERVAL_HOUR_SECOND; } -#line 31142 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31133 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1568: -#line 10740 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10731 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval)=INTERVAL_MINUTE_MICROSECOND; } -#line 31148 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31139 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1569: -#line 10741 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10732 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval)=INTERVAL_MINUTE_SECOND; } -#line 31154 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31145 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1570: -#line 10742 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10733 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval)=INTERVAL_SECOND_MICROSECOND; } -#line 31160 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31151 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1571: -#line 10743 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10734 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval)=INTERVAL_YEAR_MONTH; } -#line 31166 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31157 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1572: -#line 10747 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10738 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval_time_st)=INTERVAL_DAY; } -#line 31172 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31163 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1573: -#line 10748 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10739 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval_time_st)=INTERVAL_WEEK; } -#line 31178 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31169 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1574: -#line 10749 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10740 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval_time_st)=INTERVAL_HOUR; } -#line 31184 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31175 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1575: -#line 10750 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10741 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval_time_st)=INTERVAL_MINUTE; } -#line 31190 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31181 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1576: -#line 10751 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10742 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval_time_st)=INTERVAL_MONTH; } -#line 31196 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31187 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1577: -#line 10752 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10743 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval_time_st)=INTERVAL_QUARTER; } -#line 31202 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31193 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1578: -#line 10753 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10744 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval_time_st)=INTERVAL_SECOND; } -#line 31208 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31199 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1579: -#line 10754 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10745 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval_time_st)=INTERVAL_MICROSECOND; } -#line 31214 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31205 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1580: -#line 10755 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10746 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.interval_time_st)=INTERVAL_YEAR; } -#line 31220 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31211 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1581: -#line 10759 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10750 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {(yyval.date_time_type)= MYSQL_TIMESTAMP_DATE; } -#line 31226 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31217 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1582: -#line 10760 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10751 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {(yyval.date_time_type)= MYSQL_TIMESTAMP_TIME; } -#line 31232 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31223 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1583: -#line 10761 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10752 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {(yyval.date_time_type)= MYSQL_TIMESTAMP_DATETIME; } -#line 31238 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31229 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1584: -#line 10762 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10753 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {(yyval.date_time_type)= MYSQL_TIMESTAMP_DATETIME; } -#line 31244 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31235 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1588: -#line 10772 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10763 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str_ptr)=0; } -#line 31250 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31241 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1589: -#line 10774 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10765 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str_ptr)= (LEX_STRING*) sql_memdup(&(yyvsp[0].lex_str),sizeof(LEX_STRING)); if ((yyval.lex_str_ptr) == NULL) MYSQL_YYABORT; } -#line 31260 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31251 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1592: -#line 10787 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10778 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NULL; } -#line 31266 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31257 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1593: -#line 10789 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10780 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= new PTI_context((yyloc), (yyvsp[0].item)); } -#line 31274 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31265 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1594: -#line 10795 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10786 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NULL; } -#line 31280 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31271 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1595: -#line 10797 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10788 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= new PTI_context((yyloc), (yyvsp[0].item)); } -#line 31288 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31279 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1596: -#line 10803 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10794 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= (yyvsp[0].item); } -#line 31294 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31285 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1597: -#line 10804 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10795 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NULL; } -#line 31300 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31291 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1598: -#line 10812 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10803 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.group)= NULL; } -#line 31306 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31297 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1599: -#line 10814 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10805 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.group)= NEW_PTN PT_group((yyvsp[-1].order_list), (yyvsp[0].olap_type)); } -#line 31314 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31305 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1600: -#line 10821 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10812 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyvsp[-2].order_list)->push_back((yyvsp[0].order_expr)); (yyval.order_list)= (yyvsp[-2].order_list); } -#line 31323 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31314 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1601: -#line 10826 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10817 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.order_list)= NEW_PTN PT_order_list(); if ((yyvsp[0].order_expr) == NULL) MYSQL_YYABORT; (yyval.order_list)->push_back((yyvsp[0].order_expr)); } -#line 31334 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31325 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1602: -#line 10835 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10826 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.olap_type)= UNSPECIFIED_OLAP_TYPE; } -#line 31340 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31331 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1603: -#line 10836 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10827 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.olap_type)= CUBE_TYPE; } -#line 31346 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31337 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1604: -#line 10844 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10835 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.olap_type)= ROLLUP_TYPE; } -#line 31352 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31343 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1608: -#line 10869 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10860 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[-1].item), &(yyvsp[-1].item)); @@ -31365,327 +31356,327 @@ order->is_position= false; add_order_to_list(thd, order); } -#line 31369 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31360 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1609: -#line 10888 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10879 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.order)= NULL; } -#line 31375 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31366 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1611: -#line 10894 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10885 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.order)= NEW_PTN PT_order((yyvsp[0].order_list)); } -#line 31383 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31374 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1612: -#line 10901 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10892 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyvsp[-2].order_list)->push_back((yyvsp[0].order_expr)); (yyval.order_list)= (yyvsp[-2].order_list); } -#line 31392 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31383 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1613: -#line 10906 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10897 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.order_list)= NEW_PTN PT_order_list(); if ((yyvsp[0].order_expr) == NULL) MYSQL_YYABORT; (yyval.order_list)->push_back((yyvsp[0].order_expr)); } -#line 31403 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31394 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1614: -#line 10915 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10906 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num) = 1; } -#line 31409 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31400 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1616: -#line 10920 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10911 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num) =1; } -#line 31415 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31406 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1617: -#line 10921 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10912 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num) =0; } -#line 31421 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31412 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1618: -#line 10925 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10916 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.limit_clause)= NULL; } -#line 31427 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31418 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1620: -#line 10931 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10922 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.limit_clause)= NEW_PTN PT_limit_clause((yyvsp[0].limit_options)); } -#line 31435 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31426 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1621: -#line 10938 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10929 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.limit_options).limit= (yyvsp[0].item); (yyval.limit_options).opt_offset= NULL; (yyval.limit_options).is_offset_first= false; } -#line 31445 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31436 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1622: -#line 10944 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10935 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.limit_options).limit= (yyvsp[0].item); (yyval.limit_options).opt_offset= (yyvsp[-2].item); (yyval.limit_options).is_offset_first= true; } -#line 31455 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31446 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1623: -#line 10950 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10941 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.limit_options).limit= (yyvsp[-2].item); (yyval.limit_options).opt_offset= (yyvsp[0].item); (yyval.limit_options).is_offset_first= false; } -#line 31465 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31456 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1624: -#line 10959 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10950 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_limit_option_ident((yyloc), (yyvsp[0].lex_str), (yylsp[0]).raw); } -#line 31473 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31464 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1625: -#line 10963 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10954 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_limit_option_param_marker((yyloc), (yyvsp[0].param_marker)); } -#line 31481 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31472 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1626: -#line 10967 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10958 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_uint((yyloc), (yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length); } -#line 31489 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31480 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1627: -#line 10971 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10962 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_uint((yyloc), (yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length); } -#line 31497 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31488 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1628: -#line 10975 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10966 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_uint((yyloc), (yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length); } -#line 31505 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31496 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1629: -#line 10981 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10972 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NULL; } -#line 31511 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31502 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1630: -#line 10982 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10973 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= (yyvsp[0].item); } -#line 31517 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31508 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1631: -#line 10986 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10977 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; (yyval.ulong_num)= (ulong) my_strtoll10((yyvsp[0].lex_str).str, (char**) 0, &error); } -#line 31523 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31514 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1632: -#line 10987 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10978 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= (ulong) my_strtoll((yyvsp[0].lex_str).str, (char**) 0, 16); } -#line 31529 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31520 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1633: -#line 10988 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10979 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; (yyval.ulong_num)= (ulong) my_strtoll10((yyvsp[0].lex_str).str, (char**) 0, &error); } -#line 31535 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31526 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1634: -#line 10989 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10980 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; (yyval.ulong_num)= (ulong) my_strtoll10((yyvsp[0].lex_str).str, (char**) 0, &error); } -#line 31541 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31532 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1635: -#line 10990 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10981 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; (yyval.ulong_num)= (ulong) my_strtoll10((yyvsp[0].lex_str).str, (char**) 0, &error); } -#line 31547 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31538 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1636: -#line 10991 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10982 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; (yyval.ulong_num)= (ulong) my_strtoll10((yyvsp[0].lex_str).str, (char**) 0, &error); } -#line 31553 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31544 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1637: -#line 10995 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10986 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; (yyval.ulong_num)= (ulong) my_strtoll10((yyvsp[0].lex_str).str, (char**) 0, &error); } -#line 31559 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31550 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1638: -#line 10996 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10987 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulong_num)= (ulong) my_strtoll((yyvsp[0].lex_str).str, (char**) 0, 16); } -#line 31565 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31556 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1639: -#line 10997 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10988 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; (yyval.ulong_num)= (ulong) my_strtoll10((yyvsp[0].lex_str).str, (char**) 0, &error); } -#line 31571 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31562 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1640: -#line 10998 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10989 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; (yyval.ulong_num)= (ulong) my_strtoll10((yyvsp[0].lex_str).str, (char**) 0, &error); } -#line 31577 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31568 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1641: -#line 10999 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10990 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { MYSQL_YYABORT; } -#line 31583 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31574 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1642: -#line 11003 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10994 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; (yyval.ulonglong_number)= (ulonglong) my_strtoll10((yyvsp[0].lex_str).str, (char**) 0, &error); } -#line 31589 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31580 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1643: -#line 11004 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10995 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; (yyval.ulonglong_number)= (ulonglong) my_strtoll10((yyvsp[0].lex_str).str, (char**) 0, &error); } -#line 31595 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31586 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1644: -#line 11005 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10996 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; (yyval.ulonglong_number)= (ulonglong) my_strtoll10((yyvsp[0].lex_str).str, (char**) 0, &error); } -#line 31601 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31592 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1645: -#line 11006 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10997 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; (yyval.ulonglong_number)= (ulonglong) my_strtoll10((yyvsp[0].lex_str).str, (char**) 0, &error); } -#line 31607 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31598 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1646: -#line 11007 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 10998 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; (yyval.ulonglong_number)= (ulonglong) my_strtoll10((yyvsp[0].lex_str).str, (char**) 0, &error); } -#line 31613 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31604 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1647: -#line 11011 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11002 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; (yyval.ulonglong_number)= (ulonglong) my_strtoll10((yyvsp[0].lex_str).str, (char**) 0, &error); } -#line 31619 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31610 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1648: -#line 11012 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11003 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; (yyval.ulonglong_number)= (ulonglong) my_strtoll10((yyvsp[0].lex_str).str, (char**) 0, &error); } -#line 31625 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31616 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1649: -#line 11013 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11004 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; (yyval.ulonglong_number)= (ulonglong) my_strtoll10((yyvsp[0].lex_str).str, (char**) 0, &error); } -#line 31631 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31622 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1650: -#line 11014 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11005 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { MYSQL_YYABORT; } -#line 31637 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31628 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1651: -#line 11019 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11010 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { my_syntax_error(ER(ER_ONLY_INTEGERS_ALLOWED)); } -#line 31643 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31634 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1654: -#line 11028 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11019 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.procedure_analyse)= NULL; } -#line 31649 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31640 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1655: -#line 11031 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11022 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { push_deprecated_warn_no_replacement(YYTHD, "PROCEDURE ANALYSE"); (yyval.procedure_analyse)= NEW_PTN PT_procedure_analyse((yyvsp[-1].procedure_analyse_params)); } -#line 31658 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31649 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1656: -#line 11039 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11030 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.procedure_analyse_params).max_tree_elements= Proc_analyse_params::default_max_tree_elements; (yyval.procedure_analyse_params).max_treemem= Proc_analyse_params::default_max_treemem; } -#line 31667 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31658 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1657: -#line 11044 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11035 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.procedure_analyse_params).max_tree_elements= static_cast((yyvsp[0].ulonglong_number)); (yyval.procedure_analyse_params).max_treemem= Proc_analyse_params::default_max_treemem; } -#line 31676 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31667 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1658: -#line 11049 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11040 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.procedure_analyse_params).max_tree_elements= static_cast((yyvsp[-2].ulonglong_number)); (yyval.procedure_analyse_params).max_treemem= static_cast((yyvsp[0].ulonglong_number)); } -#line 31685 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31676 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1659: -#line 11057 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11048 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; (yyval.ulonglong_number)= (ulonglong) my_strtoll10((yyvsp[0].lex_str).str, (char**) 0, &error); @@ -31695,83 +31686,83 @@ MYSQL_YYABORT; } } -#line 31699 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31690 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1660: -#line 11070 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11061 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_var_list)= (yyvsp[-2].select_var_list); if ((yyval.select_var_list) == NULL || (yyval.select_var_list)->push_back((yyvsp[0].select_var_ident))) MYSQL_YYABORT; } -#line 31709 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31700 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1661: -#line 11076 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11067 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_var_list)= NEW_PTN PT_select_var_list; if ((yyval.select_var_list) == NULL || (yyval.select_var_list)->push_back((yyvsp[0].select_var_ident))) MYSQL_YYABORT; } -#line 31719 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31710 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1662: -#line 11085 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11076 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_var_ident)= NEW_PTN PT_select_var((yyvsp[0].lex_str)); } -#line 31727 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31718 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1663: -#line 11089 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11080 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_var_ident)= NEW_PTN PT_select_sp_var((yyvsp[0].lex_str)); } -#line 31735 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31726 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1664: -#line 11095 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11086 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.into_destination)= NULL; } -#line 31741 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31732 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1666: -#line 11101 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11092 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.into_destination)= (yyvsp[0].into_destination); } -#line 31749 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31740 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1667: -#line 11110 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11101 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.into_destination)= NEW_PTN PT_into_destination_outfile((yyvsp[-3].lex_str), (yyvsp[-2].charset), (yyvsp[-1].field_separators), (yyvsp[0].line_separators)); } -#line 31757 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31748 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1668: -#line 11114 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11105 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.into_destination)= NEW_PTN PT_into_destination_dumpfile((yyvsp[0].lex_str)); } -#line 31765 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31756 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1669: -#line 11117 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11108 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.into_destination)= (yyvsp[0].select_var_list); } -#line 31771 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31762 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1670: -#line 11126 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11117 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select)= NEW_PTN PT_select( NEW_PTN PT_select_init2(NULL, @@ -31779,20 +31770,20 @@ NEW_PTN PT_select_options_and_item_list((yyvsp[-1].select_options), (yyvsp[0].item_list2))), NULL), SQLCOM_DO); } -#line 31783 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31774 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1671: -#line 11137 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11128 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_options).query_spec_options= 0; (yyval.select_options).sql_cache= SELECT_LEX::SQL_CACHE_UNSPECIFIED; } -#line 31792 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31783 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1672: -#line 11149 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11140 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command = SQLCOM_DROP_TABLE; @@ -31801,23 +31792,23 @@ YYPS->m_lock_type= TL_UNLOCK; YYPS->m_mdl_type= MDL_EXCLUSIVE; } -#line 31805 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31796 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1673: -#line 11158 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11149 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 31811 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31802 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1674: -#line 11159 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11150 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 31817 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31808 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1675: -#line 11160 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11151 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; Alter_drop *ad= new Alter_drop(Alter_drop::KEY, (yyvsp[-3].lex_str).str); @@ -31833,28 +31824,28 @@ MDL_SHARED_UPGRADABLE)) MYSQL_YYABORT; } -#line 31837 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31828 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1676: -#line 11175 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11166 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 31843 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31834 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1677: -#line 11177 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11168 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command= SQLCOM_DROP_DB; lex->drop_if_exists=(yyvsp[-1].num); lex->name= (yyvsp[0].lex_str); } -#line 31854 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31845 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1678: -#line 11184 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11175 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -31877,11 +31868,11 @@ spname->init_qname(thd); lex->spname= spname; } -#line 31881 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31872 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1679: -#line 11207 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11198 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* Unlike DROP PROCEDURE, "DROP FUNCTION ident" should work @@ -31913,11 +31904,11 @@ spname->init_qname(thd); lex->spname= spname; } -#line 31917 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31908 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1680: -#line 11239 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11230 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; if (lex->sphead) @@ -31929,21 +31920,21 @@ lex->drop_if_exists= (yyvsp[-1].num); lex->spname= (yyvsp[0].spname); } -#line 31933 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31924 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1681: -#line 11251 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11242 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command= SQLCOM_DROP_USER; lex->drop_if_exists= (yyvsp[-2].num); } -#line 31943 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31934 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1682: -#line 11257 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11248 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_DROP_VIEW; @@ -31951,66 +31942,66 @@ YYPS->m_lock_type= TL_UNLOCK; YYPS->m_mdl_type= MDL_EXCLUSIVE; } -#line 31955 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31946 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1683: -#line 11265 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11256 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 31961 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31952 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1684: -#line 11267 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11258 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->drop_if_exists= (yyvsp[-1].num); Lex->spname= (yyvsp[0].spname); Lex->sql_command = SQLCOM_DROP_EVENT; } -#line 31971 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31962 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1685: -#line 11273 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11264 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_DROP_TRIGGER; lex->drop_if_exists= (yyvsp[-1].num); lex->spname= (yyvsp[0].spname); } -#line 31982 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31973 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1686: -#line 11280 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11271 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->ts_cmd_type= DROP_TABLESPACE; } -#line 31991 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31982 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1687: -#line 11285 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11276 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->alter_tablespace_info->ts_cmd_type= DROP_LOGFILE_GROUP; } -#line 32000 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 31991 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1688: -#line 11290 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11281 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command = SQLCOM_DROP_SERVER; Lex->m_sql_cmd= new (YYTHD->mem_root) Sql_cmd_drop_server((yyvsp[0].lex_str), (yyvsp[-1].num)); } -#line 32010 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32001 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1691: -#line 11304 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11295 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!Select->add_table_to_list(YYTHD, (yyvsp[0].table), NULL, TL_OPTION_UPDATING, @@ -32018,66 +32009,66 @@ YYPS->m_mdl_type)) MYSQL_YYABORT; } -#line 32022 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32013 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1692: -#line 11315 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11306 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table_ident_list).init(YYTHD->mem_root); if ((yyval.table_ident_list).push_back((yyvsp[0].table_ident))) MYSQL_YYABORT; // OOM } -#line 32032 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32023 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1693: -#line 11321 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11312 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table_ident_list)= (yyvsp[-2].table_ident_list); if ((yyval.table_ident_list).push_back((yyvsp[0].table_ident))) MYSQL_YYABORT; // OOM } -#line 32042 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32033 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1694: -#line 11329 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11320 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 0; } -#line 32048 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32039 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1695: -#line 11330 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11321 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 1; } -#line 32054 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32045 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1696: -#line 11334 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11325 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 0; } -#line 32060 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32051 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1697: -#line 11335 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11326 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 1; } -#line 32066 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32057 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1705: -#line 11365 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11356 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.statement)= NEW_PTN PT_insert(false, (yyvsp[-7].optimizer_hints), (yyvsp[-6].lock_type), (yyvsp[-5].is_not_empty), (yyvsp[-3].table), (yyvsp[-2].string_list), (yyvsp[-1].column_row_value_list_pair).column_list, (yyvsp[-1].column_row_value_list_pair).row_value_list, NULL, (yyvsp[0].column_value_list_pair).column_list, (yyvsp[0].column_value_list_pair).value_list); } -#line 32077 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32068 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1706: -#line 11380 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11371 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { PT_insert_values_list *one_row= NEW_PTN PT_insert_values_list; if (one_row == NULL || one_row->push_back(&(yyvsp[-1].column_value_list_pair).value_list->value)) @@ -32087,33 +32078,33 @@ NULL, (yyvsp[0].column_value_list_pair).column_list, (yyvsp[0].column_value_list_pair).value_list); } -#line 32091 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32082 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1707: -#line 11397 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11388 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.statement)= NEW_PTN PT_insert(false, (yyvsp[-7].optimizer_hints), (yyvsp[-6].lock_type), (yyvsp[-5].is_not_empty), (yyvsp[-3].table), (yyvsp[-2].string_list), (yyvsp[-1].insert_from_subquery).column_list, NULL, (yyvsp[-1].insert_from_subquery).insert_query_expression, (yyvsp[0].column_value_list_pair).column_list, (yyvsp[0].column_value_list_pair).value_list); } -#line 32102 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32093 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1708: -#line 11412 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11403 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.statement)= NEW_PTN PT_insert(true, (yyvsp[-5].optimizer_hints), (yyvsp[-4].lock_type), false, (yyvsp[-2].table), (yyvsp[-1].string_list), (yyvsp[0].column_row_value_list_pair).column_list, (yyvsp[0].column_row_value_list_pair).row_value_list, NULL, NULL, NULL); } -#line 32113 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32104 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1709: -#line 11425 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11416 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { PT_insert_values_list *one_row= NEW_PTN PT_insert_values_list; if (one_row == NULL || one_row->push_back(&(yyvsp[0].column_value_list_pair).value_list->value)) @@ -32123,34 +32114,34 @@ NULL, NULL, NULL); } -#line 32127 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32118 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1710: -#line 11440 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11431 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.statement)= NEW_PTN PT_insert(true, (yyvsp[-5].optimizer_hints), (yyvsp[-4].lock_type), false, (yyvsp[-2].table), (yyvsp[-1].string_list), (yyvsp[0].insert_from_subquery).column_list, NULL, (yyvsp[0].insert_from_subquery).insert_query_expression, NULL, NULL); } -#line 32138 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32129 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1711: -#line 11449 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11440 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lock_type)= TL_WRITE_CONCURRENT_DEFAULT; } -#line 32144 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32135 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1712: -#line 11450 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11441 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lock_type)= TL_WRITE_LOW_PRIORITY; } -#line 32150 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32141 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1713: -#line 11452 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11443 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lock_type)= TL_WRITE_CONCURRENT_DEFAULT; @@ -32159,23 +32150,23 @@ ER(ER_WARN_LEGACY_SYNTAX_CONVERTED), "INSERT DELAYED", "INSERT"); } -#line 32163 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32154 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1714: -#line 11460 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11451 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lock_type)= TL_WRITE; } -#line 32169 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32160 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1715: -#line 11464 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11455 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lock_type)= (yyvsp[0].lock_type); } -#line 32175 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32166 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1716: -#line 11466 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11457 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lock_type)= TL_WRITE_DEFAULT; @@ -32184,233 +32175,233 @@ ER(ER_WARN_LEGACY_SYNTAX_CONVERTED), "REPLACE DELAYED", "REPLACE"); } -#line 32188 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32179 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1719: -#line 11483 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11474 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.column_row_value_list_pair).column_list= NEW_PTN PT_item_list; (yyval.column_row_value_list_pair).row_value_list= (yyvsp[0].values_list); } -#line 32197 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32188 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1720: -#line 11488 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11479 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.column_row_value_list_pair).column_list= NEW_PTN PT_item_list; (yyval.column_row_value_list_pair).row_value_list= (yyvsp[0].values_list); } -#line 32206 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32197 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1721: -#line 11493 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11484 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.column_row_value_list_pair).column_list= (yyvsp[-2].item_list2); (yyval.column_row_value_list_pair).row_value_list= (yyvsp[0].values_list); } -#line 32215 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32206 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1722: -#line 11501 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11492 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.insert_from_subquery).column_list= NEW_PTN PT_item_list; (yyval.insert_from_subquery).insert_query_expression= (yyvsp[0].insert_query_expression); } -#line 32224 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32215 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1723: -#line 11506 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11497 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.insert_from_subquery).column_list= NEW_PTN PT_item_list; (yyval.insert_from_subquery).insert_query_expression= (yyvsp[0].insert_query_expression); } -#line 32233 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32224 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1724: -#line 11511 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11502 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.insert_from_subquery).column_list= (yyvsp[-2].item_list2); (yyval.insert_from_subquery).insert_query_expression= (yyvsp[0].insert_query_expression); } -#line 32242 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32233 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1725: -#line 11519 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11510 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyval.item_list2)->push_back((yyvsp[0].item))) MYSQL_YYABORT; (yyval.item_list2)= (yyvsp[-2].item_list2); } -#line 32252 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32243 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1726: -#line 11525 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11516 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list2)= NEW_PTN PT_item_list; if ((yyval.item_list2) == NULL || (yyval.item_list2)->push_back((yyvsp[0].item))) MYSQL_YYABORT; } -#line 32262 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32253 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1727: -#line 11534 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11525 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.values_list)= (yyvsp[0].values_list); } -#line 32270 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32261 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1728: -#line 11541 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11532 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.insert_query_expression)= NEW_PTN PT_insert_query_expression(false, (yyvsp[-1].create_select), (yyvsp[0].union_list)); } -#line 32278 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32269 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1729: -#line 11545 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11536 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.insert_query_expression)= NEW_PTN PT_insert_query_expression(true, (yyvsp[-2].create_select), (yyvsp[0].node)); } -#line 32286 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32277 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1732: -#line 11557 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11548 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyval.values_list)->push_back(&(yyvsp[0].item_list2)->value)) MYSQL_YYABORT; } -#line 32295 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32286 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1733: -#line 11562 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11553 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.values_list)= NEW_PTN PT_insert_values_list; if ((yyval.values_list) == NULL || (yyval.values_list)->push_back(&(yyvsp[0].item_list2)->value)) MYSQL_YYABORT; } -#line 32305 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32296 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1734: -#line 11571 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11562 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 32311 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32302 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1735: -#line 11572 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11563 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 32317 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32308 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1736: -#line 11576 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11567 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 32323 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32314 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1737: -#line 11577 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11568 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 32329 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32320 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1738: -#line 11581 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11572 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list2)= (yyvsp[-1].item_list2); } -#line 32335 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32326 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1739: -#line 11586 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11577 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list2)= NEW_PTN PT_item_list; if ((yyval.item_list2) == NULL) MYSQL_YYABORT; } -#line 32345 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32336 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1741: -#line 11596 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11587 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[-2].item_list2)->push_back((yyvsp[0].item))) MYSQL_YYABORT; (yyval.item_list2)= (yyvsp[-2].item_list2); } -#line 32355 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32346 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1742: -#line 11602 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11593 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item_list2)= NEW_PTN PT_item_list; if ((yyval.item_list2) == NULL || (yyval.item_list2)->push_back((yyvsp[0].item))) MYSQL_YYABORT; } -#line 32365 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32356 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1744: -#line 11612 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11603 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_default_value((yyloc)); } -#line 32373 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32364 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1745: -#line 11619 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11610 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.column_value_list_pair).value_list= NULL; (yyval.column_value_list_pair).column_list= NULL; } -#line 32382 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32373 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1746: -#line 11624 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11615 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.column_value_list_pair)= (yyvsp[0].column_value_list_pair); } -#line 32390 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32381 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1747: -#line 11641 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11632 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.statement)= NEW_PTN PT_update((yyvsp[-8].optimizer_hints), (yyvsp[-7].lock_type), (yyvsp[-6].is_not_empty), (yyvsp[-5].join_table_list), (yyvsp[-3].column_value_list_pair).column_list, (yyvsp[-3].column_value_list_pair).value_list, (yyvsp[-2].item), (yyvsp[-1].order), (yyvsp[0].item)); } -#line 32399 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32390 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1748: -#line 11649 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11640 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.column_value_list_pair)= (yyvsp[-2].column_value_list_pair); if ((yyval.column_value_list_pair).column_list->push_back((yyvsp[0].column_value_pair).column) || (yyval.column_value_list_pair).value_list->push_back((yyvsp[0].column_value_pair).value)) MYSQL_YYABORT; // OOM } -#line 32410 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32401 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1749: -#line 11656 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11647 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.column_value_list_pair).column_list= NEW_PTN PT_item_list; (yyval.column_value_list_pair).value_list= NEW_PTN PT_item_list; @@ -32419,86 +32410,86 @@ (yyval.column_value_list_pair).value_list->push_back((yyvsp[0].column_value_pair).value)) MYSQL_YYABORT; // OOM } -#line 32423 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32414 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1750: -#line 11668 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11659 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.column_value_pair).column= (yyvsp[-2].item); (yyval.column_value_pair).value= (yyvsp[0].item); } -#line 32432 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32423 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1751: -#line 11675 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11666 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lock_type)= TL_WRITE_DEFAULT; } -#line 32438 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32429 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1752: -#line 11676 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11667 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lock_type)= TL_WRITE_LOW_PRIORITY; } -#line 32444 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32435 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1753: -#line 11690 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11681 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.statement)= NEW_PTN PT_delete(YYTHD->mem_root, (yyvsp[-7].optimizer_hints), (yyvsp[-6].num), (yyvsp[-4].table), (yyvsp[-3].string_list), (yyvsp[-2].item), (yyvsp[-1].order), (yyvsp[0].item)); } -#line 32452 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32443 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1754: -#line 11699 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11690 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.statement)= NEW_PTN PT_delete((yyvsp[-5].optimizer_hints), (yyvsp[-4].num), (yyvsp[-3].table_ident_list), (yyvsp[-1].join_table_list), (yyvsp[0].item)); } -#line 32460 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32451 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1755: -#line 11709 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11700 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.statement)= NEW_PTN PT_delete((yyvsp[-6].optimizer_hints), (yyvsp[-5].num), (yyvsp[-3].table_ident_list), (yyvsp[-1].join_table_list), (yyvsp[0].item)); } -#line 32468 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32459 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1758: -#line 11720 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11711 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= 0; } -#line 32474 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32465 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1759: -#line 11721 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11712 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= (yyvsp[-1].opt_delete_option) | (yyvsp[0].num); } -#line 32480 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32471 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1760: -#line 11725 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11716 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.opt_delete_option)= DELETE_QUICK; } -#line 32486 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32477 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1761: -#line 11726 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11717 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.opt_delete_option)= DELETE_LOW_PRIORITY; } -#line 32492 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32483 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1762: -#line 11727 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11718 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.opt_delete_option)= DELETE_IGNORE; } -#line 32498 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32489 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1763: -#line 11732 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11723 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX* lex= Lex; lex->sql_command= SQLCOM_TRUNCATE; @@ -32506,11 +32497,11 @@ YYPS->m_lock_type= TL_WRITE; YYPS->m_mdl_type= MDL_EXCLUSIVE; } -#line 32510 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32501 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1764: -#line 11740 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11731 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX* lex= thd->lex; @@ -32519,122 +32510,122 @@ if (lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 32523 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32514 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1771: -#line 11765 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11756 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->profile_options|= PROFILE_CPU; } -#line 32531 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32522 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1772: -#line 11769 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11760 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->profile_options|= PROFILE_MEMORY; } -#line 32539 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32530 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1773: -#line 11773 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11764 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->profile_options|= PROFILE_BLOCK_IO; } -#line 32547 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32538 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1774: -#line 11777 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11768 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->profile_options|= PROFILE_CONTEXT; } -#line 32555 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32546 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1775: -#line 11781 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11772 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->profile_options|= PROFILE_PAGE_FAULTS; } -#line 32563 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32554 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1776: -#line 11785 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11776 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->profile_options|= PROFILE_IPC; } -#line 32571 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32562 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1777: -#line 11789 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11780 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->profile_options|= PROFILE_SWAPS; } -#line 32579 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32570 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1778: -#line 11793 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11784 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->profile_options|= PROFILE_SOURCE; } -#line 32587 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32578 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1779: -#line 11797 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11788 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->profile_options|= PROFILE_ALL; } -#line 32595 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32586 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1780: -#line 11804 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11795 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->query_id= 0; } -#line 32603 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32594 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1781: -#line 11808 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11799 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { int error; Lex->query_id= static_cast(my_strtoll10((yyvsp[0].lex_str).str, NULL, &error)); if (error != 0) MYSQL_YYABORT; } -#line 32614 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32605 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1782: -#line 11820 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11811 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; new (&lex->create_info) HA_CREATE_INFO; } -#line 32623 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32614 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1784: -#line 11829 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11820 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_SHOW_DATABASES; if (prepare_schema_table(YYTHD, lex, 0, SCH_SCHEMATA)) MYSQL_YYABORT; } -#line 32634 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32625 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1785: -#line 11836 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11827 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_SHOW_TABLES; @@ -32642,11 +32633,11 @@ if (prepare_schema_table(YYTHD, lex, 0, SCH_TABLE_NAMES)) MYSQL_YYABORT; } -#line 32646 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32637 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1786: -#line 11844 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11835 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_SHOW_TRIGGERS; @@ -32654,11 +32645,11 @@ if (prepare_schema_table(YYTHD, lex, 0, SCH_TRIGGERS)) MYSQL_YYABORT; } -#line 32658 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32649 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1787: -#line 11852 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11843 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_SHOW_EVENTS; @@ -32666,11 +32657,11 @@ if (prepare_schema_table(YYTHD, lex, 0, SCH_EVENTS)) MYSQL_YYABORT; } -#line 32670 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32661 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1788: -#line 11860 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11851 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_SHOW_TABLE_STATUS; @@ -32678,11 +32669,11 @@ if (prepare_schema_table(YYTHD, lex, 0, SCH_TABLES)) MYSQL_YYABORT; } -#line 32682 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32673 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1789: -#line 11868 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11859 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_SHOW_OPEN_TABLES; @@ -32690,34 +32681,34 @@ if (prepare_schema_table(YYTHD, lex, 0, SCH_OPEN_TABLES)) MYSQL_YYABORT; } -#line 32694 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32685 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1790: -#line 11876 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11867 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_SHOW_PLUGINS; if (prepare_schema_table(YYTHD, lex, 0, SCH_PLUGINS)) MYSQL_YYABORT; } -#line 32705 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32696 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1791: -#line 11883 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11874 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.db_type= (yyvsp[-1].db_type); } -#line 32711 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32702 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1792: -#line 11885 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11876 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_info.db_type= NULL; } -#line 32717 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32708 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1793: -#line 11887 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11878 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_SHOW_FIELDS; @@ -32726,63 +32717,63 @@ if (prepare_schema_table(YYTHD, lex, (yyvsp[-2].table), SCH_COLUMNS)) MYSQL_YYABORT; } -#line 32730 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32721 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1794: -#line 11896 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11887 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command = SQLCOM_SHOW_BINLOGS; } -#line 32738 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32729 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1795: -#line 11900 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11891 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command = SQLCOM_SHOW_SLAVE_HOSTS; } -#line 32746 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32737 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1796: -#line 11904 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11895 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_SHOW_BINLOG_EVENTS; } -#line 32755 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32746 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1797: -#line 11909 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11900 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[0].limit_clause) != NULL) CONTEXTUALIZE((yyvsp[0].limit_clause)); } -#line 32764 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32755 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1798: -#line 11914 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11905 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_SHOW_RELAYLOG_EVENTS; } -#line 32773 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32764 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1799: -#line 11919 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11910 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[-1].limit_clause) != NULL) CONTEXTUALIZE((yyvsp[-1].limit_clause)); } -#line 32782 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32773 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1800: -#line 11928 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11919 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[0].item) != NULL) ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); @@ -32795,51 +32786,51 @@ if (prepare_schema_table(YYTHD, lex, (yyvsp[-2].table), SCH_STATISTICS)) MYSQL_YYABORT; } -#line 32799 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32790 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1801: -#line 11941 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11932 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command= SQLCOM_SHOW_STORAGE_ENGINES; if (prepare_schema_table(YYTHD, lex, 0, SCH_ENGINES)) MYSQL_YYABORT; } -#line 32810 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32801 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1802: -#line 11948 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11939 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command= SQLCOM_SHOW_PRIVILEGES; } -#line 32819 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32810 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1803: -#line 11953 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11944 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->keep_diagnostics= DA_KEEP_DIAGNOSTICS; // SHOW WARNINGS doesn't clear them. Parse_context pc(YYTHD, Select); create_select_for_variable(&pc, "warning_count"); } -#line 32829 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32820 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1804: -#line 11959 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11950 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->keep_diagnostics= DA_KEEP_DIAGNOSTICS; // SHOW ERRORS doesn't clear them. Parse_context pc(YYTHD, Select); create_select_for_variable(&pc, "error_count"); } -#line 32839 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32830 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1805: -#line 11965 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11956 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[0].limit_clause) != NULL) CONTEXTUALIZE((yyvsp[0].limit_clause)); @@ -32847,11 +32838,11 @@ Lex->sql_command = SQLCOM_SHOW_WARNS; Lex->keep_diagnostics= DA_KEEP_DIAGNOSTICS; // SHOW WARNINGS doesn't clear them. } -#line 32851 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32842 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1806: -#line 11973 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11964 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[0].limit_clause) != NULL) CONTEXTUALIZE((yyvsp[0].limit_clause)); @@ -32859,11 +32850,11 @@ Lex->sql_command = SQLCOM_SHOW_ERRORS; Lex->keep_diagnostics= DA_KEEP_DIAGNOSTICS; // SHOW ERRORS doesn't clear them. } -#line 32863 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32854 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1807: -#line 11981 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11972 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { push_warning_printf(YYTHD, Sql_condition::SL_WARNING, ER_WARN_DEPRECATED_SYNTAX, @@ -32871,11 +32862,11 @@ "SHOW PROFILES", "Performance Schema"); Lex->sql_command = SQLCOM_SHOW_PROFILES; } -#line 32875 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32866 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1808: -#line 11989 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11980 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[0].limit_clause) != NULL) CONTEXTUALIZE((yyvsp[0].limit_clause)); @@ -32885,11 +32876,11 @@ if (prepare_schema_table(YYTHD, lex, NULL, SCH_PROFILES) != 0) YYABORT; } -#line 32889 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32880 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1809: -#line 11999 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 11990 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -32920,17 +32911,17 @@ } } } -#line 32924 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32915 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1810: -#line 12030 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12021 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command= SQLCOM_SHOW_PROCESSLIST;} -#line 32930 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32921 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1811: -#line 12032 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12023 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -32961,33 +32952,33 @@ } } } -#line 32965 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32956 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1812: -#line 12063 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12054 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_SHOW_CHARSETS; if (prepare_schema_table(YYTHD, lex, 0, SCH_CHARSETS)) MYSQL_YYABORT; } -#line 32976 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32967 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1813: -#line 12070 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12061 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_SHOW_COLLATIONS; if (prepare_schema_table(YYTHD, lex, 0, SCH_COLLATIONS)) MYSQL_YYABORT; } -#line 32987 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32978 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1814: -#line 12077 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12068 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command= SQLCOM_SHOW_GRANTS; @@ -32997,32 +32988,32 @@ memset(curr_user, 0, sizeof(st_lex_user)); lex->grant_user= curr_user; } -#line 33001 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 32992 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1815: -#line 12087 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12078 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command= SQLCOM_SHOW_GRANTS; lex->grant_user=(yyvsp[0].lex_user); lex->grant_user->auth= NULL_CSTR; } -#line 33012 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33003 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1816: -#line 12094 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12085 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command=SQLCOM_SHOW_CREATE_DB; Lex->create_info.options=(yyvsp[-1].num); Lex->name= (yyvsp[0].lex_str); } -#line 33022 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33013 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1817: -#line 12100 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12091 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command = SQLCOM_SHOW_CREATE; @@ -33031,11 +33022,11 @@ lex->only_view= 0; lex->create_info.storage_media= HA_SM_DEFAULT; } -#line 33035 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33026 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1818: -#line 12109 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12100 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command = SQLCOM_SHOW_CREATE; @@ -33043,195 +33034,195 @@ MYSQL_YYABORT; lex->only_view= 1; } -#line 33047 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33038 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1819: -#line 12117 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12108 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command = SQLCOM_SHOW_MASTER_STAT; } -#line 33055 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33046 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1820: -#line 12121 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12112 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command = SQLCOM_SHOW_SLAVE_STAT; } -#line 33063 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33054 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1821: -#line 12125 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12116 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command = SQLCOM_SHOW_CREATE_PROC; lex->spname= (yyvsp[0].spname); } -#line 33074 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33065 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1822: -#line 12132 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12123 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command = SQLCOM_SHOW_CREATE_FUNC; lex->spname= (yyvsp[0].spname); } -#line 33085 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33076 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1823: -#line 12139 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12130 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_SHOW_CREATE_TRIGGER; lex->spname= (yyvsp[0].spname); } -#line 33095 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33086 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1824: -#line 12145 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12136 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_SHOW_STATUS_PROC; if (prepare_schema_table(YYTHD, lex, 0, SCH_PROCEDURES)) MYSQL_YYABORT; } -#line 33106 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33097 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1825: -#line 12152 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12143 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_SHOW_STATUS_FUNC; if (prepare_schema_table(YYTHD, lex, 0, SCH_PROCEDURES)) MYSQL_YYABORT; } -#line 33117 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33108 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1826: -#line 12159 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12150 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command= SQLCOM_SHOW_PROC_CODE; Lex->spname= (yyvsp[0].spname); } -#line 33126 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33117 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1827: -#line 12164 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12155 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command= SQLCOM_SHOW_FUNC_CODE; Lex->spname= (yyvsp[0].spname); } -#line 33135 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33126 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1828: -#line 12169 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12160 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->spname= (yyvsp[0].spname); Lex->sql_command = SQLCOM_SHOW_CREATE_EVENT; } -#line 33144 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33135 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1829: -#line 12174 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12165 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command= SQLCOM_SHOW_CREATE_USER; lex->grant_user=(yyvsp[0].lex_user); } -#line 33154 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33145 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1830: -#line 12183 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12174 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command= SQLCOM_SHOW_ENGINE_STATUS; } -#line 33160 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33151 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1831: -#line 12185 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12176 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command= SQLCOM_SHOW_ENGINE_MUTEX; } -#line 33166 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33157 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1832: -#line 12187 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12178 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command= SQLCOM_SHOW_ENGINE_LOGS; } -#line 33172 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33163 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1837: -#line 12201 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12192 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.simple_string)= 0; } -#line 33178 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33169 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1838: -#line 12202 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12193 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.simple_string)= (yyvsp[0].lex_str).str; } -#line 33184 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33175 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1839: -#line 12206 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12197 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->verbose=0; } -#line 33190 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33181 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1840: -#line 12207 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12198 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->verbose=1; } -#line 33196 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33187 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1843: -#line 12216 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12207 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.log_file_name = 0; } -#line 33202 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33193 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1844: -#line 12217 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12208 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.log_file_name = (yyvsp[0].lex_str).str; } -#line 33208 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33199 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1845: -#line 12221 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12212 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.pos = 4; /* skip magic number */ } -#line 33214 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33205 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1846: -#line 12222 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12213 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->mi.pos = (yyvsp[0].ulonglong_number); } -#line 33220 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33211 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1848: -#line 12228 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12219 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->wild= new (YYTHD->mem_root) String((yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length, system_charset_info); if (Lex->wild == NULL) MYSQL_YYABORT; } -#line 33231 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33222 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1849: -#line 12235 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12226 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); @@ -33239,22 +33230,22 @@ if ((yyvsp[0].item)) (yyvsp[0].item)->top_level_item(); } -#line 33243 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33234 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1851: -#line 12247 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12238 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->wild= new (YYTHD->mem_root) String((yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length, system_charset_info); if (Lex->wild == NULL) MYSQL_YYABORT; } -#line 33254 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33245 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1852: -#line 12254 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12245 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (show_compatibility_56) { @@ -33277,11 +33268,11 @@ Select->set_where_cond((yyvsp[0].item)); } } -#line 33281 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33272 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1853: -#line 12281 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12272 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->current_select()->parsing_place= CTX_SELECT_LIST; @@ -33291,59 +33282,59 @@ if (prepare_schema_table(YYTHD, lex, (yyvsp[0].table), SCH_COLUMNS)) MYSQL_YYABORT; } -#line 33295 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33286 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1854: -#line 12291 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12282 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { // Ensure we're resetting parsing context of the right select DBUG_ASSERT(Select->parsing_place == CTX_SELECT_LIST); Select->parsing_place= CTX_NONE; } -#line 33305 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33296 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1855: -#line 12297 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12288 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->describe|= DESCRIBE_NORMAL; } -#line 33313 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33304 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1857: -#line 12304 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12295 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { CONTEXTUALIZE((yyvsp[0].select)); } -#line 33319 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33310 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1858: -#line 12305 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12296 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { MAKE_CMD((yyvsp[0].statement)); } -#line 33325 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33316 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1859: -#line 12306 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12297 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { MAKE_CMD((yyvsp[0].statement)); } -#line 33331 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33322 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1860: -#line 12307 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12298 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { MAKE_CMD((yyvsp[0].statement)); } -#line 33337 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33328 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1861: -#line 12308 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12299 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { MAKE_CMD((yyvsp[0].statement)); } -#line 33343 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33334 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1862: -#line 12310 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12301 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command= SQLCOM_EXPLAIN_OTHER; if (Lex->sphead) @@ -33354,40 +33345,40 @@ } Lex->query_id= (my_thread_id)((yyvsp[0].ulong_num)); } -#line 33358 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33349 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1865: -#line 12329 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12320 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((Lex->explain_format= new Explain_format_traditional) == NULL) MYSQL_YYABORT; } -#line 33367 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33358 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1866: -#line 12334 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12325 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((Lex->explain_format= new Explain_format_traditional) == NULL) MYSQL_YYABORT; push_deprecated_warn_no_replacement(YYTHD, "EXTENDED"); } -#line 33377 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33368 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1867: -#line 12340 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12331 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((Lex->explain_format= new Explain_format_traditional) == NULL) MYSQL_YYABORT; push_deprecated_warn_no_replacement(YYTHD, "PARTITIONS"); } -#line 33387 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33378 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1868: -#line 12346 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12337 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!my_strcasecmp(system_charset_info, (yyvsp[0].lex_str).str, "JSON")) { @@ -33405,23 +33396,23 @@ MYSQL_YYABORT; } } -#line 33409 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33400 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1869: -#line 12366 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12357 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 33415 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33406 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1870: -#line 12367 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12358 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->wild= (yyvsp[0].string); } -#line 33421 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33412 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1871: -#line 12369 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12360 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->wild= new (YYTHD->mem_root) String((const char*) (yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length, @@ -33429,28 +33420,28 @@ if (Lex->wild == NULL) MYSQL_YYABORT; } -#line 33433 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33424 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1872: -#line 12383 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12374 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command= SQLCOM_FLUSH; lex->type= 0; lex->no_write_to_binlog= (yyvsp[0].num); } -#line 33444 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33435 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1873: -#line 12390 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12381 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 33450 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33441 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1874: -#line 12395 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12386 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= REFRESH_TABLES; /* @@ -33460,29 +33451,29 @@ YYPS->m_lock_type= TL_READ_NO_INSERT; YYPS->m_mdl_type= MDL_SHARED_HIGH_PRIO; } -#line 33464 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33455 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1875: -#line 12404 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12395 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 33470 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33461 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1876: -#line 12405 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12396 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 33476 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33467 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1878: -#line 12410 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12401 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 33482 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33473 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1879: -#line 12412 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12403 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { TABLE_LIST *tables= Lex->query_tables; Lex->type|= REFRESH_READ_LOCK; @@ -33493,11 +33484,11 @@ tables->open_type= OT_BASE_ONLY; /* Ignore temporary tables. */ } } -#line 33497 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33488 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1880: -#line 12423 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12414 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (Lex->query_tables == NULL) // Table list can't be empty { @@ -33505,11 +33496,11 @@ MYSQL_YYABORT; } } -#line 33509 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33500 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1881: -#line 12431 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12422 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { TABLE_LIST *tables= Lex->query_tables; Lex->type|= REFRESH_FOR_EXPORT; @@ -33520,188 +33511,188 @@ tables->open_type= OT_BASE_ONLY; /* Ignore temporary tables. */ } } -#line 33524 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33515 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1883: -#line 12446 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12437 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 33530 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33521 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1884: -#line 12451 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12442 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= REFRESH_ERROR_LOG; } -#line 33536 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33527 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1885: -#line 12453 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12444 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= REFRESH_ENGINE_LOG; } -#line 33542 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33533 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1886: -#line 12455 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12446 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= REFRESH_GENERAL_LOG; } -#line 33548 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33539 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1887: -#line 12457 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12448 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= REFRESH_SLOW_LOG; } -#line 33554 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33545 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1888: -#line 12459 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12450 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= REFRESH_BINARY_LOG; } -#line 33560 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33551 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1889: -#line 12461 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12452 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= REFRESH_RELAY_LOG; } -#line 33566 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33557 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1890: -#line 12463 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12454 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { push_deprecated_warn_no_replacement(YYTHD, "FLUSH QUERY CACHE"); Lex->type|= REFRESH_QUERY_CACHE_FREE; } -#line 33575 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33566 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1891: -#line 12468 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12459 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= REFRESH_HOSTS; } -#line 33581 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33572 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1892: -#line 12470 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12461 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= REFRESH_GRANT; } -#line 33587 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33578 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1893: -#line 12472 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12463 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= REFRESH_LOG; } -#line 33593 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33584 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1894: -#line 12474 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12465 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= REFRESH_STATUS; } -#line 33599 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33590 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1895: -#line 12476 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12467 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= REFRESH_DES_KEY_FILE; } -#line 33605 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33596 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1896: -#line 12478 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12469 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= REFRESH_USER_RESOURCES; } -#line 33611 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33602 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1897: -#line 12480 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12471 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= REFRESH_OPTIMIZER_COSTS; } -#line 33617 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33608 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1898: -#line 12484 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12475 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 33623 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33614 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1899: -#line 12485 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12476 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 33629 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33620 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1900: -#line 12490 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12481 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command= SQLCOM_RESET; lex->type=0; } -#line 33638 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33629 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1901: -#line 12495 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12486 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 33644 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33635 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1904: -#line 12504 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12495 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= REFRESH_SLAVE; } -#line 33650 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33641 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1906: -#line 12506 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12497 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type|= REFRESH_MASTER; } -#line 33656 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33647 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1907: -#line 12508 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12499 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { push_deprecated_warn_no_replacement(YYTHD, "RESET QUERY CACHE"); Lex->type|= REFRESH_QUERY_CACHE; } -#line 33665 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33656 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1908: -#line 12515 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12506 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->reset_slave_info.all= false; } -#line 33671 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33662 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1909: -#line 12516 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12507 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->reset_slave_info.all= true; } -#line 33677 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33668 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1910: -#line 12521 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12512 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->type=0; lex->sql_command = SQLCOM_PURGE; } -#line 33687 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33678 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1911: -#line 12527 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12518 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 33693 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33684 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1913: -#line 12536 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12527 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->to_log = (yyvsp[0].lex_str).str; } -#line 33701 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33692 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1914: -#line 12540 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12531 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); @@ -33710,11 +33701,11 @@ lex->purge_value_list.push_front((yyvsp[0].item)); lex->sql_command= SQLCOM_PURGE_BEFORE; } -#line 33714 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33705 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1915: -#line 12554 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12545 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); @@ -33723,39 +33714,39 @@ lex->kill_value_list.push_front((yyvsp[0].item)); lex->sql_command= SQLCOM_KILL; } -#line 33727 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33718 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1916: -#line 12565 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12556 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type= 0; } -#line 33733 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33724 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1917: -#line 12566 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12557 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type= 0; } -#line 33739 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33730 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1918: -#line 12567 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12558 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->type= ONLY_KILL_QUERY; } -#line 33745 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33736 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1919: -#line 12574 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12565 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command=SQLCOM_CHANGE_DB; lex->select_lex->db= (yyvsp[0].lex_str).str; } -#line 33755 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33746 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1920: -#line 12585 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12576 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -33767,11 +33758,11 @@ MYSQL_YYABORT; } } -#line 33771 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33762 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1921: -#line 12597 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12588 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command= SQLCOM_LOAD; @@ -33781,11 +33772,11 @@ if (!(lex->exchange= new sql_exchange((yyvsp[0].lex_str).str, 0, (yyvsp[-5].filetype)))) MYSQL_YYABORT; } -#line 33785 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33776 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1922: -#line 12607 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12598 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; /* Fix lock for LOAD DATA CONCURRENT REPLACE */ @@ -33803,274 +33794,274 @@ if (lex->local_file && lex->duplicates == DUP_ERROR) lex->set_ignore(true); } -#line 33807 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33798 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1923: -#line 12625 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12616 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->exchange->cs= (yyvsp[0].charset); } -#line 33813 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33804 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1924: -#line 12629 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12620 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->exchange->field.merge_field_separators((yyvsp[-4].field_separators)); Lex->exchange->line.merge_line_separators((yyvsp[-3].line_separators)); } -#line 33822 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33813 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1925: -#line 12636 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12627 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.filetype)= FILETYPE_CSV; } -#line 33828 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33819 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1926: -#line 12637 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12628 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.filetype)= FILETYPE_XML; } -#line 33834 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33825 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1927: -#line 12641 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12632 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)=0;} -#line 33840 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33831 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1928: -#line 12642 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12633 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)=1;} -#line 33846 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33837 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1929: -#line 12646 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12637 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lock_type)= TL_WRITE_DEFAULT; } -#line 33852 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33843 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1930: -#line 12647 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12638 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lock_type)= TL_WRITE_CONCURRENT_INSERT; } -#line 33858 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33849 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1931: -#line 12648 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12639 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lock_type)= TL_WRITE_LOW_PRIORITY; } -#line 33864 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33855 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1932: -#line 12652 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12643 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->duplicates=DUP_ERROR; } -#line 33870 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33861 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1933: -#line 12653 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12644 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->duplicates=DUP_REPLACE; } -#line 33876 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33867 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1934: -#line 12654 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12645 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->set_ignore(true); } -#line 33882 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33873 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1935: -#line 12658 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12649 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.field_separators).cleanup(); } -#line 33888 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33879 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1936: -#line 12659 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12650 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.field_separators)= (yyvsp[0].field_separators); } -#line 33894 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33885 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1937: -#line 12664 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12655 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.field_separators)= (yyvsp[-1].field_separators); (yyval.field_separators).merge_field_separators((yyvsp[0].field_separators)); } -#line 33903 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33894 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1939: -#line 12673 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12664 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.field_separators).cleanup(); (yyval.field_separators).field_term= (yyvsp[0].string); } -#line 33912 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33903 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1940: -#line 12678 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12669 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.field_separators).cleanup(); (yyval.field_separators).enclosed= (yyvsp[0].string); (yyval.field_separators).opt_enclosed= 1; } -#line 33922 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33913 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1941: -#line 12684 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12675 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.field_separators).cleanup(); (yyval.field_separators).enclosed= (yyvsp[0].string); } -#line 33931 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33922 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1942: -#line 12689 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12680 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.field_separators).cleanup(); (yyval.field_separators).escaped= (yyvsp[0].string); } -#line 33940 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33931 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1943: -#line 12696 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12687 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.line_separators).cleanup(); } -#line 33946 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33937 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1944: -#line 12697 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12688 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.line_separators)= (yyvsp[0].line_separators); } -#line 33952 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33943 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1945: -#line 12702 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12693 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.line_separators)= (yyvsp[-1].line_separators); (yyval.line_separators).merge_line_separators((yyvsp[0].line_separators)); } -#line 33961 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33952 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1947: -#line 12711 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12702 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.line_separators).cleanup(); (yyval.line_separators).line_term= (yyvsp[0].string); } -#line 33970 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33961 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1948: -#line 12716 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12707 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.line_separators).cleanup(); (yyval.line_separators).line_start= (yyvsp[0].string); } -#line 33979 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33970 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1949: -#line 12723 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12714 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { } -#line 33985 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33976 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1950: -#line 12725 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12716 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->exchange->line.line_term = (yyvsp[0].string); } -#line 33991 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33982 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1952: -#line 12730 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12721 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { DBUG_ASSERT(Lex->exchange != 0); Lex->exchange->skip_lines= atol((yyvsp[-1].lex_str).str); } -#line 34000 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33991 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1953: -#line 12737 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12728 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { } -#line 34006 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 33997 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1954: -#line 12739 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12730 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { } -#line 34012 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34003 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1955: -#line 12743 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12734 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34018 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34009 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1956: -#line 12744 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12735 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34024 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34015 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1957: -#line 12745 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12736 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34030 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34021 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1958: -#line 12750 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12741 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->load_field_list.push_back((yyvsp[0].item)); } -#line 34036 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34027 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1959: -#line 12752 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12743 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->load_field_list.push_back((yyvsp[0].item)); } -#line 34042 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34033 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1960: -#line 12756 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12747 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyval.item)); } -#line 34048 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34039 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1961: -#line 12758 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12749 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= new (YYTHD->mem_root) Item_user_var_as_out_param((yyvsp[0].lex_str)); if ((yyval.item) == NULL) MYSQL_YYABORT; } -#line 34058 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34049 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1962: -#line 12766 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12757 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34064 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34055 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1963: -#line 12767 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12758 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34070 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34061 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1966: -#line 12777 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12768 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[-2].item), &(yyvsp[-2].item)); ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); @@ -34088,47 +34079,47 @@ MYSQL_YYABORT; (yyvsp[0].item)->item_name.copy((yylsp[-1]).cpp.start, length, YYTHD->charset()); } -#line 34092 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34083 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1967: -#line 12800 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12791 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.text_literal)= NEW_PTN PTI_text_literal_text_string((yyloc), YYTHD->m_parser_state->m_lip.text_string_is_7bit(), (yyvsp[0].lex_str)); } -#line 34101 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34092 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1968: -#line 12805 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12796 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.text_literal)= NEW_PTN PTI_text_literal_nchar_string((yyloc), YYTHD->m_parser_state->m_lip.text_string_is_7bit(), (yyvsp[0].lex_str)); } -#line 34110 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34101 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1969: -#line 12810 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12801 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.text_literal)= NEW_PTN PTI_text_literal_underscore_charset((yyloc), YYTHD->m_parser_state->m_lip.text_string_is_7bit(), (yyvsp[-1].charset), (yyvsp[0].lex_str)); } -#line 34119 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34110 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1970: -#line 12815 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12806 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.text_literal)= NEW_PTN PTI_text_literal_concat((yyloc), YYTHD->m_parser_state->m_lip.text_string_is_7bit(), (yyvsp[-1].text_literal), (yyvsp[0].lex_str)); } -#line 34128 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34119 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1971: -#line 12823 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12814 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.string)= new (YYTHD->mem_root) String((yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length, @@ -34136,71 +34127,71 @@ if ((yyval.string) == NULL) MYSQL_YYABORT; } -#line 34140 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34131 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1972: -#line 12831 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12822 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX_STRING s= Item_hex_string::make_hex_str((yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length); (yyval.string)= new (YYTHD->mem_root) String(s.str, s.length, &my_charset_bin); if ((yyval.string) == NULL) MYSQL_YYABORT; } -#line 34151 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34142 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1973: -#line 12838 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12829 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX_STRING s= Item_bin_string::make_bin_str((yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length); (yyval.string)= new (YYTHD->mem_root) String(s.str, s.length, &my_charset_bin); if ((yyval.string) == NULL) MYSQL_YYABORT; } -#line 34162 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34153 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1974: -#line 12848 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12839 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.param_marker)= NEW_PTN Item_param((yyloc), (uint) ((yylsp[0]).raw.start - YYLIP->get_buf())); } -#line 34171 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34162 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1975: -#line 12855 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12846 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyval.item)); } -#line 34177 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34168 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1976: -#line 12856 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12847 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyval.item)); } -#line 34183 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34174 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1977: -#line 12858 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12849 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { ITEMIZE((yyvsp[0].item), &(yyvsp[0].item)); (yyvsp[0].item)->max_length++; (yyval.item)= ((Item_int *)(yyvsp[0].item))->neg(); } -#line 34194 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34185 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1978: -#line 12868 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12859 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= (yyvsp[0].text_literal); } -#line 34200 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34191 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1981: -#line 12872 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12863 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex_input_stream *lip= YYLIP; /* @@ -34213,213 +34204,213 @@ (yyval.item)= NEW_PTN Item_null((yyloc)); lip->next_state= MY_LEX_OPERATOR_OR_IDENT; } -#line 34217 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34208 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1982: -#line 12885 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12876 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_int((yyloc), NAME_STRING("FALSE"), 0, 1); } -#line 34225 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34216 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1983: -#line 12889 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12880 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_int((yyloc), NAME_STRING("TRUE"), 1, 1); } -#line 34233 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34224 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1984: -#line 12893 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12884 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_hex_string((yyloc), (yyvsp[0].lex_str)); } -#line 34241 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34232 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1985: -#line 12897 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12888 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_bin_string((yyloc), (yyvsp[0].lex_str)); } -#line 34249 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34240 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1986: -#line 12901 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12892 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_literal_underscore_charset_hex_num((yyloc), (yyvsp[-1].charset), (yyvsp[0].lex_str)); } -#line 34257 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34248 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1987: -#line 12905 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12896 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_literal_underscore_charset_bin_num((yyloc), (yyvsp[-1].charset), (yyvsp[0].lex_str)); } -#line 34265 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34256 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1988: -#line 12912 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12903 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_num_literal_num((yyloc), (yyvsp[0].lex_str)); } -#line 34273 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34264 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1989: -#line 12916 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12907 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_num_literal_num((yyloc), (yyvsp[0].lex_str)); } -#line 34281 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34272 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1990: -#line 12920 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12911 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_uint((yyloc), (yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length); } -#line 34289 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34280 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1991: -#line 12924 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12915 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_decimal((yyloc), (yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length, YYCSCL); } -#line 34297 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34288 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1992: -#line 12928 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12919 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_float((yyloc), (yyvsp[0].lex_str).str, (yyvsp[0].lex_str).length); } -#line 34305 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34296 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1993: -#line 12936 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12927 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_temporal_literal((yyloc), (yyvsp[0].lex_str), MYSQL_TYPE_DATE, YYCSCL); } -#line 34313 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34304 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1994: -#line 12940 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12931 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_temporal_literal((yyloc), (yyvsp[0].lex_str), MYSQL_TYPE_TIME, YYCSCL); } -#line 34321 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34312 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1995: -#line 12944 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12935 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_temporal_literal((yyloc), (yyvsp[0].lex_str), MYSQL_TYPE_DATETIME, YYCSCL); } -#line 34329 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34320 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1998: -#line 12963 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12954 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_table_wild((yyloc), NULL, (yyvsp[-2].lex_str).str); } -#line 34337 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34328 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 1999: -#line 12967 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12958 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_table_wild((yyloc), (yyvsp[-4].lex_str).str, (yyvsp[-2].lex_str).str); } -#line 34345 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34336 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2000: -#line 12974 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12965 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.order_expr)= NEW_PTN PT_order_expr((yyvsp[-1].item), (yyvsp[0].num)); } -#line 34353 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34344 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2001: -#line 12981 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12972 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.order_expr)= NEW_PTN PT_order_expr((yyvsp[0].item), 1); } -#line 34361 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34352 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2002: -#line 12985 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12976 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { push_deprecated_warn(YYTHD, "GROUP BY with ASC/DESC", "GROUP BY ... ORDER BY ... ASC/DESC"); (yyval.order_expr)= NEW_PTN PT_order_expr((yyvsp[-1].item), (yyvsp[0].num)); } -#line 34371 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34362 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2003: -#line 12994 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12985 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_simple_ident_ident((yyloc), (yyvsp[0].lex_str)); } -#line 34379 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34370 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2005: -#line 13002 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 12993 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_simple_ident_nospvar_ident((yyloc), (yyvsp[0].lex_str)); } -#line 34387 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34378 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2007: -#line 13010 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13001 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_simple_ident_q_2d((yyloc), (yyvsp[-2].lex_str).str, (yyvsp[0].lex_str).str); } -#line 34395 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34386 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2008: -#line 13014 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13005 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { push_deprecated_warn(YYTHD, ".
.", "the table.column name without a dot prefix"); (yyval.item)= NEW_PTN PTI_simple_ident_q_3d((yyloc), NULL, (yyvsp[-2].lex_str).str, (yyvsp[0].lex_str).str); } -#line 34405 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34396 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2009: -#line 13020 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13011 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN PTI_simple_ident_q_3d((yyloc), (yyvsp[-4].lex_str).str, (yyvsp[-2].lex_str).str, (yyvsp[0].lex_str).str); } -#line 34413 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34404 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2010: -#line 13026 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13017 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)=(yyvsp[0].lex_str);} -#line 34419 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34410 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2011: -#line 13028 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13019 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { TABLE_LIST *table= Select->table_list.first; if (my_strcasecmp(table_alias_charset, (yyvsp[-4].lex_str).str, table->db)) @@ -34435,11 +34426,11 @@ } (yyval.lex_str)=(yyvsp[0].lex_str); } -#line 34439 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34430 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2012: -#line 13044 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13035 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { TABLE_LIST *table= Select->table_list.first; if (my_strcasecmp(table_alias_charset, (yyvsp[-2].lex_str).str, table->alias)) @@ -34449,30 +34440,30 @@ } (yyval.lex_str)=(yyvsp[0].lex_str); } -#line 34453 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34444 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2013: -#line 13054 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13045 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { push_deprecated_warn(YYTHD, ".", "the column name without a dot prefix"); (yyval.lex_str)=(yyvsp[0].lex_str); } -#line 34462 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34453 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2014: -#line 13062 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13053 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table)= NEW_PTN Table_ident(to_lex_cstring((yyvsp[0].lex_str))); if ((yyval.table) == NULL) MYSQL_YYABORT; } -#line 34472 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34463 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2015: -#line 13068 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13059 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (YYTHD->get_protocol()->has_client_capability(CLIENT_NO_SCHEMA)) (yyval.table)= NEW_PTN Table_ident(to_lex_cstring((yyvsp[0].lex_str))); @@ -34482,11 +34473,11 @@ if ((yyval.table) == NULL) MYSQL_YYABORT; } -#line 34486 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34477 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2016: -#line 13078 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13069 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* For Delphi */ push_deprecated_warn(YYTHD, ".
", "the table name without a dot prefix"); @@ -34494,49 +34485,49 @@ if ((yyval.table) == NULL) MYSQL_YYABORT; } -#line 34498 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34489 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2017: -#line 13089 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13080 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table_ident)= NEW_PTN Table_ident(to_lex_cstring((yyvsp[-1].lex_str))); if ((yyval.table_ident) == NULL) MYSQL_YYABORT; } -#line 34508 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34499 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2018: -#line 13095 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13086 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.table_ident)= NEW_PTN Table_ident(YYTHD, to_lex_cstring((yyvsp[-3].lex_str)), to_lex_cstring((yyvsp[-1].lex_str)), 0); if ((yyval.table_ident) == NULL) MYSQL_YYABORT; } -#line 34519 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34510 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2019: -#line 13105 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13096 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX_CSTRING db= { any_db, strlen(any_db) }; (yyval.table)= new Table_ident(YYTHD, db, to_lex_cstring((yyvsp[0].lex_str)), 0); if ((yyval.table) == NULL) MYSQL_YYABORT; } -#line 34530 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34521 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2020: -#line 13114 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13105 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)= (yyvsp[0].lex_str); } -#line 34536 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34527 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2021: -#line 13116 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13107 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; @@ -34563,11 +34554,11 @@ MYSQL_YYABORT; } } -#line 34567 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34558 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2022: -#line 13146 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13137 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!strcont((yyvsp[0].lex_str).str, "\n")) (yyval.lex_str)= (yyvsp[0].lex_str); @@ -34577,11 +34568,11 @@ MYSQL_YYABORT; } } -#line 34581 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34572 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2023: -#line 13159 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13150 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (strcont((yyvsp[0].lex_str).str, ".")) (yyval.lex_str)= (yyvsp[0].lex_str); @@ -34591,11 +34582,11 @@ MYSQL_YYABORT; } } -#line 34595 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34586 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2024: -#line 13172 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13163 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; @@ -34608,11 +34599,11 @@ MYSQL_YYABORT; } } -#line 34612 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34603 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2025: -#line 13188 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13179 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; @@ -34625,11 +34616,11 @@ MYSQL_YYABORT; } } -#line 34629 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34620 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2026: -#line 13204 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13195 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; @@ -34643,17 +34634,17 @@ MYSQL_YYABORT; } } -#line 34647 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34638 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2027: -#line 13220 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13211 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)=(yyvsp[0].lex_str); } -#line 34653 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34644 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2028: -#line 13222 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13213 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; (yyval.lex_str).str= thd->strmake((yyvsp[0].symbol).str, (yyvsp[0].symbol).length); @@ -34661,17 +34652,17 @@ MYSQL_YYABORT; (yyval.lex_str).length= (yyvsp[0].symbol).length; } -#line 34665 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34656 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2029: -#line 13232 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13223 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)=(yyvsp[0].lex_str); } -#line 34671 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34662 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2030: -#line 13234 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13225 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; (yyval.lex_str).str= thd->strmake((yyvsp[0].symbol).str, (yyvsp[0].symbol).length); @@ -34679,29 +34670,29 @@ MYSQL_YYABORT; (yyval.lex_str).length= (yyvsp[0].symbol).length; } -#line 34683 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34674 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2031: -#line 13244 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13235 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)=(yyvsp[0].lex_str);} -#line 34689 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34680 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2032: -#line 13245 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13236 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)=(yyvsp[0].lex_str);} -#line 34695 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34686 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2033: -#line 13246 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13237 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_str)=(yyvsp[0].lex_str);} -#line 34701 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34692 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2034: -#line 13251 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13242 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; if (!((yyval.lex_user)=(LEX_USER*) thd->alloc(sizeof(st_lex_user)))) @@ -34729,11 +34720,11 @@ system_charset_info, 0)) MYSQL_YYABORT; } -#line 34733 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34724 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2035: -#line 13279 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13270 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; if (!((yyval.lex_user)=(LEX_USER*) thd->alloc(sizeof(st_lex_user)))) @@ -34770,11 +34761,11 @@ my_casedn_str(system_charset_info, (yyvsp[0].lex_str).str); (yyval.lex_user)->host.str= (yyvsp[0].lex_str).str; } -#line 34774 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34765 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2036: -#line 13316 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13307 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!((yyval.lex_user)=(LEX_USER*) YYTHD->alloc(sizeof(st_lex_user)))) MYSQL_YYABORT; @@ -34785,2332 +34776,2332 @@ */ memset((yyval.lex_user), 0, sizeof(LEX_USER)); } -#line 34789 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34780 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2037: -#line 13330 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13321 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34795 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34786 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2038: -#line 13331 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13322 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34801 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34792 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2039: -#line 13332 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13323 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34807 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34798 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2040: -#line 13333 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13324 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34813 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34804 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2041: -#line 13334 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13325 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34819 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34810 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2042: -#line 13335 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13326 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34825 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34816 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2043: -#line 13336 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13327 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34831 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34822 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2044: -#line 13337 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13328 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34837 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34828 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2045: -#line 13338 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13329 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34843 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34834 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2046: -#line 13339 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13330 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34849 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34840 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2047: -#line 13340 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13331 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34855 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34846 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2048: -#line 13341 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13332 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34861 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34852 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2049: -#line 13342 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13333 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34867 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34858 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2050: -#line 13343 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13334 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34873 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34864 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2051: -#line 13344 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13335 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34879 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34870 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2052: -#line 13345 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13336 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34885 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34876 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2053: -#line 13346 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13337 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34891 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34882 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2054: -#line 13347 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13338 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34897 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34888 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2055: -#line 13348 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13339 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34903 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34894 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2056: -#line 13349 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13340 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34909 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34900 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2057: -#line 13350 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13341 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34915 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34906 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2058: -#line 13351 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13342 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34921 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34912 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2059: -#line 13352 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13343 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34927 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34918 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2060: -#line 13353 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13344 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34933 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34924 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2061: -#line 13354 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13345 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34939 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34930 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2062: -#line 13355 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13346 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34945 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34936 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2063: -#line 13356 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13347 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34951 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34942 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2064: -#line 13357 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13348 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34957 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34948 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2065: -#line 13358 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13349 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34963 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34954 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2066: -#line 13359 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13350 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34969 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34960 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2067: -#line 13360 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13351 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34975 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34966 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2068: -#line 13361 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13352 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34981 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34972 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2069: -#line 13362 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13353 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34987 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34978 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2070: -#line 13363 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13354 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34993 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34984 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2071: -#line 13364 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13355 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 34999 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34990 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2072: -#line 13365 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13356 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35005 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 34996 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2073: -#line 13366 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13357 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35011 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35002 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2074: -#line 13367 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13358 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35017 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35008 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2075: -#line 13368 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13359 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35023 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35014 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2076: -#line 13369 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13360 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35029 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35020 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2077: -#line 13370 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13361 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35035 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35026 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2078: -#line 13371 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13362 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35041 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35032 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2079: -#line 13372 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13363 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35047 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35038 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2080: -#line 13373 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13364 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35053 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35044 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2081: -#line 13374 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13365 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35059 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35050 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2082: -#line 13375 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13366 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35065 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35056 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2083: -#line 13376 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13367 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35071 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35062 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2084: -#line 13377 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13368 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35077 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35068 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2085: -#line 13378 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13369 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35083 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35074 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2086: -#line 13379 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13370 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35089 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35080 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2087: -#line 13380 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13371 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35095 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35086 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2088: -#line 13381 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13372 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35101 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35092 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2089: -#line 13382 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13373 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35107 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35098 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2090: -#line 13383 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13374 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35113 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35104 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2091: -#line 13384 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13375 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35119 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35110 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2092: -#line 13385 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13376 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35125 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35116 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2093: -#line 13386 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13377 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35131 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35122 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2094: -#line 13396 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13387 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35137 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35128 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2095: -#line 13397 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13388 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35143 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35134 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2096: -#line 13398 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13389 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35149 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35140 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2097: -#line 13399 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13390 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35155 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35146 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2098: -#line 13400 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13391 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35161 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35152 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2099: -#line 13401 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13392 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35167 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35158 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2100: -#line 13402 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13393 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35173 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35164 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2101: -#line 13403 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13394 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35179 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35170 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2102: -#line 13404 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13395 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35185 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35176 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2103: -#line 13405 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13396 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35191 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35182 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2104: -#line 13406 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13397 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35197 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35188 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2105: -#line 13407 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13398 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35203 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35194 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2106: -#line 13408 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13399 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35209 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35200 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2107: -#line 13409 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13400 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35215 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35206 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2108: -#line 13410 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13401 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35221 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35212 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2109: -#line 13411 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13402 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35227 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35218 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2110: -#line 13412 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13403 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35233 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35224 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2111: -#line 13413 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13404 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35239 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35230 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2112: -#line 13414 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13405 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35245 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35236 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2113: -#line 13415 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13406 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35251 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35242 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2114: -#line 13416 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13407 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35257 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35248 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2115: -#line 13417 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13408 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35263 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35254 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2116: -#line 13418 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13409 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35269 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35260 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2117: -#line 13419 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13410 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35275 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35266 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2118: -#line 13420 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13411 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35281 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35272 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2119: -#line 13421 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13412 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35287 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35278 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2120: -#line 13422 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13413 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35293 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35284 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2121: -#line 13423 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13414 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35299 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35290 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2122: -#line 13424 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13415 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35305 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35296 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2123: -#line 13425 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13416 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35311 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35302 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2124: -#line 13426 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13417 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35317 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35308 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2125: -#line 13427 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13418 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35323 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35314 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2126: -#line 13428 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13419 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35329 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35320 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2127: -#line 13429 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13420 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35335 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35326 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2128: -#line 13430 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13421 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35341 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35332 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2129: -#line 13431 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13422 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35347 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35338 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2130: -#line 13432 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13423 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35353 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35344 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2131: -#line 13433 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13424 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35359 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35350 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2132: -#line 13434 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13425 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35365 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35356 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2133: -#line 13435 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13426 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35371 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35362 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2134: -#line 13436 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13427 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35377 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35368 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2135: -#line 13437 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13428 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35383 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35374 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2136: -#line 13438 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13429 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35389 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35380 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2137: -#line 13439 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13430 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35395 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35386 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2138: -#line 13440 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13431 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35401 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35392 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2139: -#line 13441 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13432 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35407 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35398 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2140: -#line 13442 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13433 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35413 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35404 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2141: -#line 13443 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13434 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35419 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35410 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2142: -#line 13448 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13439 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35425 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35416 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2143: -#line 13449 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13440 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35431 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35422 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2144: -#line 13450 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13441 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35437 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35428 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2145: -#line 13451 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13442 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35443 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35434 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2146: -#line 13452 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13443 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35449 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35440 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2147: -#line 13453 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13444 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35455 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35446 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2148: -#line 13454 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13445 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35461 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35452 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2149: -#line 13455 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13446 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35467 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35458 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2150: -#line 13456 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13447 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35473 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35464 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2151: -#line 13457 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13448 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35479 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35470 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2152: -#line 13458 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13449 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35485 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35476 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2153: -#line 13459 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13450 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35491 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35482 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2154: -#line 13460 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13451 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35497 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35488 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2155: -#line 13461 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13452 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35503 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35494 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2156: -#line 13462 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13453 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35509 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35500 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2157: -#line 13463 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13454 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35515 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35506 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2158: -#line 13464 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13455 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35521 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35512 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2159: -#line 13465 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13456 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35527 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35518 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2160: -#line 13466 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13457 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35533 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35524 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2161: -#line 13467 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13458 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35539 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35530 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2162: -#line 13468 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13459 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35545 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35536 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2163: -#line 13469 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13460 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35551 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35542 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2164: -#line 13470 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13461 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35557 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35548 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2165: -#line 13471 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13462 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35563 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35554 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2166: -#line 13472 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13463 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35569 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35560 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2167: -#line 13473 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13464 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35575 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35566 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2168: -#line 13474 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13465 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35581 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35572 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2169: -#line 13475 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13466 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35587 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35578 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2170: -#line 13476 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13467 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35593 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35584 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2171: -#line 13477 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13468 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35599 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35590 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2172: -#line 13478 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13469 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35605 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35596 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2173: -#line 13479 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13470 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35611 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35602 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2174: -#line 13480 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13471 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35617 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35608 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2175: -#line 13481 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13472 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35623 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35614 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2176: -#line 13482 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13473 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35629 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35620 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2177: -#line 13483 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13474 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35635 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35626 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2178: -#line 13484 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13475 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35641 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35632 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2179: -#line 13485 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13476 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35647 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35638 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2180: -#line 13486 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13477 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35653 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35644 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2181: -#line 13487 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13478 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35659 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35650 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2182: -#line 13488 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13479 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35665 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35656 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2183: -#line 13489 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13480 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35671 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35662 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2184: -#line 13490 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13481 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35677 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35668 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2185: -#line 13491 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13482 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35683 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35674 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2186: -#line 13492 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13483 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35689 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35680 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2187: -#line 13493 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13484 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35695 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35686 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2188: -#line 13494 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13485 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35701 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35692 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2189: -#line 13495 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13486 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35707 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35698 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2190: -#line 13496 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13487 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35713 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35704 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2191: -#line 13497 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13488 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35719 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35710 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2192: -#line 13498 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13489 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35725 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35716 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2193: -#line 13499 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13490 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35731 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35722 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2194: -#line 13500 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13491 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35737 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35728 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2195: -#line 13501 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13492 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35743 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35734 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2196: -#line 13502 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13493 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35749 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35740 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2197: -#line 13503 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13494 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35755 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35746 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2198: -#line 13504 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13495 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35761 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35752 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2199: -#line 13505 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13496 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35767 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35758 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2200: -#line 13506 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13497 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35773 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35764 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2201: -#line 13507 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13498 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35779 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35770 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2202: -#line 13508 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13499 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35785 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35776 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2203: -#line 13509 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13500 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35791 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35782 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2204: -#line 13510 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13501 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35797 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35788 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2205: -#line 13511 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13502 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35803 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35794 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2206: -#line 13512 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13503 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35809 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35800 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2207: -#line 13513 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13504 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35815 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35806 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2208: -#line 13514 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13505 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35821 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35812 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2209: -#line 13515 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13506 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35827 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35818 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2210: -#line 13516 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13507 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35833 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35824 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2211: -#line 13517 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13508 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35839 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35830 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2212: -#line 13518 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13509 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35845 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35836 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2213: -#line 13519 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13510 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35851 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35842 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2214: -#line 13520 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13511 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35857 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35848 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2215: -#line 13521 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13512 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35863 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35854 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2216: -#line 13522 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13513 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35869 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35860 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2217: -#line 13523 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13514 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35875 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35866 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2218: -#line 13524 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13515 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35881 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35872 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2219: -#line 13525 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13516 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35887 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35878 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2220: -#line 13526 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13517 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35893 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35884 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2221: -#line 13527 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13518 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35899 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35890 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2222: -#line 13528 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13519 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35905 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35896 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2223: -#line 13529 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13520 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35911 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35902 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2224: -#line 13530 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13521 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35917 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35908 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2225: -#line 13531 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13522 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35923 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35914 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2226: -#line 13532 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13523 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35929 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35920 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2227: -#line 13533 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13524 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35935 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35926 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2228: -#line 13534 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13525 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35941 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35932 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2229: -#line 13535 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13526 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35947 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35938 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2230: -#line 13536 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13527 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35953 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35944 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2231: -#line 13537 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13528 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35959 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35950 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2232: -#line 13538 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13529 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35965 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35956 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2233: -#line 13539 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13530 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35971 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35962 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2234: -#line 13540 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13531 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35977 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35968 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2235: -#line 13541 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13532 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35983 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35974 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2236: -#line 13542 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13533 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35989 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35980 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2237: -#line 13543 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13534 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 35995 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35986 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2238: -#line 13544 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13535 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36001 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35992 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2239: -#line 13545 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13536 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36007 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 35998 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2240: -#line 13546 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13537 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36013 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36004 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2241: -#line 13547 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13538 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36019 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36010 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2242: -#line 13548 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13539 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36025 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36016 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2243: -#line 13549 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13540 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36031 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36022 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2244: -#line 13550 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13541 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36037 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36028 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2245: -#line 13551 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13542 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36043 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36034 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2246: -#line 13552 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13543 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36049 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36040 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2247: -#line 13553 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13544 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36055 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36046 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2248: -#line 13554 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13545 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36061 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36052 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2249: -#line 13555 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13546 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36067 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36058 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2250: -#line 13556 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13547 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36073 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36064 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2251: -#line 13557 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13548 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36079 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36070 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2252: -#line 13558 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13549 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36085 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36076 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2253: -#line 13559 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13550 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36091 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36082 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2254: -#line 13560 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13551 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36097 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36088 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2255: -#line 13561 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13552 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36103 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36094 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2256: -#line 13562 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13553 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36109 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36100 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2257: -#line 13563 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13554 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36115 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36106 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2258: -#line 13564 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13555 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36121 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36112 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2259: -#line 13565 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13556 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36127 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36118 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2260: -#line 13566 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13557 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36133 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36124 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2261: -#line 13567 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13558 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36139 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36130 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2262: -#line 13568 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13559 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36145 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36136 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2263: -#line 13569 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13560 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36151 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36142 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2264: -#line 13570 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13561 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36157 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36148 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2265: -#line 13571 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13562 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36163 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36154 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2266: -#line 13572 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13563 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36169 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36160 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2267: -#line 13573 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13564 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36175 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36166 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2268: -#line 13574 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13565 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36181 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36172 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2269: -#line 13575 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13566 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36187 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36178 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2270: -#line 13576 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13567 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36193 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36184 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2271: -#line 13577 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13568 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36199 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36190 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2272: -#line 13578 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13569 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36205 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36196 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2273: -#line 13579 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13570 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36211 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36202 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2274: -#line 13580 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13571 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36217 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36208 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2275: -#line 13581 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13572 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36223 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36214 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2276: -#line 13582 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13573 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36229 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36220 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2277: -#line 13583 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13574 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36235 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36226 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2278: -#line 13584 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13575 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36241 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36232 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2279: -#line 13585 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13576 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36247 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36238 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2280: -#line 13586 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13577 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36253 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36244 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2281: -#line 13587 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13578 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36259 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36250 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2282: -#line 13588 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13579 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36265 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36256 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2283: -#line 13589 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13580 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36271 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36262 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2284: -#line 13590 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13581 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36277 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36268 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2285: -#line 13591 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13582 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36283 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36274 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2286: -#line 13592 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13583 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36289 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36280 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2287: -#line 13593 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13584 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36295 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36286 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2288: -#line 13594 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13585 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36301 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36292 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2289: -#line 13595 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13586 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36307 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36298 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2290: -#line 13596 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13587 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36313 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36304 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2291: -#line 13597 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13588 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36319 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36310 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2292: -#line 13598 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13589 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36325 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36316 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2293: -#line 13599 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13590 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36331 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36322 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2294: -#line 13600 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13591 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36337 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36328 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2295: -#line 13601 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13592 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36343 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36334 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2296: -#line 13602 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13593 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36349 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36340 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2297: -#line 13603 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13594 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36355 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36346 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2298: -#line 13604 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13595 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36361 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36352 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2299: -#line 13605 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13596 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36367 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36358 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2300: -#line 13606 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13597 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36373 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36364 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2301: -#line 13607 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13598 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36379 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36370 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2302: -#line 13608 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13599 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36385 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36376 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2303: -#line 13609 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13600 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36391 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36382 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2304: -#line 13610 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13601 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36397 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36388 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2305: -#line 13611 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13602 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36403 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36394 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2306: -#line 13612 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13603 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36409 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36400 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2307: -#line 13613 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13604 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36415 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36406 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2308: -#line 13614 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13605 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36421 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36412 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2309: -#line 13615 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13606 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36427 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36418 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2310: -#line 13616 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13607 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36433 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36424 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2311: -#line 13617 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13608 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36439 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36430 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2312: -#line 13618 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13609 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36445 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36436 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2313: -#line 13619 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13610 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36451 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36442 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2314: -#line 13620 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13611 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36457 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36448 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2315: -#line 13621 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13612 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36463 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36454 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2316: -#line 13622 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13613 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36469 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36460 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2317: -#line 13623 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13614 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36475 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36466 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2318: -#line 13624 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13615 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36481 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36472 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2319: -#line 13625 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13616 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36487 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36478 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2320: -#line 13626 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13617 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36493 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36484 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2321: -#line 13627 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13618 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36499 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36490 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2322: -#line 13628 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13619 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36505 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36496 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2323: -#line 13629 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13620 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36511 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36502 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2324: -#line 13630 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13621 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36517 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36508 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2325: -#line 13631 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13622 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36523 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36514 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2326: -#line 13632 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13623 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36529 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36520 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2327: -#line 13633 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13624 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36535 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36526 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2328: -#line 13634 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13625 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36541 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36532 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2329: -#line 13635 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13626 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36547 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36538 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2330: -#line 13636 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13627 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36553 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36544 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2331: -#line 13637 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13628 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36559 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36550 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2332: -#line 13638 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13629 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36565 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36556 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2333: -#line 13639 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13630 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36571 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36562 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2334: -#line 13640 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13631 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36577 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36568 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2335: -#line 13641 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13632 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36583 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36574 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2336: -#line 13642 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13633 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36589 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36580 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2337: -#line 13643 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13634 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36595 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36586 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2338: -#line 13644 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13635 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36601 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36592 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2339: -#line 13645 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13636 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36607 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36598 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2340: -#line 13646 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13637 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36613 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36604 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2341: -#line 13647 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13638 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36619 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36610 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2342: -#line 13648 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13639 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36625 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36616 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2343: -#line 13649 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13640 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36631 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36622 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2344: -#line 13650 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13641 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36637 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36628 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2345: -#line 13651 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13642 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36643 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36634 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2346: -#line 13652 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13643 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36649 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36640 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2347: -#line 13653 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13644 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36655 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36646 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2348: -#line 13654 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13645 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36661 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36652 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2349: -#line 13655 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13646 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36667 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36658 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2350: -#line 13656 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13647 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36673 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36664 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2351: -#line 13657 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13648 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36679 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36670 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2352: -#line 13658 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13649 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36685 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36676 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2353: -#line 13659 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13650 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36691 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36682 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2354: -#line 13660 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13651 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36697 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36688 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2355: -#line 13661 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13652 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36703 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36694 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2356: -#line 13662 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13653 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36709 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36700 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2357: -#line 13663 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13654 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36715 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36706 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2358: -#line 13664 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13655 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36721 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36712 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2359: -#line 13665 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13656 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36727 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36718 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2360: -#line 13666 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13657 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36733 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36724 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2361: -#line 13667 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13658 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36739 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36730 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2362: -#line 13668 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13659 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36745 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36736 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2363: -#line 13669 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13660 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36751 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36742 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2364: -#line 13670 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13661 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36757 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36748 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2365: -#line 13671 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13662 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36763 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36754 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2366: -#line 13672 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13663 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36769 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36760 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2367: -#line 13673 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13664 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36775 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36766 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2368: -#line 13674 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13665 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36781 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36772 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2369: -#line 13675 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13666 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36787 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36778 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2370: -#line 13676 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13667 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36793 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36784 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2371: -#line 13677 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13668 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36799 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36790 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2372: -#line 13678 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13669 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36805 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36796 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2373: -#line 13679 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13670 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36811 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36802 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2374: -#line 13680 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13671 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36817 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36808 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2375: -#line 13681 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13672 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36823 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36814 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2376: -#line 13682 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13673 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36829 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36820 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2377: -#line 13683 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13674 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36835 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36826 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2378: -#line 13684 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13675 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36841 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36832 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2379: -#line 13685 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13676 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36847 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36838 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2380: -#line 13686 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13677 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36853 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36844 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2381: -#line 13687 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13678 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36859 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36850 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2382: -#line 13688 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13679 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36865 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36856 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2383: -#line 13689 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13680 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36871 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36862 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2384: -#line 13690 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13681 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36877 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36868 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2385: -#line 13691 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13682 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36883 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36874 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2386: -#line 13692 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13683 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36889 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36880 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2387: -#line 13693 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13684 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36895 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36886 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2388: -#line 13694 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13685 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36901 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36892 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2389: -#line 13695 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13686 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36907 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36898 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2390: -#line 13696 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13687 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36913 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36904 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2391: -#line 13697 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13688 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36919 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36910 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2392: -#line 13698 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13689 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36925 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36916 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2393: -#line 13699 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13690 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36931 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36922 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2394: -#line 13700 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13691 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36937 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36928 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2395: -#line 13701 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13692 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36943 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36934 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2396: -#line 13702 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13693 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36949 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36940 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2397: -#line 13703 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13694 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36955 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36946 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2398: -#line 13704 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13695 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36961 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36952 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2399: -#line 13705 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13696 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36967 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36958 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2400: -#line 13706 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13697 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36973 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36964 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2401: -#line 13707 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13698 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36979 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36970 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2402: -#line 13708 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13699 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36985 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36976 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2403: -#line 13709 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13700 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36991 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36982 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2404: -#line 13710 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13701 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 36997 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36988 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2405: -#line 13711 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13702 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 37003 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 36994 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2406: -#line 13712 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13703 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 37009 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37000 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2407: -#line 13713 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13704 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 37015 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37006 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2408: -#line 13714 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13705 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 37021 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37012 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2409: -#line 13715 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13706 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 37027 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37018 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2410: -#line 13716 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13707 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 37033 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37024 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2411: -#line 13717 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13708 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 37039 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37030 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2412: -#line 13718 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13709 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 37045 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37036 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2413: -#line 13719 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13710 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 37051 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37042 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2414: -#line 13731 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13722 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.set)= NEW_PTN PT_set((yylsp[-1]), (yyvsp[0].start_option_value_list)); } -#line 37059 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37050 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2415: -#line 13740 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13731 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.start_option_value_list)= NEW_PTN PT_start_option_value_list_no_type((yyvsp[-1].option_value_no_option_type), (yylsp[-1]), (yyvsp[0].option_value_list)); } -#line 37067 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37058 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2416: -#line 13744 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13735 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.start_option_value_list)= NEW_PTN PT_start_option_value_list_transaction((yyvsp[0].transaction_characteristics), (yylsp[0])); } -#line 37075 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37066 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2417: -#line 13748 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13739 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.start_option_value_list)= NEW_PTN PT_start_option_value_list_type((yyvsp[-1].var_type), (yyvsp[0].start_option_value_list_following_option_type)); } -#line 37083 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37074 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2418: -#line 13752 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13743 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.start_option_value_list)= NEW_PTN PT_option_value_no_option_type_password((yyvsp[0].simple_string), (yylsp[0])); } -#line 37091 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37082 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2419: -#line 13756 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13747 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { push_deprecated_warn(YYTHD, "SET PASSWORD = " "PASSWORD('')", "SET PASSWORD = ''"); (yyval.start_option_value_list)= NEW_PTN PT_option_value_no_option_type_password((yyvsp[-1].simple_string), (yylsp[-1])); } -#line 37102 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37093 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2420: -#line 13763 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13754 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.start_option_value_list)= NEW_PTN PT_option_value_no_option_type_password_for((yyvsp[-2].lex_user), (yyvsp[0].simple_string), (yylsp[0])); } -#line 37110 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37101 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2421: -#line 13767 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13758 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { push_deprecated_warn(YYTHD, "SET PASSWORD FOR = " "PASSWORD('')", @@ -37118,354 +37109,354 @@ "''"); (yyval.start_option_value_list)= NEW_PTN PT_option_value_no_option_type_password_for((yyvsp[-5].lex_user), (yyvsp[-1].simple_string), (yylsp[-1])); } -#line 37122 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37113 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2422: -#line 13780 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13771 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.start_option_value_list_following_option_type)= NEW_PTN PT_start_option_value_list_following_option_type_eq((yyvsp[-1].option_value_following_option_type), (yylsp[-1]), (yyvsp[0].option_value_list)); } -#line 37133 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37124 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2423: -#line 13787 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13778 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.start_option_value_list_following_option_type)= NEW_PTN PT_start_option_value_list_following_option_type_transaction((yyvsp[0].transaction_characteristics), (yylsp[0])); } -#line 37143 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37134 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2424: -#line 13796 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13787 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.option_value_list)= NULL; } -#line 37149 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37140 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2425: -#line 13797 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13788 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.option_value_list)= (yyvsp[0].option_value_list); } -#line 37155 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37146 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2426: -#line 13803 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13794 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.option_value_list)= NEW_PTN PT_option_value_list_head((yylsp[-1]), (yyvsp[0].node), (yylsp[0])); } -#line 37163 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37154 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2427: -#line 13807 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13798 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.option_value_list)= NEW_PTN PT_option_value_list((yyvsp[-2].option_value_list), (yylsp[-1]), (yyvsp[0].node), (yylsp[0])); } -#line 37171 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37162 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2428: -#line 13815 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13806 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= NEW_PTN PT_option_value_type((yyvsp[-1].var_type), (yyvsp[0].option_value_following_option_type)); } -#line 37179 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37170 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2429: -#line 13818 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13809 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= (yyvsp[0].option_value_no_option_type); } -#line 37185 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37176 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2430: -#line 13822 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13813 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.var_type)=OPT_GLOBAL; } -#line 37191 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37182 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2431: -#line 13823 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13814 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.var_type)=OPT_SESSION; } -#line 37197 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37188 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2432: -#line 13824 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13815 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.var_type)=OPT_SESSION; } -#line 37203 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37194 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2433: -#line 13828 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13819 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.var_type)=OPT_SESSION; } -#line 37209 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37200 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2434: -#line 13829 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13820 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.var_type)=OPT_GLOBAL; } -#line 37215 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37206 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2435: -#line 13830 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13821 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.var_type)=OPT_SESSION; } -#line 37221 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37212 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2436: -#line 13831 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13822 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.var_type)=OPT_SESSION; } -#line 37227 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37218 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2437: -#line 13835 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13826 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.var_type)=OPT_DEFAULT; } -#line 37233 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37224 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2438: -#line 13836 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13827 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.var_type)=OPT_GLOBAL; } -#line 37239 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37230 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2439: -#line 13837 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13828 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.var_type)=OPT_SESSION; } -#line 37245 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37236 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2440: -#line 13838 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13829 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.var_type)=OPT_SESSION; } -#line 37251 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37242 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2441: -#line 13844 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13835 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.option_value_following_option_type)= NEW_PTN PT_option_value_following_option_type((yyloc), (yyvsp[-2].internal_variable_name), (yyvsp[0].item)); } -#line 37259 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37250 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2442: -#line 13854 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13845 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.option_value_no_option_type)= NEW_PTN PT_option_value_no_option_type_internal((yyvsp[-2].internal_variable_name), (yyvsp[0].item), (yylsp[0])); } -#line 37267 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37258 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2443: -#line 13858 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13849 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.option_value_no_option_type)= NEW_PTN PT_option_value_no_option_type_user_var((yyvsp[-2].lex_str), (yyvsp[0].item)); } -#line 37275 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37266 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2444: -#line 13862 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13853 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.option_value_no_option_type)= NEW_PTN PT_option_value_no_option_type_sys_var((yyvsp[-3].var_type), (yyvsp[-2].internal_variable_name), (yyvsp[0].item)); } -#line 37283 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37274 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2445: -#line 13866 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13857 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.option_value_no_option_type)= NEW_PTN PT_option_value_no_option_type_charset((yyvsp[0].charset)); } -#line 37291 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37282 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2446: -#line 13870 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13861 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* Bad syntax, always fails with an error */ (yyval.option_value_no_option_type)= NEW_PTN PT_option_value_no_option_type_names((yylsp[-1])); } -#line 37302 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37293 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2447: -#line 13877 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13868 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.option_value_no_option_type)= NEW_PTN PT_option_value_no_option_type_names_charset((yyvsp[-1].charset), (yyvsp[0].charset)); } -#line 37310 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37301 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2448: -#line 13884 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13875 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.internal_variable_name)= NEW_PTN PT_internal_variable_name_1d((yyvsp[0].lex_str)); } -#line 37318 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37309 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2449: -#line 13888 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13879 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.internal_variable_name)= NEW_PTN PT_internal_variable_name_2d((yyloc), (yyvsp[-2].lex_str), (yyvsp[0].lex_str)); } -#line 37326 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37317 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2450: -#line 13892 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13883 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.internal_variable_name)= NEW_PTN PT_internal_variable_name_default((yyvsp[0].lex_str)); } -#line 37334 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37325 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2451: -#line 13899 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13890 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.transaction_characteristics)= NEW_PTN PT_transaction_characteristics((yyvsp[-1].transaction_access_mode), (yyvsp[0].isolation_level)); } -#line 37342 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37333 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2452: -#line 13903 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13894 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.transaction_characteristics)= NEW_PTN PT_transaction_characteristics((yyvsp[-1].isolation_level), (yyvsp[0].transaction_access_mode)); } -#line 37350 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37341 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2453: -#line 13910 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13901 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.transaction_access_mode)= NEW_PTN PT_transaction_access_mode((yyvsp[0].num)); } -#line 37358 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37349 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2454: -#line 13916 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13907 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.transaction_access_mode)= NULL; } -#line 37364 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37355 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2455: -#line 13917 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13908 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.transaction_access_mode)= (yyvsp[0].transaction_access_mode); } -#line 37370 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37361 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2456: -#line 13922 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13913 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.isolation_level)= NEW_PTN PT_isolation_level((yyvsp[0].tx_isolation)); } -#line 37378 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37369 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2457: -#line 13928 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13919 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.isolation_level)= NULL; } -#line 37384 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37375 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2458: -#line 13929 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13920 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.isolation_level)= (yyvsp[0].isolation_level); } -#line 37390 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37381 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2459: -#line 13933 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13924 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= true; } -#line 37396 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37387 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2460: -#line 13934 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13925 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= false; } -#line 37402 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37393 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2461: -#line 13938 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13929 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.tx_isolation)= ISO_READ_UNCOMMITTED; } -#line 37408 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37399 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2462: -#line 13939 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13930 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.tx_isolation)= ISO_READ_COMMITTED; } -#line 37414 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37405 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2463: -#line 13940 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13931 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.tx_isolation)= ISO_REPEATABLE_READ; } -#line 37420 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37411 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2464: -#line 13941 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13932 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.tx_isolation)= ISO_SERIALIZABLE; } -#line 37426 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37417 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2465: -#line 13946 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13937 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.simple_string)=(yyvsp[0].lex_str).str; Lex->contains_plaintext_password= true; } -#line 37435 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37426 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2467: -#line 13955 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13946 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NULL; } -#line 37441 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37432 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2468: -#line 13957 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13948 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_string((yyloc), "ON", 2, system_charset_info); } -#line 37449 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37440 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2469: -#line 13961 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13952 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_string((yyloc), "ALL", 3, system_charset_info); } -#line 37457 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37448 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2470: -#line 13965 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13956 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.item)= NEW_PTN Item_string((yyloc), "binary", 6, system_charset_info); } -#line 37465 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37456 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2471: -#line 13974 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13965 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; @@ -37476,17 +37467,17 @@ } lex->sql_command= SQLCOM_LOCK_TABLES; } -#line 37480 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37471 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2472: -#line 13985 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13976 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 37486 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37477 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2477: -#line 14000 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 13991 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { thr_lock_type lock_type= (thr_lock_type) (yyvsp[0].num); enum_mdl_type mdl_lock_type; @@ -37511,38 +37502,38 @@ mdl_lock_type)) MYSQL_YYABORT; } -#line 37515 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37506 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2478: -#line 14027 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14018 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= TL_READ_NO_INSERT; } -#line 37521 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37512 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2479: -#line 14028 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14019 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= TL_WRITE_DEFAULT; } -#line 37527 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37518 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2480: -#line 14030 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14021 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= TL_WRITE_LOW_PRIORITY; push_deprecated_warn(YYTHD, "LOW_PRIORITY WRITE", "WRITE"); } -#line 37536 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37527 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2481: -#line 14034 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14025 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)= TL_READ; } -#line 37542 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37533 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2482: -#line 14039 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14030 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; @@ -37553,35 +37544,35 @@ } lex->sql_command= SQLCOM_UNLOCK_TABLES; } -#line 37557 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37548 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2483: -#line 14050 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14041 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 37563 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37554 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2484: -#line 14056 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14047 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command= SQLCOM_SHUTDOWN; (yyval.statement)= NEW_PTN PT_shutdown(); } -#line 37572 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37563 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2485: -#line 14064 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14055 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command= SQLCOM_ALTER_INSTANCE; (yyval.statement)= NEW_PTN PT_alter_instance((yyvsp[0].alter_instance_action)); } -#line 37581 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37572 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2486: -#line 14071 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14062 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (!my_strcasecmp(system_charset_info, (yyvsp[-2].lex_str).str, "INNODB")) { @@ -37593,11 +37584,11 @@ MYSQL_YYABORT; } } -#line 37597 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37588 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2487: -#line 14090 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14081 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= Lex; @@ -37613,11 +37604,11 @@ if (lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 37617 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37608 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2488: -#line 14106 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14097 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= Lex; @@ -37633,11 +37624,11 @@ if (lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 37637 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37628 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2489: -#line 14124 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14115 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* #4 */ LEX *lex=Lex; if (lex->sphead) @@ -37655,11 +37646,11 @@ if (!lex->current_select()->add_table_to_list(lex->thd, (yyvsp[-1].table), 0, 0)) MYSQL_YYABORT; } -#line 37659 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37650 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2490: -#line 14144 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14135 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[-1].item) != NULL) ITEMIZE((yyvsp[-1].item), &(yyvsp[-1].item)); @@ -37684,128 +37675,128 @@ if (lex->m_sql_cmd == NULL) MYSQL_YYABORT; } -#line 37688 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37679 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2491: -#line 14171 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14162 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->ident= null_lex_str; (yyval.ha_read_mode)=(yyvsp[0].ha_read_mode); } -#line 37694 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37685 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2492: -#line 14172 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14163 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->ident= (yyvsp[-1].lex_str); (yyval.ha_read_mode)=(yyvsp[0].ha_read_mode); } -#line 37700 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37691 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2493: -#line 14176 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14167 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ha_read_mode)= RFIRST; } -#line 37706 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37697 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2494: -#line 14177 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14168 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ha_read_mode)= RNEXT; } -#line 37712 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37703 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2495: -#line 14181 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14172 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ha_read_mode)= RFIRST; } -#line 37718 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37709 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2496: -#line 14182 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14173 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ha_read_mode)= RNEXT; } -#line 37724 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37715 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2497: -#line 14183 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14174 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ha_read_mode)= RPREV; } -#line 37730 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37721 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2498: -#line 14184 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14175 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ha_read_mode)= RLAST; } -#line 37736 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37727 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2499: -#line 14186 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14177 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { YYTHD->m_parser_state->m_yacc.m_ha_rkey_mode= (yyvsp[0].ha_rkey_mode); } -#line 37744 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37735 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2500: -#line 14190 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14181 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { CONTEXTUALIZE((yyvsp[-1].item_list2)); Lex->handler_insert_list= &(yyvsp[-1].item_list2)->value; (yyval.ha_read_mode)= RKEY; } -#line 37754 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37745 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2501: -#line 14198 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14189 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ha_rkey_mode)=HA_READ_KEY_EXACT; } -#line 37760 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37751 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2502: -#line 14199 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14190 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ha_rkey_mode)=HA_READ_KEY_OR_NEXT; } -#line 37766 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37757 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2503: -#line 14200 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14191 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ha_rkey_mode)=HA_READ_KEY_OR_PREV; } -#line 37772 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37763 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2504: -#line 14201 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14192 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ha_rkey_mode)=HA_READ_AFTER_KEY; } -#line 37778 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37769 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2505: -#line 14202 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14193 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ha_rkey_mode)=HA_READ_BEFORE_KEY; } -#line 37784 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37775 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2506: -#line 14208 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14199 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command= SQLCOM_REVOKE; } -#line 37790 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37781 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2507: -#line 14209 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14200 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 37796 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37787 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2508: -#line 14214 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14205 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->type= 0; } -#line 37805 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37796 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2509: -#line 14219 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14210 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; if (lex->columns.elements) @@ -37815,11 +37806,11 @@ } lex->type= TYPE_ENUM_FUNCTION; } -#line 37819 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37810 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2510: -#line 14229 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14220 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; if (lex->columns.elements) @@ -37829,50 +37820,50 @@ } lex->type= TYPE_ENUM_PROCEDURE; } -#line 37833 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37824 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2511: -#line 14239 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14230 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command = SQLCOM_REVOKE_ALL; } -#line 37841 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37832 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2512: -#line 14243 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14234 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->users_list.push_front ((yyvsp[-2].lex_user)); lex->type= TYPE_ENUM_PROXY; } -#line 37851 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37842 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2513: -#line 14251 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14242 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command= SQLCOM_GRANT; } -#line 37857 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37848 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2514: -#line 14252 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14243 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 37863 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37854 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2515: -#line 14258 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14249 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->type= 0; } -#line 37872 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37863 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2516: -#line 14264 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14255 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; if (lex->columns.elements) @@ -37882,11 +37873,11 @@ } lex->type= TYPE_ENUM_FUNCTION; } -#line 37886 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37877 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2517: -#line 14275 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14266 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; if (lex->columns.elements) @@ -37896,257 +37887,257 @@ } lex->type= TYPE_ENUM_PROCEDURE; } -#line 37900 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37891 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2518: -#line 14285 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14276 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->users_list.push_front ((yyvsp[-3].lex_user)); lex->type= TYPE_ENUM_PROXY; } -#line 37910 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37901 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2521: -#line 14299 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14290 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; if (lex->grant == GLOBAL_ACLS && lex->sql_command == SQLCOM_REVOKE) lex->sql_command= SQLCOM_REVOKE_ALL; } -#line 37921 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37912 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2522: -#line 14306 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14297 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->all_privileges= 1; Lex->grant= GLOBAL_ACLS; } -#line 37930 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37921 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2527: -#line 14324 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14315 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->which_columns = SELECT_ACL;} -#line 37936 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37927 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2528: -#line 14325 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14316 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 37942 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37933 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2529: -#line 14327 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14318 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->which_columns = INSERT_ACL;} -#line 37948 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37939 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2530: -#line 14328 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14319 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 37954 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37945 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2531: -#line 14330 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14321 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->which_columns = UPDATE_ACL; } -#line 37960 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37951 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2532: -#line 14331 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14322 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 37966 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37957 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2533: -#line 14333 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14324 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->which_columns = REFERENCES_ACL;} -#line 37972 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37963 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2534: -#line 14334 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14325 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 37978 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37969 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2535: -#line 14335 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14326 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= DELETE_ACL;} -#line 37984 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37975 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2536: -#line 14336 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14327 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 37990 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37981 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2537: -#line 14337 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14328 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= INDEX_ACL;} -#line 37996 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37987 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2538: -#line 14338 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14329 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= ALTER_ACL;} -#line 38002 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37993 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2539: -#line 14339 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14330 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= CREATE_ACL;} -#line 38008 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 37999 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2540: -#line 14340 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14331 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= DROP_ACL;} -#line 38014 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38005 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2541: -#line 14341 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14332 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= EXECUTE_ACL;} -#line 38020 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38011 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2542: -#line 14342 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14333 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= RELOAD_ACL;} -#line 38026 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38017 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2543: -#line 14343 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14334 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= SHUTDOWN_ACL;} -#line 38032 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38023 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2544: -#line 14344 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14335 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= PROCESS_ACL;} -#line 38038 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38029 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2545: -#line 14345 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14336 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= FILE_ACL;} -#line 38044 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38035 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2546: -#line 14346 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14337 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= GRANT_ACL;} -#line 38050 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38041 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2547: -#line 14347 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14338 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= SHOW_DB_ACL;} -#line 38056 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38047 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2548: -#line 14348 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14339 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= SUPER_ACL;} -#line 38062 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38053 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2549: -#line 14349 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14340 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= CREATE_TMP_ACL;} -#line 38068 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38059 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2550: -#line 14350 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14341 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= LOCK_TABLES_ACL; } -#line 38074 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38065 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2551: -#line 14351 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14342 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= REPL_SLAVE_ACL; } -#line 38080 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38071 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2552: -#line 14352 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14343 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= REPL_CLIENT_ACL; } -#line 38086 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38077 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2553: -#line 14353 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14344 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= CREATE_VIEW_ACL; } -#line 38092 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38083 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2554: -#line 14354 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14345 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= SHOW_VIEW_ACL; } -#line 38098 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38089 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2555: -#line 14355 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14346 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= CREATE_PROC_ACL; } -#line 38104 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38095 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2556: -#line 14356 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14347 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= ALTER_PROC_ACL; } -#line 38110 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38101 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2557: -#line 14357 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14348 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= CREATE_USER_ACL; } -#line 38116 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38107 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2558: -#line 14358 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14349 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= EVENT_ACL;} -#line 38122 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38113 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2559: -#line 14359 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14350 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= TRIGGER_ACL; } -#line 38128 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38119 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2560: -#line 14360 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14351 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= CREATE_TABLESPACE_ACL; } -#line 38134 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38125 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2561: -#line 14364 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14355 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 38140 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38131 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2562: -#line 14365 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14356 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 38146 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38137 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2565: -#line 14375 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14366 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; if (lex->x509_subject) @@ -38156,11 +38147,11 @@ } lex->x509_subject=(yyvsp[0].lex_str).str; } -#line 38160 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38151 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2566: -#line 14385 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14376 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; if (lex->x509_issuer) @@ -38170,11 +38161,11 @@ } lex->x509_issuer=(yyvsp[0].lex_str).str; } -#line 38174 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38165 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2567: -#line 14395 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14386 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; if (lex->ssl_cipher) @@ -38184,11 +38175,11 @@ } lex->ssl_cipher=(yyvsp[0].lex_str).str; } -#line 38188 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38179 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2568: -#line 14408 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14399 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; size_t dummy; @@ -38203,11 +38194,11 @@ MYSQL_YYABORT; } } -#line 38207 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38198 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2569: -#line 14423 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14414 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->current_select()->db = (yyvsp[-2].lex_str).str; @@ -38220,11 +38211,11 @@ MYSQL_YYABORT; } } -#line 38224 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38215 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2570: -#line 14436 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14427 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->current_select()->db = NULL; @@ -38237,11 +38228,11 @@ MYSQL_YYABORT; } } -#line 38241 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38232 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2571: -#line 14449 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14440 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; if (!lex->current_select()->add_table_to_list(lex->thd, (yyvsp[0].table),NULL, @@ -38250,47 +38241,47 @@ if (lex->grant == GLOBAL_ACLS) lex->grant = TABLE_ACLS & ~GRANT_ACL; } -#line 38254 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38245 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2572: -#line 14461 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14452 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (Lex->users_list.push_back((yyvsp[0].lex_user))) MYSQL_YYABORT; } -#line 38263 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38254 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2573: -#line 14466 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14457 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (Lex->users_list.push_back((yyvsp[0].lex_user))) MYSQL_YYABORT; } -#line 38272 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38263 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2574: -#line 14474 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14465 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (Lex->users_list.push_back((yyvsp[0].lex_user))) MYSQL_YYABORT; } -#line 38281 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38272 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2575: -#line 14479 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14470 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (Lex->users_list.push_back((yyvsp[0].lex_user))) MYSQL_YYABORT; } -#line 38290 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38281 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2576: -#line 14487 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14478 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_user)=(yyvsp[-3].lex_user); (yyvsp[-3].lex_user)->auth.str= (yyvsp[0].lex_str).str; @@ -38298,11 +38289,11 @@ (yyvsp[-3].lex_user)->uses_identified_by_clause= true; Lex->contains_plaintext_password= true; } -#line 38302 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38293 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2577: -#line 14495 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14486 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_user)= (yyvsp[-4].lex_user); (yyvsp[-4].lex_user)->auth.str= (yyvsp[0].lex_str).str; @@ -38317,11 +38308,11 @@ push_deprecated_warn(YYTHD, "IDENTIFIED BY PASSWORD", "IDENTIFIED WITH AS "); } -#line 38321 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38312 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2578: -#line 14510 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14501 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_user)= (yyvsp[-3].lex_user); (yyvsp[-3].lex_user)->plugin.str= (yyvsp[0].lex_str).str; @@ -38329,11 +38320,11 @@ (yyvsp[-3].lex_user)->auth= EMPTY_CSTR; (yyvsp[-3].lex_user)->uses_identified_with_clause= true; } -#line 38333 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38324 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2579: -#line 14518 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14509 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_user)= (yyvsp[-5].lex_user); (yyvsp[-5].lex_user)->plugin.str= (yyvsp[-2].lex_str).str; @@ -38343,11 +38334,11 @@ (yyvsp[-5].lex_user)->uses_identified_with_clause= true; (yyvsp[-5].lex_user)->uses_authentication_string_clause= true; } -#line 38347 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38338 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2580: -#line 14528 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14519 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_user)= (yyvsp[-5].lex_user); (yyvsp[-5].lex_user)->plugin.str= (yyvsp[-2].lex_str).str; @@ -38358,29 +38349,29 @@ (yyvsp[-5].lex_user)->uses_identified_by_clause= true; Lex->contains_plaintext_password= true; } -#line 38362 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38353 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2581: -#line 14539 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14530 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.lex_user)= (yyvsp[0].lex_user); (yyvsp[0].lex_user)->auth= NULL_CSTR; } -#line 38371 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38362 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2582: -#line 14547 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14538 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->grant |= lex->which_columns; } -#line 38380 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38371 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2586: -#line 14561 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14552 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { String *new_str = new (YYTHD->mem_root) String((const char*) (yyvsp[0].lex_str).str,(yyvsp[0].lex_str).length,system_charset_info); if (new_str == NULL) @@ -38405,195 +38396,195 @@ lex->columns.push_back(col); } } -#line 38409 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38400 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2588: -#line 14590 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14581 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->ssl_type=SSL_TYPE_SPECIFIED; } -#line 38417 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38408 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2589: -#line 14594 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14585 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->ssl_type=SSL_TYPE_ANY; } -#line 38425 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38416 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2590: -#line 14598 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14589 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->ssl_type=SSL_TYPE_X509; } -#line 38433 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38424 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2591: -#line 14602 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14593 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->ssl_type=SSL_TYPE_NONE; } -#line 38441 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38432 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2592: -#line 14608 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14599 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 38447 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38438 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2594: -#line 14613 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14604 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 38453 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38444 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2595: -#line 14614 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14605 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= GRANT_ACL;} -#line 38459 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38450 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2596: -#line 14618 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14609 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 38465 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38456 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2597: -#line 14619 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14610 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 38471 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38462 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2598: -#line 14623 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14614 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->grant |= GRANT_ACL;} -#line 38477 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38468 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2599: -#line 14625 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14616 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->mqh.questions=(yyvsp[0].ulong_num); lex->mqh.specified_limits|= USER_RESOURCES::QUERIES_PER_HOUR; } -#line 38487 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38478 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2600: -#line 14631 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14622 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->mqh.updates=(yyvsp[0].ulong_num); lex->mqh.specified_limits|= USER_RESOURCES::UPDATES_PER_HOUR; } -#line 38497 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38488 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2601: -#line 14637 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14628 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->mqh.conn_per_hour= (yyvsp[0].ulong_num); lex->mqh.specified_limits|= USER_RESOURCES::CONNECTIONS_PER_HOUR; } -#line 38507 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38498 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2602: -#line 14643 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14634 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->mqh.user_conn= (yyvsp[0].ulong_num); lex->mqh.specified_limits|= USER_RESOURCES::USER_CONNECTIONS; } -#line 38517 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38508 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2603: -#line 14652 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14643 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command = SQLCOM_BEGIN; lex->start_transaction_opt= 0; } -#line 38527 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38518 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2604: -#line 14657 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14648 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 38533 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38524 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2605: -#line 14661 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14652 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 38539 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38530 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2606: -#line 14662 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14653 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 38545 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38536 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2607: -#line 14667 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14658 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.m_yes_no_unk)= TVL_UNKNOWN; } -#line 38551 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38542 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2608: -#line 14668 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14659 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.m_yes_no_unk)= TVL_NO; } -#line 38557 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38548 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2609: -#line 14669 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14660 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.m_yes_no_unk)= TVL_YES; } -#line 38563 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38554 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2610: -#line 14674 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14665 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.m_yes_no_unk)= TVL_UNKNOWN; } -#line 38569 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38560 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2611: -#line 14675 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14666 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.m_yes_no_unk)= TVL_YES; } -#line 38575 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38566 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2612: -#line 14676 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14667 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.m_yes_no_unk)= TVL_NO; } -#line 38581 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38572 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2613: -#line 14680 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14671 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 38587 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38578 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2614: -#line 14681 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14672 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 38593 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38584 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2615: -#line 14686 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14677 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command= SQLCOM_COMMIT; @@ -38602,11 +38593,11 @@ lex->tx_chain= (yyvsp[-1].m_yes_no_unk); lex->tx_release= (yyvsp[0].m_yes_no_unk); } -#line 38606 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38597 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2616: -#line 14698 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14689 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command= SQLCOM_ROLLBACK; @@ -38615,248 +38606,248 @@ lex->tx_chain= (yyvsp[-1].m_yes_no_unk); lex->tx_release= (yyvsp[0].m_yes_no_unk); } -#line 38619 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38610 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2617: -#line 14708 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14699 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command= SQLCOM_ROLLBACK_TO_SAVEPOINT; lex->ident= (yyvsp[0].lex_str); } -#line 38629 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38620 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2618: -#line 14717 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14708 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command= SQLCOM_SAVEPOINT; lex->ident= (yyvsp[0].lex_str); } -#line 38639 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38630 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2619: -#line 14726 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14717 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex=Lex; lex->sql_command= SQLCOM_RELEASE_SAVEPOINT; lex->ident= (yyvsp[0].lex_str); } -#line 38649 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38640 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2620: -#line 14739 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14730 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.union_list)= NULL; } -#line 38655 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38646 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2622: -#line 14745 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14736 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.union_list)= NEW_PTN PT_union_list((yyvsp[-1].num), (yyvsp[0].select_init)); } -#line 38663 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38654 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2623: -#line 14751 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14742 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= NULL; } -#line 38669 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38660 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2624: -#line 14752 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14743 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= (yyvsp[0].union_list); } -#line 38675 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38666 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2625: -#line 14753 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14744 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= (yyvsp[0].union_order_or_limit); } -#line 38681 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38672 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2626: -#line 14757 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14748 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= NULL; } -#line 38687 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38678 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2627: -#line 14758 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14749 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= (yyvsp[0].union_order_or_limit); } -#line 38693 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38684 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2628: -#line 14763 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14754 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.union_order_or_limit)= NEW_PTN PT_union_order_or_limit((yyvsp[0].node)); } -#line 38701 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38692 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2629: -#line 14770 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14761 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= NEW_PTN PT_order_or_limit_order((yyvsp[-1].order), (yyvsp[0].limit_clause)); } -#line 38709 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38700 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2630: -#line 14773 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14764 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.node)= (yyvsp[0].limit_clause); } -#line 38715 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38706 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2631: -#line 14777 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14768 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)=1; } -#line 38721 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38712 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2632: -#line 14778 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14769 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)=1; } -#line 38727 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38718 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2633: -#line 14779 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14770 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.num)=0; } -#line 38733 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38724 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2634: -#line 14784 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14775 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_lex2)= NEW_PTN PT_query_specification_select((yyvsp[-2].optimizer_hints), (yyvsp[-1].select_part2_derived), (yyvsp[0].table_expression)); } -#line 38741 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38732 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2635: -#line 14789 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14780 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_lex2)= NEW_PTN PT_query_specification_parenthesis((yyvsp[-2].select_paren_derived), (yyvsp[0].node)); } -#line 38749 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38740 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2637: -#line 14797 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14788 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.select_lex2)= NEW_PTN PT_query_expression_body_union((yyloc), (yyvsp[-3].select_lex2), (yyvsp[-1].num), (yyvsp[0].select_lex2)); } -#line 38757 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38748 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2638: -#line 14804 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14795 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* TODO: remove this semantic action (currently this removal adds reduce/reduce conflict) */ } -#line 38768 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38759 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2639: -#line 14811 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14802 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.subselect)= NEW_PTN PT_subselect((yyloc), (yyvsp[0].select_lex2)); } -#line 38776 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38767 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2640: -#line 14817 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14808 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulonglong_number)= 0; } -#line 38782 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38773 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2642: -#line 14823 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14814 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulonglong_number)= (yyvsp[-1].ulonglong_number) | (yyvsp[0].ulonglong_number); } -#line 38790 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38781 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2644: -#line 14830 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14821 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulonglong_number)= SELECT_STRAIGHT_JOIN; } -#line 38796 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38787 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2645: -#line 14831 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14822 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulonglong_number)= SELECT_HIGH_PRIORITY; } -#line 38802 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38793 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2646: -#line 14832 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14823 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulonglong_number)= SELECT_DISTINCT; } -#line 38808 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38799 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2647: -#line 14833 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14824 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulonglong_number)= SELECT_SMALL_RESULT; } -#line 38814 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38805 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2648: -#line 14834 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14825 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulonglong_number)= SELECT_BIG_RESULT; } -#line 38820 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38811 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2649: -#line 14835 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14826 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulonglong_number)= OPTION_BUFFER_RESULT; } -#line 38826 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38817 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2650: -#line 14836 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14827 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulonglong_number)= OPTION_FOUND_ROWS; } -#line 38832 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38823 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2651: -#line 14837 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14828 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.ulonglong_number)= SELECT_ALL; } -#line 38838 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38829 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2652: -#line 14848 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14839 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 38844 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38835 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2653: -#line 14850 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14841 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 38850 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38841 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2654: -#line 14852 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14843 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 38856 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38847 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2668: -#line 14885 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14876 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* We have to distinguish missing DEFINER-clause from case when @@ -38867,79 +38858,79 @@ */ YYTHD->lex->definer= 0; } -#line 38871 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38862 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2669: -#line 14899 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14890 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { YYTHD->lex->definer= get_current_user(YYTHD, (yyvsp[0].lex_user)); } -#line 38879 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38870 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2670: -#line 14912 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14903 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 38885 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38876 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2671: -#line 14914 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14905 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 38891 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38882 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2672: -#line 14916 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14907 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 38897 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38888 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2673: -#line 14921 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14912 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_view_mode= VIEW_CREATE_OR_REPLACE; } -#line 38903 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38894 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2674: -#line 14926 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14917 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_view_algorithm= VIEW_ALGORITHM_UNDEFINED; } -#line 38909 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38900 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2675: -#line 14928 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14919 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_view_algorithm= VIEW_ALGORITHM_MERGE; } -#line 38915 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38906 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2676: -#line 14930 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14921 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_view_algorithm= VIEW_ALGORITHM_TEMPTABLE; } -#line 38921 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38912 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2677: -#line 14935 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14926 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_view_suid= VIEW_SUID_DEFAULT; } -#line 38927 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38918 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2678: -#line 14937 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14928 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_view_suid= VIEW_SUID_DEFINER; } -#line 38933 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38924 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2679: -#line 14939 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14930 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_view_suid= VIEW_SUID_INVOKER; } -#line 38939 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38930 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2680: -#line 14944 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14935 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -38952,46 +38943,46 @@ MYSQL_YYABORT; lex->query_tables->open_strategy= TABLE_LIST::OPEN_STUB; } -#line 38956 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38947 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2682: -#line 14961 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14952 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 38962 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38953 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2684: -#line 14967 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14958 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->view_list.push_back((LEX_STRING*) sql_memdup(&(yyvsp[0].lex_str), sizeof(LEX_STRING))); } -#line 38971 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38962 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2685: -#line 14972 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14963 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->view_list.push_back((LEX_STRING*) sql_memdup(&(yyvsp[0].lex_str), sizeof(LEX_STRING))); } -#line 38980 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38971 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2686: -#line 14979 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14970 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->parsing_options.allows_variable= FALSE; lex->parsing_options.allows_select_into= FALSE; lex->parsing_options.allows_select_procedure= FALSE; } -#line 38991 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 38982 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2687: -#line 14986 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14977 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= Lex; @@ -39006,11 +38997,11 @@ lex->parsing_options.allows_select_into= TRUE; lex->parsing_options.allows_select_procedure= TRUE; } -#line 39010 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39001 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2688: -#line 15004 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 14995 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (Lex->current_select()->set_braces(0)) { @@ -39026,119 +39017,119 @@ done here. */ } -#line 39030 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39021 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2689: -#line 15020 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15011 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[0].union_list) != NULL) CONTEXTUALIZE((yyvsp[0].union_list)); } -#line 39039 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39030 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2690: -#line 15025 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15016 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if ((yyvsp[0].node) != NULL) CONTEXTUALIZE((yyvsp[0].node)); } -#line 39048 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39039 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2691: -#line 15032 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15023 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->current_select()->set_braces(true); } -#line 39056 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39047 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2692: -#line 15036 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15027 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { if (setup_select_in_parentheses(Select)) MYSQL_YYABORT; } -#line 39065 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39056 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2694: -#line 15045 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15036 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->current_select()->table_list.save_and_clear(&Lex->save_list); } -#line 39073 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39064 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2695: -#line 15049 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15040 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { CONTEXTUALIZE((yyvsp[0].select_part2)); Lex->current_select()->table_list.push_front(&Lex->save_list); } -#line 39083 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39074 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2696: -#line 15058 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15049 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_view_check= VIEW_CHECK_NONE; } -#line 39089 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39080 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2697: -#line 15060 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15051 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_view_check= VIEW_CHECK_CASCADED; } -#line 39095 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39086 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2698: -#line 15062 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15053 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_view_check= VIEW_CHECK_CASCADED; } -#line 39101 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39092 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2699: -#line 15064 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15055 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->create_view_check= VIEW_CHECK_LOCAL; } -#line 39107 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39098 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2700: -#line 15075 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15066 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.trigger_action_order_type)= TRG_ORDER_FOLLOWS; } -#line 39113 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39104 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2701: -#line 15077 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15068 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.trigger_action_order_type)= TRG_ORDER_PRECEDES; } -#line 39119 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39110 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2702: -#line 15082 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15073 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.trg_characteristics).ordering_clause= TRG_ORDER_NONE; (yyval.trg_characteristics).anchor_trigger_name.str= NULL; (yyval.trg_characteristics).anchor_trigger_name.length= 0; } -#line 39129 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39120 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2703: -#line 15089 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15080 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.trg_characteristics).ordering_clause= (yyvsp[-1].trigger_action_order_type); (yyval.trg_characteristics).anchor_trigger_name= (yyvsp[0].lex_str); } -#line 39138 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39129 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2704: -#line 15106 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15097 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* $11 */ THD *thd= YYTHD; LEX *lex= thd->lex; @@ -39188,11 +39179,11 @@ sp->set_body_start(thd, (yylsp[-1]).cpp.end); } -#line 39192 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39183 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2705: -#line 15156 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15147 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* $13 */ THD *thd= YYTHD; LEX *lex= Lex; @@ -39217,11 +39208,11 @@ MDL_SHARED_NO_WRITE)) MYSQL_YYABORT; } -#line 39221 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39212 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2706: -#line 15191 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15182 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -39238,11 +39229,11 @@ lex->udf.returns=(Item_result) (yyvsp[-2].num); lex->udf.dl=(yyvsp[0].lex_str).str; } -#line 39242 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39233 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2707: -#line 15209 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15200 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -39259,11 +39250,11 @@ lex->udf.returns=(Item_result) (yyvsp[-2].num); lex->udf.dl=(yyvsp[0].lex_str).str; } -#line 39263 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39254 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2708: -#line 15231 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15222 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* $4 */ THD *thd= YYTHD; LEX *lex= thd->lex; @@ -39286,19 +39277,19 @@ sp->m_parser_data.set_parameter_start_ptr((yylsp[0]).cpp.end); } -#line 39290 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39281 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2709: -#line 15255 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15246 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* $7 */ Lex->sphead->m_parser_data.set_parameter_end_ptr((yylsp[0]).cpp.start); } -#line 39298 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39289 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2710: -#line 15259 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15250 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* $9 */ LEX *lex= Lex; lex->charset= NULL; @@ -39307,11 +39298,11 @@ lex->type= 0; lex->gcol_info= 0; } -#line 39311 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39302 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2711: -#line 15268 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15259 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* $11 */ LEX *lex= Lex; sp_head *sp= lex->sphead; @@ -39334,11 +39325,11 @@ memset(&lex->sp_chistics, 0, sizeof(st_sp_chistics)); } -#line 39338 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39329 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2712: -#line 15291 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15282 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /* $13 */ THD *thd= YYTHD; LEX *lex= thd->lex; @@ -39346,11 +39337,11 @@ lex->sphead->m_chistics= &lex->sp_chistics; lex->sphead->set_body_start(thd, yylloc.cpp.start); } -#line 39350 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39341 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2713: -#line 15299 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15290 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { THD *thd= YYTHD; LEX *lex= thd->lex; @@ -39405,11 +39396,11 @@ sp->m_name.str); } } -#line 39409 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39400 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2714: -#line 15358 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15349 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$3*/ THD *thd= YYTHD; LEX *lex= Lex; @@ -39429,19 +39420,19 @@ lex->sphead= sp; } -#line 39433 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39424 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2715: -#line 15378 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15369 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$5*/ Lex->sphead->m_parser_data.set_parameter_start_ptr((yylsp[0]).cpp.end); } -#line 39441 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39432 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2716: -#line 15383 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15374 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$8*/ THD *thd= YYTHD; LEX *lex= thd->lex; @@ -39449,11 +39440,11 @@ lex->sphead->m_parser_data.set_parameter_end_ptr((yylsp[0]).cpp.start); memset(&lex->sp_chistics, 0, sizeof(st_sp_chistics)); } -#line 39453 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39444 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2717: -#line 15391 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15382 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$10*/ THD *thd= YYTHD; LEX *lex= thd->lex; @@ -39461,11 +39452,11 @@ lex->sphead->m_chistics= &lex->sp_chistics; lex->sphead->set_body_start(thd, yylloc.cpp.start); } -#line 39465 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39456 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2718: -#line 15399 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15390 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { /*$12*/ THD *thd= YYTHD; LEX *lex= Lex; @@ -39474,77 +39465,77 @@ lex->sql_command= SQLCOM_CREATE_PROCEDURE; } -#line 39478 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39469 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2719: -#line 15413 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15404 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command = SQLCOM_XA_START; Lex->m_sql_cmd= new (YYTHD->mem_root) Sql_cmd_xa_start((yyvsp[-1].xid), (yyvsp[0].xa_option_type)); } -#line 39487 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39478 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2720: -#line 15418 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15409 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command = SQLCOM_XA_END; Lex->m_sql_cmd= new (YYTHD->mem_root) Sql_cmd_xa_end((yyvsp[-1].xid), (yyvsp[0].xa_option_type)); } -#line 39496 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39487 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2721: -#line 15423 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15414 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command = SQLCOM_XA_PREPARE; Lex->m_sql_cmd= new (YYTHD->mem_root) Sql_cmd_xa_prepare((yyvsp[0].xid)); } -#line 39505 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39496 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2722: -#line 15428 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15419 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command = SQLCOM_XA_COMMIT; Lex->m_sql_cmd= new (YYTHD->mem_root) Sql_cmd_xa_commit((yyvsp[-1].xid), (yyvsp[0].xa_option_type)); } -#line 39514 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39505 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2723: -#line 15433 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15424 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command = SQLCOM_XA_ROLLBACK; Lex->m_sql_cmd= new (YYTHD->mem_root) Sql_cmd_xa_rollback((yyvsp[0].xid)); } -#line 39523 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39514 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2724: -#line 15438 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15429 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { Lex->sql_command = SQLCOM_XA_RECOVER; Lex->m_sql_cmd= new (YYTHD->mem_root) Sql_cmd_xa_recover((yyvsp[0].is_not_empty)); } -#line 39532 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39523 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2725: -#line 15445 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15436 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.is_not_empty)= false; } -#line 39538 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39529 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2726: -#line 15446 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15437 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.is_not_empty)= true; } -#line 39544 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39535 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2727: -#line 15450 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15441 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { MYSQL_YYABORT_UNLESS((yyvsp[0].string)->length() <= MAXGTRIDSIZE); XID *xid; @@ -39553,11 +39544,11 @@ xid->set(1L, (yyvsp[0].string)->ptr(), (yyvsp[0].string)->length(), 0, 0); (yyval.xid)= xid; } -#line 39557 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39548 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2728: -#line 15459 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15450 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { MYSQL_YYABORT_UNLESS((yyvsp[-2].string)->length() <= MAXGTRIDSIZE && (yyvsp[0].string)->length() <= MAXBQUALSIZE); @@ -39567,11 +39558,11 @@ xid->set(1L, (yyvsp[-2].string)->ptr(), (yyvsp[-2].string)->length(), (yyvsp[0].string)->ptr(), (yyvsp[0].string)->length()); (yyval.xid)= xid; } -#line 39571 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39562 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2729: -#line 15469 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15460 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { // check for overwflow of xid format id bool format_id_overflow_detected= ((yyvsp[0].ulong_num) > LONG_MAX); @@ -39586,91 +39577,91 @@ xid->set((yyvsp[0].ulong_num), (yyvsp[-4].string)->ptr(), (yyvsp[-4].string)->length(), (yyvsp[-2].string)->ptr(), (yyvsp[-2].string)->length()); (yyval.xid)= xid; } -#line 39590 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39581 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2730: -#line 15486 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15477 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 39596 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39587 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2731: -#line 15487 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15478 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ {} -#line 39602 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39593 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2732: -#line 15491 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15482 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.xa_option_type)= XA_NONE; } -#line 39608 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39599 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2733: -#line 15492 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15483 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.xa_option_type)= XA_JOIN; } -#line 39614 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39605 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2734: -#line 15493 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15484 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.xa_option_type)= XA_RESUME; } -#line 39620 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39611 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2735: -#line 15497 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15488 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.xa_option_type)= XA_NONE; } -#line 39626 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39617 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2736: -#line 15498 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15489 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.xa_option_type)= XA_ONE_PHASE; } -#line 39632 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39623 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2737: -#line 15503 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15494 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.xa_option_type)= XA_NONE; } -#line 39638 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39629 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2738: -#line 15505 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15496 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.xa_option_type)= XA_SUSPEND; } -#line 39644 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39635 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2739: -#line 15507 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15498 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { (yyval.xa_option_type)= XA_FOR_MIGRATE; } -#line 39650 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39641 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2740: -#line 15512 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15503 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_INSTALL_PLUGIN; lex->m_sql_cmd= new Sql_cmd_install_plugin((yyvsp[-2].lex_str), (yyvsp[0].lex_str)); } -#line 39660 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39651 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; case 2741: -#line 15521 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/mysql-5.7.23-release-export-13163832_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ +#line 15512 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/mysql-5.7.24-release-export-13764372_gpl/sql/sql_yacc.yy" /* yacc.c:1646 */ { LEX *lex= Lex; lex->sql_command= SQLCOM_UNINSTALL_PLUGIN; lex->m_sql_cmd= new Sql_cmd_uninstall_plugin((yyvsp[0].lex_str)); } -#line 39670 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39661 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ break; -#line 39674 "/export/home2/pb2/build/sb_1-29015990-1528451851.72/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ +#line 39665 "/export/home2/pb2/build/sb_2-30854041-1538632219.7/dist_GPL/sql/sql_yacc.cc" /* yacc.c:1646 */ default: break; } /* User semantic actions sometimes alter yychar, and that requires diff -Nru mysql-5.7-5.7.23/sql/sql_yacc.h mysql-5.7-5.7.24/sql/sql_yacc.h --- mysql-5.7-5.7.23/sql/sql_yacc.h 2018-06-08 10:09:31.000000000 +0000 +++ mysql-5.7-5.7.24/sql/sql_yacc.h 2018-10-04 06:02:02.000000000 +0000 @@ -30,8 +30,8 @@ This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ -#ifndef YY_MYSQL_EXPORT_HOME2_PB2_BUILD_SB_1_29015990_1528451851_72_DIST_GPL_SQL_SQL_YACC_H_INCLUDED -# define YY_MYSQL_EXPORT_HOME2_PB2_BUILD_SB_1_29015990_1528451851_72_DIST_GPL_SQL_SQL_YACC_H_INCLUDED +#ifndef YY_MYSQL_EXPORT_HOME2_PB2_BUILD_SB_2_30854041_1538632219_7_DIST_GPL_SQL_SQL_YACC_H_INCLUDED +# define YY_MYSQL_EXPORT_HOME2_PB2_BUILD_SB_2_30854041_1538632219_7_DIST_GPL_SQL_SQL_YACC_H_INCLUDED /* Debug traces. */ #ifndef YYDEBUG # define YYDEBUG 0 @@ -1373,4 +1373,4 @@ int MYSQLparse (class THD *YYTHD); -#endif /* !YY_MYSQL_EXPORT_HOME2_PB2_BUILD_SB_1_29015990_1528451851_72_DIST_GPL_SQL_SQL_YACC_H_INCLUDED */ +#endif /* !YY_MYSQL_EXPORT_HOME2_PB2_BUILD_SB_2_30854041_1538632219_7_DIST_GPL_SQL_SQL_YACC_H_INCLUDED */ diff -Nru mysql-5.7-5.7.23/sql/sql_yacc.yy mysql-5.7-5.7.24/sql/sql_yacc.yy --- mysql-5.7-5.7.23/sql/sql_yacc.yy 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/sql_yacc.yy 2018-10-04 05:48:22.000000000 +0000 @@ -5518,56 +5518,47 @@ { LEX *lex= Lex; partition_info *part_info= lex->part_info; - if (! lex->is_partition_management()) + if (part_info->part_type == NOT_A_PARTITION) + part_info->part_type= HASH_PARTITION; + else if (part_info->part_type == RANGE_PARTITION) { - if (part_info->part_type == RANGE_PARTITION) - { - my_error(ER_PARTITION_REQUIRES_VALUES_ERROR, MYF(0), - "RANGE", "LESS THAN"); - MYSQL_YYABORT; - } - if (part_info->part_type == LIST_PARTITION) - { - my_error(ER_PARTITION_REQUIRES_VALUES_ERROR, MYF(0), - "LIST", "IN"); - MYSQL_YYABORT; - } + my_error(ER_PARTITION_REQUIRES_VALUES_ERROR, MYF(0), + "RANGE", "LESS THAN"); + MYSQL_YYABORT; + } + else if (part_info->part_type == LIST_PARTITION) + { + my_error(ER_PARTITION_REQUIRES_VALUES_ERROR, MYF(0), + "LIST", "IN"); + MYSQL_YYABORT; } - else - part_info->part_type= HASH_PARTITION; } | VALUES LESS_SYM THAN_SYM { LEX *lex= Lex; partition_info *part_info= lex->part_info; - if (! lex->is_partition_management()) + if (part_info->part_type == NOT_A_PARTITION) + part_info->part_type= RANGE_PARTITION; + else if (part_info->part_type != RANGE_PARTITION) { - if (part_info->part_type != RANGE_PARTITION) - { - my_error(ER_PARTITION_WRONG_VALUES_ERROR, MYF(0), - "RANGE", "LESS THAN"); - MYSQL_YYABORT; - } + my_error(ER_PARTITION_WRONG_VALUES_ERROR, MYF(0), + "RANGE", "LESS THAN"); + MYSQL_YYABORT; } - else - part_info->part_type= RANGE_PARTITION; } part_func_max {} | VALUES IN_SYM { LEX *lex= Lex; partition_info *part_info= lex->part_info; - if (! lex->is_partition_management()) + if (part_info->part_type == NOT_A_PARTITION) + part_info->part_type= LIST_PARTITION; + else if (part_info->part_type != LIST_PARTITION) { - if (part_info->part_type != LIST_PARTITION) - { - my_error(ER_PARTITION_WRONG_VALUES_ERROR, MYF(0), - "LIST", "IN"); - MYSQL_YYABORT; - } + my_error(ER_PARTITION_WRONG_VALUES_ERROR, MYF(0), + "LIST", "IN"); + MYSQL_YYABORT; } - else - part_info->part_type= LIST_PARTITION; } part_values_in {} ; diff -Nru mysql-5.7-5.7.23/sql/sys_vars.cc mysql-5.7-5.7.24/sql/sys_vars.cc --- mysql-5.7-5.7.23/sql/sys_vars.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/sys_vars.cc 2018-10-04 05:48:22.000000000 +0000 @@ -748,7 +748,7 @@ NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0), ON_UPDATE(0), DEPRECATED("")); -static Sys_var_ulong Sys_binlog_group_commit_sync_delay( +static Sys_var_long Sys_binlog_group_commit_sync_delay( "binlog_group_commit_sync_delay", "The number of microseconds the server waits for the " "binary log group commit sync queue to fill before " diff -Nru mysql-5.7-5.7.23/sql/table.h mysql-5.7-5.7.24/sql/table.h --- mysql-5.7-5.7.23/sql/table.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/sql/table.h 2018-10-04 05:48:22.000000000 +0000 @@ -1653,11 +1653,21 @@ bool account_locked; } LEX_ALTER; +/* + This structure holds the specifications related to + mysql user and the associated auth details. +*/ typedef struct st_lex_user { LEX_CSTRING user; LEX_CSTRING host; LEX_CSTRING plugin; LEX_CSTRING auth; +/* + The following flags are indicators for the SQL syntax used while + parsing CREATE/ALTER user. While other members are self-explanatory, + 'uses_authentication_string_clause' signifies if the password is in + hash form (if the var was set to true) or not. +*/ bool uses_identified_by_clause; bool uses_identified_with_clause; bool uses_authentication_string_clause; diff -Nru mysql-5.7-5.7.23/storage/federated/ha_federated.cc mysql-5.7-5.7.24/storage/federated/ha_federated.cc --- mysql-5.7-5.7.23/storage/federated/ha_federated.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/federated/ha_federated.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1425,8 +1425,9 @@ { goto err; } + break; } - break; + // Fall through case HA_READ_KEY_OR_NEXT: DBUG_PRINT("info", ("federated HA_READ_KEY_OR_NEXT %d", i)); if (emit_key_part_name(&tmp, key_part) || @@ -1444,8 +1445,9 @@ emit_key_part_element(&tmp, key_part, needs_quotes, 0, ptr, part_length)) goto err; + break; } - break; + // Fall through case HA_READ_KEY_OR_PREV: DBUG_PRINT("info", ("federated HA_READ_KEY_OR_PREV %d", i)); if (emit_key_part_name(&tmp, key_part) || diff -Nru mysql-5.7-5.7.23/storage/heap/hp_create.c mysql-5.7-5.7.24/storage/heap/hp_create.c --- mysql-5.7-5.7.23/storage/heap/hp_create.c 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/heap/hp_create.c 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -92,7 +92,14 @@ /* Fall through. */ case HA_KEYTYPE_VARTEXT1: keyinfo->flag|= HA_VAR_LENGTH_KEY; - length+= 2; + /* + For BTREE algorithm, key length, greater than or equal + to 255, is packed on 3 bytes. + */ + if (keyinfo->algorithm == HA_KEY_ALG_BTREE) + length+= size_to_store_key_length(keyinfo->seg[j].length); + else + length+= 2; /* Save number of bytes used to store length */ keyinfo->seg[j].bit_start= 1; break; @@ -101,7 +108,14 @@ /* fall_through */ case HA_KEYTYPE_VARTEXT2: keyinfo->flag|= HA_VAR_LENGTH_KEY; - length+= 2; + /* + For BTREE algorithm, key length, greater than or equal + to 255, is packed on 3 bytes. + */ + if (keyinfo->algorithm == HA_KEY_ALG_BTREE) + length+= size_to_store_key_length(keyinfo->seg[j].length); + else + length+= 2; /* Save number of bytes used to store length */ keyinfo->seg[j].bit_start= 2; /* diff -Nru mysql-5.7-5.7.23/storage/innobase/dict/dict0dict.cc mysql-5.7-5.7.24/storage/innobase/dict/dict0dict.cc --- mysql-5.7-5.7.23/storage/innobase/dict/dict0dict.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/innobase/dict/dict0dict.cc 2018-10-04 05:48:22.000000000 +0000 @@ -6728,6 +6728,11 @@ return(false); } + if (index->type & DICT_SPATIAL) { + /* Spatial index cannot be used as foreign keys */ + return(false); + } + for (ulint i = 0; i < n_cols; i++) { dict_field_t* field; const char* col_name; diff -Nru mysql-5.7-5.7.23/storage/innobase/gis/gis0sea.cc mysql-5.7-5.7.24/storage/innobase/gis/gis0sea.cc --- mysql-5.7-5.7.23/storage/innobase/gis/gis0sea.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/innobase/gis/gis0sea.cc 2018-10-04 05:48:22.000000000 +0000 @@ -385,8 +385,7 @@ if (mode != PAGE_CUR_RTREE_INSERT && mode != PAGE_CUR_RTREE_LOCATE && mode >= PAGE_CUR_CONTAIN - && btr_cur->rtr_info->need_prdt_lock - && found) { + && btr_cur->rtr_info->need_prdt_lock) { lock_prdt_t prdt; trx_t* trx = thr_get_trx( diff -Nru mysql-5.7-5.7.23/storage/innobase/handler/ha_innodb.cc mysql-5.7-5.7.24/storage/innobase/handler/ha_innodb.cc --- mysql-5.7-5.7.23/storage/innobase/handler/ha_innodb.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/innobase/handler/ha_innodb.cc 2018-10-04 05:48:22.000000000 +0000 @@ -320,6 +320,9 @@ "all" /* IBUF_USE_ALL */ }; +/* Deprecation warning text */ +const char PARTITION_IN_SHARED_TABLESPACE_WARNING[] = + "InnoDB : A table partition in a shared tablespace"; /* This tablespace name is reserved by InnoDB in order to explicitly create a file_per_table tablespace for the table. */ @@ -2212,6 +2215,9 @@ return(lower_case_table_names); } +/** return one of the temporary dir from tmpdir +@return temporary directory */ +char *innobase_mysql_tmpdir(void) { return (mysql_tmpdir); } /** Creates a temporary file in the location specified by the parameter path. If the path is NULL, then it will be created in tmpdir. @@ -3235,6 +3241,7 @@ m_prebuilt->keep_other_fields_on_keyread = 0; m_prebuilt->read_just_key = 0; m_prebuilt->in_fts_query = 0; + m_prebuilt->m_end_range = false; /* Reset index condition pushdown state. */ if (m_prebuilt->idx_cond) { @@ -10720,16 +10727,21 @@ if (THDVAR(m_thd, strict_mode)) { /* Return error if STRICT mode is enabled. */ my_printf_error(ER_ILLEGAL_HA_CREATE_OPTION, - "InnoDB: innodb_file_per_table option" - " not supported for temporary tables.", MYF(0)); + "InnoDB: TABLESPACE=%s option" + " is disallowed for temporary tables" + " with INNODB_STRICT_NODE=ON. This option is" + " deprecated and will be removed in a future release", + MYF(0), m_create_info->tablespace); return(false); } /* STRICT mode turned off. Proceed with the execution with a warning. */ push_warning_printf(m_thd, Sql_condition::SL_WARNING, ER_ILLEGAL_HA_CREATE_OPTION, - "InnoDB: innodb_file_per_table option ignored" - " while creating temporary table with INNODB_STRICT_MODE=OFF."); + "InnoDB: TABLESPACE=%s option is ignored." + " This option is deprecated and will be" + " removed in a future release.", + m_create_info->tablespace); } return(true); } @@ -11515,6 +11527,13 @@ m_flags2 |= DICT_TF2_INTRINSIC; innodb_row_format = REC_FORMAT_DYNAMIC; } + if (m_create_info->tablespace != NULL && + strcmp(m_create_info->tablespace, reserved_temporary_space_name) == 0) { + push_warning_printf(m_thd, Sql_condition::SL_WARNING, + ER_ILLEGAL_HA_CREATE_OPTION, + "InnoDB: TABLESPACE=innodb_temporary option is" + " deprecated and will be removed in a future release."); + } } /* Set the table flags */ @@ -15352,11 +15371,15 @@ /* This transaction had called ha_innobase::start_stmt() */ trx_t* trx = m_prebuilt->trx; - + trx_mutex_enter(trx); if (trx->lock.start_stmt) { - TrxInInnoDB::end_stmt(trx); - trx->lock.start_stmt = false; + trx_mutex_exit(trx); + + TrxInInnoDB::end_stmt(trx); + } + else { + trx_mutex_exit(trx); } return(0); @@ -15483,12 +15506,16 @@ ++trx->will_lock; } + trx_mutex_enter(trx); /* Only do it once per transaction. */ if (!trx->lock.start_stmt && lock_type != TL_UNLOCK) { + trx->lock.start_stmt = true; + trx_mutex_exit(trx); TrxInInnoDB::begin_stmt(trx); - - trx->lock.start_stmt = true; + } + else { + trx_mutex_exit(trx); } DBUG_RETURN(0); diff -Nru mysql-5.7-5.7.23/storage/innobase/handler/ha_innodb.h mysql-5.7-5.7.24/storage/innobase/handler/ha_innodb.h --- mysql-5.7-5.7.23/storage/innobase/handler/ha_innodb.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/innobase/handler/ha_innodb.h 2018-10-04 05:48:22.000000000 +0000 @@ -22,6 +22,9 @@ system clustered index when there is no primary key. */ extern const char innobase_index_reserve_name[]; +/* Deprecation warning text */ +extern const char PARTITION_IN_SHARED_TABLESPACE_WARNING[]; + /* "innodb_file_per_table" tablespace name is reserved by InnoDB in order to explicitly create a file_per_table tablespace for the table. */ extern const char reserved_file_per_table_space_name[]; @@ -670,6 +673,18 @@ reserved_system_space_name))); } +/** Check if tablespace is shared tablespace. +@param[in] tablespace_name Name of the tablespace +@return true if tablespace is a shared tablespace. */ +UNIV_INLINE +bool is_shared_tablespace(const char *tablespace_name) { + if (tablespace_name != NULL && tablespace_name[0] != '\0' && + (strcmp(tablespace_name, reserved_file_per_table_space_name) != 0)) { + return true; + } + return false; +} + /** Parse hint for table and its indexes, and update the information in dictionary. @param[in] thd Connection thread diff -Nru mysql-5.7-5.7.23/storage/innobase/handler/ha_innopart.cc mysql-5.7-5.7.24/storage/innobase/handler/ha_innopart.cc --- mysql-5.7-5.7.23/storage/innobase/handler/ha_innopart.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/innobase/handler/ha_innopart.cc 2018-10-04 05:48:22.000000000 +0000 @@ -2739,6 +2739,12 @@ tablespace_name); DBUG_ENTER("ha_innopart::create"); + + if (is_shared_tablespace(create_info->tablespace)) { + push_deprecated_warn_no_replacement( + ha_thd(), PARTITION_IN_SHARED_TABLESPACE_WARNING); + } + ut_ad(create_info != NULL); ut_ad(m_part_info == form->part_info); ut_ad(table_share != NULL); @@ -2858,6 +2864,11 @@ set_create_info_dir(part_elem, create_info); if (!form->part_info->is_sub_partitioned()) { + if (is_shared_tablespace(part_elem->tablespace_name)) { + push_deprecated_warn_no_replacement( + ha_thd(), PARTITION_IN_SHARED_TABLESPACE_WARNING); + } + error = info.prepare_create_table(partition_name); if (error != 0) { goto cleanup; @@ -2878,6 +2889,11 @@ while ((sub_elem = sub_it++)) { ut_ad(sub_elem->partition_name != NULL); + if (is_shared_tablespace(sub_elem->tablespace_name)) { + push_deprecated_warn_no_replacement( + ha_thd(), PARTITION_IN_SHARED_TABLESPACE_WARNING); + } + /* 'table' will be #P##SP#. Append the sub-partition name to @@ -3002,13 +3018,24 @@ DBUG_RETURN(error); cleanup: - trx_rollback_for_mysql(info.trx()); + trx_rollback_for_mysql(info.trx()); - row_mysql_unlock_data_dictionary(info.trx()); + row_mysql_unlock_data_dictionary(info.trx()); - trx_free_for_mysql(info.trx()); + ulint dummy; + char norm_name[FN_REFLEN]; - DBUG_RETURN(error); + normalize_table_name(norm_name, name); + + uint lent = (uint)strlen(norm_name); + ut_a(lent < FN_REFLEN); + norm_name[lent] = '#'; + norm_name[lent + 1] = 0; + + row_drop_database_for_mysql(norm_name, info.trx(), &dummy); + + trx_free_for_mysql(info.trx()); + DBUG_RETURN(error); } /** Discards or imports an InnoDB tablespace. @@ -4237,6 +4264,15 @@ ut_ad(table->quiesce == QUIESCE_START); + if (dict_table_is_discarded(table)) { + ib_senderrf(m_prebuilt->trx->mysql_thd, + IB_LOG_LEVEL_ERROR, + ER_TABLESPACE_DISCARDED, + table->name.m_name); + + return (HA_ERR_NO_SUCH_TABLE); + } + row_quiesce_table_start(table, m_prebuilt->trx); @@ -4404,6 +4440,11 @@ DBUG_RETURN(HA_WRONG_CREATE_OPTION); } + if (tablespace_is_shared_space(create_info)) { + push_deprecated_warn_no_replacement( + ha_thd(), PARTITION_IN_SHARED_TABLESPACE_WARNING); + } + error = ha_innobase::create(norm_name, table, create_info); create_info->tablespace = tablespace_name_backup; create_info->data_file_name = data_file_name_backup; diff -Nru mysql-5.7-5.7.23/storage/innobase/handler/handler0alter.cc mysql-5.7-5.7.24/storage/innobase/handler/handler0alter.cc --- mysql-5.7-5.7.23/storage/innobase/handler/handler0alter.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/innobase/handler/handler0alter.cc 2018-10-04 05:48:22.000000000 +0000 @@ -6326,6 +6326,8 @@ /* Read the clustered index of the table and build indexes based on this information using temporary files and merge sort. */ + DEBUG_SYNC_C("alter_table_update_log"); + DBUG_EXECUTE_IF("innodb_OOM_inplace_alter", error = DB_OUT_OF_MEMORY; goto oom;); error = row_merge_build_indexes( @@ -6384,11 +6386,23 @@ table. Either way, we should be seeing and reporting a bogus duplicate key error. */ dup_key = NULL; - } else { - DBUG_ASSERT(m_prebuilt->trx->error_key_num - < ha_alter_info->key_count); + } else if (m_prebuilt->trx->error_key_num == 0) { dup_key = &ha_alter_info->key_info_buffer[ m_prebuilt->trx->error_key_num]; + } else { + /* Check if there is generated cluster index column */ + if (ctx->num_to_add_index > ha_alter_info->key_count) { + DBUG_ASSERT(m_prebuilt->trx->error_key_num + <= ha_alter_info->key_count); + dup_key = &ha_alter_info->key_info_buffer[ + m_prebuilt->trx->error_key_num - 1]; + } + else { + DBUG_ASSERT(m_prebuilt->trx->error_key_num + < ha_alter_info->key_count); + dup_key = &ha_alter_info->key_info_buffer[ + m_prebuilt->trx->error_key_num]; + } } print_keydup_error(altered_table, dup_key, MYF(0)); break; @@ -7592,10 +7606,19 @@ FTS_DOC_ID. */ dup_key = NULL; } else { - DBUG_ASSERT(err_key < - ha_alter_info->key_count); - dup_key = &ha_alter_info - ->key_info_buffer[err_key]; + /* Check if there is generated cluster index column */ + if (ctx->num_to_add_index > ha_alter_info->key_count) { + DBUG_ASSERT(err_key <= + ha_alter_info->key_count); + dup_key = &ha_alter_info + ->key_info_buffer[err_key - 1]; + } + else { + DBUG_ASSERT(err_key < + ha_alter_info->key_count); + dup_key = &ha_alter_info + ->key_info_buffer[err_key]; + } } print_keydup_error(altered_table, dup_key, MYF(0)); DBUG_RETURN(true); @@ -9096,6 +9119,12 @@ thd = ha_thd(); + if (ha_alter_info->create_info->used_fields & HA_CREATE_USED_TABLESPACE + && tablespace_is_shared_space(ha_alter_info->create_info)) { + push_deprecated_warn_no_replacement( + ha_thd(), PARTITION_IN_SHARED_TABLESPACE_WARNING); + } + /* Clean up all ins/upd nodes. */ clear_ins_upd_nodes(); /* Based on Sql_alloc class, return NULL for new on failure. */ diff -Nru mysql-5.7-5.7.23/storage/innobase/include/os0file.h mysql-5.7-5.7.24/storage/innobase/include/os0file.h --- mysql-5.7-5.7.23/storage/innobase/include/os0file.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/innobase/include/os0file.h 2018-10-04 05:48:22.000000000 +0000 @@ -2042,6 +2042,11 @@ bool read_only); #if !defined(UNIV_HOTBACKUP) +/** return one of the tmpdir path +@return tmporary dir*/ +char *innobase_mysql_tmpdir(void); + + /** Creates a temporary file in the location specified by the parameter path. If the path is NULL then it will be created on --tmpdir location. This function is defined in ha_innodb.cc. diff -Nru mysql-5.7-5.7.23/storage/innobase/row/row0ins.cc mysql-5.7-5.7.24/storage/innobase/row/row0ins.cc --- mysql-5.7-5.7.23/storage/innobase/row/row0ins.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/innobase/row/row0ins.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1858,6 +1858,11 @@ thr->lock_state = QUE_THR_LOCK_NOLOCK; + if(trx->error_state != DB_SUCCESS) { + err = trx->error_state; + goto exit_func; + } + DBUG_PRINT("to_be_dropped", ("table: %s", check_table->name.m_name)); if (check_table->to_be_dropped) { diff -Nru mysql-5.7-5.7.23/storage/innobase/row/row0log.cc mysql-5.7-5.7.24/storage/innobase/row/row0log.cc --- mysql-5.7-5.7.23/storage/innobase/row/row0log.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/innobase/row/row0log.cc 2018-10-04 05:48:22.000000000 +0000 @@ -842,7 +842,7 @@ old_pk_size = rec_get_converted_size_temp( new_index, old_pk->fields, old_pk->n_fields, - ventry, &old_pk_extra_size); + NULL, &old_pk_extra_size); ut_ad(old_pk_extra_size < 0x100); mrec_size += 1/*old_pk_extra_size*/ + old_pk_size; } @@ -1664,6 +1664,7 @@ } do { + n_index++; if (!(index = dict_table_get_next_index(index))) { break; } @@ -2244,14 +2245,16 @@ dtuple_t* old_row; row_ext_t* old_ext; - if (dict_table_get_next_index(index)) { + if (dict_index_t* index_next = dict_table_get_next_index(index)) { /* Construct the row corresponding to the old value of the record. */ old_row = row_build( - ROW_COPY_DATA, index, btr_pcur_get_rec(&pcur), - cur_offsets, NULL, NULL, NULL, &old_ext, heap); + ROW_COPY_DATA, index, btr_pcur_get_rec(&pcur), + cur_offsets, NULL, NULL, NULL, &old_ext, heap); + if (dict_index_has_virtual(index_next)) { + dtuple_copy_v_fields(old_row, update->old_vrow); + } ut_ad(old_row); - DBUG_PRINT("ib_alter_table", ("update table " IB_ID_FMT "(index " IB_ID_FMT "): %s to %s", @@ -2284,6 +2287,8 @@ } while ((index = dict_table_get_next_index(index)) != NULL) { + + n_index++; if (error != DB_SUCCESS) { break; } diff -Nru mysql-5.7-5.7.23/storage/innobase/row/row0merge.cc mysql-5.7-5.7.24/storage/innobase/row/row0merge.cc --- mysql-5.7-5.7.23/storage/innobase/row/row0merge.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/innobase/row/row0merge.cc 2018-10-04 05:48:22.000000000 +0000 @@ -3730,21 +3730,27 @@ row_merge_file_create_low( const char* path) { - int fd; + int fd; + if (path == NULL) { + path = innobase_mysql_tmpdir(); + } #ifdef UNIV_PFS_IO /* This temp file open does not go through normal file APIs, add instrumentation to register with performance schema */ struct PSI_file_locker* locker = NULL; - PSI_file_locker_state state; - locker = PSI_FILE_CALL(get_thread_file_name_locker)( - &state, innodb_temp_file_key.m_value, PSI_FILE_OPEN, - "Innodb Merge Temp File", &locker); - if (locker != NULL) { + char *filepath = NULL; + filepath = + fil_make_filepath(path, "Innodb Merge Temp File", NO_EXT, false); + PSI_file_locker_state state; + locker = PSI_FILE_CALL(get_thread_file_name_locker)( + &state, innodb_temp_file_key.m_value, PSI_FILE_OPEN, filepath, + &locker); + if (locker != NULL) { PSI_FILE_CALL(start_file_open_wait)(locker, __FILE__, __LINE__); - } + } #endif fd = innobase_mysql_tmpfile(path); #ifdef UNIV_PFS_IO diff -Nru mysql-5.7-5.7.23/storage/innobase/row/row0mysql.cc mysql-5.7-5.7.24/storage/innobase/row/row0mysql.cc --- mysql-5.7-5.7.23/storage/innobase/row/row0mysql.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/innobase/row/row0mysql.cc 2018-10-04 05:48:22.000000000 +0000 @@ -5498,6 +5498,9 @@ " = TO_BINARY(:old_table_name);\n" "END;\n" , FALSE, trx); + if (err != DB_SUCCESS) { + goto end; + } } else if (n_constraints_to_drop > 0) { /* Drop some constraints of tmp tables. */ diff -Nru mysql-5.7-5.7.23/storage/innobase/row/row0row.cc mysql-5.7-5.7.24/storage/innobase/row/row0row.cc --- mysql-5.7-5.7.23/storage/innobase/row/row0row.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/innobase/row/row0row.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,6 +1,6 @@ /***************************************************************************** -Copyright (c) 1996, 2015, Oracle and/or its affiliates. All Rights Reserved. +Copyright (c) 1996, 2018, Oracle and/or its affiliates. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -278,6 +278,7 @@ continue; } + if ((!ind_field || ind_field->prefix_len == 0) && (!dfield_is_ext(dfield) || dict_index_is_clust(index))) { @@ -298,7 +299,8 @@ stored off-page. */ ut_ad(col->ord_part); - if (ext) { + if (ext && !dict_col_is_virtual(col)) { + /* See if the column is stored externally. */ const byte* buf = row_ext_lookup(ext, col_no, &len); diff -Nru mysql-5.7-5.7.23/storage/innobase/row/row0sel.cc mysql-5.7-5.7.24/storage/innobase/row/row0sel.cc --- mysql-5.7-5.7.23/storage/innobase/row/row0sel.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/innobase/row/row0sel.cc 2018-10-04 05:48:22.000000000 +0000 @@ -5198,7 +5198,7 @@ passed to InnoDB when there is no ICP and number of loops in row_search_mvcc for rows found but not reporting due to search views etc. */ - if (prev_rec != NULL + if (prev_rec != NULL && !prebuilt->innodb_api && prebuilt->m_mysql_handler->end_range != NULL && prebuilt->idx_cond == NULL && end_loop >= 100) { diff -Nru mysql-5.7-5.7.23/storage/innobase/row/row0upd.cc mysql-5.7-5.7.24/storage/innobase/row/row0upd.cc --- mysql-5.7-5.7.23/storage/innobase/row/row0upd.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/innobase/row/row0upd.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,6 +1,6 @@ /***************************************************************************** -Copyright (c) 1996, 2017, Oracle and/or its affiliates. All Rights Reserved. +Copyright (c) 1996, 2018, Oracle and/or its affiliates. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -267,9 +267,10 @@ if it is interrupted. So if the foreign table is undergoing a truncate, ignore the FK check. */ - if (foreign_table != NULL - && fil_space_is_being_truncated( - foreign_table->space)) { + if (foreign_table != NULL && + (dict_table_is_discarded(foreign_table) + || fil_space_is_being_truncated( + foreign_table->space))) { continue; } @@ -1979,6 +1980,7 @@ } dfield_copy_data(dfield, upd_field->old_v_val); + dfield_dup(dfield, node->heap); break; } @@ -1999,6 +2001,7 @@ update->old_vrow, col_no); dfield_copy_data(dfield, vfield); + dfield_dup(dfield, node->heap); } } else { /* Need to compute, this happens when diff -Nru mysql-5.7-5.7.23/storage/myisam/ha_myisam.cc mysql-5.7-5.7.24/storage/myisam/ha_myisam.cc --- mysql-5.7-5.7.23/storage/myisam/ha_myisam.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/myisam/ha_myisam.cc 2018-10-04 05:48:22.000000000 +0000 @@ -875,7 +875,7 @@ If we have an auto_increment column and we are writing a changed row or a new row, then update the auto_increment value in the record. */ - if (table->next_number_field && buf == table->record[0]) + if (table && table->next_number_field && buf == table->record[0]) { int error; if ((error= update_auto_increment())) diff -Nru mysql-5.7-5.7.23/storage/myisam/mi_dynrec.c mysql-5.7-5.7.24/storage/myisam/mi_dynrec.c --- mysql-5.7-5.7.23/storage/myisam/mi_dynrec.c 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/myisam/mi_dynrec.c 2018-10-04 05:48:22.000000000 +0000 @@ -1718,6 +1718,12 @@ MYISAM_SHARE *share=info->s; DBUG_ENTER("_mi_read_rnd_dynamic_record"); + DBUG_EXECUTE_IF("catch_file_offset_deviation", + { + if (filepos) + DBUG_RETURN(HA_ERR_RECORD_DELETED); + }); + info_read=0; if (info->lock_type == F_UNLCK) diff -Nru mysql-5.7-5.7.23/storage/myisammrg/ha_myisammrg.cc mysql-5.7-5.7.24/storage/myisammrg/ha_myisammrg.cc --- mysql-5.7-5.7.23/storage/myisammrg/ha_myisammrg.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/myisammrg/ha_myisammrg.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ -/* Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -377,6 +377,7 @@ /* retrieve children table list. */ if (is_cloned) { + DEBUG_SYNC(current_thd, "before_myrg_open"); /* Open and attaches the MyISAM tables,that are under the MERGE table parent, on the MyISAM storage engine interface directly within the @@ -394,6 +395,13 @@ file->children_attached= TRUE; info(HA_STATUS_NO_LOCK | HA_STATUS_VARIABLE | HA_STATUS_CONST); + /* + There may arise a scenario where it might end up with two different + MYMERGE_INFO data if any one of the child table is updated in + between myrg_open() and the last ha_myisammrg::info(). So we need make + sure that the MYMERGE_INFO data are in sync. + */ + table->file->info(HA_STATUS_NO_LOCK | HA_STATUS_VARIABLE | HA_STATUS_CONST); } else if (!(file= myrg_parent_open(name, myisammrg_parent_open_callback, this))) { diff -Nru mysql-5.7-5.7.23/storage/perfschema/table_replication_applier_configuration.cc mysql-5.7-5.7.24/storage/perfschema/table_replication_applier_configuration.cc --- mysql-5.7-5.7.23/storage/perfschema/table_replication_applier_configuration.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/perfschema/table_replication_applier_configuration.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,5 +1,5 @@ /* - Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. + Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -65,7 +65,7 @@ NULL, /* write_row */ NULL, /* delete_all_rows */ table_replication_applier_configuration::get_row_count, - sizeof(PFS_simple_index), /* ref length */ + sizeof(pos_t), /* ref length */ &m_table_lock, &m_field_def, false, /* checked */ @@ -103,12 +103,10 @@ int table_replication_applier_configuration::rnd_next(void) { Master_info *mi; - int res= HA_ERR_END_OF_FILE; - channel_map.rdlock(); for (m_pos.set_at(&m_next_pos); - m_pos.m_index < channel_map.get_max_channels() && res != 0; + m_pos.m_index < channel_map.get_max_channels(); m_pos.next()) { mi= channel_map.get_mi_at_pos(m_pos.m_index); @@ -117,12 +115,13 @@ { make_row(mi); m_next_pos.set_after(&m_pos); - res= 0; + channel_map.unlock(); + return 0; } } channel_map.unlock(); - return res; + return HA_ERR_END_OF_FILE; } int table_replication_applier_configuration::rnd_pos(const void *pos) diff -Nru mysql-5.7-5.7.23/storage/perfschema/table_replication_applier_configuration.h mysql-5.7-5.7.24/storage/perfschema/table_replication_applier_configuration.h --- mysql-5.7-5.7.23/storage/perfschema/table_replication_applier_configuration.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/perfschema/table_replication_applier_configuration.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,5 +1,5 @@ /* - Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. + Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -48,6 +48,8 @@ /** Table PERFORMANCE_SCHEMA.replication_applier_configuration */ class table_replication_applier_configuration: public PFS_engine_table { + typedef PFS_simple_index pos_t; + private: void make_row(Master_info *mi); @@ -60,9 +62,9 @@ /** True is the current row exists. */ bool m_row_exists; /** Current position. */ - PFS_simple_index m_pos; + pos_t m_pos; /** Next position. */ - PFS_simple_index m_next_pos; + pos_t m_next_pos; protected: /** diff -Nru mysql-5.7-5.7.23/storage/perfschema/table_replication_applier_status_by_coordinator.cc mysql-5.7-5.7.24/storage/perfschema/table_replication_applier_status_by_coordinator.cc --- mysql-5.7-5.7.23/storage/perfschema/table_replication_applier_status_by_coordinator.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/perfschema/table_replication_applier_status_by_coordinator.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,5 +1,5 @@ /* - Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. + Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -85,7 +85,7 @@ NULL, /* write_row */ NULL, /* delete_all_rows */ table_replication_applier_status_by_coordinator::get_row_count, - sizeof(PFS_simple_index), /* ref length */ + sizeof(pos_t), /* ref length */ &m_table_lock, &m_field_def, false, /* checked */ @@ -122,12 +122,10 @@ int table_replication_applier_status_by_coordinator::rnd_next(void) { Master_info *mi; - int res= HA_ERR_END_OF_FILE; - channel_map.rdlock(); for(m_pos.set_at(&m_next_pos); - m_pos.m_index < channel_map.get_max_channels() && res != 0; + m_pos.m_index < channel_map.get_max_channels(); m_pos.next()) { mi= channel_map.get_mi_at_pos(m_pos.m_index); @@ -144,12 +142,13 @@ { make_row(mi); m_next_pos.set_after(&m_pos); - res= 0; + channel_map.unlock(); + return 0; } } channel_map.unlock(); - return res; + return HA_ERR_END_OF_FILE; } int table_replication_applier_status_by_coordinator::rnd_pos(const void *pos) diff -Nru mysql-5.7-5.7.23/storage/perfschema/table_replication_applier_status_by_coordinator.h mysql-5.7-5.7.24/storage/perfschema/table_replication_applier_status_by_coordinator.h --- mysql-5.7-5.7.23/storage/perfschema/table_replication_applier_status_by_coordinator.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/perfschema/table_replication_applier_status_by_coordinator.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,5 +1,5 @@ /* - Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. + Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -65,6 +65,8 @@ /** Table PERFORMANCE_SCHEMA.replication_applier_status_by_coordinator */ class table_replication_applier_status_by_coordinator: public PFS_engine_table { + typedef PFS_simple_index pos_t; + private: void make_row(Master_info *mi); @@ -77,9 +79,9 @@ /** True is the current row exists. */ bool m_row_exists; /** Current position. */ - PFS_simple_index m_pos; + pos_t m_pos; /** Next position. */ - PFS_simple_index m_next_pos; + pos_t m_next_pos; protected: /** diff -Nru mysql-5.7-5.7.23/storage/perfschema/table_replication_applier_status_by_worker.cc mysql-5.7-5.7.24/storage/perfschema/table_replication_applier_status_by_worker.cc --- mysql-5.7-5.7.23/storage/perfschema/table_replication_applier_status_by_worker.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/perfschema/table_replication_applier_status_by_worker.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,5 +1,5 @@ /* - Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. + Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -94,7 +94,7 @@ NULL, /* write_row */ NULL, /* delete_all_rows */ table_replication_applier_status_by_worker::get_row_count, /*records*/ - sizeof(PFS_simple_index), /* ref length */ + sizeof(pos_t), /* ref length */ &m_table_lock, &m_field_def, false, /* checked */ @@ -109,8 +109,7 @@ table_replication_applier_status_by_worker ::table_replication_applier_status_by_worker() : PFS_engine_table(&m_share, &m_pos), - m_row_exists(false), m_pos(), m_next_pos(), - m_applier_pos(0), m_applier_next_pos(0) + m_row_exists(false), m_pos(), m_next_pos() {} table_replication_applier_status_by_worker @@ -121,8 +120,6 @@ { m_pos.reset(); m_next_pos.reset(); - m_applier_pos.m_index=0; - m_applier_next_pos.m_index=0; } ha_rows table_replication_applier_status_by_worker::get_row_count() @@ -138,52 +135,47 @@ { Slave_worker *worker; Master_info *mi; - int res= HA_ERR_END_OF_FILE; + size_t wc; channel_map.rdlock(); - /* - For each SQL Thread in all channels get the respective Master_info and - construct a row to display its status in - 'replication_applier_status_by_worker' table in case of single threaded - slave mode. - */ - for(m_applier_pos.set_at(&m_applier_next_pos); - m_applier_pos.m_index < channel_map.get_max_channels(); - m_applier_pos.next()) - { - mi= channel_map.get_mi_at_pos(m_applier_pos.m_index); - - if (mi && mi->host[0] && mi->rli && mi->rli->get_worker_count()==0) - { - make_row(mi); - m_applier_next_pos.set_after(&m_applier_pos); - - channel_map.unlock(); - return 0; - } - } - for (m_pos.set_at(&m_next_pos); - m_pos.has_more_channels(channel_map.get_max_channels()) && res != 0; + m_pos.has_more_channels(channel_map.get_max_channels()); m_pos.next_channel()) { mi= channel_map.get_mi_at_pos(m_pos.m_index_1); if (mi && mi->host[0]) { - worker= mi->rli->get_worker(m_pos.m_index_2); - if (worker) + wc= mi->rli->get_worker_count(); + + if (wc == 0) { - make_row(worker); - m_next_pos.set_after(&m_pos); - res= 0; + /* Single Thread Slave */ + make_row(mi); + m_next_pos.set_channel_after(&m_pos); + channel_map.unlock(); + return 0; + } + + for (; m_pos.m_index_2 < wc; m_pos.next_worker()) + { + /* Multi Thread Slave */ + + worker = mi->rli->get_worker(m_pos.m_index_2); + if (worker) + { + make_row(worker); + m_next_pos.set_after(&m_pos); + channel_map.unlock(); + return 0; + } } } } channel_map.unlock(); - return res; + return HA_ERR_END_OF_FILE; } int table_replication_applier_status_by_worker::rnd_pos(const void *pos) @@ -191,6 +183,7 @@ Slave_worker *worker; Master_info *mi; int res= HA_ERR_RECORD_DELETED; + size_t wc; set_position(pos); @@ -201,22 +194,26 @@ if (!mi || !mi->rli || !mi->host[0]) goto end; - DBUG_ASSERT(m_pos.m_index_1 < mi->rli->get_worker_count()); - /* - Display SQL Thread's status only in the case of single threaded mode. - */ - if (mi->rli->get_worker_count() == 0) + wc = mi->rli->get_worker_count(); + + if (wc == 0) { + /* Single Thread Slave */ make_row(mi); - res= 0; - goto end; + res=0; } - worker= mi->rli->get_worker(m_pos.m_index_2); - - if (worker != NULL) + else { - make_row(worker); - res= 0; + /* Multi Thread Slave */ + if (m_pos.m_index_2 < wc) + { + worker = mi->rli->get_worker(m_pos.m_index_2); + if (worker != NULL) + { + make_row(worker); + res=0; + } + } } end: diff -Nru mysql-5.7-5.7.23/storage/perfschema/table_replication_applier_status_by_worker.h mysql-5.7-5.7.24/storage/perfschema/table_replication_applier_status_by_worker.h --- mysql-5.7-5.7.23/storage/perfschema/table_replication_applier_status_by_worker.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/perfschema/table_replication_applier_status_by_worker.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,5 +1,5 @@ /* - Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. + Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -74,14 +74,16 @@ }; /** - Index 1 for replication channel - Index 2 for worker + Position in table replication_applier_status_by_worker. + Index 1 for replication channel. + Index 2 for worker: + - position [0] is for Single Thread Slave (Master_info) + - position [1] .. [N] is for Multi Thread Slave (Slave_worker) */ -struct workers_per_channel -:public PFS_double_index +struct pos_replication_applier_status_by_worker : public PFS_double_index { - workers_per_channel() - :PFS_double_index(0,0) + + pos_replication_applier_status_by_worker() : PFS_double_index(0, 0) {} inline void reset(void) @@ -98,12 +100,26 @@ m_index_1++; m_index_2= 0; } + + inline void next_worker() + { + m_index_2++; + } + + inline void + set_channel_after(const pos_replication_applier_status_by_worker *other) + { + m_index_1 = other->m_index_1 + 1; + m_index_2 = 0; + } }; /** Table PERFORMANCE_SCHEMA.replication_applier_status_by_worker */ class table_replication_applier_status_by_worker: public PFS_engine_table { + typedef pos_replication_applier_status_by_worker pos_t; + private: void make_row(Slave_worker *); /* @@ -121,13 +137,9 @@ /** True is the current row exists. */ bool m_row_exists; /** Current position. */ - workers_per_channel m_pos; - /** Next position. */ - workers_per_channel m_next_pos; - /** Current position. */ - PFS_simple_index m_applier_pos; + pos_t m_pos; /** Next position. */ - PFS_simple_index m_applier_next_pos; + pos_t m_next_pos; protected: /** diff -Nru mysql-5.7-5.7.23/storage/perfschema/table_replication_applier_status.cc mysql-5.7-5.7.24/storage/perfschema/table_replication_applier_status.cc --- mysql-5.7-5.7.23/storage/perfschema/table_replication_applier_status.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/perfschema/table_replication_applier_status.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,5 +1,5 @@ /* - Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. + Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -74,7 +74,7 @@ NULL, /* write_row */ NULL, /* delete_all_rows */ table_replication_applier_status::get_row_count, /* records */ - sizeof(PFS_simple_index), /* ref length */ + sizeof(pos_t), /* ref length */ &m_table_lock, &m_field_def, false, /* checked */ @@ -110,12 +110,10 @@ int table_replication_applier_status::rnd_next(void) { Master_info *mi; - int res= HA_ERR_END_OF_FILE; - channel_map.rdlock(); for(m_pos.set_at(&m_next_pos); - m_pos.m_index < channel_map.get_max_channels() && res != 0; + m_pos.m_index < channel_map.get_max_channels(); m_pos.next()) { mi= channel_map.get_mi_at_pos(m_pos.m_index); @@ -124,12 +122,13 @@ { make_row(mi); m_next_pos.set_after(&m_pos); - res= 0; + channel_map.unlock(); + return 0; } } channel_map.unlock(); - return res; + return HA_ERR_END_OF_FILE; } diff -Nru mysql-5.7-5.7.23/storage/perfschema/table_replication_applier_status.h mysql-5.7-5.7.24/storage/perfschema/table_replication_applier_status.h --- mysql-5.7-5.7.23/storage/perfschema/table_replication_applier_status.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/perfschema/table_replication_applier_status.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,5 +1,5 @@ /* - Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. + Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -59,6 +59,8 @@ /** Table PERFORMANCE_SCHEMA.replication_applier_status */ class table_replication_applier_status: public PFS_engine_table { + typedef PFS_simple_index pos_t; + private: void make_row(Master_info *mi); @@ -71,9 +73,9 @@ /** True is the current row exists. */ bool m_row_exists; /** Current position. */ - PFS_simple_index m_pos; + pos_t m_pos; /** Next position. */ - PFS_simple_index m_next_pos; + pos_t m_next_pos; protected: /** diff -Nru mysql-5.7-5.7.23/storage/perfschema/table_replication_connection_configuration.cc mysql-5.7-5.7.24/storage/perfschema/table_replication_connection_configuration.cc --- mysql-5.7-5.7.23/storage/perfschema/table_replication_connection_configuration.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/perfschema/table_replication_connection_configuration.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,5 +1,5 @@ /* - Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. + Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -147,7 +147,7 @@ NULL, /* write_row */ NULL, /* delete_all_rows */ table_replication_connection_configuration::get_row_count, /* records */ - sizeof(PFS_simple_index), /* ref length */ + sizeof(pos_t), /* ref length */ &m_table_lock, &m_field_def, false, /* checked */ @@ -189,12 +189,10 @@ int table_replication_connection_configuration::rnd_next(void) { Master_info *mi; - int res= HA_ERR_END_OF_FILE; - channel_map.rdlock(); for (m_pos.set_at(&m_next_pos); - m_pos.m_index < channel_map.get_max_channels() && res != 0; + m_pos.m_index < channel_map.get_max_channels(); m_pos.next()) { mi= channel_map.get_mi_at_pos(m_pos.m_index); @@ -203,12 +201,13 @@ { make_row(mi); m_next_pos.set_after(&m_pos); - res= 0; + channel_map.unlock(); + return 0; } } channel_map.unlock(); - return res; + return HA_ERR_END_OF_FILE; } int table_replication_connection_configuration::rnd_pos(const void *pos) diff -Nru mysql-5.7-5.7.23/storage/perfschema/table_replication_connection_configuration.h mysql-5.7-5.7.24/storage/perfschema/table_replication_connection_configuration.h --- mysql-5.7-5.7.23/storage/perfschema/table_replication_connection_configuration.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/perfschema/table_replication_connection_configuration.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,5 +1,5 @@ /* - Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. + Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -93,6 +93,8 @@ /** Table PERFORMANCE_SCHEMA.TABLE_REPLICATION_CONNECTION_CONFIGURATION. */ class table_replication_connection_configuration: public PFS_engine_table { + typedef PFS_simple_index pos_t; + private: void make_row(Master_info *); @@ -105,9 +107,9 @@ /** Current row */ st_row_connect_config m_row; /** Current position. */ - PFS_simple_index m_pos; + pos_t m_pos; /** Next position. */ - PFS_simple_index m_next_pos; + pos_t m_next_pos; protected: /** diff -Nru mysql-5.7-5.7.23/storage/perfschema/table_replication_connection_status.cc mysql-5.7-5.7.24/storage/perfschema/table_replication_connection_status.cc --- mysql-5.7-5.7.23/storage/perfschema/table_replication_connection_status.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/perfschema/table_replication_connection_status.cc 2018-10-04 05:48:22.000000000 +0000 @@ -1,5 +1,5 @@ /* - Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. + Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -151,7 +151,7 @@ NULL, /* write_row */ NULL, /* delete_all_rows */ table_replication_connection_status::get_row_count, /* records */ - sizeof(PFS_simple_index), /* ref length */ + sizeof(pos_t), /* ref length */ &m_table_lock, &m_field_def, false, /* checked */ @@ -190,12 +190,10 @@ int table_replication_connection_status::rnd_next(void) { Master_info *mi= NULL; - int res= HA_ERR_END_OF_FILE; - channel_map.rdlock(); for (m_pos.set_at(&m_next_pos); - m_pos.m_index < channel_map.get_max_channels() && res != 0; + m_pos.m_index < channel_map.get_max_channels(); m_pos.next()) { mi= channel_map.get_mi_at_pos(m_pos.m_index); @@ -204,12 +202,13 @@ { make_row(mi); m_next_pos.set_after(&m_pos); - res= 0; + channel_map.unlock(); + return 0; } } channel_map.unlock(); - return res; + return HA_ERR_END_OF_FILE; } int table_replication_connection_status::rnd_pos(const void *pos) diff -Nru mysql-5.7-5.7.23/storage/perfschema/table_replication_connection_status.h mysql-5.7-5.7.24/storage/perfschema/table_replication_connection_status.h --- mysql-5.7-5.7.23/storage/perfschema/table_replication_connection_status.h 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/storage/perfschema/table_replication_connection_status.h 2018-10-04 05:48:22.000000000 +0000 @@ -1,5 +1,5 @@ /* - Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. + Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -91,6 +91,8 @@ /** Table PERFORMANCE_SCHEMA.REPLICATION_CONNECTION_STATUS. */ class table_replication_connection_status: public PFS_engine_table { + typedef PFS_simple_index pos_t; + private: void make_row(Master_info *mi); @@ -103,9 +105,9 @@ /** Current row */ st_row_connect_status m_row; /** Current position. */ - PFS_simple_index m_pos; + pos_t m_pos; /** Next position. */ - PFS_simple_index m_next_pos; + pos_t m_next_pos; protected: /** diff -Nru mysql-5.7-5.7.23/support-files/build-tags mysql-5.7-5.7.24/support-files/build-tags --- mysql-5.7-5.7.23/support-files/build-tags 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/support-files/build-tags 2018-10-04 05:48:22.000000000 +0000 @@ -1,12 +1,41 @@ -#! /bin/sh +#! /bin/bash -rm -f TAGS +# Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +tagstyle=${1:-etags} + +common_opts="--langmap=C++:+.ic,YACC:+.yy -I MY_ATTRIBUTE+" +case $tagstyle in + "etags") tagfile=TAGS + tagopt="-e $common_opts" + ;; + "ctags") tagfile=tags + tagopt="--fields=+l $common_opts" + ;; + *) echo "$0 [etags|ctags]" + exit 1 + ;; +esac + +rm -f $tagfile filter='\.cpp$\|\.cc$\|\.c$\|\.h$\|sql_yacc\.yy$\|\.hpp$\|\.ic$' list="find . -type f" git rev-parse >/dev/null 2>/dev/null && list="git ls-files" -$list |grep $filter |while read f; -do - etags -o TAGS --append $f -done +ctags $tagopt -o $tagfile $( $list | grep $filter ) + +echo "wrote file `pwd`/$tagfile" diff -Nru mysql-5.7-5.7.23/support-files/MacOSX/ReadMe.html mysql-5.7-5.7.24/support-files/MacOSX/ReadMe.html --- mysql-5.7-5.7.23/support-files/MacOSX/ReadMe.html 2018-06-08 10:09:12.000000000 +0000 +++ mysql-5.7-5.7.24/support-files/MacOSX/ReadMe.html 2018-10-04 06:01:50.000000000 +0000 @@ -1,6 +1,6 @@ -2.4 Installing MySQL on macOS

2.4 Installing MySQL on macOS

+2.4 Installing MySQL on macOS

2.4 Installing MySQL on macOS

For a list of macOS versions that the MySQL server supports, see - http://www.mysql.com/support/supportedplatforms/database.html. + https://www.mysql.com/support/supportedplatforms/database.html.

MySQL for macOS is available in a number of different forms:

  • @@ -99,15 +99,15 @@

    1. Download the disk image (.dmg) file (the community version is available - here) that + here) that contains the MySQL package installer. Double-click the file to mount the disk image and see its contents.

      Figure 2.20 MySQL Package Installer: DMG Contents

      Mounted macOS disk image contents that contains the MySQL Server package file.

    2. Double-click the MySQL installer package from the disk. It is named according to the version of MySQL you have downloaded. - For example, for MySQL server 5.7.24 it might be + For example, for MySQL server 5.7.25 it might be named - mysql-5.7.24-osx-10.13-x86_64.pkg. + mysql-5.7.25-osx-10.13-x86_64.pkg.

    3. The initial wizard introduction screen references the MySQL server version to install. Click @@ -156,9 +156,9 @@ installed into a directory within /usr/local matching the name of the installation version and platform. For example, the installer file - mysql-5.7.24-osx10.13-x86_64.dmg + mysql-5.7.25-osx10.13-x86_64.dmg installs MySQL into - /usr/local/mysql-5.7.24-osx10.13-x86_64/ + /usr/local/mysql-5.7.25-osx10.13-x86_64/ . The following table shows the layout of the installation directory.

      Table 2.6 MySQL Installation Layout on macOS

@@ -340,7 +340,7 @@

  1. Download the disk image (.dmg) file (the community version is available - here) that + here) that contains the MySQL package installer. Double-click the file to mount the disk image and see its contents.

    Figure 2.29 MySQL Package Installer: DMG Contents

    Content is described in the surrounding text.

  2. diff -Nru mysql-5.7-5.7.23/unittest/gunit/CMakeLists.txt mysql-5.7-5.7.24/unittest/gunit/CMakeLists.txt --- mysql-5.7-5.7.23/unittest/gunit/CMakeLists.txt 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/unittest/gunit/CMakeLists.txt 2018-10-04 05:48:22.000000000 +0000 @@ -45,6 +45,7 @@ ENDIF() IF (WITH_GMOCK) + FILE(TO_CMAKE_PATH "${WITH_GMOCK}" WITH_GMOCK) ## Did we get a full path name, including file name? IF (${WITH_GMOCK} MATCHES ".*\\.zip") GET_FILENAME_COMPONENT(GMOCK_DIR ${WITH_GMOCK} PATH) @@ -204,7 +205,6 @@ INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/libbinlogevents/include - ${ZLIB_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/regex ${CMAKE_SOURCE_DIR}/sql ${CMAKE_SOURCE_DIR}/sql/auth diff -Nru mysql-5.7-5.7.23/unittest/gunit/dynarray-t.cc mysql-5.7-5.7.24/unittest/gunit/dynarray-t.cc --- mysql-5.7-5.7.23/unittest/gunit/dynarray-t.cc 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/unittest/gunit/dynarray-t.cc 2018-10-04 05:48:22.000000000 +0000 @@ -458,9 +458,9 @@ TEST_F(MemRootTest, ResizeShrink) { + size_t counter= 0; Mem_root_array array(m_mem_root_p); array.reserve(100); - size_t counter= 0; DestroyCounter foo(&counter); array.resize(10, foo); EXPECT_EQ(0U, counter); diff -Nru mysql-5.7-5.7.23/VERSION mysql-5.7-5.7.24/VERSION --- mysql-5.7-5.7.23/VERSION 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/VERSION 2018-10-04 05:48:22.000000000 +0000 @@ -1,4 +1,4 @@ MYSQL_VERSION_MAJOR=5 MYSQL_VERSION_MINOR=7 -MYSQL_VERSION_PATCH=23 +MYSQL_VERSION_PATCH=24 MYSQL_VERSION_EXTRA= diff -Nru mysql-5.7-5.7.23/zlib/adler32.c mysql-5.7-5.7.24/zlib/adler32.c --- mysql-5.7-5.7.23/zlib/adler32.c 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/zlib/adler32.c 2018-10-04 05:48:22.000000000 +0000 @@ -1,14 +1,15 @@ /* adler32.c -- compute the Adler-32 checksum of a data stream - * Copyright (C) 1995-2004 Mark Adler + * Copyright (C) 1995-2011, 2017 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* @(#) $Id$ */ -#define ZLIB_INTERNAL -#include "zlib.h" +#include "zutil.h" -#define BASE 65521UL /* largest prime smaller than 65536 */ +local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2)); + +#define BASE 65521U /* largest prime smaller than 65536 */ #define NMAX 5552 /* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */ @@ -18,46 +19,51 @@ #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4); #define DO16(buf) DO8(buf,0); DO8(buf,8); -/* use NO_DIVIDE if your processor does not do division in hardware */ +/* use NO_DIVIDE if your processor does not do division in hardware -- + try it both ways to see which is faster */ #ifdef NO_DIVIDE -# define MOD(a) \ +/* note that this assumes BASE is 65521, where 65536 % 65521 == 15 + (thank you to John Reiser for pointing this out) */ +# define CHOP(a) \ + do { \ + unsigned long tmp = a >> 16; \ + a &= 0xffffUL; \ + a += (tmp << 4) - tmp; \ + } while (0) +# define MOD28(a) \ do { \ - if (a >= (BASE << 16)) a -= (BASE << 16); \ - if (a >= (BASE << 15)) a -= (BASE << 15); \ - if (a >= (BASE << 14)) a -= (BASE << 14); \ - if (a >= (BASE << 13)) a -= (BASE << 13); \ - if (a >= (BASE << 12)) a -= (BASE << 12); \ - if (a >= (BASE << 11)) a -= (BASE << 11); \ - if (a >= (BASE << 10)) a -= (BASE << 10); \ - if (a >= (BASE << 9)) a -= (BASE << 9); \ - if (a >= (BASE << 8)) a -= (BASE << 8); \ - if (a >= (BASE << 7)) a -= (BASE << 7); \ - if (a >= (BASE << 6)) a -= (BASE << 6); \ - if (a >= (BASE << 5)) a -= (BASE << 5); \ - if (a >= (BASE << 4)) a -= (BASE << 4); \ - if (a >= (BASE << 3)) a -= (BASE << 3); \ - if (a >= (BASE << 2)) a -= (BASE << 2); \ - if (a >= (BASE << 1)) a -= (BASE << 1); \ + CHOP(a); \ if (a >= BASE) a -= BASE; \ } while (0) -# define MOD4(a) \ +# define MOD(a) \ do { \ - if (a >= (BASE << 4)) a -= (BASE << 4); \ - if (a >= (BASE << 3)) a -= (BASE << 3); \ - if (a >= (BASE << 2)) a -= (BASE << 2); \ - if (a >= (BASE << 1)) a -= (BASE << 1); \ + CHOP(a); \ + MOD28(a); \ + } while (0) +# define MOD63(a) \ + do { /* this assumes a is not negative */ \ + z_off64_t tmp = a >> 32; \ + a &= 0xffffffffL; \ + a += (tmp << 8) - (tmp << 5) + tmp; \ + tmp = a >> 16; \ + a &= 0xffffL; \ + a += (tmp << 4) - tmp; \ + tmp = a >> 16; \ + a &= 0xffffL; \ + a += (tmp << 4) - tmp; \ if (a >= BASE) a -= BASE; \ } while (0) #else # define MOD(a) a %= BASE -# define MOD4(a) a %= BASE +# define MOD28(a) a %= BASE +# define MOD63(a) a %= BASE #endif /* ========================================================================= */ -uLong ZEXPORT adler32(adler, buf, len) +uLong ZEXPORT adler32_z(adler, buf, len) uLong adler; const Bytef *buf; - uInt len; + z_size_t len; { unsigned long sum2; unsigned n; @@ -89,7 +95,7 @@ } if (adler >= BASE) adler -= BASE; - MOD4(sum2); /* only added so many BASE's */ + MOD28(sum2); /* only added so many BASE's */ return adler | (sum2 << 16); } @@ -125,25 +131,56 @@ } /* ========================================================================= */ -uLong ZEXPORT adler32_combine(adler1, adler2, len2) +uLong ZEXPORT adler32(adler, buf, len) + uLong adler; + const Bytef *buf; + uInt len; +{ + return adler32_z(adler, buf, len); +} + +/* ========================================================================= */ +local uLong adler32_combine_(adler1, adler2, len2) uLong adler1; uLong adler2; - z_off_t len2; + z_off64_t len2; { unsigned long sum1; unsigned long sum2; unsigned rem; + /* for negative len, return invalid adler32 as a clue for debugging */ + if (len2 < 0) + return 0xffffffffUL; + /* the derivation of this formula is left as an exercise for the reader */ - rem = (unsigned)(len2 % BASE); + MOD63(len2); /* assumes len2 >= 0 */ + rem = (unsigned)len2; sum1 = adler1 & 0xffff; sum2 = rem * sum1; MOD(sum2); sum1 += (adler2 & 0xffff) + BASE - 1; sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem; - if (sum1 > BASE) sum1 -= BASE; - if (sum1 > BASE) sum1 -= BASE; - if (sum2 > (BASE << 1)) sum2 -= (BASE << 1); - if (sum2 > BASE) sum2 -= BASE; + if (sum1 >= BASE) sum1 -= BASE; + if (sum1 >= BASE) sum1 -= BASE; + if (sum2 >= ((unsigned long)BASE << 1)) sum2 -= ((unsigned long)BASE << 1); + if (sum2 >= BASE) sum2 -= BASE; return sum1 | (sum2 << 16); } + +/* ========================================================================= */ +uLong ZEXPORT adler32_combine(adler1, adler2, len2) + uLong adler1; + uLong adler2; + z_off_t len2; +{ + return adler32_combine_(adler1, adler2, len2); +} + +uLong ZEXPORT adler32_combine64(adler1, adler2, len2) + uLong adler1; + uLong adler2; + z_off64_t len2; +{ + return adler32_combine_(adler1, adler2, len2); +} diff -Nru mysql-5.7-5.7.23/zlib/algorithm.txt mysql-5.7-5.7.24/zlib/algorithm.txt --- mysql-5.7-5.7.23/zlib/algorithm.txt 2018-06-08 09:56:29.000000000 +0000 +++ mysql-5.7-5.7.24/zlib/algorithm.txt 1970-01-01 00:00:00.000000000 +0000 @@ -1,209 +0,0 @@ -1. Compression algorithm (deflate) - -The deflation algorithm used by gzip (also zip and zlib) is a variation of -LZ77 (Lempel-Ziv 1977, see reference below). It finds duplicated strings in -the input data. The second occurrence of a string is replaced by a -pointer to the previous string, in the form of a pair (distance, -length). Distances are limited to 32K bytes, and lengths are limited -to 258 bytes. When a string does not occur anywhere in the previous -32K bytes, it is emitted as a sequence of literal bytes. (In this -description, `string' must be taken as an arbitrary sequence of bytes, -and is not restricted to printable characters.) - -Literals or match lengths are compressed with one Huffman tree, and -match distances are compressed with another tree. The trees are stored -in a compact form at the start of each block. The blocks can have any -size (except that the compressed data for one block must fit in -available memory). A block is terminated when deflate() determines that -it would be useful to start another block with fresh trees. (This is -somewhat similar to the behavior of LZW-based _compress_.) - -Duplicated strings are found using a hash table. All input strings of -length 3 are inserted in the hash table. A hash index is computed for -the next 3 bytes. If the hash chain for this index is not empty, all -strings in the chain are compared with the current input string, and -the longest match is selected. - -The hash chains are searched starting with the most recent strings, to -favor small distances and thus take advantage of the Huffman encoding. -The hash chains are singly linked. There are no deletions from the -hash chains, the algorithm simply discards matches that are too old. - -To avoid a worst-case situation, very long hash chains are arbitrarily -truncated at a certain length, determined by a runtime option (level -parameter of deflateInit). So deflate() does not always find the longest -possible match but generally finds a match which is long enough. - -deflate() also defers the selection of matches with a lazy evaluation -mechanism. After a match of length N has been found, deflate() searches for -a longer match at the next input byte. If a longer match is found, the -previous match is truncated to a length of one (thus producing a single -literal byte) and the process of lazy evaluation begins again. Otherwise, -the original match is kept, and the next match search is attempted only N -steps later. - -The lazy match evaluation is also subject to a runtime parameter. If -the current match is long enough, deflate() reduces the search for a longer -match, thus speeding up the whole process. If compression ratio is more -important than speed, deflate() attempts a complete second search even if -the first match is already long enough. - -The lazy match evaluation is not performed for the fastest compression -modes (level parameter 1 to 3). For these fast modes, new strings -are inserted in the hash table only when no match was found, or -when the match is not too long. This degrades the compression ratio -but saves time since there are both fewer insertions and fewer searches. - - -2. Decompression algorithm (inflate) - -2.1 Introduction - -The key question is how to represent a Huffman code (or any prefix code) so -that you can decode fast. The most important characteristic is that shorter -codes are much more common than longer codes, so pay attention to decoding the -short codes fast, and let the long codes take longer to decode. - -inflate() sets up a first level table that covers some number of bits of -input less than the length of longest code. It gets that many bits from the -stream, and looks it up in the table. The table will tell if the next -code is that many bits or less and how many, and if it is, it will tell -the value, else it will point to the next level table for which inflate() -grabs more bits and tries to decode a longer code. - -How many bits to make the first lookup is a tradeoff between the time it -takes to decode and the time it takes to build the table. If building the -table took no time (and if you had infinite memory), then there would only -be a first level table to cover all the way to the longest code. However, -building the table ends up taking a lot longer for more bits since short -codes are replicated many times in such a table. What inflate() does is -simply to make the number of bits in the first table a variable, and then -to set that variable for the maximum speed. - -For inflate, which has 286 possible codes for the literal/length tree, the size -of the first table is nine bits. Also the distance trees have 30 possible -values, and the size of the first table is six bits. Note that for each of -those cases, the table ended up one bit longer than the ``average'' code -length, i.e. the code length of an approximately flat code which would be a -little more than eight bits for 286 symbols and a little less than five bits -for 30 symbols. - - -2.2 More details on the inflate table lookup - -Ok, you want to know what this cleverly obfuscated inflate tree actually -looks like. You are correct that it's not a Huffman tree. It is simply a -lookup table for the first, let's say, nine bits of a Huffman symbol. The -symbol could be as short as one bit or as long as 15 bits. If a particular -symbol is shorter than nine bits, then that symbol's translation is duplicated -in all those entries that start with that symbol's bits. For example, if the -symbol is four bits, then it's duplicated 32 times in a nine-bit table. If a -symbol is nine bits long, it appears in the table once. - -If the symbol is longer than nine bits, then that entry in the table points -to another similar table for the remaining bits. Again, there are duplicated -entries as needed. The idea is that most of the time the symbol will be short -and there will only be one table look up. (That's whole idea behind data -compression in the first place.) For the less frequent long symbols, there -will be two lookups. If you had a compression method with really long -symbols, you could have as many levels of lookups as is efficient. For -inflate, two is enough. - -So a table entry either points to another table (in which case nine bits in -the above example are gobbled), or it contains the translation for the symbol -and the number of bits to gobble. Then you start again with the next -ungobbled bit. - -You may wonder: why not just have one lookup table for how ever many bits the -longest symbol is? The reason is that if you do that, you end up spending -more time filling in duplicate symbol entries than you do actually decoding. -At least for deflate's output that generates new trees every several 10's of -kbytes. You can imagine that filling in a 2^15 entry table for a 15-bit code -would take too long if you're only decoding several thousand symbols. At the -other extreme, you could make a new table for every bit in the code. In fact, -that's essentially a Huffman tree. But then you spend two much time -traversing the tree while decoding, even for short symbols. - -So the number of bits for the first lookup table is a trade of the time to -fill out the table vs. the time spent looking at the second level and above of -the table. - -Here is an example, scaled down: - -The code being decoded, with 10 symbols, from 1 to 6 bits long: - -A: 0 -B: 10 -C: 1100 -D: 11010 -E: 11011 -F: 11100 -G: 11101 -H: 11110 -I: 111110 -J: 111111 - -Let's make the first table three bits long (eight entries): - -000: A,1 -001: A,1 -010: A,1 -011: A,1 -100: B,2 -101: B,2 -110: -> table X (gobble 3 bits) -111: -> table Y (gobble 3 bits) - -Each entry is what the bits decode as and how many bits that is, i.e. how -many bits to gobble. Or the entry points to another table, with the number of -bits to gobble implicit in the size of the table. - -Table X is two bits long since the longest code starting with 110 is five bits -long: - -00: C,1 -01: C,1 -10: D,2 -11: E,2 - -Table Y is three bits long since the longest code starting with 111 is six -bits long: - -000: F,2 -001: F,2 -010: G,2 -011: G,2 -100: H,2 -101: H,2 -110: I,3 -111: J,3 - -So what we have here are three tables with a total of 20 entries that had to -be constructed. That's compared to 64 entries for a single table. Or -compared to 16 entries for a Huffman tree (six two entry tables and one four -entry table). Assuming that the code ideally represents the probability of -the symbols, it takes on the average 1.25 lookups per symbol. That's compared -to one lookup for the single table, or 1.66 lookups per symbol for the -Huffman tree. - -There, I think that gives you a picture of what's going on. For inflate, the -meaning of a particular symbol is often more than just a letter. It can be a -byte (a "literal"), or it can be either a length or a distance which -indicates a base value and a number of bits to fetch after the code that is -added to the base value. Or it might be the special end-of-block code. The -data structures created in inftrees.c try to encode all that information -compactly in the tables. - - -Jean-loup Gailly Mark Adler -jloup@gzip.org madler@alumni.caltech.edu - - -References: - -[LZ77] Ziv J., Lempel A., ``A Universal Algorithm for Sequential Data -Compression,'' IEEE Transactions on Information Theory, Vol. 23, No. 3, -pp. 337-343. - -``DEFLATE Compressed Data Format Specification'' available in -http://www.ietf.org/rfc/rfc1951.txt diff -Nru mysql-5.7-5.7.23/zlib/amiga/Makefile.pup mysql-5.7-5.7.24/zlib/amiga/Makefile.pup --- mysql-5.7-5.7.23/zlib/amiga/Makefile.pup 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/zlib/amiga/Makefile.pup 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,69 @@ +# Amiga powerUP (TM) Makefile +# makefile for libpng and SAS C V6.58/7.00 PPC compiler +# Copyright (C) 1998 by Andreas R. Kleinert + +LIBNAME = libzip.a + +CC = scppc +CFLAGS = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL \ + OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8 NOVER +AR = ppc-amigaos-ar cr +RANLIB = ppc-amigaos-ranlib +LD = ppc-amigaos-ld -r +LDFLAGS = -o +LDLIBS = LIB:scppc.a LIB:end.o +RM = delete quiet + +OBJS = adler32.o compress.o crc32.o gzclose.o gzlib.o gzread.o gzwrite.o \ + uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o + +TEST_OBJS = example.o minigzip.o + +all: example minigzip + +check: test +test: all + example + echo hello world | minigzip | minigzip -d + +$(LIBNAME): $(OBJS) + $(AR) $@ $(OBJS) + -$(RANLIB) $@ + +example: example.o $(LIBNAME) + $(LD) $(LDFLAGS) $@ LIB:c_ppc.o $@.o $(LIBNAME) $(LDLIBS) + +minigzip: minigzip.o $(LIBNAME) + $(LD) $(LDFLAGS) $@ LIB:c_ppc.o $@.o $(LIBNAME) $(LDLIBS) + +mostlyclean: clean +clean: + $(RM) *.o example minigzip $(LIBNAME) foo.gz + +zip: + zip -ul9 zlib README ChangeLog Makefile Make????.??? Makefile.?? \ + descrip.mms *.[ch] + +tgz: + cd ..; tar cfz zlib/zlib.tgz zlib/README zlib/ChangeLog zlib/Makefile \ + zlib/Make????.??? zlib/Makefile.?? zlib/descrip.mms zlib/*.[ch] + +# DO NOT DELETE THIS LINE -- make depend depends on it. + +adler32.o: zlib.h zconf.h +compress.o: zlib.h zconf.h +crc32.o: crc32.h zlib.h zconf.h +deflate.o: deflate.h zutil.h zlib.h zconf.h +example.o: zlib.h zconf.h +gzclose.o: zlib.h zconf.h gzguts.h +gzlib.o: zlib.h zconf.h gzguts.h +gzread.o: zlib.h zconf.h gzguts.h +gzwrite.o: zlib.h zconf.h gzguts.h +inffast.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h +inflate.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h +infback.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h +inftrees.o: zutil.h zlib.h zconf.h inftrees.h +minigzip.o: zlib.h zconf.h +trees.o: deflate.h zutil.h zlib.h zconf.h trees.h +uncompr.o: zlib.h zconf.h +zutil.o: zutil.h zlib.h zconf.h diff -Nru mysql-5.7-5.7.23/zlib/amiga/Makefile.sas mysql-5.7-5.7.24/zlib/amiga/Makefile.sas --- mysql-5.7-5.7.23/zlib/amiga/Makefile.sas 1970-01-01 00:00:00.000000000 +0000 +++ mysql-5.7-5.7.24/zlib/amiga/Makefile.sas 2018-10-04 05:48:22.000000000 +0000 @@ -0,0 +1,68 @@ +# SMakefile for zlib +# Modified from the standard UNIX Makefile Copyright Jean-loup Gailly +# Osma Ahvenlampi +# Amiga, SAS/C 6.56 & Smake + +CC=sc +CFLAGS=OPT +#CFLAGS=OPT CPU=68030 +#CFLAGS=DEBUG=LINE +LDFLAGS=LIB z.lib + +SCOPTIONS=OPTSCHED OPTINLINE OPTALIAS OPTTIME OPTINLOCAL STRMERGE \ + NOICONS PARMS=BOTH NOSTACKCHECK UTILLIB NOVERSION ERRORREXX \ + DEF=POSTINC + +OBJS = adler32.o compress.o crc32.o gzclose.o gzlib.o gzread.o gzwrite.o \ + uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o + +TEST_OBJS = example.o minigzip.o + +all: SCOPTIONS example minigzip + +check: test +test: all + example + echo hello world | minigzip | minigzip -d + +install: z.lib + copy clone zlib.h zconf.h INCLUDE: + copy clone z.lib LIB: + +z.lib: $(OBJS) + oml z.lib r $(OBJS) + +example: example.o z.lib + $(CC) $(CFLAGS) LINK TO $@ example.o $(LDFLAGS) + +minigzip: minigzip.o z.lib + $(CC) $(CFLAGS) LINK TO $@ minigzip.o $(LDFLAGS) + +mostlyclean: clean +clean: + -delete force quiet example minigzip *.o z.lib foo.gz *.lnk SCOPTIONS + +SCOPTIONS: Makefile.sas + copy to $@