auto-merge
This commit is contained in:
commit
a8fad0c923
@ -1295,6 +1295,8 @@ mysql-test/linux_sys_vars.inc
|
|||||||
mysql-test/load_sysvars.inc
|
mysql-test/load_sysvars.inc
|
||||||
mysql-test/mtr
|
mysql-test/mtr
|
||||||
mysql-test/mysql-test-run
|
mysql-test/mysql-test-run
|
||||||
|
mysql-test/mysql-test-gcov.err
|
||||||
|
mysql-test/mysql-test-gcov.msg
|
||||||
mysql-test/mysql-test-run-shell
|
mysql-test/mysql-test-run-shell
|
||||||
mysql-test/mysql-test-run.log
|
mysql-test/mysql-test-run.log
|
||||||
mysql-test/mysql_test_run_new
|
mysql-test/mysql_test_run_new
|
||||||
|
@ -145,6 +145,12 @@ IF(MSVC)
|
|||||||
STRING(REPLACE "/EHsc" "" CMAKE_CXX_FLAGS_INIT ${CMAKE_CXX_FLAGS_INIT})
|
STRING(REPLACE "/EHsc" "" CMAKE_CXX_FLAGS_INIT ${CMAKE_CXX_FLAGS_INIT})
|
||||||
STRING(REPLACE "/EHsc" "" CMAKE_CXX_FLAGS_DEBUG_INIT ${CMAKE_CXX_FLAGS_DEBUG_INIT})
|
STRING(REPLACE "/EHsc" "" CMAKE_CXX_FLAGS_DEBUG_INIT ${CMAKE_CXX_FLAGS_DEBUG_INIT})
|
||||||
|
|
||||||
|
# Mark 32 bit executables large address aware so they can
|
||||||
|
# use > 2GB address space
|
||||||
|
IF(CMAKE_SIZEOF_VOID_P MATCHES 4)
|
||||||
|
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /LARGEADDRESSAWARE")
|
||||||
|
ENDIF(CMAKE_SIZEOF_VOID_P MATCHES 4)
|
||||||
|
|
||||||
# Disable automatic manifest generation.
|
# Disable automatic manifest generation.
|
||||||
STRING(REPLACE "/MANIFEST" "/MANIFEST:NO" CMAKE_EXE_LINKER_FLAGS
|
STRING(REPLACE "/MANIFEST" "/MANIFEST:NO" CMAKE_EXE_LINKER_FLAGS
|
||||||
${CMAKE_EXE_LINKER_FLAGS})
|
${CMAKE_EXE_LINKER_FLAGS})
|
||||||
|
@ -2245,8 +2245,22 @@ static bool add_line(String &buffer,char *line,char *in_string,
|
|||||||
}
|
}
|
||||||
if (out != line || !buffer.is_empty())
|
if (out != line || !buffer.is_empty())
|
||||||
{
|
{
|
||||||
*out++='\n';
|
|
||||||
uint length=(uint) (out-line);
|
uint length=(uint) (out-line);
|
||||||
|
|
||||||
|
if (length < 9 ||
|
||||||
|
my_strnncoll (charset_info,
|
||||||
|
(uchar *)line, 9, (const uchar *) "delimiter", 9))
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
Don't add a new line in case there's a DELIMITER command to be
|
||||||
|
added to the glob buffer (e.g. on processing a line like
|
||||||
|
"<command>;DELIMITER <non-eof>") : similar to how a new line is
|
||||||
|
not added in the case when the DELIMITER is the first command
|
||||||
|
entered with an empty glob buffer.
|
||||||
|
*/
|
||||||
|
*out++='\n';
|
||||||
|
length++;
|
||||||
|
}
|
||||||
if (buffer.length() + length >= buffer.alloced_length())
|
if (buffer.length() + length >= buffer.alloced_length())
|
||||||
buffer.realloc(buffer.length()+length+IO_SIZE);
|
buffer.realloc(buffer.length()+length+IO_SIZE);
|
||||||
if ((!*ml_comment || preserve_comments) && buffer.append(line, length))
|
if ((!*ml_comment || preserve_comments) && buffer.append(line, length))
|
||||||
@ -2855,7 +2869,7 @@ com_charset(String *buffer __attribute__((unused)), char *line)
|
|||||||
param= get_arg(buff, 0);
|
param= get_arg(buff, 0);
|
||||||
if (!param || !*param)
|
if (!param || !*param)
|
||||||
{
|
{
|
||||||
return put_info("Usage: \\C char_setname | charset charset_name",
|
return put_info("Usage: \\C charset_name | charset charset_name",
|
||||||
INFO_ERROR, 0);
|
INFO_ERROR, 0);
|
||||||
}
|
}
|
||||||
new_cs= get_charset_by_csname(param, MY_CS_PRIMARY, MYF(MY_WME));
|
new_cs= get_charset_by_csname(param, MY_CS_PRIMARY, MYF(MY_WME));
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc.
|
/* Copyright 2000-2008 MySQL AB, 2008, 2009 Sun Microsystems, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@ -1475,7 +1475,8 @@ static int connect_to_db(char *host, char *user,char *passwd)
|
|||||||
DB_error(&mysql_connection, "when trying to connect");
|
DB_error(&mysql_connection, "when trying to connect");
|
||||||
DBUG_RETURN(1);
|
DBUG_RETURN(1);
|
||||||
}
|
}
|
||||||
if (mysql_get_server_version(&mysql_connection) < 40100)
|
if ((mysql_get_server_version(&mysql_connection) < 40100) ||
|
||||||
|
(opt_compatible_mode & 3))
|
||||||
{
|
{
|
||||||
/* Don't dump SET NAMES with a pre-4.1 server (bug#7997). */
|
/* Don't dump SET NAMES with a pre-4.1 server (bug#7997). */
|
||||||
opt_set_charset= 0;
|
opt_set_charset= 0;
|
||||||
@ -2421,11 +2422,11 @@ static uint get_table_structure(char *table, char *db, char *table_type,
|
|||||||
|
|
||||||
row= mysql_fetch_row(result);
|
row= mysql_fetch_row(result);
|
||||||
|
|
||||||
fprintf(sql_file,
|
fprintf(sql_file, (opt_compatible_mode & 3) ? "%s;\n" :
|
||||||
"SET @saved_cs_client = @@character_set_client;\n"
|
"/*!40101 SET @saved_cs_client = @@character_set_client */;\n"
|
||||||
"SET character_set_client = utf8;\n"
|
"/*!40101 SET character_set_client = utf8 */;\n"
|
||||||
"%s;\n"
|
"%s;\n"
|
||||||
"SET character_set_client = @saved_cs_client;\n",
|
"/*!40101 SET character_set_client = @saved_cs_client */;\n",
|
||||||
row[1]);
|
row[1]);
|
||||||
|
|
||||||
check_io(sql_file);
|
check_io(sql_file);
|
||||||
|
@ -84,7 +84,7 @@ case $FLAG in
|
|||||||
cat $FILES | $AWK '
|
cat $FILES | $AWK '
|
||||||
BEGIN {
|
BEGIN {
|
||||||
printf("/* Automatically generated file, do not edit */\n");
|
printf("/* Automatically generated file, do not edit */\n");
|
||||||
printf("#include \"sys.h\"\n#include \"el.h\"\n");
|
printf("#include \"config.h\"\n#include \"el.h\"\n");
|
||||||
printf("private const struct el_bindings_t el_func_help[] = {\n");
|
printf("private const struct el_bindings_t el_func_help[] = {\n");
|
||||||
low = "abcdefghijklmnopqrstuvwxyz_";
|
low = "abcdefghijklmnopqrstuvwxyz_";
|
||||||
high = "ABCDEFGHIJKLMNOPQRSTUVWXYZ_";
|
high = "ABCDEFGHIJKLMNOPQRSTUVWXYZ_";
|
||||||
@ -169,7 +169,7 @@ case $FLAG in
|
|||||||
cat $FILES | $AWK '/el_action_t/ { print $3 }' | sort | $AWK '
|
cat $FILES | $AWK '/el_action_t/ { print $3 }' | sort | $AWK '
|
||||||
BEGIN {
|
BEGIN {
|
||||||
printf("/* Automatically generated file, do not edit */\n");
|
printf("/* Automatically generated file, do not edit */\n");
|
||||||
printf("#include \"sys.h\"\n#include \"el.h\"\n");
|
printf("#include \"config.h\"\n#include \"el.h\"\n");
|
||||||
printf("private const el_func_t el_func[] = {");
|
printf("private const el_func_t el_func[] = {");
|
||||||
maxlen = 80;
|
maxlen = 80;
|
||||||
needn = 1;
|
needn = 1;
|
||||||
|
@ -51,13 +51,10 @@
|
|||||||
#else
|
#else
|
||||||
#include "np/vis.h"
|
#include "np/vis.h"
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_ALLOCA_H
|
#include "readline/readline.h"
|
||||||
#include <alloca.h>
|
|
||||||
#endif
|
|
||||||
#include "el.h"
|
#include "el.h"
|
||||||
#include "fcns.h" /* for EL_NUM_FCNS */
|
#include "fcns.h" /* for EL_NUM_FCNS */
|
||||||
#include "histedit.h"
|
#include "histedit.h"
|
||||||
#include "readline/readline.h"
|
|
||||||
#include "filecomplete.h"
|
#include "filecomplete.h"
|
||||||
|
|
||||||
void rl_prep_terminal(int);
|
void rl_prep_terminal(int);
|
||||||
|
@ -66,7 +66,7 @@ typedef KEYMAP_ENTRY *Keymap;
|
|||||||
|
|
||||||
#ifndef CTRL
|
#ifndef CTRL
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#if !defined(__sun__) && !defined(__hpux__)
|
#if !defined(__sun) && !defined(__hpux) && !defined(_AIX)
|
||||||
#include <sys/ttydefaults.h>
|
#include <sys/ttydefaults.h>
|
||||||
#endif
|
#endif
|
||||||
#ifndef CTRL
|
#ifndef CTRL
|
||||||
|
@ -914,14 +914,14 @@ vi_comment_out(EditLine *el, int c)
|
|||||||
* NB: posix implies that we should enter insert mode, however
|
* NB: posix implies that we should enter insert mode, however
|
||||||
* this is against historical precedent...
|
* this is against historical precedent...
|
||||||
*/
|
*/
|
||||||
#ifdef __weak_reference
|
#if defined(__weak_reference) && !defined(__FreeBSD__)
|
||||||
extern char *get_alias_text(const char *) __weak_reference(get_alias_text);
|
extern char *get_alias_text(const char *) __weak_reference(get_alias_text);
|
||||||
#endif
|
#endif
|
||||||
protected el_action_t
|
protected el_action_t
|
||||||
/*ARGSUSED*/
|
/*ARGSUSED*/
|
||||||
vi_alias(EditLine *el, int c)
|
vi_alias(EditLine *el, int c)
|
||||||
{
|
{
|
||||||
#ifdef __weak_reference
|
#if defined(__weak_reference) && !defined(__FreeBSD__)
|
||||||
char alias_name[3];
|
char alias_name[3];
|
||||||
char *alias_text;
|
char *alias_text;
|
||||||
|
|
||||||
|
@ -330,41 +330,11 @@ AC_DEFUN([MYSQL_SETUP_NDBCLUSTER], [
|
|||||||
AC_SUBST([NDB_SIZEOF_LONG])
|
AC_SUBST([NDB_SIZEOF_LONG])
|
||||||
AC_SUBST([NDB_SIZEOF_LONG_LONG])
|
AC_SUBST([NDB_SIZEOF_LONG_LONG])
|
||||||
|
|
||||||
AC_CONFIG_FILES(storage/ndb/include/Makefile dnl
|
AC_CONFIG_FILES([
|
||||||
storage/ndb/src/Makefile storage/ndb/src/common/Makefile dnl
|
storage/ndb/include/ndb_version.h
|
||||||
storage/ndb/docs/Makefile dnl
|
storage/ndb/include/ndb_global.h
|
||||||
storage/ndb/tools/Makefile dnl
|
storage/ndb/include/ndb_types.h
|
||||||
storage/ndb/src/common/debugger/Makefile dnl
|
])
|
||||||
storage/ndb/src/common/debugger/signaldata/Makefile dnl
|
|
||||||
storage/ndb/src/common/portlib/Makefile dnl
|
|
||||||
storage/ndb/src/common/util/Makefile dnl
|
|
||||||
storage/ndb/src/common/logger/Makefile dnl
|
|
||||||
storage/ndb/src/common/transporter/Makefile dnl
|
|
||||||
storage/ndb/src/common/mgmcommon/Makefile dnl
|
|
||||||
storage/ndb/src/kernel/Makefile dnl
|
|
||||||
storage/ndb/src/kernel/error/Makefile dnl
|
|
||||||
storage/ndb/src/kernel/blocks/Makefile dnl
|
|
||||||
storage/ndb/src/kernel/blocks/dbdict/Makefile dnl
|
|
||||||
storage/ndb/src/kernel/blocks/dbdih/Makefile dnl
|
|
||||||
storage/ndb/src/kernel/blocks/dblqh/Makefile dnl
|
|
||||||
storage/ndb/src/kernel/blocks/dbtup/Makefile dnl
|
|
||||||
storage/ndb/src/kernel/blocks/backup/Makefile dnl
|
|
||||||
storage/ndb/src/kernel/vm/Makefile dnl
|
|
||||||
storage/ndb/src/mgmapi/Makefile dnl
|
|
||||||
storage/ndb/src/ndbapi/Makefile dnl
|
|
||||||
storage/ndb/src/mgmsrv/Makefile dnl
|
|
||||||
storage/ndb/src/mgmclient/Makefile dnl
|
|
||||||
storage/ndb/src/cw/Makefile dnl
|
|
||||||
storage/ndb/src/cw/cpcd/Makefile dnl
|
|
||||||
storage/ndb/test/Makefile dnl
|
|
||||||
storage/ndb/test/src/Makefile dnl
|
|
||||||
storage/ndb/test/ndbapi/Makefile dnl
|
|
||||||
storage/ndb/test/ndbapi/bank/Makefile dnl
|
|
||||||
storage/ndb/test/tools/Makefile dnl
|
|
||||||
storage/ndb/test/run-test/Makefile dnl
|
|
||||||
storage/ndb/include/ndb_version.h storage/ndb/include/ndb_global.h dnl
|
|
||||||
storage/ndb/include/ndb_types.h dnl
|
|
||||||
)
|
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_SUBST(TEST_NDBCLUSTER)
|
AC_SUBST(TEST_NDBCLUSTER)
|
||||||
|
@ -302,7 +302,9 @@ AC_DEFUN([MYSQL_CONFIGURE_PLUGINS],[
|
|||||||
_MYSQL_CONFIGURE_PLUGINS(m4_bpatsubst(__mysql_plugin_list__, :, [,]))
|
_MYSQL_CONFIGURE_PLUGINS(m4_bpatsubst(__mysql_plugin_list__, :, [,]))
|
||||||
_MYSQL_EMIT_PLUGIN_ACTIONS(m4_bpatsubst(__mysql_plugin_list__, :, [,]))
|
_MYSQL_EMIT_PLUGIN_ACTIONS(m4_bpatsubst(__mysql_plugin_list__, :, [,]))
|
||||||
AC_SUBST([mysql_se_dirs])
|
AC_SUBST([mysql_se_dirs])
|
||||||
|
AC_SUBST([mysql_se_distdirs])
|
||||||
AC_SUBST([mysql_pg_dirs])
|
AC_SUBST([mysql_pg_dirs])
|
||||||
|
AC_SUBST([mysql_pg_distdirs])
|
||||||
AC_SUBST([mysql_se_unittest_dirs])
|
AC_SUBST([mysql_se_unittest_dirs])
|
||||||
AC_SUBST([mysql_pg_unittest_dirs])
|
AC_SUBST([mysql_pg_unittest_dirs])
|
||||||
AC_SUBST([condition_dependent_plugin_modules])
|
AC_SUBST([condition_dependent_plugin_modules])
|
||||||
@ -354,6 +356,24 @@ AC_DEFUN([__MYSQL_EMIT_CHECK_PLUGIN],[
|
|||||||
fi
|
fi
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
],[
|
],[
|
||||||
|
|
||||||
|
# Plugin is not disabled, determine if it should be built,
|
||||||
|
# or only distributed
|
||||||
|
|
||||||
|
m4_ifdef([$6], [
|
||||||
|
if test ! -d "$srcdir/$6"; then
|
||||||
|
# Plugin directory was removed after autoconf was run; treat
|
||||||
|
# this as a disabled plugin
|
||||||
|
if test "X[$with_plugin_]$2" = Xyes; then
|
||||||
|
AC_MSG_RESULT([error])
|
||||||
|
AC_MSG_ERROR([disabled])
|
||||||
|
fi
|
||||||
|
|
||||||
|
# The result message will be printed below
|
||||||
|
[with_plugin_]$2=no
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
m4_ifdef([$9],[
|
m4_ifdef([$9],[
|
||||||
if test "X[$with_plugin_]$2" = Xno; then
|
if test "X[$with_plugin_]$2" = Xno; then
|
||||||
AC_MSG_RESULT([error])
|
AC_MSG_RESULT([error])
|
||||||
@ -372,6 +392,8 @@ AC_DEFUN([__MYSQL_EMIT_CHECK_PLUGIN],[
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
if test "X[$with_plugin_]$2" = Xno; then
|
if test "X[$with_plugin_]$2" = Xno; then
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
else
|
else
|
||||||
@ -448,28 +470,49 @@ dnl Although this is "pretty", it breaks libmysqld build
|
|||||||
condition_dependent_plugin_includes="$condition_dependent_plugin_includes -I[\$(top_srcdir)]/$6/m4_bregexp($11, [^.+[/$]], [\&])"
|
condition_dependent_plugin_includes="$condition_dependent_plugin_includes -I[\$(top_srcdir)]/$6/m4_bregexp($11, [^.+[/$]], [\&])"
|
||||||
])
|
])
|
||||||
fi
|
fi
|
||||||
m4_ifdef([$6],[
|
fi
|
||||||
if test -n "$mysql_use_plugin_dir" ; then
|
|
||||||
mysql_plugin_dirs="$mysql_plugin_dirs $6"
|
m4_ifdef([$6], [
|
||||||
m4_syscmd(test -f "$6/configure")
|
if test -d "$srcdir/$6"; then
|
||||||
|
# Even if we don't build a plugin, we bundle its source into the dist
|
||||||
|
# file. So its Makefile (and Makefiles for any subdirs) must be
|
||||||
|
# generated for 'make dist' to work.
|
||||||
|
m4_syscmd([test -f "]$6[/configure"])
|
||||||
ifelse(m4_sysval, 0,
|
ifelse(m4_sysval, 0,
|
||||||
[AC_CONFIG_SUBDIRS($6)],
|
[AC_CONFIG_SUBDIRS($6)],
|
||||||
[AC_CONFIG_FILES($6/Makefile)]
|
[
|
||||||
|
# autoconf doesn't provide an automatic way to configure DIST_SUBDIRS of
|
||||||
|
# a subdir; for our purposes, it's enough to just check for existing
|
||||||
|
# Makefile.am files and add them in here
|
||||||
|
dnl
|
||||||
|
dnl Warning, don't try to quote the m4_esyscmd() macro, it doesn't
|
||||||
|
dnl work. Quoting here is tricky.
|
||||||
|
dnl
|
||||||
|
dnl The $FIND or $SED variable can be set by the user when calling autoconf itself
|
||||||
|
dnl to if they need to pass a specific path. This is *NOT* used when calling
|
||||||
|
dnl running configure!
|
||||||
|
dnl
|
||||||
|
AC_CONFIG_FILES(m4_esyscmd([${FIND-find} "]$6[" -name Makefile.am -print | ${SED-sed} 's,\.am$,,']))
|
||||||
|
]
|
||||||
)
|
)
|
||||||
ifelse(m4_substr($6, 0, 8), [storage/],
|
|
||||||
[
|
ifelse(
|
||||||
[mysql_se_dirs="$mysql_se_dirs ]m4_substr($6, 8)"
|
m4_substr($6, 0, 8), [storage/], [
|
||||||
|
mysql_se_distdirs="$mysql_se_distdirs m4_substr($6, 8)"
|
||||||
|
if test -n "$mysql_use_plugin_dir" ; then
|
||||||
|
mysql_se_dirs="$mysql_se_dirs m4_substr($6, 8)"
|
||||||
mysql_se_unittest_dirs="$mysql_se_unittest_dirs ../$6"
|
mysql_se_unittest_dirs="$mysql_se_unittest_dirs ../$6"
|
||||||
],
|
fi],
|
||||||
m4_substr($6, 0, 7), [plugin/],
|
|
||||||
[
|
m4_substr($6, 0, 7), [plugin/], [
|
||||||
[mysql_pg_dirs="$mysql_pg_dirs ]m4_substr($6, 7)"
|
mysql_pg_distdirs="$mysql_pg_distdirs m4_substr($6, 7)"
|
||||||
|
if test -n "$mysql_use_plugin_dir" ; then
|
||||||
|
mysql_pg_dirs="$mysql_pg_dirs m4_substr($6, 7)"
|
||||||
mysql_pg_unittest_dirs="$mysql_pg_unittest_dirs ../$6"
|
mysql_pg_unittest_dirs="$mysql_pg_unittest_dirs ../$6"
|
||||||
],
|
fi],
|
||||||
[AC_FATAL([don't know how to handle plugin dir ]$6)])
|
[AC_FATAL([don't know how to handle plugin dir ]$6)])
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
fi
|
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@ MYSQL_NUMERIC_VERSION=`echo $MYSQL_NO_DASH_VERSION | sed -e "s|[[a-z]][[a-z0-9]]
|
|||||||
MYSQL_BASE_VERSION=`echo $MYSQL_NUMERIC_VERSION | sed -e "s|\.[[^.]]*$||"`
|
MYSQL_BASE_VERSION=`echo $MYSQL_NUMERIC_VERSION | sed -e "s|\.[[^.]]*$||"`
|
||||||
MYSQL_VERSION_ID=`echo $MYSQL_NUMERIC_VERSION | \
|
MYSQL_VERSION_ID=`echo $MYSQL_NUMERIC_VERSION | \
|
||||||
awk -F. '{printf "%d%0.2d%0.2d", $1, $2, $3}'`
|
awk -F. '{printf "%d%0.2d%0.2d", $1, $2, $3}'`
|
||||||
|
MYSQL_COPYRIGHT_YEAR=`date '+%Y'`
|
||||||
|
|
||||||
# Add previous major version for debian package upgrade path
|
# Add previous major version for debian package upgrade path
|
||||||
MYSQL_PREVIOUS_BASE_VERSION=5.0
|
MYSQL_PREVIOUS_BASE_VERSION=5.0
|
||||||
@ -70,6 +71,7 @@ AC_SUBST(MYSQL_NO_DASH_VERSION)
|
|||||||
AC_SUBST(MYSQL_BASE_VERSION)
|
AC_SUBST(MYSQL_BASE_VERSION)
|
||||||
AC_SUBST(MYSQL_VERSION_ID)
|
AC_SUBST(MYSQL_VERSION_ID)
|
||||||
AC_SUBST(MYSQL_PREVIOUS_BASE_VERSION)
|
AC_SUBST(MYSQL_PREVIOUS_BASE_VERSION)
|
||||||
|
AC_SUBST(MYSQL_COPYRIGHT_YEAR)
|
||||||
AC_SUBST(PROTOCOL_VERSION)
|
AC_SUBST(PROTOCOL_VERSION)
|
||||||
AC_DEFINE_UNQUOTED([PROTOCOL_VERSION], [$PROTOCOL_VERSION],
|
AC_DEFINE_UNQUOTED([PROTOCOL_VERSION], [$PROTOCOL_VERSION],
|
||||||
[mysql client protocol version])
|
[mysql client protocol version])
|
||||||
@ -815,7 +817,7 @@ AC_TYPE_SIZE_T
|
|||||||
AC_HEADER_DIRENT
|
AC_HEADER_DIRENT
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_HEADER_SYS_WAIT
|
AC_HEADER_SYS_WAIT
|
||||||
AC_CHECK_HEADERS(fcntl.h float.h floatingpoint.h ieeefp.h limits.h \
|
AC_CHECK_HEADERS(fcntl.h fenv.h float.h floatingpoint.h ieeefp.h limits.h \
|
||||||
memory.h pwd.h select.h \
|
memory.h pwd.h select.h \
|
||||||
stdlib.h stddef.h \
|
stdlib.h stddef.h \
|
||||||
strings.h string.h synch.h sys/mman.h sys/socket.h netinet/in.h arpa/inet.h \
|
strings.h string.h synch.h sys/mman.h sys/socket.h netinet/in.h arpa/inet.h \
|
||||||
@ -2038,7 +2040,7 @@ AC_FUNC_VPRINTF
|
|||||||
|
|
||||||
AC_CHECK_FUNCS(alarm bcmp bfill bmove bsearch bzero \
|
AC_CHECK_FUNCS(alarm bcmp bfill bmove bsearch bzero \
|
||||||
chsize cuserid fchmod fcntl \
|
chsize cuserid fchmod fcntl \
|
||||||
fconvert fdatasync finite fpresetsticky fpsetmask fsync ftruncate \
|
fconvert fdatasync fesetround finite fpresetsticky fpsetmask fsync ftruncate \
|
||||||
getcwd gethostbyaddr_r gethostbyname_r getpass getpassphrase getpwnam \
|
getcwd gethostbyaddr_r gethostbyname_r getpass getpassphrase getpwnam \
|
||||||
getpwuid getrlimit getrusage getwd index initgroups isnan \
|
getpwuid getrlimit getrusage getwd index initgroups isnan \
|
||||||
localtime_r gethrtime gmtime_r \
|
localtime_r gethrtime gmtime_r \
|
||||||
|
@ -33,7 +33,6 @@ functions */
|
|||||||
|
|
||||||
#include <sys/locking.h>
|
#include <sys/locking.h>
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <math.h> /* Because of rint() */
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
@ -223,13 +222,6 @@ typedef uint rf_SetTimer;
|
|||||||
#define inline __inline
|
#define inline __inline
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
inline double rint(double nr)
|
|
||||||
{
|
|
||||||
double f = floor(nr);
|
|
||||||
double c = ceil(nr);
|
|
||||||
return (((c-nr) >= (nr-f)) ? f :c);
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
#define ulonglong2double(A) ((double) (ulonglong) (A))
|
#define ulonglong2double(A) ((double) (ulonglong) (A))
|
||||||
#define my_off_t2double(A) ((double) (my_off_t) (A))
|
#define my_off_t2double(A) ((double) (my_off_t) (A))
|
||||||
@ -284,7 +276,6 @@ inline ulonglong double2ulonglong(double d)
|
|||||||
#define HAVE_FLOAT_H
|
#define HAVE_FLOAT_H
|
||||||
#define HAVE_LIMITS_H
|
#define HAVE_LIMITS_H
|
||||||
#define HAVE_STDDEF_H
|
#define HAVE_STDDEF_H
|
||||||
#define HAVE_RINT /* defined in this file */
|
|
||||||
#define NO_FCNTL_NONBLOCK /* No FCNTL */
|
#define NO_FCNTL_NONBLOCK /* No FCNTL */
|
||||||
#define HAVE_ALLOCA
|
#define HAVE_ALLOCA
|
||||||
#define HAVE_STRPBRK
|
#define HAVE_STRPBRK
|
||||||
|
@ -72,7 +72,7 @@ extern void my_cleanup_options(const struct my_option *options);
|
|||||||
extern void my_print_help(const struct my_option *options);
|
extern void my_print_help(const struct my_option *options);
|
||||||
extern void my_print_variables(const struct my_option *options);
|
extern void my_print_variables(const struct my_option *options);
|
||||||
extern void my_getopt_register_get_addr(uchar ** (*func_addr)(const char *, uint,
|
extern void my_getopt_register_get_addr(uchar ** (*func_addr)(const char *, uint,
|
||||||
const struct my_option *));
|
const struct my_option *, int *));
|
||||||
|
|
||||||
ulonglong getopt_ull_limit_value(ulonglong num, const struct my_option *optp,
|
ulonglong getopt_ull_limit_value(ulonglong num, const struct my_option *optp,
|
||||||
my_bool *fix);
|
my_bool *fix);
|
||||||
|
@ -424,6 +424,9 @@ C_MODE_END
|
|||||||
#ifdef HAVE_FLOAT_H
|
#ifdef HAVE_FLOAT_H
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_FENV_H
|
||||||
|
#include <fenv.h> /* For fesetround() */
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -578,8 +581,39 @@ typedef unsigned short ushort;
|
|||||||
#define set_bits(type, bit_count) (sizeof(type)*8 <= (bit_count) ? ~(type) 0 : ((((type) 1) << (bit_count)) - (type) 1))
|
#define set_bits(type, bit_count) (sizeof(type)*8 <= (bit_count) ? ~(type) 0 : ((((type) 1) << (bit_count)) - (type) 1))
|
||||||
#define array_elements(A) ((uint) (sizeof(A)/sizeof(A[0])))
|
#define array_elements(A) ((uint) (sizeof(A)/sizeof(A[0])))
|
||||||
#ifndef HAVE_RINT
|
#ifndef HAVE_RINT
|
||||||
#define rint(A) floor((A)+(((A) < 0)? -0.5 : 0.5))
|
/**
|
||||||
#endif
|
All integers up to this number can be represented exactly as double precision
|
||||||
|
values (DBL_MANT_DIG == 53 for IEEE 754 hardware).
|
||||||
|
*/
|
||||||
|
#define MAX_EXACT_INTEGER ((1LL << DBL_MANT_DIG) - 1)
|
||||||
|
|
||||||
|
/**
|
||||||
|
rint(3) implementation for platforms that do not have it.
|
||||||
|
Always rounds to the nearest integer with ties being rounded to the nearest
|
||||||
|
even integer to mimic glibc's rint() behavior in the "round-to-nearest"
|
||||||
|
FPU mode. Hardware-specific optimizations are possible (frndint on x86).
|
||||||
|
Unlike this implementation, hardware will also honor the FPU rounding mode.
|
||||||
|
*/
|
||||||
|
|
||||||
|
static inline double rint(double x)
|
||||||
|
{
|
||||||
|
double f, i;
|
||||||
|
f = modf(x, &i);
|
||||||
|
/*
|
||||||
|
All doubles with absolute values > MAX_EXACT_INTEGER are even anyway,
|
||||||
|
no need to check it.
|
||||||
|
*/
|
||||||
|
if (x > 0.0)
|
||||||
|
i += (double) ((f > 0.5) || (f == 0.5 &&
|
||||||
|
i <= (double) MAX_EXACT_INTEGER &&
|
||||||
|
(longlong) i % 2));
|
||||||
|
else
|
||||||
|
i -= (double) ((f < -0.5) || (f == -0.5 &&
|
||||||
|
i >= (double) -MAX_EXACT_INTEGER &&
|
||||||
|
(longlong) i % 2));
|
||||||
|
return i;
|
||||||
|
}
|
||||||
|
#endif /* HAVE_RINT */
|
||||||
|
|
||||||
/* Define some general constants */
|
/* Define some general constants */
|
||||||
#ifndef TRUE
|
#ifndef TRUE
|
||||||
|
@ -13,80 +13,42 @@
|
|||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||||
|
|
||||||
|
/* See md5.c for explanation and copyright information. */
|
||||||
|
|
||||||
/* MD5.H - header file for MD5C.C
|
/*
|
||||||
|
* $FreeBSD: src/contrib/cvs/lib/md5.h,v 1.2 1999/12/11 15:10:02 peter Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
|
/* Unlike previous versions of this code, uint32 need not be exactly
|
||||||
rights reserved.
|
32 bits, merely 32 bits or more. Choosing a data type which is 32
|
||||||
|
bits instead of 64 is not important; speed is considerably more
|
||||||
|
important. ANSI guarantees that "unsigned long" will be big enough,
|
||||||
|
and always using it seems to have few disadvantages. */
|
||||||
|
typedef uint32 cvs_uint32;
|
||||||
|
|
||||||
License to copy and use this software is granted provided that it
|
|
||||||
is identified as the "RSA Data Security, Inc. MD5 Message-Digest
|
|
||||||
Algorithm" in all material mentioning or referencing this software
|
|
||||||
or this function.
|
|
||||||
|
|
||||||
License is also granted to make and use derivative works provided
|
|
||||||
that such works are identified as "derived from the RSA Data
|
|
||||||
Security, Inc. MD5 Message-Digest Algorithm" in all material
|
|
||||||
mentioning or referencing the derived work.
|
|
||||||
|
|
||||||
RSA Data Security, Inc. makes no representations concerning either
|
|
||||||
the merchantability of this software or the suitability of this
|
|
||||||
software for any particular purpose. It is provided "as is"
|
|
||||||
without express or implied warranty of any kind.
|
|
||||||
|
|
||||||
These notices must be retained in any copies of any part of this
|
|
||||||
documentation and/or software.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* GLOBAL.H - RSAREF types and constants
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* PROTOTYPES should be set to one if and only if the compiler supports
|
|
||||||
function argument prototyping.
|
|
||||||
The following makes PROTOTYPES default to 0 if it has not already
|
|
||||||
been defined with C compiler flags.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* egcs 1.1.2 under linux didn't defined it.... :( */
|
|
||||||
|
|
||||||
#ifndef PROTOTYPES
|
|
||||||
#define PROTOTYPES 1 /* Assume prototypes */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* POINTER defines a generic pointer type */
|
|
||||||
typedef unsigned char *POINTER;
|
|
||||||
|
|
||||||
/* UINT2 defines a two byte word */
|
|
||||||
typedef uint16 UINT2; /* Fix for MySQL / Alpha */
|
|
||||||
|
|
||||||
/* UINT4 defines a four byte word */
|
|
||||||
typedef uint32 UINT4; /* Fix for MySQL / Alpha */
|
|
||||||
|
|
||||||
/* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
|
|
||||||
If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
|
|
||||||
returns an empty list.
|
|
||||||
*/
|
|
||||||
#if PROTOTYPES
|
|
||||||
#define PROTO_LIST(list) list
|
|
||||||
#else
|
|
||||||
#define PROTO_LIST(list) ()
|
|
||||||
#endif
|
|
||||||
/* MD5 context. */
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
UINT4 state[4]; /* state (ABCD) */
|
cvs_uint32 buf[4];
|
||||||
UINT4 count[2]; /* number of bits, modulo 2^64 (lsb first) */
|
cvs_uint32 bits[2];
|
||||||
unsigned char buffer[64]; /* input buffer */
|
unsigned char in[64];
|
||||||
} my_MD5_CTX;
|
} my_MD5Context;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
void my_MD5Init PROTO_LIST ((my_MD5_CTX *));
|
void my_MD5Init (my_MD5Context *context);
|
||||||
void my_MD5Update PROTO_LIST
|
void my_MD5Update (my_MD5Context *context,
|
||||||
((my_MD5_CTX *, unsigned char *, unsigned int));
|
unsigned char const *buf, unsigned len);
|
||||||
void my_MD5Final PROTO_LIST ((unsigned char [16], my_MD5_CTX *));
|
void my_MD5Final (unsigned char digest[16],
|
||||||
|
my_MD5Context *context);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define MY_MD5_HASH(digest,buf,len) \
|
||||||
|
do { \
|
||||||
|
my_MD5Context ctx; \
|
||||||
|
my_MD5Init (&ctx); \
|
||||||
|
my_MD5Update (&ctx, buf, len); \
|
||||||
|
my_MD5Final (digest, &ctx); \
|
||||||
|
} while (0)
|
||||||
|
@ -637,6 +637,7 @@ extern int nt_share_delete(const char *name,myf MyFlags);
|
|||||||
extern void TERMINATE(FILE *file, uint flag);
|
extern void TERMINATE(FILE *file, uint flag);
|
||||||
#endif
|
#endif
|
||||||
extern void init_glob_errs(void);
|
extern void init_glob_errs(void);
|
||||||
|
extern void wait_for_free_space(const char *filename, int errors);
|
||||||
extern FILE *my_fopen(const char *FileName,int Flags,myf MyFlags);
|
extern FILE *my_fopen(const char *FileName,int Flags,myf MyFlags);
|
||||||
extern FILE *my_fdopen(File Filedes,const char *name, int Flags,myf MyFlags);
|
extern FILE *my_fdopen(File Filedes,const char *name, int Flags,myf MyFlags);
|
||||||
extern int my_fclose(FILE *fd,myf MyFlags);
|
extern int my_fclose(FILE *fd,myf MyFlags);
|
||||||
@ -842,6 +843,8 @@ extern void *memdup_root(MEM_ROOT *root,const void *str, size_t len);
|
|||||||
extern int get_defaults_options(int argc, char **argv,
|
extern int get_defaults_options(int argc, char **argv,
|
||||||
char **defaults, char **extra_defaults,
|
char **defaults, char **extra_defaults,
|
||||||
char **group_suffix);
|
char **group_suffix);
|
||||||
|
extern int my_load_defaults(const char *conf_file, const char **groups,
|
||||||
|
int *argc, char ***argv, const char ***);
|
||||||
extern int load_defaults(const char *conf_file, const char **groups,
|
extern int load_defaults(const char *conf_file, const char **groups,
|
||||||
int *argc, char ***argv);
|
int *argc, char ***argv);
|
||||||
extern int modify_defaults_file(const char *file_location, const char *option,
|
extern int modify_defaults_file(const char *file_location, const char *option,
|
||||||
@ -849,7 +852,8 @@ extern int modify_defaults_file(const char *file_location, const char *option,
|
|||||||
const char *section_name, int remove_option);
|
const char *section_name, int remove_option);
|
||||||
extern int my_search_option_files(const char *conf_file, int *argc,
|
extern int my_search_option_files(const char *conf_file, int *argc,
|
||||||
char ***argv, uint *args_used,
|
char ***argv, uint *args_used,
|
||||||
Process_option_func func, void *func_ctx);
|
Process_option_func func, void *func_ctx,
|
||||||
|
const char **default_directories);
|
||||||
extern void free_defaults(char **argv);
|
extern void free_defaults(char **argv);
|
||||||
extern void my_print_default_files(const char *conf_file);
|
extern void my_print_default_files(const char *conf_file);
|
||||||
extern void print_defaults(const char *conf_file, const char **groups);
|
extern void print_defaults(const char *conf_file, const char **groups);
|
||||||
|
@ -43,6 +43,15 @@ extern char mysql_server_last_error[MYSQL_ERRMSG_SIZE];
|
|||||||
static my_bool emb_read_query_result(MYSQL *mysql);
|
static my_bool emb_read_query_result(MYSQL *mysql);
|
||||||
|
|
||||||
|
|
||||||
|
extern "C" void unireg_clear(int exit_code)
|
||||||
|
{
|
||||||
|
DBUG_ENTER("unireg_clear");
|
||||||
|
clean_up(!opt_help && (exit_code || !opt_bootstrap)); /* purecov: inspected */
|
||||||
|
my_end(opt_endinfo ? MY_CHECK_ERROR | MY_GIVE_INFO : 0);
|
||||||
|
DBUG_VOID_RETURN;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Reads error information from the MYSQL_DATA and puts
|
Reads error information from the MYSQL_DATA and puts
|
||||||
it into proper MYSQL members
|
it into proper MYSQL members
|
||||||
|
@ -75,13 +75,13 @@ EXTRA_DIST = README \
|
|||||||
|
|
||||||
# List of directories containing test + result files and the
|
# List of directories containing test + result files and the
|
||||||
# related test data files that should be copied
|
# related test data files that should be copied
|
||||||
TEST_DIRS = t r include std_data std_data/parts \
|
TEST_DIRS = t r include std_data std_data/parts collections \
|
||||||
std_data/ndb_backup50 std_data/ndb_backup51 \
|
std_data/ndb_backup50 std_data/ndb_backup51 \
|
||||||
std_data/ndb_backup51_data_be std_data/ndb_backup51_data_le \
|
std_data/ndb_backup51_data_be std_data/ndb_backup51_data_le \
|
||||||
std_data/funcs_1 \
|
std_data/funcs_1 \
|
||||||
extra/binlog_tests/ extra/rpl_tests \
|
extra/binlog_tests/ extra/rpl_tests \
|
||||||
suite/binlog suite/binlog/t suite/binlog/r suite/binlog/std_data \
|
suite/binlog suite/binlog/t suite/binlog/r suite/binlog/std_data \
|
||||||
suite/bugs/data suite/bugs/t suite/bugs/r \
|
suite/bugs suite/bugs/data suite/bugs/t suite/bugs/r \
|
||||||
suite/federated \
|
suite/federated \
|
||||||
suite/funcs_1 suite/funcs_1/bitdata \
|
suite/funcs_1 suite/funcs_1/bitdata \
|
||||||
suite/funcs_1/include suite/funcs_1/lib suite/funcs_1/r \
|
suite/funcs_1/include suite/funcs_1/lib suite/funcs_1/r \
|
||||||
@ -90,7 +90,7 @@ TEST_DIRS = t r include std_data std_data/parts \
|
|||||||
suite/funcs_2 suite/funcs_2/charset suite/funcs_2/data \
|
suite/funcs_2 suite/funcs_2/charset suite/funcs_2/data \
|
||||||
suite/funcs_2/include suite/funcs_2/lib suite/funcs_2/r \
|
suite/funcs_2/include suite/funcs_2/lib suite/funcs_2/r \
|
||||||
suite/funcs_2/t \
|
suite/funcs_2/t \
|
||||||
suite/jp suite/jp/t suite/jp/r suite/jp/std_data \
|
suite/jp suite/jp/t suite/jp/r suite/jp/std_data suite/jp/include \
|
||||||
suite/manual/t suite/manual/r \
|
suite/manual/t suite/manual/r \
|
||||||
suite/ndb_team suite/ndb_team/t suite/ndb_team/r \
|
suite/ndb_team suite/ndb_team/t suite/ndb_team/r \
|
||||||
suite/rpl suite/rpl/data suite/rpl/include suite/rpl/r \
|
suite/rpl suite/rpl/data suite/rpl/include suite/rpl/r \
|
||||||
|
30
mysql-test/collections/README
Normal file
30
mysql-test/collections/README
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
This directory contains collections of test runs that we run during our
|
||||||
|
integration and release testing. Each file contains zero or more lines,
|
||||||
|
with one invocation of mysql-test-run.pl on each. These invocations are
|
||||||
|
written so that, with the assumption that perl is in your search path,
|
||||||
|
any collection can run as a shell script or a batch file, with the parent
|
||||||
|
mysql-test directory being the current working directory.
|
||||||
|
|
||||||
|
During integration testing, we choose the collection to run by following
|
||||||
|
these steps:
|
||||||
|
|
||||||
|
1) We choose the extension to look for, based on these rules:
|
||||||
|
- If we're running a per-push test, we choose ".push" as the extension.
|
||||||
|
- If we're running a daily test, we choose ".daily" as the extension.
|
||||||
|
- If we're running a weekly test, we choose ".weekly" as the extension.
|
||||||
|
|
||||||
|
2) If there is a collection that has the same name as the branch we're
|
||||||
|
testing plus the extension as determined in step 1, we choose that
|
||||||
|
collection.
|
||||||
|
|
||||||
|
3) If the branch is unknown or we have removed all characters from it
|
||||||
|
and still not found a matching collection, we choose the name "default"
|
||||||
|
plus the extension determined in step 1. If there is no such file,
|
||||||
|
we give up and don't test anything at all.
|
||||||
|
|
||||||
|
4) If we haven't found a collection yet, we remove the last character from
|
||||||
|
the branch name and go back to step 2.
|
||||||
|
|
||||||
|
5) The commands from the collection are run line by line via execv() or
|
||||||
|
similar system calls. They are not run as a shell script. Shell
|
||||||
|
expansions are not guaranteed to work and most likely won't.
|
25
mysql-test/collections/README.experimental
Normal file
25
mysql-test/collections/README.experimental
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
The .experimental files in this directory contain names of test cases that
|
||||||
|
are still in development and whose failures should be considered expected,
|
||||||
|
instead of regressions.
|
||||||
|
|
||||||
|
These files are to be used with the --experimental option of
|
||||||
|
mysql-test-run.pl. Please look at its help screen for usage information.
|
||||||
|
|
||||||
|
The syntax is as follows:
|
||||||
|
|
||||||
|
1) One line per test case.
|
||||||
|
|
||||||
|
2) Empty lines and lines starting with a hash (#) are ignored.
|
||||||
|
|
||||||
|
3) If any other line contains a blank followed by a hash (#), the hash
|
||||||
|
and any subsequent characters are ignored.
|
||||||
|
|
||||||
|
4) The full test case name including the suite and execution mode
|
||||||
|
must be specified, for example:
|
||||||
|
main.alias 'row' # bug#00000
|
||||||
|
|
||||||
|
5) As an exception to item 4, the last character of the test case
|
||||||
|
specification may be an asterisk (*). In that case, all test cases that
|
||||||
|
start with the same characters up to the last letter before the asterisk
|
||||||
|
are considered experimental:
|
||||||
|
main.a* # get rid of main.alias, main.alibaba and main.agliolio
|
1
mysql-test/collections/default.daily
Normal file
1
mysql-test/collections/default.daily
Normal file
@ -0,0 +1 @@
|
|||||||
|
perl mysql-test-run.pl --timer --force --comment=rpl_ndb_row --suite=rpl_ndb,ndb --mysqld=--binlog-format=row --experimental=collections/default.experimental
|
1
mysql-test/collections/default.experimental
Normal file
1
mysql-test/collections/default.experimental
Normal file
@ -0,0 +1 @@
|
|||||||
|
funcs_1.charset_collation_1 # depends on compile-time decisions
|
5
mysql-test/collections/default.push
Normal file
5
mysql-test/collections/default.push
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
perl mysql-test-run.pl --timer --force --comment=n_mix --mysqld=--binlog-format=mixed --experimental=collections/default.experimental
|
||||||
|
perl mysql-test-run.pl --timer --force --comment=ps_row --ps-protocol --mysqld=--binlog-format=row --experimental=collections/default.experimental
|
||||||
|
perl mysql-test-run.pl --timer --force --comment=embedded --embedded --experimental=collections/default.experimental
|
||||||
|
perl mysql-test-run.pl --timer --force --comment=rpl_binlog_row --suite=rpl,binlog --mysqld=--binlog-format=row --experimental=collections/default.experimental
|
||||||
|
perl mysql-test-run.pl --timer --force --comment=funcs_1 --suite=funcs_1 --experimental=collections/default.experimental
|
0
mysql-test/collections/default.weekly
Normal file
0
mysql-test/collections/default.weekly
Normal file
@ -26,7 +26,7 @@ create temporary table error_log (
|
|||||||
) engine=myisam;
|
) engine=myisam;
|
||||||
|
|
||||||
# Get the name of servers error log
|
# Get the name of servers error log
|
||||||
let $log_error= query_get_value(show variables like 'log_error', Value, 1);
|
let $log_error= $MTR_LOG_ERROR;
|
||||||
let $log_warning= $log_error.warnings;
|
let $log_warning= $log_error.warnings;
|
||||||
|
|
||||||
# Try tload the warnings into a temporary table,
|
# Try tload the warnings into a temporary table,
|
||||||
|
@ -11,6 +11,11 @@
|
|||||||
# $engine_type storage engine to be tested
|
# $engine_type storage engine to be tested
|
||||||
#
|
#
|
||||||
# Last update:
|
# Last update:
|
||||||
|
# 2009-02-13 HH "Release_lock("hello")" is now also successful when delivering NULL,
|
||||||
|
# replaced two sleeps by wait_condition. The last two "sleep 1" have not been
|
||||||
|
# replaced as all tried wait conditions leaded to nondeterministic results, especially
|
||||||
|
# to succeeding concurrent updates. To replace the sleeps there should be some time
|
||||||
|
# planned (or internal knowledge of the server may help).
|
||||||
# 2006-08-02 ML test refactored
|
# 2006-08-02 ML test refactored
|
||||||
# old name was t/innodb_concurrent.test
|
# old name was t/innodb_concurrent.test
|
||||||
# main code went into include/concurrent.inc
|
# main code went into include/concurrent.inc
|
||||||
@ -21,7 +26,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
connection default;
|
connection default;
|
||||||
|
|
||||||
#
|
#
|
||||||
# Show prerequisites for this test.
|
# Show prerequisites for this test.
|
||||||
#
|
#
|
||||||
@ -50,8 +54,6 @@ GRANT USAGE ON test.* TO mysqltest@localhost;
|
|||||||
#
|
#
|
||||||
# Preparatory cleanup.
|
# Preparatory cleanup.
|
||||||
#
|
#
|
||||||
DO release_lock("hello");
|
|
||||||
DO release_lock("hello2");
|
|
||||||
--disable_warnings
|
--disable_warnings
|
||||||
drop table if exists t1;
|
drop table if exists t1;
|
||||||
--enable_warnings
|
--enable_warnings
|
||||||
@ -89,10 +91,11 @@ drop table if exists t1;
|
|||||||
--echo ** Update will cause a table scan and a new ULL will
|
--echo ** Update will cause a table scan and a new ULL will
|
||||||
--echo ** be created and blocked on the first row where tipo=11.
|
--echo ** be created and blocked on the first row where tipo=11.
|
||||||
send update t1 set eta=1+get_lock("hello",10)*0 where tipo=11;
|
send update t1 set eta=1+get_lock("hello",10)*0 where tipo=11;
|
||||||
sleep 1;
|
|
||||||
|
|
||||||
--echo ** connection thread1
|
--echo ** connection thread1
|
||||||
connection thread1;
|
connection thread1;
|
||||||
|
let $wait_condition= select count(*)= 1 from information_schema.processlist where state= 'User lock';
|
||||||
|
--source include/wait_condition.inc
|
||||||
--echo ** Start new transaction for thread 1
|
--echo ** Start new transaction for thread 1
|
||||||
begin;
|
begin;
|
||||||
--echo ** Update on t1 will cause a table scan which will be blocked because
|
--echo ** Update on t1 will cause a table scan which will be blocked because
|
||||||
@ -111,7 +114,9 @@ drop table if exists t1;
|
|||||||
}
|
}
|
||||||
--echo ** Release user level name lock from thread 1. This will cause the ULL
|
--echo ** Release user level name lock from thread 1. This will cause the ULL
|
||||||
--echo ** on thread 2 to end its wait.
|
--echo ** on thread 2 to end its wait.
|
||||||
select release_lock("hello");
|
# Due to Bug#32782 User lock hash fails to find lock, which probably also cause Bug#39484 (main.concurrent_innodb_safelog fails sporadically) the success of the following
|
||||||
|
# is also guaranteed for NULL. Replaced SELECT by DO (no result).
|
||||||
|
DO release_lock("hello");
|
||||||
--echo ** Table is now updated with a new eta on tipo=22 for thread 1.
|
--echo ** Table is now updated with a new eta on tipo=22 for thread 1.
|
||||||
select * from t1;
|
select * from t1;
|
||||||
|
|
||||||
@ -119,7 +124,9 @@ drop table if exists t1;
|
|||||||
connection thread2;
|
connection thread2;
|
||||||
--echo ** Release the lock and collect result from update on thread 2
|
--echo ** Release the lock and collect result from update on thread 2
|
||||||
reap;
|
reap;
|
||||||
select release_lock("hello");
|
# Due to Bug#32782 User lock hash fails to find lock, which probably also cause Bug#39484 (main.concurrent_innodb_safelog fails sporadically) the success of the following
|
||||||
|
# is also guaranteed for NULL. Replaced SELECT by DO (no result).
|
||||||
|
DO release_lock("hello");
|
||||||
--echo ** Table should have eta updates where tipo=11 but updates made by
|
--echo ** Table should have eta updates where tipo=11 but updates made by
|
||||||
--echo ** thread 1 shouldn't be visible yet.
|
--echo ** thread 1 shouldn't be visible yet.
|
||||||
select * from t1;
|
select * from t1;
|
||||||
@ -183,10 +190,11 @@ drop table t1;
|
|||||||
--echo ** This will cause a hang on the first row where tipo=1 until the
|
--echo ** This will cause a hang on the first row where tipo=1 until the
|
||||||
--echo ** blocking ULL is released.
|
--echo ** blocking ULL is released.
|
||||||
send update t1 set eta=1+get_lock("hello",10)*0 where tipo=1;
|
send update t1 set eta=1+get_lock("hello",10)*0 where tipo=1;
|
||||||
sleep 1;
|
|
||||||
|
|
||||||
--echo ** connection thread1
|
--echo ** connection thread1
|
||||||
connection thread1;
|
connection thread1;
|
||||||
|
let $wait_condition= select count(*)= 1 from information_schema.processlist where state= 'User lock';
|
||||||
|
--source include/wait_condition.inc
|
||||||
--echo ** Start transaction on thread 1
|
--echo ** Start transaction on thread 1
|
||||||
begin;
|
begin;
|
||||||
--echo ** Update on t1 will cause a table scan which will be blocked because
|
--echo ** Update on t1 will cause a table scan which will be blocked because
|
||||||
@ -204,7 +212,9 @@ drop table t1;
|
|||||||
update t1 set tipo=1 where tipo=2;
|
update t1 set tipo=1 where tipo=2;
|
||||||
}
|
}
|
||||||
--echo ** Release ULL. This will release the next waiting ULL on thread 2.
|
--echo ** Release ULL. This will release the next waiting ULL on thread 2.
|
||||||
select release_lock("hello");
|
# Due to Bug#32782 User lock hash fails to find lock, which probably also cause Bug#39484 (main.concurrent_innodb_safelog fails sporadically)the success of the following
|
||||||
|
# is also guaranteed for NULL. Replaced SELECT by DO (no result).
|
||||||
|
DO release_lock("hello");
|
||||||
--echo ** The table should still be updated with updates for thread 1 only:
|
--echo ** The table should still be updated with updates for thread 1 only:
|
||||||
select * from t1;
|
select * from t1;
|
||||||
|
|
||||||
@ -212,7 +222,9 @@ drop table t1;
|
|||||||
connection thread2;
|
connection thread2;
|
||||||
--echo ** Release the lock and collect result from thread 2:
|
--echo ** Release the lock and collect result from thread 2:
|
||||||
reap;
|
reap;
|
||||||
select release_lock("hello");
|
# Due to Bug#32782 User lock hash fails to find lock, which probably also cause Bug#39484 (main.concurrent_innodb_safelog fails sporadically) the success of the following
|
||||||
|
# is also guaranteed for NULL. Replaced SELECT by DO (no result).
|
||||||
|
DO release_lock("hello");
|
||||||
--echo ** Seen from thread 2 the table should have been updated on four
|
--echo ** Seen from thread 2 the table should have been updated on four
|
||||||
--echo ** places.
|
--echo ** places.
|
||||||
select * from t1;
|
select * from t1;
|
||||||
@ -264,15 +276,18 @@ drop table t1;
|
|||||||
--echo ** Update will create a table scan which creates a ULL where a=2;
|
--echo ** Update will create a table scan which creates a ULL where a=2;
|
||||||
--echo ** this will hang waiting on thread 1.
|
--echo ** this will hang waiting on thread 1.
|
||||||
send update t1 set b=10+get_lock(concat("hello",a),10)*0 where a=2;
|
send update t1 set b=10+get_lock(concat("hello",a),10)*0 where a=2;
|
||||||
sleep 1;
|
|
||||||
|
|
||||||
--echo ** connection thread1
|
--echo ** connection thread1
|
||||||
connection thread1;
|
connection thread1;
|
||||||
|
let $wait_condition= select count(*)= 1 from information_schema.processlist where state= 'User lock';
|
||||||
|
--source include/wait_condition.inc
|
||||||
--echo ** Insert new values to t1 from thread 1; this created an implicit
|
--echo ** Insert new values to t1 from thread 1; this created an implicit
|
||||||
--echo ** commit since there are no on-going transactions.
|
--echo ** commit since there are no on-going transactions.
|
||||||
insert into t1 values (1,1);
|
insert into t1 values (1,1);
|
||||||
--echo ** Release the ULL (thread 2 updates will finish).
|
--echo ** Release the ULL (thread 2 updates will finish).
|
||||||
select release_lock("hello2");
|
# Due to Bug#32782 User lock hash fails to find lock, which probably also cause Bug#39484 (main.concurrent_innodb_safelog fails sporadically) the success of the following
|
||||||
|
# is also guaranteed for NULL. Replaced SELECT by DO (no result).
|
||||||
|
DO release_lock("hello2");
|
||||||
--echo ** ..but thread 1 will still see t1 as if nothing has happend:
|
--echo ** ..but thread 1 will still see t1 as if nothing has happend:
|
||||||
select * from t1;
|
select * from t1;
|
||||||
|
|
||||||
@ -280,7 +295,9 @@ drop table t1;
|
|||||||
connection thread2;
|
connection thread2;
|
||||||
--echo ** Collect results from thread 2 and release the lock.
|
--echo ** Collect results from thread 2 and release the lock.
|
||||||
reap;
|
reap;
|
||||||
select release_lock("hello2");
|
# Due to Bug#32782 User lock hash fails to find lock, which probably also cause Bug#39484 (main.concurrent_innodb_safelog fails sporadically) the success of the following
|
||||||
|
# is also guaranteed for NULL. Replaced SELECT by DO (no result).
|
||||||
|
DO release_lock("hello2");
|
||||||
--echo ** The table should look like the original+updates for thread 2,
|
--echo ** The table should look like the original+updates for thread 2,
|
||||||
--echo ** and consist of new rows:
|
--echo ** and consist of new rows:
|
||||||
select * from t1;
|
select * from t1;
|
||||||
@ -534,6 +551,9 @@ drop table t1;
|
|||||||
connection thread2;
|
connection thread2;
|
||||||
begin;
|
begin;
|
||||||
send delete from t1 where tipo=2;
|
send delete from t1 where tipo=2;
|
||||||
|
# The sleep has not been replaced as all tried wait conditions leaded to sporadically
|
||||||
|
# succeding update in the following thread. Also the used status variables '%lock%' and
|
||||||
|
# 'innodb_deleted_rows' and infos in processlist where not sucessful.
|
||||||
sleep 1;
|
sleep 1;
|
||||||
|
|
||||||
--echo ** connection thread1
|
--echo ** connection thread1
|
||||||
@ -594,6 +614,9 @@ drop table t1;
|
|||||||
connection thread2;
|
connection thread2;
|
||||||
begin;
|
begin;
|
||||||
send delete from t1 where tipo=2;
|
send delete from t1 where tipo=2;
|
||||||
|
# The sleep has not been replaced as all tried wait conditions leaded to sporadically
|
||||||
|
# succeding update in the following thread. Also the used status variables '%lock%' and
|
||||||
|
# 'innodb_deleted_rows' and infos in processlist where not sucessful.
|
||||||
sleep 1;
|
sleep 1;
|
||||||
|
|
||||||
--echo ** connection thread1
|
--echo ** connection thread1
|
||||||
|
@ -479,6 +479,7 @@ handler t1 open;
|
|||||||
--echo --> client 1
|
--echo --> client 1
|
||||||
connection default;
|
connection default;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
disconnect con2;
|
||||||
|
|
||||||
#
|
#
|
||||||
# Bug#30632 HANDLER read failure causes hang
|
# Bug#30632 HANDLER read failure causes hang
|
||||||
@ -692,3 +693,30 @@ unlock tables;
|
|||||||
drop table t1;
|
drop table t1;
|
||||||
--error ER_UNKNOWN_TABLE
|
--error ER_UNKNOWN_TABLE
|
||||||
handler t1 read a next;
|
handler t1 read a next;
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bug#41110: crash with handler command when used concurrently with alter table
|
||||||
|
# Bug#41112: crash in mysql_ha_close_table/get_lock_data with alter table
|
||||||
|
#
|
||||||
|
|
||||||
|
--disable_warnings
|
||||||
|
drop table if exists t1;
|
||||||
|
--enable_warnings
|
||||||
|
create table t1 (a int);
|
||||||
|
insert into t1 values (1);
|
||||||
|
handler t1 open;
|
||||||
|
connect(con1,localhost,root,,);
|
||||||
|
send alter table t1 engine=memory;
|
||||||
|
connection default;
|
||||||
|
let $wait_condition=
|
||||||
|
select count(*) = 1 from information_schema.processlist
|
||||||
|
where state = "rename result table" and info = "alter table t1 engine=memory";
|
||||||
|
--source include/wait_condition.inc
|
||||||
|
--error ER_ILLEGAL_HA
|
||||||
|
handler t1 read a next;
|
||||||
|
handler t1 close;
|
||||||
|
connection con1;
|
||||||
|
--reap
|
||||||
|
drop table t1;
|
||||||
|
disconnect con1;
|
||||||
|
connection default;
|
||||||
|
@ -3,27 +3,44 @@
|
|||||||
# in test cases and can be reused. #
|
# in test cases and can be reused. #
|
||||||
######################################################
|
######################################################
|
||||||
|
|
||||||
# Bug#41307: Tests using include/ndb_backup.inc won't work on Windows due to
|
|
||||||
# 'grep' call
|
|
||||||
# This test is disabled on Windows via the next line until the above bug is
|
|
||||||
# resolved
|
|
||||||
--source include/not_windows.inc
|
|
||||||
|
|
||||||
--exec $NDB_MGM --no-defaults --ndb-connectstring="$NDB_CONNECTSTRING" -e "start backup" >> $NDB_TOOLS_OUTPUT
|
--exec $NDB_MGM --no-defaults --ndb-connectstring="$NDB_CONNECTSTRING" -e "start backup" >> $NDB_TOOLS_OUTPUT
|
||||||
|
|
||||||
# there is no neat way to find the backupid, this is a hack to find it...
|
# To find the backupid, we must dump this data to a table, and SELECT
|
||||||
let $dump_file= $MYSQLTEST_VARDIR/tmp/tmp.dat;
|
# what we want into an outfile. This could be accomplished with grep, but
|
||||||
--exec $NDB_TOOLS_DIR/ndb_select_all --ndb-connectstring="$NDB_CONNECTSTRING" -d sys --delimiter=',' SYSTAB_0 | grep 520093696 > $dump_file
|
# grep isn't Windows-portable
|
||||||
|
|
||||||
CREATE TEMPORARY TABLE test.backup_info (id INT, backup_id INT) ENGINE = HEAP;
|
--disable_query_log
|
||||||
|
# create a table to help us out
|
||||||
|
--disable_warnings # leave this on until done with the entire process
|
||||||
|
# cleanup
|
||||||
|
DROP TABLE IF EXISTS helper1;
|
||||||
|
CREATE TABLE helper1(c1 VARCHAR(20));
|
||||||
|
# dump raw data to file
|
||||||
|
let $ndb_backup_file1= $MYSQLTEST_VARDIR/ndb_backup_tmp.dat;
|
||||||
|
let $ndb_backup_file2= $MYSQLTEST_VARDIR/tmp.dat;
|
||||||
|
--error 0,1
|
||||||
|
--remove_file $ndb_backup_file1
|
||||||
|
--exec $NDB_TOOLS_DIR/ndb_select_all --ndb-connectstring="$NDB_CONNECTSTRING" -d sys --delimiter=',' SYSTAB_0 > $ndb_backup_file1
|
||||||
|
# load the table from the raw data file
|
||||||
|
eval LOAD DATA INFILE '$ndb_backup_file1' INTO TABLE helper1;
|
||||||
|
--remove_file $ndb_backup_file1
|
||||||
|
# output what we need
|
||||||
|
eval SELECT * FROM helper1 WHERE c1 LIKE '%520093696%'
|
||||||
|
INTO OUTFILE '$ndb_backup_file2';
|
||||||
|
# cleanup
|
||||||
|
DROP TABLE helper1;
|
||||||
|
--enable_warnings
|
||||||
|
--enable_query_log
|
||||||
|
|
||||||
--replace_result $dump_file DUMP_FILE
|
CREATE TEMPORARY TABLE IF NOT EXISTS test.backup_info
|
||||||
eval LOAD DATA INFILE '$dump_file' INTO TABLE test.backup_info FIELDS TERMINATED BY ',';
|
(id INT, backup_id INT) ENGINE = MEMORY;
|
||||||
|
|
||||||
|
--replace_result $MYSQLTEST_VARDIR <MYSQLTEST_VARDIR>
|
||||||
|
eval LOAD DATA INFILE '$ndb_backup_file2' INTO TABLE test.backup_info FIELDS TERMINATED BY ',';
|
||||||
|
--remove_file $ndb_backup_file2
|
||||||
|
|
||||||
# Load backup id into environment variable
|
# Load backup id into environment variable
|
||||||
let the_backup_id=`SELECT backup_id from test.backup_info`;
|
let the_backup_id=`SELECT backup_id from test.backup_info`;
|
||||||
|
|
||||||
DROP TABLE test.backup_info;
|
DROP TABLE test.backup_info;
|
||||||
|
|
||||||
remove_file $dump_file;
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,11 +2,20 @@
|
|||||||
#
|
#
|
||||||
# SUMMARY
|
# SUMMARY
|
||||||
#
|
#
|
||||||
# Waits until the passed number ($count_sessions) of concurrent sessions was
|
# Waits until the passed number ($count_sessions) of concurrent sessions or
|
||||||
# observed via
|
# a smaller number was observed via
|
||||||
# SHOW STATUS LIKE 'Threads_connected'
|
# SHOW STATUS LIKE 'Threads_connected'
|
||||||
# or the operation times out.
|
# or the operation times out.
|
||||||
# Note: Starting with 5.1 we could also use
|
# Note:
|
||||||
|
# 1. We wait for $current_sessions <= $count_sessions because in the use case
|
||||||
|
# with count_sessions.inc before and wait_until_count_sessions.inc after
|
||||||
|
# the core of the test it could happen that the disconnects of sessions
|
||||||
|
# belonging to the preceeding test are not finished.
|
||||||
|
# sessions at test begin($count_sessions) = m + n
|
||||||
|
# sessions of the previous test which will be soon disconnected = n (n >= 0)
|
||||||
|
# sessions at test end ($current sessions, assuming the test disconnects
|
||||||
|
# all additional sessions) = m
|
||||||
|
# 2. Starting with 5.1 we could also use
|
||||||
# SELECT COUNT(*) FROM information_schema.processlist
|
# SELECT COUNT(*) FROM information_schema.processlist
|
||||||
# I stay with "SHOW STATUS LIKE 'Threads_connected'" because this
|
# I stay with "SHOW STATUS LIKE 'Threads_connected'" because this
|
||||||
# runs in all versions 5.0+
|
# runs in all versions 5.0+
|
||||||
@ -19,7 +28,7 @@
|
|||||||
#
|
#
|
||||||
# OR typical example of a test which uses more than one session
|
# OR typical example of a test which uses more than one session
|
||||||
# Such a test could harm successing tests if there is no server shutdown
|
# Such a test could harm successing tests if there is no server shutdown
|
||||||
# and start between.cw
|
# and start between.
|
||||||
#
|
#
|
||||||
# If the testing box is slow than the disconnect of sessions belonging to
|
# If the testing box is slow than the disconnect of sessions belonging to
|
||||||
# the current test might happen when the successing test gets executed.
|
# the current test might happen when the successing test gets executed.
|
||||||
@ -79,7 +88,11 @@
|
|||||||
# backup.test, grant3.test
|
# backup.test, grant3.test
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Created: 2009-01-14 mleich
|
# Created:
|
||||||
|
# 2009-01-14 mleich
|
||||||
|
# Modified:
|
||||||
|
# 2009-02-24 mleich Fix Bug#43114 wait_until_count_sessions too restrictive,
|
||||||
|
# random PB failures
|
||||||
#
|
#
|
||||||
|
|
||||||
let $wait_counter= 100;
|
let $wait_counter= 100;
|
||||||
@ -93,7 +106,7 @@ let $wait_timeout= 0;
|
|||||||
while ($wait_counter)
|
while ($wait_counter)
|
||||||
{
|
{
|
||||||
let $current_sessions= query_get_value(SHOW STATUS LIKE 'Threads_connected', Value, 1);
|
let $current_sessions= query_get_value(SHOW STATUS LIKE 'Threads_connected', Value, 1);
|
||||||
let $success= `SELECT $current_sessions = $count_sessions`;
|
let $success= `SELECT $current_sessions <= $count_sessions`;
|
||||||
if ($success)
|
if ($success)
|
||||||
{
|
{
|
||||||
let $wait_counter= 0;
|
let $wait_counter= 0;
|
||||||
@ -107,7 +120,7 @@ while ($wait_counter)
|
|||||||
if (!$success)
|
if (!$success)
|
||||||
{
|
{
|
||||||
--echo # Timeout in wait_until_count_sessions.inc
|
--echo # Timeout in wait_until_count_sessions.inc
|
||||||
--echo # Number of sessions expected: $count_sessions found: $current_sessions
|
--echo # Number of sessions expected: <= $count_sessions found: $current_sessions
|
||||||
SHOW PROCESSLIST;
|
SHOW PROCESSLIST;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -116,8 +116,8 @@ sub fix_tmpdir {
|
|||||||
|
|
||||||
sub fix_log_error {
|
sub fix_log_error {
|
||||||
my ($self, $config, $group_name, $group)= @_;
|
my ($self, $config, $group_name, $group)= @_;
|
||||||
my $dir= dirname($group->value('datadir'));
|
my $dir= $self->{ARGS}->{vardir};
|
||||||
return "$dir/mysqld.err";
|
return "$dir/log/$group_name.err";
|
||||||
}
|
}
|
||||||
|
|
||||||
sub fix_log {
|
sub fix_log {
|
||||||
@ -203,7 +203,7 @@ my @mysqld_rules=
|
|||||||
{ '#host' => \&fix_host },
|
{ '#host' => \&fix_host },
|
||||||
{ 'port' => \&fix_port },
|
{ 'port' => \&fix_port },
|
||||||
{ 'socket' => \&fix_socket },
|
{ 'socket' => \&fix_socket },
|
||||||
{ 'log-error' => \&fix_log_error },
|
{ '#log-error' => \&fix_log_error },
|
||||||
{ 'log' => \&fix_log },
|
{ 'log' => \&fix_log },
|
||||||
{ 'log-slow-queries' => \&fix_log_slow_queries },
|
{ 'log-slow-queries' => \&fix_log_slow_queries },
|
||||||
{ '#user' => sub { return shift->{ARGS}->{user} || ""; } },
|
{ '#user' => sub { return shift->{ARGS}->{user} || ""; } },
|
||||||
@ -389,7 +389,7 @@ sub post_check_embedded_group {
|
|||||||
|
|
||||||
my @no_copy =
|
my @no_copy =
|
||||||
(
|
(
|
||||||
'log-error', # Embedded server writes stderr to mysqltest's log file
|
'#log-error', # Embedded server writes stderr to mysqltest's log file
|
||||||
'slave-net-timeout', # Embedded server are not build with replication
|
'slave-net-timeout', # Embedded server are not build with replication
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -113,8 +113,8 @@ sub check_socket_path_length {
|
|||||||
|
|
||||||
# Create a tempfile name with same length as "path"
|
# Create a tempfile name with same length as "path"
|
||||||
my $tmpdir = tempdir( CLEANUP => 0);
|
my $tmpdir = tempdir( CLEANUP => 0);
|
||||||
my $len = length($path) - length($tmpdir);
|
my $len = length($path) - length($tmpdir) - 1;
|
||||||
my $testfile = $tmpdir . "x" x ($len > 0 ? $len : 1);
|
my $testfile = $tmpdir . "/" . "x" x ($len > 0 ? $len : 1);
|
||||||
my $sock;
|
my $sock;
|
||||||
eval {
|
eval {
|
||||||
$sock= new IO::Socket::UNIX
|
$sock= new IO::Socket::UNIX
|
||||||
@ -126,17 +126,15 @@ sub check_socket_path_length {
|
|||||||
die "Could not create UNIX domain socket: $!"
|
die "Could not create UNIX domain socket: $!"
|
||||||
unless defined $sock;
|
unless defined $sock;
|
||||||
|
|
||||||
die "UNIX domain socket patch was truncated"
|
die "UNIX domain socket path was truncated"
|
||||||
unless ($testfile eq $sock->hostpath());
|
unless ($testfile eq $sock->hostpath());
|
||||||
|
|
||||||
$truncated= 0; # Yes, it worked!
|
$truncated= 0; # Yes, it worked!
|
||||||
|
|
||||||
};
|
};
|
||||||
#print "check_socket_path_length, failed: ", $@, '\n' if ($@);
|
|
||||||
|
|
||||||
$sock= undef; # Close socket
|
$sock= undef; # Close socket
|
||||||
unlink($testfile); # Remove the physical file
|
rmtree($tmpdir); # Remove the tempdir and any socket file created
|
||||||
rmdir($tmpdir); # Remove the tempdir
|
|
||||||
return $truncated;
|
return $truncated;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,6 +117,7 @@ sub new {
|
|||||||
my $output = delete($opts{'output'});
|
my $output = delete($opts{'output'});
|
||||||
my $error = delete($opts{'error'});
|
my $error = delete($opts{'error'});
|
||||||
my $verbose = delete($opts{'verbose'});
|
my $verbose = delete($opts{'verbose'});
|
||||||
|
my $nocore = delete($opts{'nocore'});
|
||||||
my $host = delete($opts{'host'});
|
my $host = delete($opts{'host'});
|
||||||
my $shutdown = delete($opts{'shutdown'});
|
my $shutdown = delete($opts{'shutdown'});
|
||||||
my $user_data= delete($opts{'user_data'});
|
my $user_data= delete($opts{'user_data'});
|
||||||
@ -137,6 +138,7 @@ sub new {
|
|||||||
push(@safe_args, $safe_script) if defined $safe_script;
|
push(@safe_args, $safe_script) if defined $safe_script;
|
||||||
|
|
||||||
push(@safe_args, "--verbose") if $verbose > 0;
|
push(@safe_args, "--verbose") if $verbose > 0;
|
||||||
|
push(@safe_args, "--nocore") if $nocore;
|
||||||
|
|
||||||
# Point the safe_process at the right parent if running on cygwin
|
# Point the safe_process at the right parent if running on cygwin
|
||||||
push(@safe_args, "--parent-pid=".Cygwin::pid_to_winpid($$)) if IS_CYGWIN;
|
push(@safe_args, "--parent-pid=".Cygwin::pid_to_winpid($$)) if IS_CYGWIN;
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
#include <sys/resource.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -149,6 +150,7 @@ int main(int argc, char* const argv[] )
|
|||||||
char* const* child_argv= 0;
|
char* const* child_argv= 0;
|
||||||
pid_t own_pid= getpid();
|
pid_t own_pid= getpid();
|
||||||
pid_t parent_pid= getppid();
|
pid_t parent_pid= getppid();
|
||||||
|
bool nocore = false;
|
||||||
|
|
||||||
/* Install signal handlers */
|
/* Install signal handlers */
|
||||||
signal(SIGTERM, handle_signal);
|
signal(SIGTERM, handle_signal);
|
||||||
@ -181,6 +183,9 @@ int main(int argc, char* const argv[] )
|
|||||||
start++; /* Step past = */
|
start++; /* Step past = */
|
||||||
if ((parent_pid= atoi(start)) == 0)
|
if ((parent_pid= atoi(start)) == 0)
|
||||||
die("Invalid value '%s' passed to --parent-id", start);
|
die("Invalid value '%s' passed to --parent-id", start);
|
||||||
|
} else if ( strcmp(arg, "--nocore") == 0 )
|
||||||
|
{
|
||||||
|
nocore = true; // Don't allow the process to dump core
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
die("Unknown option: %s", arg);
|
die("Unknown option: %s", arg);
|
||||||
@ -218,6 +223,15 @@ int main(int argc, char* const argv[] )
|
|||||||
// it and any childs(that hasn't changed group themself)
|
// it and any childs(that hasn't changed group themself)
|
||||||
setpgid(0, 0);
|
setpgid(0, 0);
|
||||||
|
|
||||||
|
if (nocore)
|
||||||
|
{
|
||||||
|
struct rlimit corelim = { 0, 0 };
|
||||||
|
if (setrlimit (RLIMIT_CORE, &corelim) < 0)
|
||||||
|
{
|
||||||
|
message("setrlimit failed, errno=%d", errno);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Signal that child is ready
|
// Signal that child is ready
|
||||||
buf= 37;
|
buf= 37;
|
||||||
write(pfd[1], &buf, 1);
|
write(pfd[1], &buf, 1);
|
||||||
|
@ -22,40 +22,46 @@ use strict;
|
|||||||
|
|
||||||
sub gcov_prepare ($) {
|
sub gcov_prepare ($) {
|
||||||
my ($dir)= @_;
|
my ($dir)= @_;
|
||||||
|
print "Purging gcov information from '$dir'...\n";
|
||||||
|
|
||||||
`find $dir -name \*.gcov \
|
system("find $dir -name \*.gcov -o -name \*.da"
|
||||||
-or -name \*.da | xargs rm`;
|
. " -o -name \*.gcda | grep -v 'README.gcov\$' | xargs rm");
|
||||||
}
|
}
|
||||||
|
|
||||||
my @mysqld_src_dirs=
|
#
|
||||||
(
|
# Collect gcov statistics.
|
||||||
"strings",
|
# Arguments:
|
||||||
"mysys",
|
# $dir basedir, normally source directory
|
||||||
"include",
|
# $gcov gcov utility program [path] name
|
||||||
"extra",
|
# $gcov_msg message file name
|
||||||
"regex",
|
# $gcov_err error file name
|
||||||
"isam",
|
#
|
||||||
"merge",
|
|
||||||
"myisam",
|
|
||||||
"myisammrg",
|
|
||||||
"heap",
|
|
||||||
"sql",
|
|
||||||
);
|
|
||||||
|
|
||||||
sub gcov_collect ($$$) {
|
sub gcov_collect ($$$) {
|
||||||
my ($dir, $gcov, $gcov_msg, $gcov_err)= @_;
|
my ($dir, $gcov, $gcov_msg, $gcov_err)= @_;
|
||||||
|
|
||||||
|
# Get current directory to return to later.
|
||||||
my $start_dir= cwd();
|
my $start_dir= cwd();
|
||||||
|
|
||||||
print "Collecting source coverage info...\n";
|
print "Collecting source coverage info using '$gcov'...\n";
|
||||||
-f $gcov_msg and unlink($gcov_msg);
|
-f "$start_dir/$gcov_msg" and unlink("$start_dir/$gcov_msg");
|
||||||
-f $gcov_err and unlink($gcov_err);
|
-f "$start_dir/$gcov_err" and unlink("$start_dir/$gcov_err");
|
||||||
foreach my $d ( @mysqld_src_dirs )
|
|
||||||
{
|
my @dirs= `find "$dir" -type d -print | sort`;
|
||||||
chdir("$dir/$d");
|
#print "List of directories:\n@dirs\n";
|
||||||
foreach my $f ( (glob("*.h"), glob("*.cc"), glob("*.c")) )
|
|
||||||
{
|
foreach my $d ( @dirs ) {
|
||||||
`$gcov $f 2>>$gcov_err >>$gcov_msg`;
|
my $dir_reported= 0;
|
||||||
|
chomp($d);
|
||||||
|
chdir($d) or next;
|
||||||
|
|
||||||
|
foreach my $f ( (glob("*.h"), glob("*.cc"), glob("*.c")) ) {
|
||||||
|
$f =~ /(.*)\.[ch]c?/;
|
||||||
|
-f "$1.gcno" or next;
|
||||||
|
if (!$dir_reported) {
|
||||||
|
print "Collecting in '$d'...\n";
|
||||||
|
$dir_reported= 1;
|
||||||
|
}
|
||||||
|
system("$gcov $f 2>>$start_dir/$gcov_err >>$start_dir/$gcov_msg");
|
||||||
}
|
}
|
||||||
chdir($start_dir);
|
chdir($start_dir);
|
||||||
}
|
}
|
||||||
|
@ -69,6 +69,8 @@ sub _mtr_report_test_name ($) {
|
|||||||
|
|
||||||
print _name(), _timestamp();
|
print _name(), _timestamp();
|
||||||
printf "%-40s ", $tname;
|
printf "%-40s ", $tname;
|
||||||
|
|
||||||
|
return $tname;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -105,20 +107,48 @@ sub mtr_report_test_passed ($) {
|
|||||||
|
|
||||||
sub mtr_report_test ($) {
|
sub mtr_report_test ($) {
|
||||||
my ($tinfo)= @_;
|
my ($tinfo)= @_;
|
||||||
_mtr_report_test_name($tinfo);
|
my $test_name = _mtr_report_test_name($tinfo);
|
||||||
|
|
||||||
my $comment= $tinfo->{'comment'};
|
my $comment= $tinfo->{'comment'};
|
||||||
my $logfile= $tinfo->{'logfile'};
|
my $logfile= $tinfo->{'logfile'};
|
||||||
my $warnings= $tinfo->{'warnings'};
|
my $warnings= $tinfo->{'warnings'};
|
||||||
my $result= $tinfo->{'result'};
|
my $result= $tinfo->{'result'};
|
||||||
|
my $retry= $tinfo->{'retries'} ? "retry-" : "";
|
||||||
|
|
||||||
if ($result eq 'MTR_RES_FAILED'){
|
if ($result eq 'MTR_RES_FAILED'){
|
||||||
|
|
||||||
my $timest = format_time();
|
my $timest = format_time();
|
||||||
|
my $fail = "fail";
|
||||||
|
|
||||||
|
if ( $::opt_experimental )
|
||||||
|
{
|
||||||
|
# Find out if this test case is an experimental one, so we can treat
|
||||||
|
# the failure as an expected failure instead of a regression.
|
||||||
|
for my $exp ( @$::experimental_test_cases ) {
|
||||||
|
if ( $exp ne $test_name ) {
|
||||||
|
# if the expression is not the name of this test case, but has
|
||||||
|
# an asterisk at the end, determine if the characters up to
|
||||||
|
# but excluding the asterisk are the same
|
||||||
|
if ( $exp ne "" && substr($exp, -1, 1) eq "*" ) {
|
||||||
|
$exp = substr($exp, 0, length($exp) - 1);
|
||||||
|
if ( substr($test_name, 0, length($exp)) ne $exp ) {
|
||||||
|
# no match, try next entry
|
||||||
|
next;
|
||||||
|
}
|
||||||
|
# if yes, fall through to set the exp-fail status
|
||||||
|
} else {
|
||||||
|
# no match, try next entry
|
||||||
|
next;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$fail = "exp-fail";
|
||||||
|
last;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ( $warnings )
|
if ( $warnings )
|
||||||
{
|
{
|
||||||
mtr_report("[ fail ] Found warnings/errors in server log file!");
|
mtr_report("[ $retry$fail ] Found warnings/errors in server log file!");
|
||||||
mtr_report(" Test ended at $timest");
|
mtr_report(" Test ended at $timest");
|
||||||
mtr_report($warnings);
|
mtr_report($warnings);
|
||||||
return;
|
return;
|
||||||
@ -126,14 +156,14 @@ sub mtr_report_test ($) {
|
|||||||
my $timeout= $tinfo->{'timeout'};
|
my $timeout= $tinfo->{'timeout'};
|
||||||
if ( $timeout )
|
if ( $timeout )
|
||||||
{
|
{
|
||||||
mtr_report("[ fail ] timeout after $timeout seconds");
|
mtr_report("[ $retry$fail ] timeout after $timeout seconds");
|
||||||
mtr_report(" Test ended at $timest");
|
mtr_report(" Test ended at $timest");
|
||||||
mtr_report("\n$tinfo->{'comment'}");
|
mtr_report("\n$tinfo->{'comment'}");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mtr_report("[ fail ]\n Test ended at $timest");
|
mtr_report("[ $retry$fail ]\n Test ended at $timest");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $logfile )
|
if ( $logfile )
|
||||||
@ -176,7 +206,7 @@ sub mtr_report_test ($) {
|
|||||||
{
|
{
|
||||||
my $timer_str= $tinfo->{timer} || "";
|
my $timer_str= $tinfo->{timer} || "";
|
||||||
$tot_real_time += ($timer_str/1000);
|
$tot_real_time += ($timer_str/1000);
|
||||||
mtr_report("[ pass ] ", sprintf("%5s", $timer_str));
|
mtr_report("[ ${retry}pass ] ", sprintf("%5s", $timer_str));
|
||||||
|
|
||||||
# Show any problems check-testcase found
|
# Show any problems check-testcase found
|
||||||
if ( defined $tinfo->{'check'} )
|
if ( defined $tinfo->{'check'} )
|
||||||
|
@ -188,6 +188,8 @@ sub mtr_release_unique_id($) {
|
|||||||
|
|
||||||
flock SEM, LOCK_UN or warn "can't unlock $file.sem";
|
flock SEM, LOCK_UN or warn "can't unlock $file.sem";
|
||||||
close SEM;
|
close SEM;
|
||||||
|
|
||||||
|
delete $mtr_unique_ids{$$};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -110,8 +110,8 @@ my $opt_tmpdir; # Path to use for tmp/ dir
|
|||||||
my $opt_tmpdir_pid;
|
my $opt_tmpdir_pid;
|
||||||
|
|
||||||
END {
|
END {
|
||||||
if (defined $opt_tmpdir_pid and
|
if ( defined $opt_tmpdir_pid and $opt_tmpdir_pid == $$ )
|
||||||
$opt_tmpdir_pid == $$){
|
{
|
||||||
# Remove the tempdir this process has created
|
# Remove the tempdir this process has created
|
||||||
mtr_verbose("Removing tmpdir '$opt_tmpdir");
|
mtr_verbose("Removing tmpdir '$opt_tmpdir");
|
||||||
rmtree($opt_tmpdir);
|
rmtree($opt_tmpdir);
|
||||||
@ -163,8 +163,9 @@ our $opt_force;
|
|||||||
our $opt_mem= $ENV{'MTR_MEM'};
|
our $opt_mem= $ENV{'MTR_MEM'};
|
||||||
|
|
||||||
our $opt_gcov;
|
our $opt_gcov;
|
||||||
our $opt_gcov_err;
|
our $opt_gcov_exe= "gcov";
|
||||||
our $opt_gcov_msg;
|
our $opt_gcov_err= "mysql-test-gcov.msg";
|
||||||
|
our $opt_gcov_msg= "mysql-test-gcov.err";
|
||||||
|
|
||||||
our $glob_debugger= 0;
|
our $glob_debugger= 0;
|
||||||
our $opt_gdb;
|
our $opt_gdb;
|
||||||
@ -180,12 +181,18 @@ our $opt_client_debugger;
|
|||||||
my $config; # The currently running config
|
my $config; # The currently running config
|
||||||
my $current_config_name; # The currently running config file template
|
my $current_config_name; # The currently running config file template
|
||||||
|
|
||||||
|
our $opt_experimental;
|
||||||
|
our $experimental_test_cases;
|
||||||
|
|
||||||
my $baseport;
|
my $baseport;
|
||||||
my $opt_build_thread= $ENV{'MTR_BUILD_THREAD'} || "auto";
|
my $opt_build_thread= $ENV{'MTR_BUILD_THREAD'} || "auto";
|
||||||
|
my $build_thread= 0;
|
||||||
|
|
||||||
my $opt_record;
|
my $opt_record;
|
||||||
my $opt_report_features;
|
my $opt_report_features;
|
||||||
|
|
||||||
|
my $opt_skip_core;
|
||||||
|
|
||||||
our $opt_check_testcases= 1;
|
our $opt_check_testcases= 1;
|
||||||
my $opt_mark_progress;
|
my $opt_mark_progress;
|
||||||
|
|
||||||
@ -396,7 +403,7 @@ sub main {
|
|||||||
mtr_print_line();
|
mtr_print_line();
|
||||||
|
|
||||||
if ( $opt_gcov ) {
|
if ( $opt_gcov ) {
|
||||||
gcov_collect($basedir, $opt_gcov,
|
gcov_collect($basedir, $opt_gcov_exe,
|
||||||
$opt_gcov_msg, $opt_gcov_err);
|
$opt_gcov_msg, $opt_gcov_err);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -676,14 +683,9 @@ sub run_worker ($) {
|
|||||||
report_option('name',"worker[$thread_num]");
|
report_option('name',"worker[$thread_num]");
|
||||||
|
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
# Use auto build thread in all but first worker
|
# Set different ports per thread
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
set_build_thread_ports($thread_num > 1 ? 'auto' : $opt_build_thread);
|
set_build_thread_ports($thread_num);
|
||||||
|
|
||||||
if (check_ports_free()){
|
|
||||||
# Some port was not free(which one has already been printed)
|
|
||||||
mtr_error("Some port(s) was not free")
|
|
||||||
}
|
|
||||||
|
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
# Turn off verbosity in workers, unless explicitly specified
|
# Turn off verbosity in workers, unless explicitly specified
|
||||||
@ -803,7 +805,7 @@ sub command_line_setup {
|
|||||||
'big-test' => \$opt_big_test,
|
'big-test' => \$opt_big_test,
|
||||||
'combination=s' => \@opt_combinations,
|
'combination=s' => \@opt_combinations,
|
||||||
'skip-combinations' => \&collect_option,
|
'skip-combinations' => \&collect_option,
|
||||||
|
'experimental=s' => \$opt_experimental,
|
||||||
'skip-im' => \&ignore_option,
|
'skip-im' => \&ignore_option,
|
||||||
|
|
||||||
# Specify ports
|
# Specify ports
|
||||||
@ -943,12 +945,12 @@ sub command_line_setup {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Look for language files and charsetsdir, use same share
|
# Look for language files and charsetsdir, use same share
|
||||||
my $path_share= mtr_path_exists("$basedir/share/mysql",
|
$path_language= mtr_path_exists("$basedir/share/mysql/english",
|
||||||
"$basedir/sql/share",
|
"$basedir/sql/share/english",
|
||||||
"$basedir/share");
|
"$basedir/share/english");
|
||||||
|
|
||||||
|
|
||||||
$path_language= mtr_path_exists("$path_share/english");
|
my $path_share= dirname($path_language);
|
||||||
$path_charsetsdir= mtr_path_exists("$path_share/charsets");
|
$path_charsetsdir= mtr_path_exists("$path_share/charsets");
|
||||||
|
|
||||||
if (using_extern())
|
if (using_extern())
|
||||||
@ -970,6 +972,33 @@ sub command_line_setup {
|
|||||||
mtr_print_thick_line('#');
|
mtr_print_thick_line('#');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( $opt_experimental )
|
||||||
|
{
|
||||||
|
# read the list of experimental test cases from the file specified on
|
||||||
|
# the command line
|
||||||
|
open(FILE, "<", $opt_experimental) or mtr_error("Can't read experimental file: $opt_experimental");
|
||||||
|
mtr_report("Using experimental file: $opt_experimental");
|
||||||
|
$experimental_test_cases = [];
|
||||||
|
while(<FILE>) {
|
||||||
|
chomp;
|
||||||
|
# remove comments (# foo) at the beginning of the line, or after a
|
||||||
|
# blank at the end of the line
|
||||||
|
s/( +|^)#.*$//;
|
||||||
|
# remove whitespace
|
||||||
|
s/^ +//;
|
||||||
|
s/ +$//;
|
||||||
|
# if nothing left, don't need to remember this line
|
||||||
|
if ( $_ eq "" ) {
|
||||||
|
next;
|
||||||
|
}
|
||||||
|
# remember what is left as the name of another test case that should be
|
||||||
|
# treated as experimental
|
||||||
|
print " - $_\n";
|
||||||
|
push @$experimental_test_cases, $_;
|
||||||
|
}
|
||||||
|
close FILE;
|
||||||
|
}
|
||||||
|
|
||||||
foreach my $arg ( @ARGV )
|
foreach my $arg ( @ARGV )
|
||||||
{
|
{
|
||||||
if ( $arg =~ /^--skip-/ )
|
if ( $arg =~ /^--skip-/ )
|
||||||
@ -1093,6 +1122,14 @@ sub command_line_setup {
|
|||||||
$opt_shutdown_timeout= 0; # Kill processes instead of nice shutdown
|
$opt_shutdown_timeout= 0; # Kill processes instead of nice shutdown
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# --------------------------------------------------------------------------
|
||||||
|
# Check parallel value
|
||||||
|
# --------------------------------------------------------------------------
|
||||||
|
if ($opt_parallel < 1)
|
||||||
|
{
|
||||||
|
mtr_error("0 or negative parallel value makes no sense, use positive number");
|
||||||
|
}
|
||||||
|
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
# Record flag
|
# Record flag
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
@ -1282,18 +1319,32 @@ sub command_line_setup {
|
|||||||
# But a fairly safe range seems to be 5001 - 32767
|
# But a fairly safe range seems to be 5001 - 32767
|
||||||
#
|
#
|
||||||
sub set_build_thread_ports($) {
|
sub set_build_thread_ports($) {
|
||||||
my $build_thread= shift || 0;
|
my $thread= shift || 0;
|
||||||
|
|
||||||
if ( lc($build_thread) eq 'auto' ) {
|
if ( lc($opt_build_thread) eq 'auto' ) {
|
||||||
#mtr_report("Requesting build thread... ");
|
my $found_free = 0;
|
||||||
$build_thread= mtr_get_unique_id(250, 299);
|
$build_thread = 250; # Start attempts from here
|
||||||
|
while (! $found_free)
|
||||||
|
{
|
||||||
|
$build_thread= mtr_get_unique_id($build_thread, 299);
|
||||||
if ( !defined $build_thread ) {
|
if ( !defined $build_thread ) {
|
||||||
mtr_error("Could not get a unique build thread id");
|
mtr_error("Could not get a unique build thread id");
|
||||||
}
|
}
|
||||||
#mtr_report(" - got $build_thread");
|
$found_free= check_ports_free($build_thread);
|
||||||
|
# If not free, release and try from next number
|
||||||
|
mtr_release_unique_id($build_thread++) unless $found_free;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$build_thread = $opt_build_thread + $thread - 1;
|
||||||
}
|
}
|
||||||
$ENV{MTR_BUILD_THREAD}= $build_thread;
|
$ENV{MTR_BUILD_THREAD}= $build_thread;
|
||||||
$opt_build_thread= $build_thread;
|
|
||||||
|
if (! check_ports_free($build_thread)) {
|
||||||
|
# Some port was not free(which one has already been printed)
|
||||||
|
mtr_error("Some port(s) was not free")
|
||||||
|
}
|
||||||
|
|
||||||
# Calculate baseport
|
# Calculate baseport
|
||||||
$baseport= $build_thread * 10 + 10000;
|
$baseport= $build_thread * 10 + 10000;
|
||||||
@ -2447,22 +2498,18 @@ sub kill_leftovers ($) {
|
|||||||
# Check that all the ports that are going to
|
# Check that all the ports that are going to
|
||||||
# be used are free
|
# be used are free
|
||||||
#
|
#
|
||||||
sub check_ports_free
|
sub check_ports_free ($)
|
||||||
{
|
{
|
||||||
my @ports_to_check;
|
my $bthread= shift;
|
||||||
for ($baseport..$baseport+9){
|
my $portbase = $bthread * 10 + 10000;
|
||||||
push(@ports_to_check, $_);
|
for ($portbase..$portbase+9){
|
||||||
}
|
if (mtr_ping_port($_)){
|
||||||
#mtr_report("Checking ports...");
|
mtr_report(" - 'localhost:$_' was not free");
|
||||||
# print "@ports_to_check\n";
|
return 0; # One port was not free
|
||||||
foreach my $port (@ports_to_check){
|
|
||||||
if (mtr_ping_port($port)){
|
|
||||||
mtr_report(" - 'localhost:$port' was not free");
|
|
||||||
return 1; # One port was not free
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0; # All ports free
|
return 1; # All ports free
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -3481,7 +3528,10 @@ sub start_check_warnings ($$) {
|
|||||||
|
|
||||||
my $name= "warnings-".$mysqld->name();
|
my $name= "warnings-".$mysqld->name();
|
||||||
|
|
||||||
extract_warning_lines($mysqld->value('log-error'));
|
my $log_error= $mysqld->value('#log-error');
|
||||||
|
# To be communicated to the test
|
||||||
|
$ENV{MTR_LOG_ERROR}= $log_error;
|
||||||
|
extract_warning_lines($log_error);
|
||||||
|
|
||||||
my $args;
|
my $args;
|
||||||
mtr_init_args(\$args);
|
mtr_init_args(\$args);
|
||||||
@ -3956,6 +4006,7 @@ sub mysqld_arguments ($$$) {
|
|||||||
mtr_add_arg($args, "%s", $arg);
|
mtr_add_arg($args, "%s", $arg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$opt_skip_core = $found_skip_core;
|
||||||
if ( !$found_skip_core )
|
if ( !$found_skip_core )
|
||||||
{
|
{
|
||||||
mtr_add_arg($args, "%s", "--core-file");
|
mtr_add_arg($args, "%s", "--core-file");
|
||||||
@ -3995,6 +4046,12 @@ sub mysqld_start ($$) {
|
|||||||
$path_vardir_trace, $mysqld->name());
|
$path_vardir_trace, $mysqld->name());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (IS_WINDOWS)
|
||||||
|
{
|
||||||
|
# Trick the server to send output to stderr, with --console
|
||||||
|
mtr_add_arg($args, "--console");
|
||||||
|
}
|
||||||
|
|
||||||
if ( $opt_gdb || $opt_manual_gdb )
|
if ( $opt_gdb || $opt_manual_gdb )
|
||||||
{
|
{
|
||||||
gdb_arguments(\$args, \$exe, $mysqld->name());
|
gdb_arguments(\$args, \$exe, $mysqld->name());
|
||||||
@ -4027,7 +4084,7 @@ sub mysqld_start ($$) {
|
|||||||
# Remove the old pidfile if any
|
# Remove the old pidfile if any
|
||||||
unlink($mysqld->value('pid-file'));
|
unlink($mysqld->value('pid-file'));
|
||||||
|
|
||||||
my $output= $mysqld->value('log-error');
|
my $output= $mysqld->value('#log-error');
|
||||||
if ( $opt_valgrind and $opt_debug )
|
if ( $opt_valgrind and $opt_debug )
|
||||||
{
|
{
|
||||||
# When both --valgrind and --debug is selected, send
|
# When both --valgrind and --debug is selected, send
|
||||||
@ -4047,6 +4104,7 @@ sub mysqld_start ($$) {
|
|||||||
error => $output,
|
error => $output,
|
||||||
append => 1,
|
append => 1,
|
||||||
verbose => $opt_verbose,
|
verbose => $opt_verbose,
|
||||||
|
nocore => $opt_skip_core,
|
||||||
host => undef,
|
host => undef,
|
||||||
shutdown => sub { mysqld_stop($mysqld) },
|
shutdown => sub { mysqld_stop($mysqld) },
|
||||||
);
|
);
|
||||||
@ -4099,12 +4157,6 @@ sub server_need_restart {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $opt_embedded_server )
|
|
||||||
{
|
|
||||||
mtr_verbose_restart($server, "no start or restart for embedded server");
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( $tinfo->{'force_restart'} ) {
|
if ( $tinfo->{'force_restart'} ) {
|
||||||
mtr_verbose_restart($server, "forced in .opt file");
|
mtr_verbose_restart($server, "forced in .opt file");
|
||||||
return 1;
|
return 1;
|
||||||
@ -4334,7 +4386,7 @@ sub start_servers($) {
|
|||||||
# Already started
|
# Already started
|
||||||
|
|
||||||
# Write start of testcase to log file
|
# Write start of testcase to log file
|
||||||
mark_log($mysqld->value('log-error'), $tinfo);
|
mark_log($mysqld->value('#log-error'), $tinfo);
|
||||||
|
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
@ -4393,7 +4445,7 @@ sub start_servers($) {
|
|||||||
mkpath($tmpdir) unless -d $tmpdir;
|
mkpath($tmpdir) unless -d $tmpdir;
|
||||||
|
|
||||||
# Write start of testcase to log file
|
# Write start of testcase to log file
|
||||||
mark_log($mysqld->value('log-error'), $tinfo);
|
mark_log($mysqld->value('#log-error'), $tinfo);
|
||||||
|
|
||||||
# Run <tname>-master.sh
|
# Run <tname>-master.sh
|
||||||
if ($mysqld->option('#!run-master-sh') and
|
if ($mysqld->option('#!run-master-sh') and
|
||||||
@ -4444,7 +4496,7 @@ sub start_servers($) {
|
|||||||
$tinfo->{comment}=
|
$tinfo->{comment}=
|
||||||
"Failed to start ".$mysqld->name();
|
"Failed to start ".$mysqld->name();
|
||||||
|
|
||||||
my $logfile= $mysqld->value('log-error');
|
my $logfile= $mysqld->value('#log-error');
|
||||||
if ( defined $logfile and -f $logfile )
|
if ( defined $logfile and -f $logfile )
|
||||||
{
|
{
|
||||||
$tinfo->{logfile}= mtr_fromfile($logfile);
|
$tinfo->{logfile}= mtr_fromfile($logfile);
|
||||||
@ -5057,6 +5109,8 @@ Misc options
|
|||||||
to turn off.
|
to turn off.
|
||||||
|
|
||||||
sleep=SECONDS Passed to mysqltest, will be used as fixed sleep time
|
sleep=SECONDS Passed to mysqltest, will be used as fixed sleep time
|
||||||
|
gcov Collect coverage information after the test.
|
||||||
|
The result is a gcov file per source and header file.
|
||||||
|
|
||||||
HERE
|
HERE
|
||||||
exit(1);
|
exit(1);
|
||||||
|
@ -12695,3 +12695,22 @@ a b
|
|||||||
1 NULL
|
1 NULL
|
||||||
2 NULL
|
2 NULL
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
#
|
||||||
|
# BUG#32880 - Repairing Archive table fails with internal error 144
|
||||||
|
#
|
||||||
|
|
||||||
|
# Test with an existing table which is corrupted
|
||||||
|
# Copy t1 from std_data
|
||||||
|
SHOW CREATE TABLE t1;
|
||||||
|
Table Create Table
|
||||||
|
t1 CREATE TABLE `t1` (
|
||||||
|
`a` int(11) DEFAULT NULL,
|
||||||
|
`b` blob
|
||||||
|
) ENGINE=ARCHIVE DEFAULT CHARSET=latin1
|
||||||
|
CHECK TABLE t1;
|
||||||
|
Table Op Msg_type Msg_text
|
||||||
|
test.t1 check error Corrupt
|
||||||
|
REPAIR TABLE t1;
|
||||||
|
Table Op Msg_type Msg_text
|
||||||
|
test.t1 repair error Corrupt
|
||||||
|
DROP TABLE t1;
|
||||||
|
@ -7,8 +7,6 @@ SELECT @@global.innodb_locks_unsafe_for_binlog;
|
|||||||
0
|
0
|
||||||
# keep_locks == 1
|
# keep_locks == 1
|
||||||
GRANT USAGE ON test.* TO mysqltest@localhost;
|
GRANT USAGE ON test.* TO mysqltest@localhost;
|
||||||
DO release_lock("hello");
|
|
||||||
DO release_lock("hello2");
|
|
||||||
drop table if exists t1;
|
drop table if exists t1;
|
||||||
|
|
||||||
**
|
**
|
||||||
@ -51,9 +49,7 @@ update t1 set eta=2 where tipo=22;
|
|||||||
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
|
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
|
||||||
** Release user level name lock from thread 1. This will cause the ULL
|
** Release user level name lock from thread 1. This will cause the ULL
|
||||||
** on thread 2 to end its wait.
|
** on thread 2 to end its wait.
|
||||||
select release_lock("hello");
|
DO release_lock("hello");
|
||||||
release_lock("hello")
|
|
||||||
1
|
|
||||||
** Table is now updated with a new eta on tipo=22 for thread 1.
|
** Table is now updated with a new eta on tipo=22 for thread 1.
|
||||||
select * from t1;
|
select * from t1;
|
||||||
eta tipo c
|
eta tipo c
|
||||||
@ -70,9 +66,7 @@ eta tipo c
|
|||||||
90 11 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
|
90 11 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
|
||||||
** connection thread2
|
** connection thread2
|
||||||
** Release the lock and collect result from update on thread 2
|
** Release the lock and collect result from update on thread 2
|
||||||
select release_lock("hello");
|
DO release_lock("hello");
|
||||||
release_lock("hello")
|
|
||||||
1
|
|
||||||
** Table should have eta updates where tipo=11 but updates made by
|
** Table should have eta updates where tipo=11 but updates made by
|
||||||
** thread 1 shouldn't be visible yet.
|
** thread 1 shouldn't be visible yet.
|
||||||
select * from t1;
|
select * from t1;
|
||||||
@ -194,9 +188,7 @@ begin;
|
|||||||
update t1 set tipo=1 where tipo=2;
|
update t1 set tipo=1 where tipo=2;
|
||||||
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
|
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
|
||||||
** Release ULL. This will release the next waiting ULL on thread 2.
|
** Release ULL. This will release the next waiting ULL on thread 2.
|
||||||
select release_lock("hello");
|
DO release_lock("hello");
|
||||||
release_lock("hello")
|
|
||||||
1
|
|
||||||
** The table should still be updated with updates for thread 1 only:
|
** The table should still be updated with updates for thread 1 only:
|
||||||
select * from t1;
|
select * from t1;
|
||||||
eta tipo c
|
eta tipo c
|
||||||
@ -213,9 +205,7 @@ eta tipo c
|
|||||||
90 11 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
|
90 11 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
|
||||||
** connection thread2
|
** connection thread2
|
||||||
** Release the lock and collect result from thread 2:
|
** Release the lock and collect result from thread 2:
|
||||||
select release_lock("hello");
|
DO release_lock("hello");
|
||||||
release_lock("hello")
|
|
||||||
1
|
|
||||||
** Seen from thread 2 the table should have been updated on four
|
** Seen from thread 2 the table should have been updated on four
|
||||||
** places.
|
** places.
|
||||||
select * from t1;
|
select * from t1;
|
||||||
@ -319,9 +309,7 @@ update t1 set b=10+get_lock(concat("hello",a),10)*0 where a=2;
|
|||||||
** commit since there are no on-going transactions.
|
** commit since there are no on-going transactions.
|
||||||
insert into t1 values (1,1);
|
insert into t1 values (1,1);
|
||||||
** Release the ULL (thread 2 updates will finish).
|
** Release the ULL (thread 2 updates will finish).
|
||||||
select release_lock("hello2");
|
DO release_lock("hello2");
|
||||||
release_lock("hello2")
|
|
||||||
1
|
|
||||||
** ..but thread 1 will still see t1 as if nothing has happend:
|
** ..but thread 1 will still see t1 as if nothing has happend:
|
||||||
select * from t1;
|
select * from t1;
|
||||||
a b
|
a b
|
||||||
@ -332,9 +320,7 @@ a b
|
|||||||
1 1
|
1 1
|
||||||
** connection thread2
|
** connection thread2
|
||||||
** Collect results from thread 2 and release the lock.
|
** Collect results from thread 2 and release the lock.
|
||||||
select release_lock("hello2");
|
DO release_lock("hello2");
|
||||||
release_lock("hello2")
|
|
||||||
1
|
|
||||||
** The table should look like the original+updates for thread 2,
|
** The table should look like the original+updates for thread 2,
|
||||||
** and consist of new rows:
|
** and consist of new rows:
|
||||||
select * from t1;
|
select * from t1;
|
||||||
|
@ -7,8 +7,6 @@ SELECT @@global.innodb_locks_unsafe_for_binlog;
|
|||||||
1
|
1
|
||||||
# keep_locks == 0
|
# keep_locks == 0
|
||||||
GRANT USAGE ON test.* TO mysqltest@localhost;
|
GRANT USAGE ON test.* TO mysqltest@localhost;
|
||||||
DO release_lock("hello");
|
|
||||||
DO release_lock("hello2");
|
|
||||||
drop table if exists t1;
|
drop table if exists t1;
|
||||||
|
|
||||||
**
|
**
|
||||||
@ -50,9 +48,7 @@ begin;
|
|||||||
update t1 set eta=2 where tipo=22;
|
update t1 set eta=2 where tipo=22;
|
||||||
** Release user level name lock from thread 1. This will cause the ULL
|
** Release user level name lock from thread 1. This will cause the ULL
|
||||||
** on thread 2 to end its wait.
|
** on thread 2 to end its wait.
|
||||||
select release_lock("hello");
|
DO release_lock("hello");
|
||||||
release_lock("hello")
|
|
||||||
1
|
|
||||||
** Table is now updated with a new eta on tipo=22 for thread 1.
|
** Table is now updated with a new eta on tipo=22 for thread 1.
|
||||||
select * from t1;
|
select * from t1;
|
||||||
eta tipo c
|
eta tipo c
|
||||||
@ -69,9 +65,7 @@ eta tipo c
|
|||||||
90 11 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
|
90 11 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
|
||||||
** connection thread2
|
** connection thread2
|
||||||
** Release the lock and collect result from update on thread 2
|
** Release the lock and collect result from update on thread 2
|
||||||
select release_lock("hello");
|
DO release_lock("hello");
|
||||||
release_lock("hello")
|
|
||||||
1
|
|
||||||
** Table should have eta updates where tipo=11 but updates made by
|
** Table should have eta updates where tipo=11 but updates made by
|
||||||
** thread 1 shouldn't be visible yet.
|
** thread 1 shouldn't be visible yet.
|
||||||
select * from t1;
|
select * from t1;
|
||||||
@ -192,9 +186,7 @@ begin;
|
|||||||
** do not match the WHERE condition are released.
|
** do not match the WHERE condition are released.
|
||||||
update t1 set tipo=1 where tipo=2;
|
update t1 set tipo=1 where tipo=2;
|
||||||
** Release ULL. This will release the next waiting ULL on thread 2.
|
** Release ULL. This will release the next waiting ULL on thread 2.
|
||||||
select release_lock("hello");
|
DO release_lock("hello");
|
||||||
release_lock("hello")
|
|
||||||
1
|
|
||||||
** The table should still be updated with updates for thread 1 only:
|
** The table should still be updated with updates for thread 1 only:
|
||||||
select * from t1;
|
select * from t1;
|
||||||
eta tipo c
|
eta tipo c
|
||||||
@ -211,9 +203,7 @@ eta tipo c
|
|||||||
90 11 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
|
90 11 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
|
||||||
** connection thread2
|
** connection thread2
|
||||||
** Release the lock and collect result from thread 2:
|
** Release the lock and collect result from thread 2:
|
||||||
select release_lock("hello");
|
DO release_lock("hello");
|
||||||
release_lock("hello")
|
|
||||||
1
|
|
||||||
** Seen from thread 2 the table should have been updated on four
|
** Seen from thread 2 the table should have been updated on four
|
||||||
** places.
|
** places.
|
||||||
select * from t1;
|
select * from t1;
|
||||||
@ -317,9 +307,7 @@ update t1 set b=10+get_lock(concat("hello",a),10)*0 where a=2;
|
|||||||
** commit since there are no on-going transactions.
|
** commit since there are no on-going transactions.
|
||||||
insert into t1 values (1,1);
|
insert into t1 values (1,1);
|
||||||
** Release the ULL (thread 2 updates will finish).
|
** Release the ULL (thread 2 updates will finish).
|
||||||
select release_lock("hello2");
|
DO release_lock("hello2");
|
||||||
release_lock("hello2")
|
|
||||||
1
|
|
||||||
** ..but thread 1 will still see t1 as if nothing has happend:
|
** ..but thread 1 will still see t1 as if nothing has happend:
|
||||||
select * from t1;
|
select * from t1;
|
||||||
a b
|
a b
|
||||||
@ -330,9 +318,7 @@ a b
|
|||||||
1 1
|
1 1
|
||||||
** connection thread2
|
** connection thread2
|
||||||
** Collect results from thread 2 and release the lock.
|
** Collect results from thread 2 and release the lock.
|
||||||
select release_lock("hello2");
|
DO release_lock("hello2");
|
||||||
release_lock("hello2")
|
|
||||||
1
|
|
||||||
** The table should look like the original+updates for thread 2,
|
** The table should look like the original+updates for thread 2,
|
||||||
** and consist of new rows:
|
** and consist of new rows:
|
||||||
select * from t1;
|
select * from t1;
|
||||||
|
@ -1,15 +1,23 @@
|
|||||||
drop table if exists t1;
|
DROP TABLE IF EXISTS t1;
|
||||||
create table t1 (a int) engine=innodb;
|
# Establish connection con1 (user=root)
|
||||||
start transaction with consistent snapshot;
|
# Establish connection con2 (user=root)
|
||||||
insert into t1 values(1);
|
# Switch to connection con1
|
||||||
select * from t1;
|
CREATE TABLE t1 (a INT) ENGINE=innodb;
|
||||||
|
START TRANSACTION WITH CONSISTENT SNAPSHOT;
|
||||||
|
# Switch to connection con2
|
||||||
|
INSERT INTO t1 VALUES(1);
|
||||||
|
# Switch to connection con1
|
||||||
|
SELECT * FROM t1;
|
||||||
a
|
a
|
||||||
commit;
|
COMMIT;
|
||||||
delete from t1;
|
DELETE FROM t1;
|
||||||
start transaction;
|
START TRANSACTION;
|
||||||
insert into t1 values(1);
|
# Switch to connection con2
|
||||||
select * from t1;
|
INSERT INTO t1 VALUES(1);
|
||||||
|
# Switch to connection con1
|
||||||
|
SELECT * FROM t1;
|
||||||
a
|
a
|
||||||
1
|
1
|
||||||
commit;
|
COMMIT;
|
||||||
drop table t1;
|
# Switch to connection default + close connections con1 and con2
|
||||||
|
DROP TABLE t1;
|
||||||
|
@ -1731,7 +1731,7 @@ t1 CREATE TABLE `t1` (
|
|||||||
`HOST` varchar(64) NOT NULL DEFAULT '',
|
`HOST` varchar(64) NOT NULL DEFAULT '',
|
||||||
`DB` varchar(64) DEFAULT NULL,
|
`DB` varchar(64) DEFAULT NULL,
|
||||||
`COMMAND` varchar(16) NOT NULL DEFAULT '',
|
`COMMAND` varchar(16) NOT NULL DEFAULT '',
|
||||||
`TIME` bigint(7) NOT NULL DEFAULT '0',
|
`TIME` int(7) NOT NULL DEFAULT '0',
|
||||||
`STATE` varchar(64) DEFAULT NULL,
|
`STATE` varchar(64) DEFAULT NULL,
|
||||||
`INFO` longtext
|
`INFO` longtext
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8
|
||||||
@ -1745,7 +1745,7 @@ t1 CREATE TEMPORARY TABLE `t1` (
|
|||||||
`HOST` varchar(64) NOT NULL DEFAULT '',
|
`HOST` varchar(64) NOT NULL DEFAULT '',
|
||||||
`DB` varchar(64) DEFAULT NULL,
|
`DB` varchar(64) DEFAULT NULL,
|
||||||
`COMMAND` varchar(16) NOT NULL DEFAULT '',
|
`COMMAND` varchar(16) NOT NULL DEFAULT '',
|
||||||
`TIME` bigint(7) NOT NULL DEFAULT '0',
|
`TIME` int(7) NOT NULL DEFAULT '0',
|
||||||
`STATE` varchar(64) DEFAULT NULL,
|
`STATE` varchar(64) DEFAULT NULL,
|
||||||
`INFO` longtext
|
`INFO` longtext
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8
|
||||||
|
@ -1729,18 +1729,18 @@ DELETE FROM mysqltest2.log|
|
|||||||
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqltest1` /*!40100 DEFAULT CHARACTER SET cp866 */;
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqltest1` /*!40100 DEFAULT CHARACTER SET cp866 */;
|
||||||
|
|
||||||
USE `mysqltest1`;
|
USE `mysqltest1`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `log` (
|
CREATE TABLE `log` (
|
||||||
`msg` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL
|
`msg` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t1` (
|
CREATE TABLE `t1` (
|
||||||
`c` int(11) DEFAULT NULL
|
`c` int(11) DEFAULT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
INSERT INTO `t1` VALUES (1),(0),(1);
|
INSERT INTO `t1` VALUES (1),(0),(1);
|
||||||
ALTER DATABASE mysqltest1 CHARACTER SET utf8 COLLATE utf8_unicode_ci ;
|
ALTER DATABASE mysqltest1 CHARACTER SET utf8 COLLATE utf8_unicode_ci ;
|
||||||
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
||||||
@ -1808,18 +1808,18 @@ ALTER DATABASE mysqltest1 CHARACTER SET cp866 COLLATE cp866_general_ci ;
|
|||||||
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqltest2` /*!40100 DEFAULT CHARACTER SET cp866 */;
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqltest2` /*!40100 DEFAULT CHARACTER SET cp866 */;
|
||||||
|
|
||||||
USE `mysqltest2`;
|
USE `mysqltest2`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `log` (
|
CREATE TABLE `log` (
|
||||||
`msg` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL
|
`msg` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t1` (
|
CREATE TABLE `t1` (
|
||||||
`c` int(11) DEFAULT NULL
|
`c` int(11) DEFAULT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
INSERT INTO `t1` VALUES (1),(0),(1);
|
INSERT INTO `t1` VALUES (1),(0),(1);
|
||||||
ALTER DATABASE mysqltest2 CHARACTER SET utf8 COLLATE utf8_unicode_ci ;
|
ALTER DATABASE mysqltest2 CHARACTER SET utf8 COLLATE utf8_unicode_ci ;
|
||||||
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
||||||
|
@ -1729,18 +1729,18 @@ DELETE FROM mysqltest2.log|
|
|||||||
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqltest1` /*!40100 DEFAULT CHARACTER SET cp866 */;
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqltest1` /*!40100 DEFAULT CHARACTER SET cp866 */;
|
||||||
|
|
||||||
USE `mysqltest1`;
|
USE `mysqltest1`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `log` (
|
CREATE TABLE `log` (
|
||||||
`msg` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL
|
`msg` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t1` (
|
CREATE TABLE `t1` (
|
||||||
`c` int(11) DEFAULT NULL
|
`c` int(11) DEFAULT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
INSERT INTO `t1` VALUES (1),(0),(1);
|
INSERT INTO `t1` VALUES (1),(0),(1);
|
||||||
ALTER DATABASE mysqltest1 CHARACTER SET utf8 COLLATE utf8_unicode_ci ;
|
ALTER DATABASE mysqltest1 CHARACTER SET utf8 COLLATE utf8_unicode_ci ;
|
||||||
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
||||||
@ -1808,18 +1808,18 @@ ALTER DATABASE mysqltest1 CHARACTER SET cp866 COLLATE cp866_general_ci ;
|
|||||||
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqltest2` /*!40100 DEFAULT CHARACTER SET cp866 */;
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqltest2` /*!40100 DEFAULT CHARACTER SET cp866 */;
|
||||||
|
|
||||||
USE `mysqltest2`;
|
USE `mysqltest2`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `log` (
|
CREATE TABLE `log` (
|
||||||
`msg` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL
|
`msg` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t1` (
|
CREATE TABLE `t1` (
|
||||||
`c` int(11) DEFAULT NULL
|
`c` int(11) DEFAULT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
INSERT INTO `t1` VALUES (1),(0),(1);
|
INSERT INTO `t1` VALUES (1),(0),(1);
|
||||||
ALTER DATABASE mysqltest2 CHARACTER SET utf8 COLLATE utf8_unicode_ci ;
|
ALTER DATABASE mysqltest2 CHARACTER SET utf8 COLLATE utf8_unicode_ci ;
|
||||||
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
drop table if exists t1;
|
DROP TABLE IF EXISTS t1;
|
||||||
create table t1 (n int);
|
CREATE TABLE t1 (n INT);
|
||||||
insert into t1 values (1),(2),(3);
|
INSERT INTO t1 VALUES (1),(2),(3);
|
||||||
select * from t1;
|
SELECT * FROM t1;
|
||||||
n
|
n
|
||||||
1
|
1
|
||||||
2
|
2
|
||||||
3
|
3
|
||||||
drop table t1;
|
DROP TABLE t1;
|
||||||
|
@ -736,6 +736,17 @@ select replace(@full_mode, 'ALLOW_INVALID_DATES', 'INVALID_DATES') into @full_mo
|
|||||||
select name from mysql.event where name = 'p' and sql_mode = @full_mode;
|
select name from mysql.event where name = 'p' and sql_mode = @full_mode;
|
||||||
name
|
name
|
||||||
drop event e1;
|
drop event e1;
|
||||||
|
SET @old_server_id = @@GLOBAL.server_id;
|
||||||
|
SET GLOBAL server_id = (1 << 32) - 1;
|
||||||
|
SELECT @@GLOBAL.server_id;
|
||||||
|
@@GLOBAL.server_id
|
||||||
|
4294967295
|
||||||
|
CREATE EVENT ev1 ON SCHEDULE EVERY 1 DAY DO SELECT 1;
|
||||||
|
SELECT event_name, originator FROM INFORMATION_SCHEMA.EVENTS;
|
||||||
|
event_name originator
|
||||||
|
ev1 4294967295
|
||||||
|
DROP EVENT ev1;
|
||||||
|
SET GLOBAL server_id = @old_server_id;
|
||||||
DROP DATABASE events_test;
|
DROP DATABASE events_test;
|
||||||
SET GLOBAL event_scheduler= 'ON';
|
SET GLOBAL event_scheduler= 'ON';
|
||||||
SET @@global.concurrent_insert= @concurrent_insert;
|
SET @@global.concurrent_insert= @concurrent_insert;
|
||||||
|
@ -155,6 +155,10 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
|
|||||||
Warnings:
|
Warnings:
|
||||||
Note 1003 select 1 AS `1` from (select count(distinct `test`.`t1`.`a`) AS `COUNT(DISTINCT t1.a)` from `test`.`t1` join `test`.`t2` group by `test`.`t1`.`a`) `s1`
|
Note 1003 select 1 AS `1` from (select count(distinct `test`.`t1`.`a`) AS `COUNT(DISTINCT t1.a)` from `test`.`t1` join `test`.`t2` group by `test`.`t1`.`a`) `s1`
|
||||||
DROP TABLE t1,t2;
|
DROP TABLE t1,t2;
|
||||||
|
CREATE TABLE t1 (a INT PRIMARY KEY);
|
||||||
|
EXPLAIN EXTENDED SELECT COUNT(a) FROM t1 USE KEY(a);
|
||||||
|
ERROR 42000: Key 'a' doesn't exist in table 't1'
|
||||||
|
DROP TABLE t1;
|
||||||
#
|
#
|
||||||
# Bug#37870: Usage of uninitialized value caused failed assertion.
|
# Bug#37870: Usage of uninitialized value caused failed assertion.
|
||||||
#
|
#
|
||||||
@ -182,3 +186,4 @@ dt
|
|||||||
2001-01-01 01:01:01
|
2001-01-01 01:01:01
|
||||||
2001-01-01 01:01:01
|
2001-01-01 01:01:01
|
||||||
drop tables t1, t2;
|
drop tables t1, t2;
|
||||||
|
End of 5.1 tests.
|
||||||
|
@ -1,39 +1,57 @@
|
|||||||
drop table if exists t1;
|
# Establish connection con1 (user=root)
|
||||||
create table t1 (a int) engine=innodb;
|
# Establish connection con2 (user=root)
|
||||||
begin;
|
# Establish connection con3 (user=root)
|
||||||
insert into t1 values(1);
|
# Switch to connection con1
|
||||||
flush tables with read lock;
|
DROP TABLE IF EXISTS t1;
|
||||||
select * from t1;
|
CREATE TABLE t1 (a INT) ENGINE=innodb;
|
||||||
|
BEGIN;
|
||||||
|
INSERT INTO t1 VALUES(1);
|
||||||
|
# Switch to connection con2
|
||||||
|
FLUSH TABLES WITH READ LOCK;
|
||||||
|
SELECT * FROM t1;
|
||||||
a
|
a
|
||||||
commit;
|
# Switch to connection con1
|
||||||
select * from t1;
|
COMMIT;
|
||||||
|
# Switch to connection con2
|
||||||
|
SELECT * FROM t1;
|
||||||
a
|
a
|
||||||
unlock tables;
|
UNLOCK TABLES;
|
||||||
begin;
|
# Switch to connection con1
|
||||||
select * from t1 for update;
|
# Switch to connection con1
|
||||||
|
BEGIN;
|
||||||
|
SELECT * FROM t1 FOR UPDATE;
|
||||||
a
|
a
|
||||||
1
|
1
|
||||||
begin;
|
# Switch to connection con2
|
||||||
select * from t1 for update;
|
BEGIN;
|
||||||
flush tables with read lock;
|
SELECT * FROM t1 FOR UPDATE;
|
||||||
commit;
|
# Switch to connection con3
|
||||||
|
FLUSH TABLES WITH READ LOCK;
|
||||||
|
# Switch to connection con1
|
||||||
|
COMMIT;
|
||||||
|
# Switch to connection con2
|
||||||
a
|
a
|
||||||
1
|
1
|
||||||
unlock tables;
|
# Switch to connection con3
|
||||||
commit;
|
UNLOCK TABLES;
|
||||||
begin;
|
# Switch to connection con2
|
||||||
insert into t1 values(10);
|
COMMIT;
|
||||||
flush tables with read lock;
|
# Switch to connection con1
|
||||||
commit;
|
BEGIN;
|
||||||
unlock tables;
|
INSERT INTO t1 VALUES(10);
|
||||||
flush tables with read lock;
|
FLUSH TABLES WITH READ LOCK;
|
||||||
unlock tables;
|
COMMIT;
|
||||||
begin;
|
UNLOCK TABLES;
|
||||||
select * from t1;
|
# Switch to connection con2
|
||||||
|
FLUSH TABLES WITH READ LOCK;
|
||||||
|
UNLOCK TABLES;
|
||||||
|
BEGIN;
|
||||||
|
SELECT * FROM t1;
|
||||||
a
|
a
|
||||||
1
|
1
|
||||||
10
|
10
|
||||||
show create database test;
|
SHOW CREATE DATABASE test;
|
||||||
Database Create Database
|
Database Create Database
|
||||||
test CREATE DATABASE `test` /*!40100 DEFAULT CHARACTER SET latin1 */
|
test CREATE DATABASE `test` /*!40100 DEFAULT CHARACTER SET latin1 */
|
||||||
drop table t1;
|
DROP TABLE t1;
|
||||||
|
# Switch to connection default and close connections con1, con2, con3
|
||||||
|
@ -1,15 +1,23 @@
|
|||||||
create table t1 (a int) engine=innodb;
|
# Establish connection con1 (user=root)
|
||||||
reset master;
|
# Establish connection con2 (user=root)
|
||||||
set autocommit=0;
|
# Switch to connection con1
|
||||||
insert t1 values (1);
|
CREATE TABLE t1 (a INT) ENGINE=innodb;
|
||||||
flush tables with read lock;
|
RESET MASTER;
|
||||||
show master status;
|
SET AUTOCOMMIT=0;
|
||||||
|
INSERT t1 VALUES (1);
|
||||||
|
# Switch to connection con2
|
||||||
|
FLUSH TABLES WITH READ LOCK;
|
||||||
|
SHOW MASTER STATUS;
|
||||||
File Position Binlog_Do_DB Binlog_Ignore_DB
|
File Position Binlog_Do_DB Binlog_Ignore_DB
|
||||||
master-bin.000001 106
|
master-bin.000001 106
|
||||||
commit;
|
# Switch to connection con1
|
||||||
show master status;
|
COMMIT;
|
||||||
|
# Switch to connection con2
|
||||||
|
SHOW MASTER STATUS;
|
||||||
File Position Binlog_Do_DB Binlog_Ignore_DB
|
File Position Binlog_Do_DB Binlog_Ignore_DB
|
||||||
master-bin.000001 106
|
master-bin.000001 106
|
||||||
unlock tables;
|
UNLOCK TABLES;
|
||||||
drop table t1;
|
# Switch to connection con1
|
||||||
set autocommit=1;
|
DROP TABLE t1;
|
||||||
|
SET AUTOCOMMIT=1;
|
||||||
|
# Switch to connection default and close connections con1 and con2
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
set @old_concurrent_insert= @@global.concurrent_insert;
|
SET @old_concurrent_insert= @@global.concurrent_insert;
|
||||||
set @@global.concurrent_insert= 0;
|
SET @@global.concurrent_insert= 0;
|
||||||
drop table if exists t1;
|
DROP TABLE IF EXISTS t1;
|
||||||
create table t1 (kill_id int);
|
CREATE TABLE t1 (kill_id INT);
|
||||||
insert into t1 values(connection_id());
|
INSERT INTO t1 VALUES(connection_id());
|
||||||
flush tables with read lock;
|
FLUSH TABLES WITH READ LOCK;
|
||||||
select ((@id := kill_id) - kill_id) from t1;
|
SELECT ((@id := kill_id) - kill_id) FROM t1;
|
||||||
((@id := kill_id) - kill_id)
|
((@id := kill_id) - kill_id)
|
||||||
0
|
0
|
||||||
kill connection @id;
|
KILL CONNECTION @id;
|
||||||
drop table t1;
|
DROP TABLE t1;
|
||||||
set @@global.concurrent_insert= @old_concurrent_insert;
|
SET @@global.concurrent_insert= @old_concurrent_insert;
|
||||||
|
@ -407,6 +407,36 @@ SELECT a DIV 2 FROM t1 UNION SELECT a DIV 2 FROM t1;
|
|||||||
a DIV 2
|
a DIV 2
|
||||||
0
|
0
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
CREATE TABLE t1 (a DOUBLE);
|
||||||
|
INSERT INTO t1 VALUES (-1.1), (1.1),
|
||||||
|
(-1.5), (1.5),
|
||||||
|
(-1.9), (1.9),
|
||||||
|
(-2.1), (2.1),
|
||||||
|
(-2.5), (2.5),
|
||||||
|
(-2.9), (2.9),
|
||||||
|
# Check numbers with absolute values > 2^53 - 1
|
||||||
|
# (see comments for MAX_EXACT_INTEGER)
|
||||||
|
(-1e16 - 0.5), (1e16 + 0.5),
|
||||||
|
(-1e16 - 1.5), (1e16 + 1.5);
|
||||||
|
SELECT a, ROUND(a) FROM t1;
|
||||||
|
a ROUND(a)
|
||||||
|
-1.1 -1
|
||||||
|
1.1 1
|
||||||
|
-1.5 -2
|
||||||
|
1.5 2
|
||||||
|
-1.9 -2
|
||||||
|
1.9 2
|
||||||
|
-2.1 -2
|
||||||
|
2.1 2
|
||||||
|
-2.5 -2
|
||||||
|
2.5 2
|
||||||
|
-2.9 -3
|
||||||
|
2.9 3
|
||||||
|
-1e+16 -10000000000000000
|
||||||
|
1e+16 10000000000000000
|
||||||
|
-1e+16 -10000000000000002
|
||||||
|
1e+16 10000000000000002
|
||||||
|
DROP TABLE t1;
|
||||||
End of 5.0 tests
|
End of 5.0 tests
|
||||||
SELECT 1e308 + 1e308;
|
SELECT 1e308 + 1e308;
|
||||||
1e308 + 1e308
|
1e308 + 1e308
|
||||||
|
@ -459,7 +459,7 @@ Privilege Context Comment
|
|||||||
Alter Tables To alter the table
|
Alter Tables To alter the table
|
||||||
Alter routine Functions,Procedures To alter or drop stored functions/procedures
|
Alter routine Functions,Procedures To alter or drop stored functions/procedures
|
||||||
Create Databases,Tables,Indexes To create new databases and tables
|
Create Databases,Tables,Indexes To create new databases and tables
|
||||||
Create routine Functions,Procedures To use CREATE FUNCTION/PROCEDURE
|
Create routine Databases To use CREATE FUNCTION/PROCEDURE
|
||||||
Create temporary tables Databases To use CREATE TEMPORARY TABLE
|
Create temporary tables Databases To use CREATE TEMPORARY TABLE
|
||||||
Create view Tables To create new views
|
Create view Tables To create new views
|
||||||
Create user Server Admin To create new users
|
Create user Server Admin To create new users
|
||||||
|
@ -1691,3 +1691,15 @@ FROM t1;
|
|||||||
ERROR 21000: Subquery returns more than 1 row
|
ERROR 21000: Subquery returns more than 1 row
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
SET @@sql_mode = @old_sql_mode;
|
SET @@sql_mode = @old_sql_mode;
|
||||||
|
SET @old_sql_mode = @@sql_mode;
|
||||||
|
SET @@sql_mode='ONLY_FULL_GROUP_BY';
|
||||||
|
CREATE TABLE t1(i INT);
|
||||||
|
INSERT INTO t1 VALUES (1), (10);
|
||||||
|
SELECT COUNT(i) FROM t1;
|
||||||
|
COUNT(i)
|
||||||
|
2
|
||||||
|
SELECT COUNT(i) FROM t1 WHERE i > 1;
|
||||||
|
COUNT(i)
|
||||||
|
1
|
||||||
|
DROP TABLE t1;
|
||||||
|
SET @@sql_mode = @old_sql_mode;
|
||||||
|
@ -2448,3 +2448,18 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
|
|||||||
Warnings:
|
Warnings:
|
||||||
Note 1003 select sql_buffer_result `test`.`t1`.`a` AS `a`,(max(`test`.`t1`.`b`) + 1) AS `max(b)+1` from `test`.`t1` where (`test`.`t1`.`a` = 0) group by `test`.`t1`.`a`
|
Note 1003 select sql_buffer_result `test`.`t1`.`a` AS `a`,(max(`test`.`t1`.`b`) + 1) AS `max(b)+1` from `test`.`t1` where (`test`.`t1`.`a` = 0) group by `test`.`t1`.`a`
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
CREATE TABLE t1 (a int, b int, c int, d int,
|
||||||
|
KEY foo (c,d,a,b), KEY bar (c,a,b,d));
|
||||||
|
INSERT INTO t1 VALUES (1, 1, 1, 1), (1, 1, 1, 2), (1, 1, 1, 3), (1, 1, 1, 4);
|
||||||
|
INSERT INTO t1 SELECT * FROM t1;
|
||||||
|
INSERT INTO t1 SELECT * FROM t1;
|
||||||
|
INSERT INTO t1 SELECT a,b,c+1,d FROM t1;
|
||||||
|
EXPLAIN SELECT DISTINCT c FROM t1 WHERE d=4;
|
||||||
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
|
1 SIMPLE t1 range NULL foo 10 NULL 9 Using where; Using index for group-by
|
||||||
|
SELECT DISTINCT c FROM t1 WHERE d=4;
|
||||||
|
c
|
||||||
|
1
|
||||||
|
2
|
||||||
|
DROP TABLE t1;
|
||||||
|
End of 5.0 tests
|
||||||
|
@ -730,3 +730,12 @@ unlock tables;
|
|||||||
drop table t1;
|
drop table t1;
|
||||||
handler t1 read a next;
|
handler t1 read a next;
|
||||||
ERROR 42S02: Unknown table 't1' in HANDLER
|
ERROR 42S02: Unknown table 't1' in HANDLER
|
||||||
|
drop table if exists t1;
|
||||||
|
create table t1 (a int);
|
||||||
|
insert into t1 values (1);
|
||||||
|
handler t1 open;
|
||||||
|
alter table t1 engine=memory;
|
||||||
|
handler t1 read a next;
|
||||||
|
ERROR HY000: Table storage engine for 't1' doesn't have this option
|
||||||
|
handler t1 close;
|
||||||
|
drop table t1;
|
||||||
|
@ -728,3 +728,12 @@ unlock tables;
|
|||||||
drop table t1;
|
drop table t1;
|
||||||
handler t1 read a next;
|
handler t1 read a next;
|
||||||
ERROR 42S02: Unknown table 't1' in HANDLER
|
ERROR 42S02: Unknown table 't1' in HANDLER
|
||||||
|
drop table if exists t1;
|
||||||
|
create table t1 (a int);
|
||||||
|
insert into t1 values (1);
|
||||||
|
handler t1 open;
|
||||||
|
alter table t1 engine=memory;
|
||||||
|
handler t1 read a next;
|
||||||
|
ERROR HY000: Table storage engine for 't1' doesn't have this option
|
||||||
|
handler t1 close;
|
||||||
|
drop table t1;
|
||||||
|
@ -1720,4 +1720,9 @@ SELECT CREATE_OPTIONS FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME='t1';
|
|||||||
CREATE_OPTIONS
|
CREATE_OPTIONS
|
||||||
KEY_BLOCK_SIZE=1
|
KEY_BLOCK_SIZE=1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
SET TIMESTAMP=@@TIMESTAMP + 10000000;
|
||||||
|
SELECT 'OK' AS TEST_RESULT FROM INFORMATION_SCHEMA.PROCESSLIST WHERE time < 0;
|
||||||
|
TEST_RESULT
|
||||||
|
OK
|
||||||
|
SET TIMESTAMP=DEFAULT;
|
||||||
End of 5.1 tests.
|
End of 5.1 tests.
|
||||||
|
@ -200,7 +200,7 @@ Field Type Null Key Default Extra
|
|||||||
f1 char(4) YES NULL
|
f1 char(4) YES NULL
|
||||||
show create view v2;
|
show create view v2;
|
||||||
View Create View character_set_client collation_connection
|
View Create View character_set_client collation_connection
|
||||||
v2 CREATE ALGORITHM=UNDEFINED DEFINER=`testdb_2`@`localhost` SQL SECURITY DEFINER VIEW `test`.`v2` AS select `v1`.`f1` AS `f1` from `testdb_1`.`v1` latin1 latin1_swedish_ci
|
v2 CREATE ALGORITHM=UNDEFINED DEFINER=`testdb_2`@`localhost` SQL SECURITY DEFINER VIEW `v2` AS select `v1`.`f1` AS `f1` from `testdb_1`.`v1` latin1 latin1_swedish_ci
|
||||||
show create view testdb_1.v1;
|
show create view testdb_1.v1;
|
||||||
ERROR 42000: SHOW VIEW command denied to user 'testdb_2'@'localhost' for table 'v1'
|
ERROR 42000: SHOW VIEW command denied to user 'testdb_2'@'localhost' for table 'v1'
|
||||||
select table_name from information_schema.columns a
|
select table_name from information_schema.columns a
|
||||||
|
@ -579,3 +579,291 @@ c1
|
|||||||
18446744073709551610
|
18446744073709551610
|
||||||
18446744073709551615
|
18446744073709551615
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
SET @@SESSION.AUTO_INCREMENT_INCREMENT=1, @@SESSION.AUTO_INCREMENT_OFFSET=1;
|
||||||
|
SET @@INSERT_ID=1;
|
||||||
|
SHOW VARIABLES LIKE "%auto_inc%";
|
||||||
|
Variable_name Value
|
||||||
|
auto_increment_increment 1
|
||||||
|
auto_increment_offset 1
|
||||||
|
CREATE TABLE t1 (c1 DOUBLE NOT NULL AUTO_INCREMENT, c2 INT, PRIMARY KEY (c1)) ENGINE=InnoDB;
|
||||||
|
INSERT INTO t1 VALUES(NULL, 1);
|
||||||
|
INSERT INTO t1 VALUES(NULL, 2);
|
||||||
|
SELECT * FROM t1;
|
||||||
|
c1 c2
|
||||||
|
1 1
|
||||||
|
2 2
|
||||||
|
ALTER TABLE t1 CHANGE c1 c1 SERIAL;
|
||||||
|
SELECT * FROM t1;
|
||||||
|
c1 c2
|
||||||
|
1 1
|
||||||
|
2 2
|
||||||
|
INSERT INTO t1 VALUES(NULL, 3);
|
||||||
|
INSERT INTO t1 VALUES(NULL, 4);
|
||||||
|
SELECT * FROM t1;
|
||||||
|
c1 c2
|
||||||
|
1 1
|
||||||
|
2 2
|
||||||
|
3 3
|
||||||
|
4 4
|
||||||
|
DROP TABLE IF EXISTS t1;
|
||||||
|
CREATE TABLE t1 (c1 FLOAT NOT NULL AUTO_INCREMENT, c2 INT, PRIMARY KEY (c1)) ENGINE=InnoDB;
|
||||||
|
INSERT INTO t1 VALUES(NULL, 1);
|
||||||
|
INSERT INTO t1 VALUES(NULL, 2);
|
||||||
|
SELECT * FROM t1;
|
||||||
|
c1 c2
|
||||||
|
1 1
|
||||||
|
2 2
|
||||||
|
ALTER TABLE t1 CHANGE c1 c1 SERIAL;
|
||||||
|
SELECT * FROM t1;
|
||||||
|
c1 c2
|
||||||
|
1 1
|
||||||
|
2 2
|
||||||
|
INSERT INTO t1 VALUES(NULL, 3);
|
||||||
|
INSERT INTO t1 VALUES(NULL, 4);
|
||||||
|
SELECT * FROM t1;
|
||||||
|
c1 c2
|
||||||
|
1 1
|
||||||
|
2 2
|
||||||
|
3 3
|
||||||
|
4 4
|
||||||
|
DROP TABLE t1;
|
||||||
|
SET @@SESSION.AUTO_INCREMENT_INCREMENT=1, @@SESSION.AUTO_INCREMENT_OFFSET=5;
|
||||||
|
DROP TABLE IF EXISTS t1;
|
||||||
|
Warnings:
|
||||||
|
Note 1051 Unknown table 't1'
|
||||||
|
DROP TABLE IF EXISTS t2;
|
||||||
|
Warnings:
|
||||||
|
Note 1051 Unknown table 't2'
|
||||||
|
CREATE TABLE t1 (
|
||||||
|
a INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
b INT(10) UNSIGNED NOT NULL,
|
||||||
|
c ENUM('FALSE','TRUE') DEFAULT NULL,
|
||||||
|
PRIMARY KEY (a)) ENGINE = InnoDB;
|
||||||
|
CREATE TABLE t2 (
|
||||||
|
m INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
n INT(10) UNSIGNED NOT NULL,
|
||||||
|
o enum('FALSE','TRUE') DEFAULT NULL,
|
||||||
|
PRIMARY KEY (m)) ENGINE = InnoDB;
|
||||||
|
INSERT INTO t2 (n,o) VALUES
|
||||||
|
(1 , 'true'), (1 , 'false'), (2 , 'true'), (2 , 'false'), (3 , 'true'),
|
||||||
|
(3 , 'false'), (4 , 'true'), (4 , 'false'), (5 , 'true'), (5 , 'false');
|
||||||
|
SHOW CREATE TABLE t2;
|
||||||
|
Table Create Table
|
||||||
|
t2 CREATE TABLE `t2` (
|
||||||
|
`m` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
|
`n` int(10) unsigned NOT NULL,
|
||||||
|
`o` enum('FALSE','TRUE') DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`m`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1
|
||||||
|
INSERT INTO t1 (b,c) SELECT n,o FROM t2 ;
|
||||||
|
SHOW CREATE TABLE t1;
|
||||||
|
Table Create Table
|
||||||
|
t1 CREATE TABLE `t1` (
|
||||||
|
`a` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
|
`b` int(10) unsigned NOT NULL,
|
||||||
|
`c` enum('FALSE','TRUE') DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`a`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1
|
||||||
|
INSERT INTO t1 (b,c) SELECT n,o FROM t2 ;
|
||||||
|
SELECT * FROM t1;
|
||||||
|
a b c
|
||||||
|
1 1 TRUE
|
||||||
|
2 1 FALSE
|
||||||
|
3 2 TRUE
|
||||||
|
4 2 FALSE
|
||||||
|
5 3 TRUE
|
||||||
|
6 3 FALSE
|
||||||
|
7 4 TRUE
|
||||||
|
8 4 FALSE
|
||||||
|
9 5 TRUE
|
||||||
|
10 5 FALSE
|
||||||
|
13 1 TRUE
|
||||||
|
14 1 FALSE
|
||||||
|
15 2 TRUE
|
||||||
|
16 2 FALSE
|
||||||
|
17 3 TRUE
|
||||||
|
18 3 FALSE
|
||||||
|
19 4 TRUE
|
||||||
|
20 4 FALSE
|
||||||
|
21 5 TRUE
|
||||||
|
22 5 FALSE
|
||||||
|
SHOW CREATE TABLE t1;
|
||||||
|
Table Create Table
|
||||||
|
t1 CREATE TABLE `t1` (
|
||||||
|
`a` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
|
`b` int(10) unsigned NOT NULL,
|
||||||
|
`c` enum('FALSE','TRUE') DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`a`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=latin1
|
||||||
|
INSERT INTO t1 (b,c) SELECT n,o FROM t2 WHERE o = 'false';
|
||||||
|
SELECT * FROM t1;
|
||||||
|
a b c
|
||||||
|
1 1 TRUE
|
||||||
|
2 1 FALSE
|
||||||
|
3 2 TRUE
|
||||||
|
4 2 FALSE
|
||||||
|
5 3 TRUE
|
||||||
|
6 3 FALSE
|
||||||
|
7 4 TRUE
|
||||||
|
8 4 FALSE
|
||||||
|
9 5 TRUE
|
||||||
|
10 5 FALSE
|
||||||
|
13 1 TRUE
|
||||||
|
14 1 FALSE
|
||||||
|
15 2 TRUE
|
||||||
|
16 2 FALSE
|
||||||
|
17 3 TRUE
|
||||||
|
18 3 FALSE
|
||||||
|
19 4 TRUE
|
||||||
|
20 4 FALSE
|
||||||
|
21 5 TRUE
|
||||||
|
22 5 FALSE
|
||||||
|
23 1 FALSE
|
||||||
|
24 2 FALSE
|
||||||
|
25 3 FALSE
|
||||||
|
26 4 FALSE
|
||||||
|
27 5 FALSE
|
||||||
|
SHOW CREATE TABLE t1;
|
||||||
|
Table Create Table
|
||||||
|
t1 CREATE TABLE `t1` (
|
||||||
|
`a` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
|
`b` int(10) unsigned NOT NULL,
|
||||||
|
`c` enum('FALSE','TRUE') DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`a`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=latin1
|
||||||
|
INSERT INTO t1 (b,c) SELECT n,o FROM t2 WHERE o = 'false';
|
||||||
|
SELECT * FROM t1;
|
||||||
|
a b c
|
||||||
|
1 1 TRUE
|
||||||
|
2 1 FALSE
|
||||||
|
3 2 TRUE
|
||||||
|
4 2 FALSE
|
||||||
|
5 3 TRUE
|
||||||
|
6 3 FALSE
|
||||||
|
7 4 TRUE
|
||||||
|
8 4 FALSE
|
||||||
|
9 5 TRUE
|
||||||
|
10 5 FALSE
|
||||||
|
13 1 TRUE
|
||||||
|
14 1 FALSE
|
||||||
|
15 2 TRUE
|
||||||
|
16 2 FALSE
|
||||||
|
17 3 TRUE
|
||||||
|
18 3 FALSE
|
||||||
|
19 4 TRUE
|
||||||
|
20 4 FALSE
|
||||||
|
21 5 TRUE
|
||||||
|
22 5 FALSE
|
||||||
|
23 1 FALSE
|
||||||
|
24 2 FALSE
|
||||||
|
25 3 FALSE
|
||||||
|
26 4 FALSE
|
||||||
|
27 5 FALSE
|
||||||
|
30 1 FALSE
|
||||||
|
31 2 FALSE
|
||||||
|
32 3 FALSE
|
||||||
|
33 4 FALSE
|
||||||
|
34 5 FALSE
|
||||||
|
SHOW CREATE TABLE t1;
|
||||||
|
Table Create Table
|
||||||
|
t1 CREATE TABLE `t1` (
|
||||||
|
`a` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
|
`b` int(10) unsigned NOT NULL,
|
||||||
|
`c` enum('FALSE','TRUE') DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`a`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=latin1
|
||||||
|
INSERT INTO t1 (b,c) SELECT n,o FROM t2 WHERE o = 'false';
|
||||||
|
SHOW CREATE TABLE t1;
|
||||||
|
Table Create Table
|
||||||
|
t1 CREATE TABLE `t1` (
|
||||||
|
`a` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
|
`b` int(10) unsigned NOT NULL,
|
||||||
|
`c` enum('FALSE','TRUE') DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`a`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=44 DEFAULT CHARSET=latin1
|
||||||
|
INSERT INTO t1 (b,c) SELECT n,o FROM t2 WHERE o = 'false';
|
||||||
|
SHOW CREATE TABLE t1;
|
||||||
|
Table Create Table
|
||||||
|
t1 CREATE TABLE `t1` (
|
||||||
|
`a` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
|
`b` int(10) unsigned NOT NULL,
|
||||||
|
`c` enum('FALSE','TRUE') DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`a`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=latin1
|
||||||
|
INSERT INTO t1 (b,c) SELECT n,o FROM t2 WHERE o = 'false';
|
||||||
|
SELECT * FROM t1;
|
||||||
|
a b c
|
||||||
|
1 1 TRUE
|
||||||
|
2 1 FALSE
|
||||||
|
3 2 TRUE
|
||||||
|
4 2 FALSE
|
||||||
|
5 3 TRUE
|
||||||
|
6 3 FALSE
|
||||||
|
7 4 TRUE
|
||||||
|
8 4 FALSE
|
||||||
|
9 5 TRUE
|
||||||
|
10 5 FALSE
|
||||||
|
13 1 TRUE
|
||||||
|
14 1 FALSE
|
||||||
|
15 2 TRUE
|
||||||
|
16 2 FALSE
|
||||||
|
17 3 TRUE
|
||||||
|
18 3 FALSE
|
||||||
|
19 4 TRUE
|
||||||
|
20 4 FALSE
|
||||||
|
21 5 TRUE
|
||||||
|
22 5 FALSE
|
||||||
|
23 1 FALSE
|
||||||
|
24 2 FALSE
|
||||||
|
25 3 FALSE
|
||||||
|
26 4 FALSE
|
||||||
|
27 5 FALSE
|
||||||
|
30 1 FALSE
|
||||||
|
31 2 FALSE
|
||||||
|
32 3 FALSE
|
||||||
|
33 4 FALSE
|
||||||
|
34 5 FALSE
|
||||||
|
37 1 FALSE
|
||||||
|
38 2 FALSE
|
||||||
|
39 3 FALSE
|
||||||
|
40 4 FALSE
|
||||||
|
41 5 FALSE
|
||||||
|
44 1 FALSE
|
||||||
|
45 2 FALSE
|
||||||
|
46 3 FALSE
|
||||||
|
47 4 FALSE
|
||||||
|
48 5 FALSE
|
||||||
|
51 1 FALSE
|
||||||
|
52 2 FALSE
|
||||||
|
53 3 FALSE
|
||||||
|
54 4 FALSE
|
||||||
|
55 5 FALSE
|
||||||
|
SHOW CREATE TABLE t1;
|
||||||
|
Table Create Table
|
||||||
|
t1 CREATE TABLE `t1` (
|
||||||
|
`a` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
|
`b` int(10) unsigned NOT NULL,
|
||||||
|
`c` enum('FALSE','TRUE') DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`a`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=58 DEFAULT CHARSET=latin1
|
||||||
|
DROP TABLE t1;
|
||||||
|
DROP TABLE t2;
|
||||||
|
DROP TABLE IF EXISTS t1;
|
||||||
|
Warnings:
|
||||||
|
Note 1051 Unknown table 't1'
|
||||||
|
DROP TABLE IF EXISTS t2;
|
||||||
|
Warnings:
|
||||||
|
Note 1051 Unknown table 't2'
|
||||||
|
CREATE TABLE t1(
|
||||||
|
c1 INT(10) UNSIGNED NOT NULL AUTO_INCREMENT
|
||||||
|
PRIMARY KEY) ENGINE=InnoDB;
|
||||||
|
INSERT INTO t1 VALUES (NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL);
|
||||||
|
CREATE TABLE t2(
|
||||||
|
c1 TINYINT(3) UNSIGNED NOT NULL AUTO_INCREMENT
|
||||||
|
PRIMARY KEY) ENGINE=InnoDB;
|
||||||
|
INSERT INTO t2 SELECT c1 FROM t1;
|
||||||
|
Got one of the listed errors
|
||||||
|
INSERT INTO t2 SELECT NULL FROM t1;
|
||||||
|
Got one of the listed errors
|
||||||
|
DROP TABLE t1;
|
||||||
|
DROP TABLE t2;
|
||||||
|
@ -276,8 +276,6 @@ Variable_name Value
|
|||||||
Key_blocks_unused KEY_BLOCKS_UNUSED
|
Key_blocks_unused KEY_BLOCKS_UNUSED
|
||||||
set global keycache2.key_buffer_size=0;
|
set global keycache2.key_buffer_size=0;
|
||||||
set global keycache3.key_buffer_size=100;
|
set global keycache3.key_buffer_size=100;
|
||||||
Warnings:
|
|
||||||
Warning 1292 Truncated incorrect key_buffer_size value: '100'
|
|
||||||
set global keycache3.key_buffer_size=0;
|
set global keycache3.key_buffer_size=0;
|
||||||
create table t1 (mytext text, FULLTEXT (mytext));
|
create table t1 (mytext text, FULLTEXT (mytext));
|
||||||
insert t1 values ('aaabbb');
|
insert t1 values ('aaabbb');
|
||||||
|
@ -166,4 +166,31 @@ ERROR HY000: View's SELECT refers to a temporary table 't2'
|
|||||||
Cleanup.
|
Cleanup.
|
||||||
|
|
||||||
drop table t2, t3;
|
drop table t2, t3;
|
||||||
|
#
|
||||||
|
# Bug#39843 DELETE requires write access to table in subquery in where clause
|
||||||
|
#
|
||||||
|
DROP TABLE IF EXISTS t1,t2;
|
||||||
|
CREATE TABLE t1 (
|
||||||
|
table1_rowid SMALLINT NOT NULL
|
||||||
|
);
|
||||||
|
CREATE TABLE t2 (
|
||||||
|
table2_rowid SMALLINT NOT NULL
|
||||||
|
);
|
||||||
|
INSERT INTO t1 VALUES (1);
|
||||||
|
INSERT INTO t2 VALUES (1);
|
||||||
|
LOCK TABLES t1 WRITE, t2 READ;
|
||||||
|
# Sub-select should not try to aquire a write lock.
|
||||||
|
DELETE FROM t1
|
||||||
|
WHERE EXISTS
|
||||||
|
(
|
||||||
|
SELECT 'x'
|
||||||
|
FROM t2
|
||||||
|
WHERE t1.table1_rowid = t2.table2_rowid
|
||||||
|
) ;
|
||||||
|
# While implementing the patch we didn't break old behavior;
|
||||||
|
# The following sub-select should still requires a write lock:
|
||||||
|
SELECT * FROM t1 WHERE 1 IN (SELECT * FROM t2 FOR UPDATE);
|
||||||
|
ERROR HY000: Table 't2' was locked with a READ lock and can't be updated
|
||||||
|
UNLOCK TABLES;
|
||||||
|
DROP TABLE t1,t2;
|
||||||
End of 5.1 tests.
|
End of 5.1 tests.
|
||||||
|
@ -51,10 +51,10 @@ Field Type Null Key Default Extra
|
|||||||
a int(11) YES NULL
|
a int(11) YES NULL
|
||||||
unlock tables;
|
unlock tables;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
use mysql;
|
USE mysql;
|
||||||
LOCK TABLES columns_priv WRITE, db WRITE, host WRITE, user WRITE;
|
LOCK TABLES columns_priv WRITE, db WRITE, host WRITE, user WRITE;
|
||||||
FLUSH TABLES;
|
FLUSH TABLES;
|
||||||
use mysql;
|
USE mysql;
|
||||||
SELECT user.Select_priv FROM user, db WHERE user.user = db.user LIMIT 1;
|
SELECT user.Select_priv FROM user, db WHERE user.user = db.user LIMIT 1;
|
||||||
OPTIMIZE TABLES columns_priv, db, host, user;
|
OPTIMIZE TABLES columns_priv, db, host, user;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
@ -65,7 +65,7 @@ mysql.user optimize status OK
|
|||||||
UNLOCK TABLES;
|
UNLOCK TABLES;
|
||||||
Select_priv
|
Select_priv
|
||||||
N
|
N
|
||||||
use test;
|
USE test;
|
||||||
use test;
|
use test;
|
||||||
CREATE TABLE t1 (c1 int);
|
CREATE TABLE t1 (c1 int);
|
||||||
LOCK TABLE t1 WRITE;
|
LOCK TABLE t1 WRITE;
|
||||||
@ -133,8 +133,8 @@ DROP TABLE t1;
|
|||||||
End of 5.0 tests
|
End of 5.0 tests
|
||||||
create table t1 (i int);
|
create table t1 (i int);
|
||||||
lock table t1 read;
|
lock table t1 read;
|
||||||
update t1 set i= 10;;
|
update t1 set i= 10;
|
||||||
select * from t1;;
|
select * from t1;
|
||||||
kill query ID;
|
kill query ID;
|
||||||
i
|
i
|
||||||
ERROR 70100: Query execution was interrupted
|
ERROR 70100: Query execution was interrupted
|
||||||
|
@ -56,7 +56,7 @@ general_log CREATE TABLE `general_log` (
|
|||||||
`event_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
`event_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||||
`user_host` mediumtext NOT NULL,
|
`user_host` mediumtext NOT NULL,
|
||||||
`thread_id` int(11) NOT NULL,
|
`thread_id` int(11) NOT NULL,
|
||||||
`server_id` int(11) NOT NULL,
|
`server_id` int(10) unsigned NOT NULL,
|
||||||
`command_type` varchar(64) NOT NULL,
|
`command_type` varchar(64) NOT NULL,
|
||||||
`argument` mediumtext NOT NULL
|
`argument` mediumtext NOT NULL
|
||||||
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='General log'
|
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='General log'
|
||||||
@ -65,7 +65,7 @@ Field Type Null Key Default Extra
|
|||||||
event_time timestamp NO CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP
|
event_time timestamp NO CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP
|
||||||
user_host mediumtext NO NULL
|
user_host mediumtext NO NULL
|
||||||
thread_id int(11) NO NULL
|
thread_id int(11) NO NULL
|
||||||
server_id int(11) NO NULL
|
server_id int(10) unsigned NO NULL
|
||||||
command_type varchar(64) NO NULL
|
command_type varchar(64) NO NULL
|
||||||
argument mediumtext NO NULL
|
argument mediumtext NO NULL
|
||||||
show create table mysql.slow_log;
|
show create table mysql.slow_log;
|
||||||
@ -80,7 +80,7 @@ slow_log CREATE TABLE `slow_log` (
|
|||||||
`db` varchar(512) NOT NULL,
|
`db` varchar(512) NOT NULL,
|
||||||
`last_insert_id` int(11) NOT NULL,
|
`last_insert_id` int(11) NOT NULL,
|
||||||
`insert_id` int(11) NOT NULL,
|
`insert_id` int(11) NOT NULL,
|
||||||
`server_id` int(11) NOT NULL,
|
`server_id` int(10) unsigned NOT NULL,
|
||||||
`sql_text` mediumtext NOT NULL
|
`sql_text` mediumtext NOT NULL
|
||||||
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='Slow log'
|
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='Slow log'
|
||||||
show fields from mysql.slow_log;
|
show fields from mysql.slow_log;
|
||||||
@ -94,7 +94,7 @@ rows_examined int(11) NO NULL
|
|||||||
db varchar(512) NO NULL
|
db varchar(512) NO NULL
|
||||||
last_insert_id int(11) NO NULL
|
last_insert_id int(11) NO NULL
|
||||||
insert_id int(11) NO NULL
|
insert_id int(11) NO NULL
|
||||||
server_id int(11) NO NULL
|
server_id int(10) unsigned NO NULL
|
||||||
sql_text mediumtext NO NULL
|
sql_text mediumtext NO NULL
|
||||||
flush logs;
|
flush logs;
|
||||||
flush tables;
|
flush tables;
|
||||||
@ -167,7 +167,7 @@ general_log CREATE TABLE `general_log` (
|
|||||||
`event_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
`event_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||||
`user_host` mediumtext NOT NULL,
|
`user_host` mediumtext NOT NULL,
|
||||||
`thread_id` int(11) NOT NULL,
|
`thread_id` int(11) NOT NULL,
|
||||||
`server_id` int(11) NOT NULL,
|
`server_id` int(10) unsigned NOT NULL,
|
||||||
`command_type` varchar(64) NOT NULL,
|
`command_type` varchar(64) NOT NULL,
|
||||||
`argument` mediumtext NOT NULL
|
`argument` mediumtext NOT NULL
|
||||||
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='General log'
|
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='General log'
|
||||||
@ -183,7 +183,7 @@ slow_log CREATE TABLE `slow_log` (
|
|||||||
`db` varchar(512) NOT NULL,
|
`db` varchar(512) NOT NULL,
|
||||||
`last_insert_id` int(11) NOT NULL,
|
`last_insert_id` int(11) NOT NULL,
|
||||||
`insert_id` int(11) NOT NULL,
|
`insert_id` int(11) NOT NULL,
|
||||||
`server_id` int(11) NOT NULL,
|
`server_id` int(10) unsigned NOT NULL,
|
||||||
`sql_text` mediumtext NOT NULL
|
`sql_text` mediumtext NOT NULL
|
||||||
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='Slow log'
|
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='Slow log'
|
||||||
alter table mysql.general_log engine=myisam;
|
alter table mysql.general_log engine=myisam;
|
||||||
@ -194,7 +194,7 @@ general_log CREATE TABLE `general_log` (
|
|||||||
`event_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
`event_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||||
`user_host` mediumtext NOT NULL,
|
`user_host` mediumtext NOT NULL,
|
||||||
`thread_id` int(11) NOT NULL,
|
`thread_id` int(11) NOT NULL,
|
||||||
`server_id` int(11) NOT NULL,
|
`server_id` int(10) unsigned NOT NULL,
|
||||||
`command_type` varchar(64) NOT NULL,
|
`command_type` varchar(64) NOT NULL,
|
||||||
`argument` mediumtext NOT NULL
|
`argument` mediumtext NOT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='General log'
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='General log'
|
||||||
@ -210,7 +210,7 @@ slow_log CREATE TABLE `slow_log` (
|
|||||||
`db` varchar(512) NOT NULL,
|
`db` varchar(512) NOT NULL,
|
||||||
`last_insert_id` int(11) NOT NULL,
|
`last_insert_id` int(11) NOT NULL,
|
||||||
`insert_id` int(11) NOT NULL,
|
`insert_id` int(11) NOT NULL,
|
||||||
`server_id` int(11) NOT NULL,
|
`server_id` int(10) unsigned NOT NULL,
|
||||||
`sql_text` mediumtext NOT NULL
|
`sql_text` mediumtext NOT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Slow log'
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Slow log'
|
||||||
set global general_log='ON';
|
set global general_log='ON';
|
||||||
@ -268,7 +268,7 @@ CREATE TABLE `general_log` (
|
|||||||
ON UPDATE CURRENT_TIMESTAMP,
|
ON UPDATE CURRENT_TIMESTAMP,
|
||||||
`user_host` mediumtext NOT NULL,
|
`user_host` mediumtext NOT NULL,
|
||||||
`thread_id` int(11) NOT NULL,
|
`thread_id` int(11) NOT NULL,
|
||||||
`server_id` int(11) NOT NULL,
|
`server_id` int(10) unsigned NOT NULL,
|
||||||
`command_type` varchar(64) NOT NULL,
|
`command_type` varchar(64) NOT NULL,
|
||||||
`argument` mediumtext NOT NULL
|
`argument` mediumtext NOT NULL
|
||||||
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='General log';
|
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='General log';
|
||||||
@ -283,7 +283,7 @@ ON UPDATE CURRENT_TIMESTAMP,
|
|||||||
`db` varchar(512) NOT NULL,
|
`db` varchar(512) NOT NULL,
|
||||||
`last_insert_id` int(11) NOT NULL,
|
`last_insert_id` int(11) NOT NULL,
|
||||||
`insert_id` int(11) NOT NULL,
|
`insert_id` int(11) NOT NULL,
|
||||||
`server_id` int(11) NOT NULL,
|
`server_id` int(10) unsigned NOT NULL,
|
||||||
`sql_text` mediumtext NOT NULL
|
`sql_text` mediumtext NOT NULL
|
||||||
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='Slow log';
|
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='Slow log';
|
||||||
set global general_log='ON';
|
set global general_log='ON';
|
||||||
|
@ -2103,4 +2103,16 @@ a
|
|||||||
UNLOCK TABLES;
|
UNLOCK TABLES;
|
||||||
# drop the created tables
|
# drop the created tables
|
||||||
DROP TABLE t1, t2, t3;
|
DROP TABLE t1, t2, t3;
|
||||||
|
# insert duplicate value in child table while merge table doesn't have key
|
||||||
|
create table t1 (
|
||||||
|
col1 int(10),
|
||||||
|
primary key (col1)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||||
|
CREATE TABLE m1 (
|
||||||
|
col1 int(10) NOT NULL
|
||||||
|
) ENGINE=MRG_MyISAM DEFAULT CHARSET=latin1 INSERT_METHOD=LAST UNION=(t1);
|
||||||
|
insert into m1 (col1) values (1);
|
||||||
|
insert into m1 (col1) values (1);
|
||||||
|
ERROR 23000: Duplicate entry '' for key '*UNKNOWN*'
|
||||||
|
drop table m1, t1;
|
||||||
End of 5.1 tests
|
End of 5.1 tests
|
||||||
|
@ -188,6 +188,10 @@ delimiter
|
|||||||
2
|
2
|
||||||
@z:='1' @z=database()
|
@z:='1' @z=database()
|
||||||
1 NULL
|
1 NULL
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
End of 5.0 tests
|
End of 5.0 tests
|
||||||
WARNING: --server-arg option not supported in this configuration.
|
WARNING: --server-arg option not supported in this configuration.
|
||||||
Warning (Code 1286): Unknown table engine 'nonexistent'
|
Warning (Code 1286): Unknown table engine 'nonexistent'
|
||||||
|
@ -391,9 +391,9 @@ DELIMITER ;
|
|||||||
ROLLBACK /* added by mysqlbinlog */;
|
ROLLBACK /* added by mysqlbinlog */;
|
||||||
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
|
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
|
||||||
CREATE TABLE t1 (c1 CHAR(10));
|
CREATE TABLE t1 (c1 CHAR(10));
|
||||||
flush logs;
|
FLUSH LOGS;
|
||||||
INSERT INTO t1 VALUES ('0123456789');
|
INSERT INTO t1 VALUES ('0123456789');
|
||||||
flush logs;
|
FLUSH LOGS;
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
We expect this value to be 1
|
We expect this value to be 1
|
||||||
The bug being tested was that 'Query' lines were not preceded by '#'
|
The bug being tested was that 'Query' lines were not preceded by '#'
|
||||||
@ -403,17 +403,16 @@ SELECT COUNT(*) AS `BUG#28293_expect_1` FROM patch WHERE a LIKE '%Query%';
|
|||||||
BUG#28293_expect_1
|
BUG#28293_expect_1
|
||||||
1
|
1
|
||||||
DROP TABLE patch;
|
DROP TABLE patch;
|
||||||
flush logs;
|
FLUSH LOGS;
|
||||||
create table t1(a int);
|
CREATE TABLE t1(a INT);
|
||||||
insert into t1 values(connection_id());
|
INSERT INTO t1 VALUES(connection_id());
|
||||||
flush logs;
|
FLUSH LOGS;
|
||||||
drop table t1;
|
DROP TABLE t1;
|
||||||
1
|
1
|
||||||
drop table t1;
|
DROP TABLE t1;
|
||||||
shell> mysqlbinlog std_data/corrupt-relay-bin.000624 > var/tmp/bug31793.sql
|
shell> mysqlbinlog std_data/corrupt-relay-bin.000624 > var/tmp/bug31793.sql
|
||||||
End of 5.0 tests
|
FLUSH LOGS;
|
||||||
flush logs;
|
Bug#31611 Security risk with BINLOG statement
|
||||||
BUG#31611: Security risk with BINLOG statement
|
|
||||||
SET BINLOG_FORMAT=ROW;
|
SET BINLOG_FORMAT=ROW;
|
||||||
CREATE DATABASE mysqltest1;
|
CREATE DATABASE mysqltest1;
|
||||||
CREATE USER untrusted@localhost;
|
CREATE USER untrusted@localhost;
|
||||||
@ -436,7 +435,7 @@ a b
|
|||||||
1 root@localhost
|
1 root@localhost
|
||||||
DROP DATABASE mysqltest1;
|
DROP DATABASE mysqltest1;
|
||||||
DROP USER untrusted@localhost;
|
DROP USER untrusted@localhost;
|
||||||
BUG#32580: mysqlbinlog cannot read binlog event with user variables
|
Bug#32580 mysqlbinlog cannot read binlog event with user variables
|
||||||
USE test;
|
USE test;
|
||||||
SET BINLOG_FORMAT = STATEMENT;
|
SET BINLOG_FORMAT = STATEMENT;
|
||||||
FLUSH LOGS;
|
FLUSH LOGS;
|
||||||
@ -461,4 +460,15 @@ an_int 1000
|
|||||||
a_decimal 907.79
|
a_decimal 907.79
|
||||||
a_string Just a test
|
a_string Just a test
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
SET @@global.server_id= 4294967295;
|
||||||
|
RESET MASTER;
|
||||||
|
FLUSH LOGS;
|
||||||
|
SELECT
|
||||||
|
(@a:=LOAD_FILE("MYSQLTEST_VARDIR/tmp/mysqlbinlog_bug37313.binlog"))
|
||||||
|
IS NOT NULL;
|
||||||
|
(@a:=LOAD_FILE("MYSQLTEST_VARDIR/tmp/mysqlbinlog_bug37313.binlog"))
|
||||||
|
IS NOT NULL
|
||||||
|
1
|
||||||
|
*** Unsigned server_id 4294967295 is found: 1 ***
|
||||||
|
SET @@global.server_id= 1;
|
||||||
End of 5.1 tests
|
End of 5.1 tests
|
||||||
|
@ -149,7 +149,7 @@ SET NAMES DEFAULT;
|
|||||||
mysqlcheck --default-character-set="latin1" --databases test
|
mysqlcheck --default-character-set="latin1" --databases test
|
||||||
test.?
|
test.?
|
||||||
Error : Table doesn't exist
|
Error : Table doesn't exist
|
||||||
error : Corrupt
|
status : Operation failed
|
||||||
mysqlcheck --default-character-set="utf8" --databases test
|
mysqlcheck --default-character-set="utf8" --databases test
|
||||||
test.я OK
|
test.я OK
|
||||||
SET NAMES utf8;
|
SET NAMES utf8;
|
||||||
|
@ -93,73 +93,73 @@ CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET l
|
|||||||
|
|
||||||
USE `test`;
|
USE `test`;
|
||||||
DROP TABLE IF EXISTS `t1`;
|
DROP TABLE IF EXISTS `t1`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t1` (
|
CREATE TABLE `t1` (
|
||||||
`id` int(8) DEFAULT NULL,
|
`id` int(8) DEFAULT NULL,
|
||||||
`name` varchar(32) DEFAULT NULL
|
`name` varchar(32) DEFAULT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
||||||
INSERT DELAYED IGNORE INTO `t1` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
INSERT DELAYED IGNORE INTO `t1` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
||||||
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
||||||
DROP TABLE IF EXISTS `t2`;
|
DROP TABLE IF EXISTS `t2`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t2` (
|
CREATE TABLE `t2` (
|
||||||
`id` int(8) DEFAULT NULL,
|
`id` int(8) DEFAULT NULL,
|
||||||
`name` varchar(32) DEFAULT NULL
|
`name` varchar(32) DEFAULT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
/*!40000 ALTER TABLE `t2` DISABLE KEYS */;
|
/*!40000 ALTER TABLE `t2` DISABLE KEYS */;
|
||||||
INSERT DELAYED IGNORE INTO `t2` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
INSERT DELAYED IGNORE INTO `t2` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
||||||
/*!40000 ALTER TABLE `t2` ENABLE KEYS */;
|
/*!40000 ALTER TABLE `t2` ENABLE KEYS */;
|
||||||
DROP TABLE IF EXISTS `t3`;
|
DROP TABLE IF EXISTS `t3`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t3` (
|
CREATE TABLE `t3` (
|
||||||
`id` int(8) DEFAULT NULL,
|
`id` int(8) DEFAULT NULL,
|
||||||
`name` varchar(32) DEFAULT NULL
|
`name` varchar(32) DEFAULT NULL
|
||||||
) ENGINE=MEMORY DEFAULT CHARSET=latin1;
|
) ENGINE=MEMORY DEFAULT CHARSET=latin1;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
/*!40000 ALTER TABLE `t3` DISABLE KEYS */;
|
/*!40000 ALTER TABLE `t3` DISABLE KEYS */;
|
||||||
INSERT DELAYED IGNORE INTO `t3` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
INSERT DELAYED IGNORE INTO `t3` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
||||||
/*!40000 ALTER TABLE `t3` ENABLE KEYS */;
|
/*!40000 ALTER TABLE `t3` ENABLE KEYS */;
|
||||||
DROP TABLE IF EXISTS `t4`;
|
DROP TABLE IF EXISTS `t4`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t4` (
|
CREATE TABLE `t4` (
|
||||||
`id` int(8) DEFAULT NULL,
|
`id` int(8) DEFAULT NULL,
|
||||||
`name` varchar(32) DEFAULT NULL
|
`name` varchar(32) DEFAULT NULL
|
||||||
) ENGINE=MEMORY DEFAULT CHARSET=latin1;
|
) ENGINE=MEMORY DEFAULT CHARSET=latin1;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
/*!40000 ALTER TABLE `t4` DISABLE KEYS */;
|
/*!40000 ALTER TABLE `t4` DISABLE KEYS */;
|
||||||
INSERT DELAYED IGNORE INTO `t4` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
INSERT DELAYED IGNORE INTO `t4` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
||||||
/*!40000 ALTER TABLE `t4` ENABLE KEYS */;
|
/*!40000 ALTER TABLE `t4` ENABLE KEYS */;
|
||||||
DROP TABLE IF EXISTS `t5`;
|
DROP TABLE IF EXISTS `t5`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t5` (
|
CREATE TABLE `t5` (
|
||||||
`id` int(8) DEFAULT NULL,
|
`id` int(8) DEFAULT NULL,
|
||||||
`name` varchar(32) DEFAULT NULL
|
`name` varchar(32) DEFAULT NULL
|
||||||
) ENGINE=ARCHIVE DEFAULT CHARSET=latin1;
|
) ENGINE=ARCHIVE DEFAULT CHARSET=latin1;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
/*!40000 ALTER TABLE `t5` DISABLE KEYS */;
|
/*!40000 ALTER TABLE `t5` DISABLE KEYS */;
|
||||||
INSERT DELAYED IGNORE INTO `t5` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
INSERT DELAYED IGNORE INTO `t5` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
||||||
/*!40000 ALTER TABLE `t5` ENABLE KEYS */;
|
/*!40000 ALTER TABLE `t5` ENABLE KEYS */;
|
||||||
DROP TABLE IF EXISTS `t6`;
|
DROP TABLE IF EXISTS `t6`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t6` (
|
CREATE TABLE `t6` (
|
||||||
`id` int(8) DEFAULT NULL,
|
`id` int(8) DEFAULT NULL,
|
||||||
`name` varchar(32) DEFAULT NULL
|
`name` varchar(32) DEFAULT NULL
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
/*!40000 ALTER TABLE `t6` DISABLE KEYS */;
|
/*!40000 ALTER TABLE `t6` DISABLE KEYS */;
|
||||||
INSERT IGNORE INTO `t6` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
INSERT IGNORE INTO `t6` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
||||||
@ -190,73 +190,73 @@ CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET l
|
|||||||
|
|
||||||
USE `test`;
|
USE `test`;
|
||||||
DROP TABLE IF EXISTS `t1`;
|
DROP TABLE IF EXISTS `t1`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t1` (
|
CREATE TABLE `t1` (
|
||||||
`id` int(8) DEFAULT NULL,
|
`id` int(8) DEFAULT NULL,
|
||||||
`name` varchar(32) DEFAULT NULL
|
`name` varchar(32) DEFAULT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
||||||
INSERT DELAYED INTO `t1` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
INSERT DELAYED INTO `t1` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
||||||
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
||||||
DROP TABLE IF EXISTS `t2`;
|
DROP TABLE IF EXISTS `t2`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t2` (
|
CREATE TABLE `t2` (
|
||||||
`id` int(8) DEFAULT NULL,
|
`id` int(8) DEFAULT NULL,
|
||||||
`name` varchar(32) DEFAULT NULL
|
`name` varchar(32) DEFAULT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
/*!40000 ALTER TABLE `t2` DISABLE KEYS */;
|
/*!40000 ALTER TABLE `t2` DISABLE KEYS */;
|
||||||
INSERT DELAYED INTO `t2` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
INSERT DELAYED INTO `t2` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
||||||
/*!40000 ALTER TABLE `t2` ENABLE KEYS */;
|
/*!40000 ALTER TABLE `t2` ENABLE KEYS */;
|
||||||
DROP TABLE IF EXISTS `t3`;
|
DROP TABLE IF EXISTS `t3`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t3` (
|
CREATE TABLE `t3` (
|
||||||
`id` int(8) DEFAULT NULL,
|
`id` int(8) DEFAULT NULL,
|
||||||
`name` varchar(32) DEFAULT NULL
|
`name` varchar(32) DEFAULT NULL
|
||||||
) ENGINE=MEMORY DEFAULT CHARSET=latin1;
|
) ENGINE=MEMORY DEFAULT CHARSET=latin1;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
/*!40000 ALTER TABLE `t3` DISABLE KEYS */;
|
/*!40000 ALTER TABLE `t3` DISABLE KEYS */;
|
||||||
INSERT DELAYED INTO `t3` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
INSERT DELAYED INTO `t3` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
||||||
/*!40000 ALTER TABLE `t3` ENABLE KEYS */;
|
/*!40000 ALTER TABLE `t3` ENABLE KEYS */;
|
||||||
DROP TABLE IF EXISTS `t4`;
|
DROP TABLE IF EXISTS `t4`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t4` (
|
CREATE TABLE `t4` (
|
||||||
`id` int(8) DEFAULT NULL,
|
`id` int(8) DEFAULT NULL,
|
||||||
`name` varchar(32) DEFAULT NULL
|
`name` varchar(32) DEFAULT NULL
|
||||||
) ENGINE=MEMORY DEFAULT CHARSET=latin1;
|
) ENGINE=MEMORY DEFAULT CHARSET=latin1;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
/*!40000 ALTER TABLE `t4` DISABLE KEYS */;
|
/*!40000 ALTER TABLE `t4` DISABLE KEYS */;
|
||||||
INSERT DELAYED INTO `t4` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
INSERT DELAYED INTO `t4` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
||||||
/*!40000 ALTER TABLE `t4` ENABLE KEYS */;
|
/*!40000 ALTER TABLE `t4` ENABLE KEYS */;
|
||||||
DROP TABLE IF EXISTS `t5`;
|
DROP TABLE IF EXISTS `t5`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t5` (
|
CREATE TABLE `t5` (
|
||||||
`id` int(8) DEFAULT NULL,
|
`id` int(8) DEFAULT NULL,
|
||||||
`name` varchar(32) DEFAULT NULL
|
`name` varchar(32) DEFAULT NULL
|
||||||
) ENGINE=ARCHIVE DEFAULT CHARSET=latin1;
|
) ENGINE=ARCHIVE DEFAULT CHARSET=latin1;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
/*!40000 ALTER TABLE `t5` DISABLE KEYS */;
|
/*!40000 ALTER TABLE `t5` DISABLE KEYS */;
|
||||||
INSERT DELAYED INTO `t5` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
INSERT DELAYED INTO `t5` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
||||||
/*!40000 ALTER TABLE `t5` ENABLE KEYS */;
|
/*!40000 ALTER TABLE `t5` ENABLE KEYS */;
|
||||||
DROP TABLE IF EXISTS `t6`;
|
DROP TABLE IF EXISTS `t6`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t6` (
|
CREATE TABLE `t6` (
|
||||||
`id` int(8) DEFAULT NULL,
|
`id` int(8) DEFAULT NULL,
|
||||||
`name` varchar(32) DEFAULT NULL
|
`name` varchar(32) DEFAULT NULL
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
/*!40000 ALTER TABLE `t6` DISABLE KEYS */;
|
/*!40000 ALTER TABLE `t6` DISABLE KEYS */;
|
||||||
INSERT INTO `t6` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
INSERT INTO `t6` VALUES (1,'first value'),(2,'first value'),(3,'first value'),(4,'first value'),(5,'first value');
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -743,10 +743,12 @@ select 1;
|
|||||||
-- a comment for the server;
|
-- a comment for the server;
|
||||||
mysqltest: At line 1: Found line beginning with -- that didn't contain a valid mysqltest command, check your syntax or use # if you intended to write a comment
|
mysqltest: At line 1: Found line beginning with -- that didn't contain a valid mysqltest command, check your syntax or use # if you intended to write a comment
|
||||||
con1
|
con1
|
||||||
|
con2
|
||||||
default
|
default
|
||||||
con1
|
con1
|
||||||
default
|
con2
|
||||||
con1
|
|
||||||
con1
|
con1
|
||||||
|
con2
|
||||||
|
con2
|
||||||
-closed_connection-
|
-closed_connection-
|
||||||
End of tests
|
End of tests
|
||||||
|
@ -98,12 +98,12 @@ INSERT INTO t1 VALUES (1), (2);
|
|||||||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `t1`;
|
DROP TABLE IF EXISTS `t1`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t1` (
|
CREATE TABLE `t1` (
|
||||||
`a` int(11) DEFAULT NULL
|
`a` int(11) DEFAULT NULL
|
||||||
);
|
);
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `t1` WRITE;
|
LOCK TABLES `t1` WRITE;
|
||||||
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
||||||
@ -132,12 +132,12 @@ UNLOCK TABLES;
|
|||||||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `t1`;
|
DROP TABLE IF EXISTS `t1`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t1` (
|
CREATE TABLE `t1` (
|
||||||
`a` int(11) DEFAULT NULL
|
`a` int(11) DEFAULT NULL
|
||||||
);
|
);
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `t1` WRITE;
|
LOCK TABLES `t1` WRITE;
|
||||||
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
||||||
@ -166,12 +166,12 @@ UNLOCK TABLES;
|
|||||||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `t1`;
|
DROP TABLE IF EXISTS `t1`;
|
||||||
SET @saved_cs_client = @@character_set_client;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
SET character_set_client = utf8;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t1` (
|
CREATE TABLE `t1` (
|
||||||
`a` int(11) DEFAULT NULL
|
`a` int(11) DEFAULT NULL
|
||||||
);
|
);
|
||||||
SET character_set_client = @saved_cs_client;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `t1` WRITE;
|
LOCK TABLES `t1` WRITE;
|
||||||
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
||||||
|
@ -144,7 +144,7 @@ Key_reads 0
|
|||||||
load index into cache t3, t2 key (primary,b) ;
|
load index into cache t3, t2 key (primary,b) ;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t3 preload_keys Error Table 'test.t3' doesn't exist
|
test.t3 preload_keys Error Table 'test.t3' doesn't exist
|
||||||
test.t3 preload_keys error Corrupt
|
test.t3 preload_keys status Operation failed
|
||||||
test.t2 preload_keys status OK
|
test.t2 preload_keys status OK
|
||||||
show status like "key_read%";
|
show status like "key_read%";
|
||||||
Variable_name Value
|
Variable_name Value
|
||||||
@ -159,7 +159,7 @@ Key_reads 0
|
|||||||
load index into cache t3 key (b), t2 key (c) ;
|
load index into cache t3 key (b), t2 key (c) ;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t3 preload_keys Error Table 'test.t3' doesn't exist
|
test.t3 preload_keys Error Table 'test.t3' doesn't exist
|
||||||
test.t3 preload_keys error Corrupt
|
test.t3 preload_keys status Operation failed
|
||||||
test.t2 preload_keys Error Key 'c' doesn't exist in table 't2'
|
test.t2 preload_keys Error Key 'c' doesn't exist in table 't2'
|
||||||
test.t2 preload_keys status Operation failed
|
test.t2 preload_keys status Operation failed
|
||||||
show status like "key_read%";
|
show status like "key_read%";
|
||||||
|
@ -235,7 +235,7 @@ execute stmt1;
|
|||||||
prepare stmt1 from "insert into t1 select i from t1";
|
prepare stmt1 from "insert into t1 select i from t1";
|
||||||
execute stmt1;
|
execute stmt1;
|
||||||
execute stmt1;
|
execute stmt1;
|
||||||
prepare stmt1 from "select * from t1 into outfile 'f1.txt'";
|
prepare stmt1 from "select * from t1 into outfile '<MYSQLTEST_VARDIR>/tmp/f1.txt'";
|
||||||
execute stmt1;
|
execute stmt1;
|
||||||
deallocate prepare stmt1;
|
deallocate prepare stmt1;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
@ -803,6 +803,8 @@ select @@max_prepared_stmt_count;
|
|||||||
@@max_prepared_stmt_count
|
@@max_prepared_stmt_count
|
||||||
16382
|
16382
|
||||||
set global max_prepared_stmt_count=-1;
|
set global max_prepared_stmt_count=-1;
|
||||||
|
Warnings:
|
||||||
|
Warning 1292 Truncated incorrect max_prepared_stmt_count value: '-1'
|
||||||
select @@max_prepared_stmt_count;
|
select @@max_prepared_stmt_count;
|
||||||
@@max_prepared_stmt_count
|
@@max_prepared_stmt_count
|
||||||
0
|
0
|
||||||
@ -1394,13 +1396,13 @@ execute stmt;
|
|||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 repair status OK
|
test.t1 repair status OK
|
||||||
test.t4 repair Error Table 'test.t4' doesn't exist
|
test.t4 repair Error Table 'test.t4' doesn't exist
|
||||||
test.t4 repair error Corrupt
|
test.t4 repair status Operation failed
|
||||||
test.t3 repair status OK
|
test.t3 repair status OK
|
||||||
execute stmt;
|
execute stmt;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 repair status OK
|
test.t1 repair status OK
|
||||||
test.t4 repair Error Table 'test.t4' doesn't exist
|
test.t4 repair Error Table 'test.t4' doesn't exist
|
||||||
test.t4 repair error Corrupt
|
test.t4 repair status Operation failed
|
||||||
test.t3 repair status OK
|
test.t3 repair status OK
|
||||||
prepare stmt from "optimize table t1, t3, t4";
|
prepare stmt from "optimize table t1, t3, t4";
|
||||||
execute stmt;
|
execute stmt;
|
||||||
@ -1408,23 +1410,23 @@ Table Op Msg_type Msg_text
|
|||||||
test.t1 optimize status OK
|
test.t1 optimize status OK
|
||||||
test.t3 optimize status OK
|
test.t3 optimize status OK
|
||||||
test.t4 optimize Error Table 'test.t4' doesn't exist
|
test.t4 optimize Error Table 'test.t4' doesn't exist
|
||||||
test.t4 optimize error Corrupt
|
test.t4 optimize status Operation failed
|
||||||
execute stmt;
|
execute stmt;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 optimize status Table is already up to date
|
test.t1 optimize status Table is already up to date
|
||||||
test.t3 optimize status Table is already up to date
|
test.t3 optimize status Table is already up to date
|
||||||
test.t4 optimize Error Table 'test.t4' doesn't exist
|
test.t4 optimize Error Table 'test.t4' doesn't exist
|
||||||
test.t4 optimize error Corrupt
|
test.t4 optimize status Operation failed
|
||||||
prepare stmt from "analyze table t4, t1";
|
prepare stmt from "analyze table t4, t1";
|
||||||
execute stmt;
|
execute stmt;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t4 analyze Error Table 'test.t4' doesn't exist
|
test.t4 analyze Error Table 'test.t4' doesn't exist
|
||||||
test.t4 analyze error Corrupt
|
test.t4 analyze status Operation failed
|
||||||
test.t1 analyze status Table is already up to date
|
test.t1 analyze status Table is already up to date
|
||||||
execute stmt;
|
execute stmt;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t4 analyze Error Table 'test.t4' doesn't exist
|
test.t4 analyze Error Table 'test.t4' doesn't exist
|
||||||
test.t4 analyze error Corrupt
|
test.t4 analyze status Operation failed
|
||||||
test.t1 analyze status Table is already up to date
|
test.t1 analyze status Table is already up to date
|
||||||
deallocate prepare stmt;
|
deallocate prepare stmt;
|
||||||
drop table t1, t2, t3;
|
drop table t1, t2, t3;
|
||||||
|
@ -128,7 +128,7 @@ set global read_only=0;
|
|||||||
drop table t1,t2;
|
drop table t1,t2;
|
||||||
drop user test@localhost;
|
drop user test@localhost;
|
||||||
#
|
#
|
||||||
# Bug #27440 read_only allows create and drop database
|
# Bug#27440 read_only allows create and drop database
|
||||||
#
|
#
|
||||||
set global read_only= 1;
|
set global read_only= 1;
|
||||||
drop database if exists mysqltest_db1;
|
drop database if exists mysqltest_db1;
|
||||||
|
@ -27,7 +27,7 @@ drop table t1;
|
|||||||
repair table t1 use_frm;
|
repair table t1 use_frm;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 repair Error Table 'test.t1' doesn't exist
|
test.t1 repair Error Table 'test.t1' doesn't exist
|
||||||
test.t1 repair error Corrupt
|
test.t1 repair status Operation failed
|
||||||
create table t1 engine=myisam SELECT 1,"table 1";
|
create table t1 engine=myisam SELECT 1,"table 1";
|
||||||
flush tables;
|
flush tables;
|
||||||
repair table t1;
|
repair table t1;
|
||||||
|
@ -4416,4 +4416,32 @@ date_nokey
|
|||||||
Warnings:
|
Warnings:
|
||||||
Warning 1292 Incorrect date value: '10:41:7' for column 'date_nokey' at row 1
|
Warning 1292 Incorrect date value: '10:41:7' for column 'date_nokey' at row 1
|
||||||
DROP TABLE A,C;
|
DROP TABLE A,C;
|
||||||
|
CREATE TABLE t1 (a INT NOT NULL, b INT);
|
||||||
|
INSERT INTO t1 VALUES (1, 1);
|
||||||
|
EXPLAIN EXTENDED SELECT * FROM t1 WHERE (a=a AND a=a) OR b > 2;
|
||||||
|
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||||
|
1 SIMPLE t1 system NULL NULL NULL NULL 1 100.00
|
||||||
|
Warnings:
|
||||||
|
Note 1003 select '1' AS `a`,'1' AS `b` from `test`.`t1` where 1
|
||||||
|
SELECT * FROM t1 WHERE (a=a AND a=a) OR b > 2;
|
||||||
|
a b
|
||||||
|
1 1
|
||||||
|
DROP TABLE t1;
|
||||||
|
CREATE TABLE t1 (a INT NOT NULL, b INT NOT NULL, c INT NOT NULL);
|
||||||
|
EXPLAIN EXTENDED SELECT * FROM t1 WHERE (a=a AND b=b AND c=c) OR b > 20;
|
||||||
|
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||||
|
1 SIMPLE t1 system NULL NULL NULL NULL 0 0.00 const row not found
|
||||||
|
Warnings:
|
||||||
|
Note 1003 select '0' AS `a`,'0' AS `b`,'0' AS `c` from `test`.`t1` where 1
|
||||||
|
EXPLAIN EXTENDED SELECT * FROM t1 WHERE (a=a AND a=a AND b=b) OR b > 20;
|
||||||
|
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||||
|
1 SIMPLE t1 system NULL NULL NULL NULL 0 0.00 const row not found
|
||||||
|
Warnings:
|
||||||
|
Note 1003 select '0' AS `a`,'0' AS `b`,'0' AS `c` from `test`.`t1` where 1
|
||||||
|
EXPLAIN EXTENDED SELECT * FROM t1 WHERE (a=a AND b=b AND a=a) OR b > 20;
|
||||||
|
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||||
|
1 SIMPLE t1 system NULL NULL NULL NULL 0 0.00 const row not found
|
||||||
|
Warnings:
|
||||||
|
Note 1003 select '0' AS `a`,'0' AS `b`,'0' AS `c` from `test`.`t1` where 1
|
||||||
|
DROP TABLE t1;
|
||||||
End of 5.1 tests
|
End of 5.1 tests
|
||||||
|
@ -664,7 +664,7 @@ show create table t1;
|
|||||||
ERROR HY000: Incorrect information in file: './test/t1.frm'
|
ERROR HY000: Incorrect information in file: './test/t1.frm'
|
||||||
drop table if exists t1;
|
drop table if exists t1;
|
||||||
|
|
||||||
# Bug#12183: SHOW OPEN TABLES behavior doesn't match grammar.
|
# Bug#12183 SHOW OPEN TABLES behavior doesn't match grammar.
|
||||||
|
|
||||||
DROP DATABASE IF EXISTS mysqltest1;
|
DROP DATABASE IF EXISTS mysqltest1;
|
||||||
CREATE DATABASE mysqltest1;
|
CREATE DATABASE mysqltest1;
|
||||||
@ -1198,7 +1198,7 @@ CREATE DATABASE mysqltest1;
|
|||||||
use mysqltest1;
|
use mysqltest1;
|
||||||
CREATE TABLE t1(ËÏÌÏÎËÁ1 INT);
|
CREATE TABLE t1(ËÏÌÏÎËÁ1 INT);
|
||||||
|
|
||||||
---> Dumping mysqltest1 to show_check.mysqltest1.sql
|
---> Dumping mysqltest1 to outfile1
|
||||||
|
|
||||||
|
|
||||||
DROP DATABASE mysqltest1;
|
DROP DATABASE mysqltest1;
|
||||||
|
@ -5,10 +5,7 @@ GRANT USAGE ON *.* TO 'mysqltest_1'@'127.0.0.1/255.255.255.255'
|
|||||||
GRANT ALL PRIVILEGES ON `test`.* TO 'mysqltest_1'@'127.0.0.1/255.255.255.255'
|
GRANT ALL PRIVILEGES ON `test`.* TO 'mysqltest_1'@'127.0.0.1/255.255.255.255'
|
||||||
REVOKE ALL ON test.* FROM mysqltest_1@'127.0.0.1/255.255.255.255';
|
REVOKE ALL ON test.* FROM mysqltest_1@'127.0.0.1/255.255.255.255';
|
||||||
DROP USER mysqltest_1@'127.0.0.1/255.255.255.255';
|
DROP USER mysqltest_1@'127.0.0.1/255.255.255.255';
|
||||||
select user();
|
SELECT USER();
|
||||||
user()
|
USER()
|
||||||
#
|
#
|
||||||
show processlist;
|
SHOW PROCESSLIST;
|
||||||
Id User Host db Command Time State Info
|
|
||||||
<id> root <host> test <command> <time> <state> <info>
|
|
||||||
<id> root <host> test <command> <time> <state> <info>
|
|
||||||
|
@ -342,12 +342,12 @@ GRANT SUPER ON *.* TO mysqltest_2@localhost;
|
|||||||
GRANT ALL PRIVILEGES ON mysqltest.* TO mysqltest_2@localhost;
|
GRANT ALL PRIVILEGES ON mysqltest.* TO mysqltest_2@localhost;
|
||||||
|
|
||||||
---> connection: mysqltest_2_con
|
---> connection: mysqltest_2_con
|
||||||
use mysqltest;
|
USE mysqltest;
|
||||||
CREATE PROCEDURE wl2897_p1() SELECT 1;
|
CREATE PROCEDURE wl2897_p1() SELECT 1;
|
||||||
CREATE FUNCTION wl2897_f1() RETURNS INT RETURN 1;
|
CREATE FUNCTION wl2897_f1() RETURNS INT RETURN 1;
|
||||||
|
|
||||||
---> connection: mysqltest_1_con
|
---> connection: mysqltest_1_con
|
||||||
use mysqltest;
|
USE mysqltest;
|
||||||
CREATE DEFINER=root@localhost PROCEDURE wl2897_p2() SELECT 2;
|
CREATE DEFINER=root@localhost PROCEDURE wl2897_p2() SELECT 2;
|
||||||
ERROR 42000: Access denied; you need the SUPER privilege for this operation
|
ERROR 42000: Access denied; you need the SUPER privilege for this operation
|
||||||
CREATE DEFINER=root@localhost FUNCTION wl2897_f2() RETURNS INT RETURN 2;
|
CREATE DEFINER=root@localhost FUNCTION wl2897_f2() RETURNS INT RETURN 2;
|
||||||
@ -363,7 +363,7 @@ Warnings:
|
|||||||
Note 1449 The user specified as a definer ('a @ b @ c'@'localhost') does not exist
|
Note 1449 The user specified as a definer ('a @ b @ c'@'localhost') does not exist
|
||||||
|
|
||||||
---> connection: con1root
|
---> connection: con1root
|
||||||
use mysqltest;
|
USE mysqltest;
|
||||||
SHOW CREATE PROCEDURE wl2897_p1;
|
SHOW CREATE PROCEDURE wl2897_p1;
|
||||||
Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
|
Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
|
||||||
wl2897_p1 CREATE DEFINER=`mysqltest_2`@`localhost` PROCEDURE `wl2897_p1`()
|
wl2897_p1 CREATE DEFINER=`mysqltest_2`@`localhost` PROCEDURE `wl2897_p1`()
|
||||||
@ -393,7 +393,7 @@ CREATE USER mysqltest_2@localhost;
|
|||||||
GRANT ALL PRIVILEGES ON mysqltest.* TO mysqltest_2@localhost;
|
GRANT ALL PRIVILEGES ON mysqltest.* TO mysqltest_2@localhost;
|
||||||
|
|
||||||
---> connection: mysqltest_1_con
|
---> connection: mysqltest_1_con
|
||||||
use mysqltest;
|
USE mysqltest;
|
||||||
CREATE PROCEDURE bug13198_p1()
|
CREATE PROCEDURE bug13198_p1()
|
||||||
SELECT 1;
|
SELECT 1;
|
||||||
CREATE FUNCTION bug13198_f1() RETURNS INT
|
CREATE FUNCTION bug13198_f1() RETURNS INT
|
||||||
@ -406,7 +406,7 @@ bug13198_f1()
|
|||||||
1
|
1
|
||||||
|
|
||||||
---> connection: mysqltest_2_con
|
---> connection: mysqltest_2_con
|
||||||
use mysqltest;
|
USE mysqltest;
|
||||||
CALL bug13198_p1();
|
CALL bug13198_p1();
|
||||||
1
|
1
|
||||||
1
|
1
|
||||||
@ -418,7 +418,7 @@ bug13198_f1()
|
|||||||
DROP USER mysqltest_1@localhost;
|
DROP USER mysqltest_1@localhost;
|
||||||
|
|
||||||
---> connection: mysqltest_2_con
|
---> connection: mysqltest_2_con
|
||||||
use mysqltest;
|
USE mysqltest;
|
||||||
CALL bug13198_p1();
|
CALL bug13198_p1();
|
||||||
ERROR HY000: The user specified as a definer ('mysqltest_1'@'localhost') does not exist
|
ERROR HY000: The user specified as a definer ('mysqltest_1'@'localhost') does not exist
|
||||||
SELECT bug13198_f1();
|
SELECT bug13198_f1();
|
||||||
@ -435,7 +435,7 @@ Host User Password
|
|||||||
localhost user19857 *82DC221D557298F6CE9961037DB1C90604792F5C
|
localhost user19857 *82DC221D557298F6CE9961037DB1C90604792F5C
|
||||||
|
|
||||||
---> connection: mysqltest_2_con
|
---> connection: mysqltest_2_con
|
||||||
use test;
|
USE test;
|
||||||
CREATE PROCEDURE sp19857() DETERMINISTIC
|
CREATE PROCEDURE sp19857() DETERMINISTIC
|
||||||
BEGIN
|
BEGIN
|
||||||
DECLARE a INT;
|
DECLARE a INT;
|
||||||
|
@ -1305,7 +1305,7 @@ set @@sql_mode='traditional';
|
|||||||
create table t1 (i int)
|
create table t1 (i int)
|
||||||
comment '123456789*123456789*123456789*123456789*123456789*
|
comment '123456789*123456789*123456789*123456789*123456789*
|
||||||
123456789*123456789*123456789*123456789*123456789*';
|
123456789*123456789*123456789*123456789*123456789*';
|
||||||
ERROR HY000: Too long comment for table 't1'
|
ERROR HY000: Comment for table 't1' is too long (max = 60)
|
||||||
create table t1 (
|
create table t1 (
|
||||||
i int comment
|
i int comment
|
||||||
'123456789*123456789*123456789*123456789*
|
'123456789*123456789*123456789*123456789*
|
||||||
@ -1315,7 +1315,7 @@ i int comment
|
|||||||
123456789*123456789*123456789*123456789*
|
123456789*123456789*123456789*123456789*
|
||||||
123456789*123456789*123456789*123456789*
|
123456789*123456789*123456789*123456789*
|
||||||
123456789*123456789*123456789*123456789*');
|
123456789*123456789*123456789*123456789*');
|
||||||
ERROR HY000: Too long comment for field 'i'
|
ERROR HY000: Comment for field 'i' is too long (max = 255)
|
||||||
set @@sql_mode= @org_mode;
|
set @@sql_mode= @org_mode;
|
||||||
create table t1
|
create table t1
|
||||||
(i int comment
|
(i int comment
|
||||||
@ -1327,7 +1327,7 @@ create table t1
|
|||||||
123456789*123456789*123456789*123456789*
|
123456789*123456789*123456789*123456789*
|
||||||
123456789*123456789*123456789*123456789*');
|
123456789*123456789*123456789*123456789*');
|
||||||
Warnings:
|
Warnings:
|
||||||
Warning 1105 Unknown error
|
Warning 1629 Comment for field 'i' is too long (max = 255)
|
||||||
select column_name, column_comment from information_schema.columns where
|
select column_name, column_comment from information_schema.columns where
|
||||||
table_schema = 'test' and table_name = 't1';
|
table_schema = 'test' and table_name = 't1';
|
||||||
column_name column_comment
|
column_name column_comment
|
||||||
|
@ -227,7 +227,7 @@ event CREATE TABLE `event` (
|
|||||||
`on_completion` enum('DROP','PRESERVE') NOT NULL DEFAULT 'DROP',
|
`on_completion` enum('DROP','PRESERVE') NOT NULL DEFAULT 'DROP',
|
||||||
`sql_mode` set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_ZERO_IN_DATE','NO_ZERO_DATE','INVALID_DATES','ERROR_FOR_DIVISION_BY_ZERO','TRADITIONAL','NO_AUTO_CREATE_USER','HIGH_NOT_PRECEDENCE','NO_ENGINE_SUBSTITUTION','PAD_CHAR_TO_FULL_LENGTH') NOT NULL DEFAULT '',
|
`sql_mode` set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_ZERO_IN_DATE','NO_ZERO_DATE','INVALID_DATES','ERROR_FOR_DIVISION_BY_ZERO','TRADITIONAL','NO_AUTO_CREATE_USER','HIGH_NOT_PRECEDENCE','NO_ENGINE_SUBSTITUTION','PAD_CHAR_TO_FULL_LENGTH') NOT NULL DEFAULT '',
|
||||||
`comment` char(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
|
`comment` char(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
|
||||||
`originator` int(10) NOT NULL,
|
`originator` int(10) unsigned NOT NULL,
|
||||||
`time_zone` char(64) CHARACTER SET latin1 NOT NULL DEFAULT 'SYSTEM',
|
`time_zone` char(64) CHARACTER SET latin1 NOT NULL DEFAULT 'SYSTEM',
|
||||||
`character_set_client` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
|
`character_set_client` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
|
||||||
`collation_connection` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
|
`collation_connection` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
|
||||||
@ -241,7 +241,7 @@ general_log CREATE TABLE `general_log` (
|
|||||||
`event_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
`event_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||||
`user_host` mediumtext NOT NULL,
|
`user_host` mediumtext NOT NULL,
|
||||||
`thread_id` int(11) NOT NULL,
|
`thread_id` int(11) NOT NULL,
|
||||||
`server_id` int(11) NOT NULL,
|
`server_id` int(10) unsigned NOT NULL,
|
||||||
`command_type` varchar(64) NOT NULL,
|
`command_type` varchar(64) NOT NULL,
|
||||||
`argument` mediumtext NOT NULL
|
`argument` mediumtext NOT NULL
|
||||||
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='General log'
|
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='General log'
|
||||||
@ -257,7 +257,7 @@ slow_log CREATE TABLE `slow_log` (
|
|||||||
`db` varchar(512) NOT NULL,
|
`db` varchar(512) NOT NULL,
|
||||||
`last_insert_id` int(11) NOT NULL,
|
`last_insert_id` int(11) NOT NULL,
|
||||||
`insert_id` int(11) NOT NULL,
|
`insert_id` int(11) NOT NULL,
|
||||||
`server_id` int(11) NOT NULL,
|
`server_id` int(10) unsigned NOT NULL,
|
||||||
`sql_text` mediumtext NOT NULL
|
`sql_text` mediumtext NOT NULL
|
||||||
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='Slow log'
|
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='Slow log'
|
||||||
show tables;
|
show tables;
|
||||||
|
@ -27,6 +27,7 @@ set @my_slow_launch_time =@@global.slow_launch_time;
|
|||||||
set @my_storage_engine =@@global.storage_engine;
|
set @my_storage_engine =@@global.storage_engine;
|
||||||
set @my_thread_cache_size =@@global.thread_cache_size;
|
set @my_thread_cache_size =@@global.thread_cache_size;
|
||||||
set @my_max_allowed_packet =@@global.max_allowed_packet;
|
set @my_max_allowed_packet =@@global.max_allowed_packet;
|
||||||
|
set @my_join_buffer_size =@@global.join_buffer_size;
|
||||||
set @`test`=1;
|
set @`test`=1;
|
||||||
select @test, @`test`, @TEST, @`TEST`, @"teSt";
|
select @test, @`test`, @TEST, @`TEST`, @"teSt";
|
||||||
@test @`test` @TEST @`TEST` @"teSt"
|
@test @`test` @TEST @`TEST` @"teSt"
|
||||||
@ -299,59 +300,107 @@ set @@rand_seed1=10000000,@@rand_seed2=1000000;
|
|||||||
select ROUND(RAND(),5);
|
select ROUND(RAND(),5);
|
||||||
ROUND(RAND(),5)
|
ROUND(RAND(),5)
|
||||||
0.02887
|
0.02887
|
||||||
show variables like '%alloc%';
|
|
||||||
|
==+ Testing %alloc% system variables +==
|
||||||
|
==+ NOTE: These values *must* be a multiple of 1024 +==
|
||||||
|
==+ Other values will be rounded down to nearest multiple +==
|
||||||
|
|
||||||
|
==+ Show initial values +==
|
||||||
|
SHOW VARIABLES WHERE variable_name IN ('range_alloc_block_size',
|
||||||
|
'query_alloc_block_size', 'query_prealloc_size',
|
||||||
|
'transaction_alloc_block_size', 'transaction_prealloc_size');
|
||||||
Variable_name Value
|
Variable_name Value
|
||||||
query_alloc_block_size 8192
|
query_alloc_block_size 8192
|
||||||
query_prealloc_size 8192
|
query_prealloc_size 8192
|
||||||
range_alloc_block_size 4096
|
range_alloc_block_size 4096
|
||||||
transaction_alloc_block_size 8192
|
transaction_alloc_block_size 8192
|
||||||
transaction_prealloc_size 4096
|
transaction_prealloc_size 4096
|
||||||
select * from information_schema.session_variables where variable_name like '%alloc%' order by 1;
|
==+ information_schema data +==
|
||||||
|
SELECT * FROM information_schema.session_variables
|
||||||
|
WHERE variable_name IN ('range_alloc_block_size',
|
||||||
|
'query_alloc_block_size', 'query_prealloc_size',
|
||||||
|
'transaction_alloc_block_size', 'transaction_prealloc_size') ORDER BY 1;
|
||||||
VARIABLE_NAME VARIABLE_VALUE
|
VARIABLE_NAME VARIABLE_VALUE
|
||||||
QUERY_ALLOC_BLOCK_SIZE 8192
|
QUERY_ALLOC_BLOCK_SIZE 8192
|
||||||
QUERY_PREALLOC_SIZE 8192
|
QUERY_PREALLOC_SIZE 8192
|
||||||
RANGE_ALLOC_BLOCK_SIZE 4096
|
RANGE_ALLOC_BLOCK_SIZE 4096
|
||||||
TRANSACTION_ALLOC_BLOCK_SIZE 8192
|
TRANSACTION_ALLOC_BLOCK_SIZE 8192
|
||||||
TRANSACTION_PREALLOC_SIZE 4096
|
TRANSACTION_PREALLOC_SIZE 4096
|
||||||
set @@range_alloc_block_size=1024*16;
|
Testing values that are multiples of 1024
|
||||||
|
set @@range_alloc_block_size=1024*15+1024;
|
||||||
|
set @@query_alloc_block_size=1024*15+1024*2;
|
||||||
|
set @@query_prealloc_size=1024*18-1024;
|
||||||
|
set @@transaction_alloc_block_size=1024*21-1024*1;
|
||||||
|
set @@transaction_prealloc_size=1024*21-2048;
|
||||||
|
==+ Check manipulated values ==+
|
||||||
|
select @@query_alloc_block_size;
|
||||||
|
@@query_alloc_block_size
|
||||||
|
17408
|
||||||
|
SHOW VARIABLES WHERE variable_name IN ('range_alloc_block_size',
|
||||||
|
'query_alloc_block_size', 'query_prealloc_size',
|
||||||
|
'transaction_alloc_block_size', 'transaction_prealloc_size');
|
||||||
|
Variable_name Value
|
||||||
|
query_alloc_block_size 17408
|
||||||
|
query_prealloc_size 17408
|
||||||
|
range_alloc_block_size 16384
|
||||||
|
transaction_alloc_block_size 20480
|
||||||
|
transaction_prealloc_size 19456
|
||||||
|
==+ information_schema data +==
|
||||||
|
SELECT * FROM information_schema.session_variables
|
||||||
|
WHERE variable_name IN ('range_alloc_block_size',
|
||||||
|
'query_alloc_block_size', 'query_prealloc_size',
|
||||||
|
'transaction_alloc_block_size', 'transaction_prealloc_size') ORDER BY 1;
|
||||||
|
VARIABLE_NAME VARIABLE_VALUE
|
||||||
|
QUERY_ALLOC_BLOCK_SIZE 17408
|
||||||
|
QUERY_PREALLOC_SIZE 17408
|
||||||
|
RANGE_ALLOC_BLOCK_SIZE 16384
|
||||||
|
TRANSACTION_ALLOC_BLOCK_SIZE 20480
|
||||||
|
TRANSACTION_PREALLOC_SIZE 19456
|
||||||
|
==+ Manipulate variable values +==
|
||||||
|
Testing values that are not 1024 multiples
|
||||||
|
set @@range_alloc_block_size=1024*16+1023;
|
||||||
set @@query_alloc_block_size=1024*17+2;
|
set @@query_alloc_block_size=1024*17+2;
|
||||||
set @@query_prealloc_size=1024*18;
|
set @@query_prealloc_size=1024*18-1023;
|
||||||
set @@transaction_alloc_block_size=1024*20-1;
|
set @@transaction_alloc_block_size=1024*20-1;
|
||||||
set @@transaction_prealloc_size=1024*21-1;
|
set @@transaction_prealloc_size=1024*21-1;
|
||||||
select @@query_alloc_block_size;
|
select @@query_alloc_block_size;
|
||||||
@@query_alloc_block_size
|
@@query_alloc_block_size
|
||||||
17408
|
17408
|
||||||
show variables like '%alloc%';
|
==+ Check manipulated values ==+
|
||||||
|
SHOW VARIABLES WHERE variable_name IN ('range_alloc_block_size',
|
||||||
|
'query_alloc_block_size', 'query_prealloc_size',
|
||||||
|
'transaction_alloc_block_size', 'transaction_prealloc_size');
|
||||||
Variable_name Value
|
Variable_name Value
|
||||||
query_alloc_block_size 17408
|
query_alloc_block_size 17408
|
||||||
query_prealloc_size 18432
|
query_prealloc_size 17408
|
||||||
range_alloc_block_size 16384
|
range_alloc_block_size 16384
|
||||||
transaction_alloc_block_size 19456
|
transaction_alloc_block_size 19456
|
||||||
transaction_prealloc_size 20480
|
transaction_prealloc_size 20480
|
||||||
select * from information_schema.session_variables where variable_name like '%alloc%' order by 1;
|
==+ information_schema data +==
|
||||||
|
SELECT * FROM information_schema.session_variables
|
||||||
|
WHERE variable_name IN ('range_alloc_block_size',
|
||||||
|
'query_alloc_block_size', 'query_prealloc_size',
|
||||||
|
'transaction_alloc_block_size', 'transaction_prealloc_size') ORDER BY 1;
|
||||||
VARIABLE_NAME VARIABLE_VALUE
|
VARIABLE_NAME VARIABLE_VALUE
|
||||||
QUERY_ALLOC_BLOCK_SIZE 17408
|
QUERY_ALLOC_BLOCK_SIZE 17408
|
||||||
QUERY_PREALLOC_SIZE 18432
|
QUERY_PREALLOC_SIZE 17408
|
||||||
RANGE_ALLOC_BLOCK_SIZE 16384
|
RANGE_ALLOC_BLOCK_SIZE 16384
|
||||||
TRANSACTION_ALLOC_BLOCK_SIZE 19456
|
TRANSACTION_ALLOC_BLOCK_SIZE 19456
|
||||||
TRANSACTION_PREALLOC_SIZE 20480
|
TRANSACTION_PREALLOC_SIZE 20480
|
||||||
|
==+ Set values back to the default values +==
|
||||||
set @@range_alloc_block_size=default;
|
set @@range_alloc_block_size=default;
|
||||||
set @@query_alloc_block_size=default, @@query_prealloc_size=default;
|
set @@query_alloc_block_size=default, @@query_prealloc_size=default;
|
||||||
set transaction_alloc_block_size=default, @@transaction_prealloc_size=default;
|
set transaction_alloc_block_size=default, @@transaction_prealloc_size=default;
|
||||||
show variables like '%alloc%';
|
==+ Check the values now that they are reset +==
|
||||||
|
SHOW VARIABLES WHERE variable_name IN ('range_alloc_block_size',
|
||||||
|
'query_alloc_block_size', 'query_prealloc_size',
|
||||||
|
'transaction_alloc_block_size', 'transaction_prealloc_size');
|
||||||
Variable_name Value
|
Variable_name Value
|
||||||
query_alloc_block_size 8192
|
query_alloc_block_size 8192
|
||||||
query_prealloc_size 8192
|
query_prealloc_size 8192
|
||||||
range_alloc_block_size 4096
|
range_alloc_block_size 4096
|
||||||
transaction_alloc_block_size 8192
|
transaction_alloc_block_size 8192
|
||||||
transaction_prealloc_size 4096
|
transaction_prealloc_size 4096
|
||||||
select * from information_schema.session_variables where variable_name like '%alloc%' order by 1;
|
|
||||||
VARIABLE_NAME VARIABLE_VALUE
|
|
||||||
QUERY_ALLOC_BLOCK_SIZE 8192
|
|
||||||
QUERY_PREALLOC_SIZE 8192
|
|
||||||
RANGE_ALLOC_BLOCK_SIZE 4096
|
|
||||||
TRANSACTION_ALLOC_BLOCK_SIZE 8192
|
|
||||||
TRANSACTION_PREALLOC_SIZE 4096
|
|
||||||
SELECT @@version LIKE 'non-existent';
|
SELECT @@version LIKE 'non-existent';
|
||||||
@@version LIKE 'non-existent'
|
@@version LIKE 'non-existent'
|
||||||
0
|
0
|
||||||
@ -705,7 +754,7 @@ VARIABLE_NAME VARIABLE_VALUE
|
|||||||
MYISAM_DATA_POINTER_SIZE 7
|
MYISAM_DATA_POINTER_SIZE 7
|
||||||
SET GLOBAL table_open_cache=-1;
|
SET GLOBAL table_open_cache=-1;
|
||||||
Warnings:
|
Warnings:
|
||||||
Warning 1292 Truncated incorrect table_open_cache value: '0'
|
Warning 1292 Truncated incorrect table_open_cache value: '-1'
|
||||||
SHOW VARIABLES LIKE 'table_open_cache';
|
SHOW VARIABLES LIKE 'table_open_cache';
|
||||||
Variable_name Value
|
Variable_name Value
|
||||||
table_open_cache 1
|
table_open_cache 1
|
||||||
@ -970,6 +1019,11 @@ show variables like 'hostname';
|
|||||||
Variable_name Value
|
Variable_name Value
|
||||||
hostname #
|
hostname #
|
||||||
End of 5.0 tests
|
End of 5.0 tests
|
||||||
|
set join_buffer_size=1;
|
||||||
|
Warnings:
|
||||||
|
Warning 1292 Truncated incorrect join_buffer_size value: '1'
|
||||||
|
set @save_join_buffer_size=@@join_buffer_size;
|
||||||
|
set join_buffer_size=@save_join_buffer_size;
|
||||||
set global binlog_cache_size =@my_binlog_cache_size;
|
set global binlog_cache_size =@my_binlog_cache_size;
|
||||||
set global connect_timeout =@my_connect_timeout;
|
set global connect_timeout =@my_connect_timeout;
|
||||||
set global delayed_insert_timeout =@my_delayed_insert_timeout;
|
set global delayed_insert_timeout =@my_delayed_insert_timeout;
|
||||||
@ -1000,6 +1054,7 @@ set global slow_launch_time =@my_slow_launch_time;
|
|||||||
set global storage_engine =@my_storage_engine;
|
set global storage_engine =@my_storage_engine;
|
||||||
set global thread_cache_size =@my_thread_cache_size;
|
set global thread_cache_size =@my_thread_cache_size;
|
||||||
set global max_allowed_packet =@my_max_allowed_packet;
|
set global max_allowed_packet =@my_max_allowed_packet;
|
||||||
|
set global join_buffer_size =@my_join_buffer_size;
|
||||||
show global variables where Variable_name='table_definition_cache' or
|
show global variables where Variable_name='table_definition_cache' or
|
||||||
Variable_name='table_lock_wait_timeout';
|
Variable_name='table_lock_wait_timeout';
|
||||||
Variable_name Value
|
Variable_name Value
|
||||||
@ -1341,3 +1396,75 @@ SET @@session.thread_stack= 7;
|
|||||||
ERROR HY000: Variable 'thread_stack' is a read only variable
|
ERROR HY000: Variable 'thread_stack' is a read only variable
|
||||||
SET @@global.thread_stack= 7;
|
SET @@global.thread_stack= 7;
|
||||||
ERROR HY000: Variable 'thread_stack' is a read only variable
|
ERROR HY000: Variable 'thread_stack' is a read only variable
|
||||||
|
SELECT @@global.expire_logs_days INTO @old_eld;
|
||||||
|
SET GLOBAL expire_logs_days = -1;
|
||||||
|
Warnings:
|
||||||
|
Warning 1292 Truncated incorrect expire_logs_days value: '-1'
|
||||||
|
needs to've been adjusted (0)
|
||||||
|
SELECT @@global.expire_logs_days;
|
||||||
|
@@global.expire_logs_days
|
||||||
|
0
|
||||||
|
SET GLOBAL expire_logs_days = 11;
|
||||||
|
SET @old_mode=@@sql_mode;
|
||||||
|
SET SESSION sql_mode = 'TRADITIONAL';
|
||||||
|
SET GLOBAL expire_logs_days = 100;
|
||||||
|
ERROR 42000: Variable 'expire_logs_days' can't be set to the value of '100'
|
||||||
|
needs to be unchanged (11)
|
||||||
|
SELECT @@global.expire_logs_days;
|
||||||
|
@@global.expire_logs_days
|
||||||
|
11
|
||||||
|
SET SESSION sql_mode = @old_mode;
|
||||||
|
SET GLOBAL expire_logs_days = 100;
|
||||||
|
Warnings:
|
||||||
|
Warning 1292 Truncated incorrect expire_logs_days value: '100'
|
||||||
|
needs to've been adjusted (99)
|
||||||
|
SELECT @@global.expire_logs_days;
|
||||||
|
@@global.expire_logs_days
|
||||||
|
99
|
||||||
|
SET GLOBAL expire_logs_days = 11;
|
||||||
|
SET GLOBAL expire_logs_days = 99;
|
||||||
|
needs to pass with no warnings (99)
|
||||||
|
SELECT @@global.expire_logs_days;
|
||||||
|
@@global.expire_logs_days
|
||||||
|
99
|
||||||
|
SET GLOBAL expire_logs_days = @old_eld;
|
||||||
|
SET GLOBAL auto_increment_offset=-1;
|
||||||
|
Warnings:
|
||||||
|
Warning 1292 Truncated incorrect auto_increment_offset value: '-1'
|
||||||
|
SET GLOBAL auto_increment_offset=0;
|
||||||
|
Warnings:
|
||||||
|
Warning 1292 Truncated incorrect auto_increment_offset value: '0'
|
||||||
|
select @@storage_engine;
|
||||||
|
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||||
|
def @@storage_engine 253 6 6 N 1 31 8
|
||||||
|
@@storage_engine
|
||||||
|
MyISAM
|
||||||
|
SET @old_server_id = @@GLOBAL.server_id;
|
||||||
|
SET GLOBAL server_id = (1 << 32) - 1;
|
||||||
|
SELECT @@GLOBAL.server_id;
|
||||||
|
@@GLOBAL.server_id
|
||||||
|
4294967295
|
||||||
|
SET GLOBAL server_id = (1 << 32);
|
||||||
|
Warnings:
|
||||||
|
Warning 1292 Truncated incorrect server_id value: '4294967296'
|
||||||
|
SELECT @@GLOBAL.server_id;
|
||||||
|
@@GLOBAL.server_id
|
||||||
|
4294967295
|
||||||
|
SET GLOBAL server_id = (1 << 60);
|
||||||
|
Warnings:
|
||||||
|
Warning 1292 Truncated incorrect server_id value: '1152921504606846976'
|
||||||
|
SELECT @@GLOBAL.server_id;
|
||||||
|
@@GLOBAL.server_id
|
||||||
|
4294967295
|
||||||
|
SET GLOBAL server_id = 0;
|
||||||
|
SELECT @@GLOBAL.server_id;
|
||||||
|
@@GLOBAL.server_id
|
||||||
|
0
|
||||||
|
SET GLOBAL server_id = -1;
|
||||||
|
Warnings:
|
||||||
|
Warning 1292 Truncated incorrect server_id value: '-1'
|
||||||
|
SELECT @@GLOBAL.server_id;
|
||||||
|
@@GLOBAL.server_id
|
||||||
|
0
|
||||||
|
SET GLOBAL server_id = @old_server_id;
|
||||||
|
End of 5.1 tests
|
||||||
|
@ -3598,7 +3598,7 @@ DROP VIEW v2;
|
|||||||
DROP VIEW v3;
|
DROP VIEW v3;
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
#
|
#
|
||||||
# Bug#29477: Not all fields of the target table were checked to have
|
# Bug#29477 Not all fields of the target table were checked to have
|
||||||
# a default value when inserting into a view.
|
# a default value when inserting into a view.
|
||||||
#
|
#
|
||||||
create table t1(f1 int, f2 int not null);
|
create table t1(f1 int, f2 int not null);
|
||||||
@ -3638,7 +3638,7 @@ MAX(a) COUNT(DISTINCT a)
|
|||||||
DROP VIEW v1;
|
DROP VIEW v1;
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
# -----------------------------------------------------------------
|
# -----------------------------------------------------------------
|
||||||
# -- Bug#34337: Server crash when Altering a view using a table name.
|
# -- Bug#34337 Server crash when Altering a view using a table name.
|
||||||
# -----------------------------------------------------------------
|
# -----------------------------------------------------------------
|
||||||
|
|
||||||
DROP TABLE IF EXISTS t1;
|
DROP TABLE IF EXISTS t1;
|
||||||
@ -3655,7 +3655,7 @@ DROP TABLE t1;
|
|||||||
# -- End of test case for Bug#34337.
|
# -- End of test case for Bug#34337.
|
||||||
|
|
||||||
# -----------------------------------------------------------------
|
# -----------------------------------------------------------------
|
||||||
# -- Bug#35193: VIEW query is rewritten without "FROM DUAL",
|
# -- Bug#35193 VIEW query is rewritten without "FROM DUAL",
|
||||||
# -- causing syntax error
|
# -- causing syntax error
|
||||||
# -----------------------------------------------------------------
|
# -----------------------------------------------------------------
|
||||||
|
|
||||||
@ -3723,7 +3723,7 @@ DROP DATABASE `d-1`;
|
|||||||
USE test;
|
USE test;
|
||||||
|
|
||||||
#
|
#
|
||||||
# Bug#26676: VIEW using old table schema in a session.
|
# Bug#26676 VIEW using old table schema in a session.
|
||||||
#
|
#
|
||||||
|
|
||||||
DROP VIEW IF EXISTS v1;
|
DROP VIEW IF EXISTS v1;
|
||||||
@ -3765,7 +3765,7 @@ DROP TABLE t1;
|
|||||||
# End of test case for Bug#26676.
|
# End of test case for Bug#26676.
|
||||||
|
|
||||||
# -----------------------------------------------------------------
|
# -----------------------------------------------------------------
|
||||||
# -- Bug#32538: View definition picks up character set, but not collation
|
# -- Bug#32538 View definition picks up character set, but not collation
|
||||||
# -----------------------------------------------------------------
|
# -----------------------------------------------------------------
|
||||||
|
|
||||||
DROP VIEW IF EXISTS v1;
|
DROP VIEW IF EXISTS v1;
|
||||||
|
@ -28,7 +28,7 @@ create view v2 as select * from mysqltest.t2;
|
|||||||
ERROR 42000: ANY command denied to user 'mysqltest_1'@'localhost' for table 't2'
|
ERROR 42000: ANY command denied to user 'mysqltest_1'@'localhost' for table 't2'
|
||||||
show create view v1;
|
show create view v1;
|
||||||
View Create View character_set_client collation_connection
|
View Create View character_set_client collation_connection
|
||||||
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`mysqltest_1`@`localhost` SQL SECURITY DEFINER VIEW `test`.`v1` AS select `mysqltest`.`t1`.`a` AS `a`,`mysqltest`.`t1`.`b` AS `b` from `mysqltest`.`t1` latin1 latin1_swedish_ci
|
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`mysqltest_1`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select `mysqltest`.`t1`.`a` AS `a`,`mysqltest`.`t1`.`b` AS `b` from `mysqltest`.`t1` latin1 latin1_swedish_ci
|
||||||
grant create view,drop,select on test.* to mysqltest_1@localhost;
|
grant create view,drop,select on test.* to mysqltest_1@localhost;
|
||||||
use test;
|
use test;
|
||||||
alter view v1 as select * from mysqltest.t1;
|
alter view v1 as select * from mysqltest.t1;
|
||||||
@ -309,7 +309,7 @@ grant create view,select on test.* to mysqltest_1@localhost;
|
|||||||
create view v1 as select * from mysqltest.t1;
|
create view v1 as select * from mysqltest.t1;
|
||||||
show create view v1;
|
show create view v1;
|
||||||
View Create View character_set_client collation_connection
|
View Create View character_set_client collation_connection
|
||||||
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`mysqltest_1`@`localhost` SQL SECURITY DEFINER VIEW `test`.`v1` AS select `mysqltest`.`t1`.`a` AS `a`,`mysqltest`.`t1`.`b` AS `b` from `mysqltest`.`t1` latin1 latin1_swedish_ci
|
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`mysqltest_1`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select `mysqltest`.`t1`.`a` AS `a`,`mysqltest`.`t1`.`b` AS `b` from `mysqltest`.`t1` latin1 latin1_swedish_ci
|
||||||
revoke select on mysqltest.t1 from mysqltest_1@localhost;
|
revoke select on mysqltest.t1 from mysqltest_1@localhost;
|
||||||
select * from v1;
|
select * from v1;
|
||||||
ERROR HY000: View 'test.v1' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
|
ERROR HY000: View 'test.v1' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
|
||||||
@ -790,7 +790,7 @@ v3 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VI
|
|||||||
DROP USER u26813@localhost;
|
DROP USER u26813@localhost;
|
||||||
DROP DATABASE db26813;
|
DROP DATABASE db26813;
|
||||||
#
|
#
|
||||||
# Bug#29908: A user can gain additional access through the ALTER VIEW.
|
# Bug#29908 A user can gain additional access through the ALTER VIEW.
|
||||||
#
|
#
|
||||||
CREATE DATABASE mysqltest_29908;
|
CREATE DATABASE mysqltest_29908;
|
||||||
USE mysqltest_29908;
|
USE mysqltest_29908;
|
||||||
@ -921,6 +921,32 @@ c4
|
|||||||
DROP DATABASE mysqltest1;
|
DROP DATABASE mysqltest1;
|
||||||
DROP DATABASE mysqltest2;
|
DROP DATABASE mysqltest2;
|
||||||
DROP USER mysqltest_u1@localhost;
|
DROP USER mysqltest_u1@localhost;
|
||||||
|
CREATE DATABASE db1;
|
||||||
|
USE db1;
|
||||||
|
CREATE TABLE t1(f1 INT, f2 INT);
|
||||||
|
CREATE VIEW v1 AS SELECT f1, f2 FROM t1;
|
||||||
|
GRANT SELECT (f1) ON t1 TO foo;
|
||||||
|
GRANT SELECT (f1) ON v1 TO foo;
|
||||||
|
USE db1;
|
||||||
|
SELECT f1 FROM t1;
|
||||||
|
f1
|
||||||
|
SELECT f2 FROM t1;
|
||||||
|
ERROR 42000: SELECT command denied to user 'foo'@'localhost' for column 'f2' in table 't1'
|
||||||
|
SELECT * FROM t1;
|
||||||
|
ERROR 42000: SELECT command denied to user 'foo'@'localhost' for table 't1'
|
||||||
|
SELECT f1 FROM v1;
|
||||||
|
f1
|
||||||
|
SELECT f2 FROM v1;
|
||||||
|
ERROR 42000: SELECT command denied to user 'foo'@'localhost' for column 'f2' in table 'v1'
|
||||||
|
SELECT * FROM v1;
|
||||||
|
ERROR 42000: SELECT command denied to user 'foo'@'localhost' for table 'v1'
|
||||||
|
USE test;
|
||||||
|
REVOKE SELECT (f1) ON db1.t1 FROM foo;
|
||||||
|
REVOKE SELECT (f1) ON db1.v1 FROM foo;
|
||||||
|
DROP USER foo;
|
||||||
|
DROP VIEW db1.v1;
|
||||||
|
DROP TABLE db1.t1;
|
||||||
|
DROP DATABASE db1;
|
||||||
End of 5.0 tests.
|
End of 5.0 tests.
|
||||||
DROP VIEW IF EXISTS v1;
|
DROP VIEW IF EXISTS v1;
|
||||||
DROP TABLE IF EXISTS t1;
|
DROP TABLE IF EXISTS t1;
|
||||||
@ -956,6 +982,27 @@ Warnings:
|
|||||||
Warning 1356 View 'test.v1' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
|
Warning 1356 View 'test.v1' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
|
||||||
DROP VIEW v1;
|
DROP VIEW v1;
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
CREATE USER mysqluser1@localhost;
|
||||||
|
CREATE DATABASE mysqltest1;
|
||||||
|
USE mysqltest1;
|
||||||
|
CREATE TABLE t1 ( a INT );
|
||||||
|
CREATE TABLE t2 ( b INT );
|
||||||
|
INSERT INTO t1 VALUES (1), (2);
|
||||||
|
INSERT INTO t2 VALUES (1), (2);
|
||||||
|
GRANT CREATE VIEW ON mysqltest1.* TO mysqluser1@localhost;
|
||||||
|
GRANT SELECT ON t1 TO mysqluser1@localhost;
|
||||||
|
GRANT INSERT ON t2 TO mysqluser1@localhost;
|
||||||
|
This would lead to failed assertion.
|
||||||
|
CREATE VIEW v1 AS SELECT a, b FROM t1, t2;
|
||||||
|
SELECT * FROM v1;
|
||||||
|
ERROR 42000: SELECT command denied to user 'mysqluser1'@'localhost' for table 'v1'
|
||||||
|
SELECT b FROM v1;
|
||||||
|
ERROR 42000: SELECT command denied to user 'mysqluser1'@'localhost' for table 'v1'
|
||||||
|
DROP TABLE t1, t2;
|
||||||
|
DROP VIEW v1;
|
||||||
|
DROP DATABASE mysqltest1;
|
||||||
|
DROP USER mysqluser1@localhost;
|
||||||
|
USE test;
|
||||||
End of 5.1 tests.
|
End of 5.1 tests.
|
||||||
CREATE USER mysqluser1@localhost;
|
CREATE USER mysqluser1@localhost;
|
||||||
CREATE DATABASE mysqltest1;
|
CREATE DATABASE mysqltest1;
|
||||||
@ -996,3 +1043,4 @@ DROP VIEW v1, v2;
|
|||||||
DROP DATABASE mysqltest1;
|
DROP DATABASE mysqltest1;
|
||||||
DROP VIEW test.v3;
|
DROP VIEW test.v3;
|
||||||
DROP USER mysqluser1@localhost;
|
DROP USER mysqluser1@localhost;
|
||||||
|
USE test;
|
||||||
|
BIN
mysql-test/std_data/bug32880.ARN
Normal file
BIN
mysql-test/std_data/bug32880.ARN
Normal file
Binary file not shown.
BIN
mysql-test/std_data/bug32880.ARZ
Normal file
BIN
mysql-test/std_data/bug32880.ARZ
Normal file
Binary file not shown.
BIN
mysql-test/std_data/bug32880.frm
Normal file
BIN
mysql-test/std_data/bug32880.frm
Normal file
Binary file not shown.
@ -38,4 +38,5 @@ DROP PROCEDURE IF EXISTS p2;
|
|||||||
DROP FUNCTION IF EXISTS f1;
|
DROP FUNCTION IF EXISTS f1;
|
||||||
DROP TRIGGER IF EXISTS tr1;
|
DROP TRIGGER IF EXISTS tr1;
|
||||||
stop slave sql_thread;
|
stop slave sql_thread;
|
||||||
|
reset slave;
|
||||||
SET @@global.relay_log_purge= @old_relay_log_purge;
|
SET @@global.relay_log_purge= @old_relay_log_purge;
|
||||||
|
46
mysql-test/suite/binlog/r/binlog_sql_mode.result
Normal file
46
mysql-test/suite/binlog/r/binlog_sql_mode.result
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
stop slave;
|
||||||
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||||
|
reset master;
|
||||||
|
reset slave;
|
||||||
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||||
|
start slave;
|
||||||
|
SET @old_sql_mode= @@global.sql_mode;
|
||||||
|
SET @old_binlog_format=@@session.binlog_format;
|
||||||
|
SET SESSION sql_mode=8;
|
||||||
|
Initialization
|
||||||
|
RESET MASTER;
|
||||||
|
CREATE TABLE t1 (id INT);
|
||||||
|
CREATE PROCEDURE testProc() SELECT * FROM t1;
|
||||||
|
CREATE VIEW testView as SELECT * from t1;
|
||||||
|
CREATE FUNCTION testFunc()
|
||||||
|
RETURNS INT
|
||||||
|
BEGIN
|
||||||
|
return 1;
|
||||||
|
END;|
|
||||||
|
CREATE TRIGGER testTrig BEFORE INSERT ON t1
|
||||||
|
FOR EACH ROW BEGIN
|
||||||
|
UPDATE t1 SET id = id +1;
|
||||||
|
END;|
|
||||||
|
CREATE EVENT testEvent ON SCHEDULE
|
||||||
|
EVERY 1 DAY
|
||||||
|
DO
|
||||||
|
BEGIN
|
||||||
|
UPDATE t1 SET id = id +1;
|
||||||
|
END;|
|
||||||
|
Chceck Result
|
||||||
|
select
|
||||||
|
(@a:=load_file("MYSQLTEST_VARDIR/tmp/mysqlbinlog_bug39526.binlog"))
|
||||||
|
is not null;
|
||||||
|
(@a:=load_file("MYSQLTEST_VARDIR/tmp/mysqlbinlog_bug39526.binlog"))
|
||||||
|
is not null
|
||||||
|
1
|
||||||
|
*** String sql_mode=0 is found: 0 ***
|
||||||
|
Clean Up
|
||||||
|
DROP PROCEDURE testProc;
|
||||||
|
DROP FUNCTION testFunc;
|
||||||
|
DROP TRIGGER testTrig;
|
||||||
|
DROP EVENT testEvent;
|
||||||
|
DROP VIEW testView;
|
||||||
|
DROP TABLE t1;
|
||||||
|
SET @@global.sql_mode= @old_sql_mode;
|
||||||
|
SET @@session.binlog_format=@old_binlog_format;
|
@ -227,3 +227,86 @@ UPDATE t1 SET b = '%s%s%s%s%s%s%s%s%s%s%s%s%s%s' WHERE a = 'a' LIMIT 1;
|
|||||||
Warnings:
|
Warnings:
|
||||||
Warning 1592 Statement is not safe to log in statement format.
|
Warning 1592 Statement is not safe to log in statement format.
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
DROP TABLE IF EXISTS t1, t2;
|
||||||
|
CREATE TABLE t1(i INT PRIMARY KEY);
|
||||||
|
CREATE TABLE t2(i INT PRIMARY KEY);
|
||||||
|
CREATE TABLE t3(i INT, ch CHAR(50));
|
||||||
|
"Should issue message Statement is not safe to log in statement format."
|
||||||
|
INSERT INTO t1 SELECT * FROM t2 LIMIT 1;
|
||||||
|
Warnings:
|
||||||
|
Warning 1592 Statement is not safe to log in statement format.
|
||||||
|
CREATE FUNCTION func6()
|
||||||
|
RETURNS INT
|
||||||
|
BEGIN
|
||||||
|
INSERT INTO t1 VALUES (10);
|
||||||
|
INSERT INTO t1 VALUES (11);
|
||||||
|
INSERT INTO t1 VALUES (12);
|
||||||
|
RETURN 0;
|
||||||
|
END|
|
||||||
|
"Should issue message Statement is not safe to log in statement format only once"
|
||||||
|
INSERT INTO t3 VALUES(func6(), UUID());
|
||||||
|
Warnings:
|
||||||
|
Warning 1592 Statement is not safe to log in statement format.
|
||||||
|
"Check whether SET @@SQL_LOG_BIN = 0/1 doesn't work in substatements"
|
||||||
|
CREATE FUNCTION fun_check_log_bin() RETURNS INT
|
||||||
|
BEGIN
|
||||||
|
SET @@SQL_LOG_BIN = 0;
|
||||||
|
INSERT INTO t1 VALUES(@@global.sync_binlog);
|
||||||
|
RETURN 100;
|
||||||
|
END|
|
||||||
|
"One unsafe warning should be issued in the following statement"
|
||||||
|
SELECT fun_check_log_bin();
|
||||||
|
fun_check_log_bin()
|
||||||
|
100
|
||||||
|
Warnings:
|
||||||
|
Warning 1592 Statement is not safe to log in statement format.
|
||||||
|
"SQL_LOG_BIN should be ON still"
|
||||||
|
SHOW VARIABLES LIKE "SQL_LOG_BIN";
|
||||||
|
Variable_name Value
|
||||||
|
sql_log_bin ON
|
||||||
|
set @save_log_bin = @@SESSION.SQL_LOG_BIN;
|
||||||
|
set @@SESSION.SQL_LOG_BIN = 0;
|
||||||
|
"Should NOT have any warning message issued in the following statements"
|
||||||
|
INSERT INTO t1 SELECT * FROM t2 LIMIT 1;
|
||||||
|
DROP TABLE t1,t2;
|
||||||
|
"Should NOT have any warning message issued in the following func7() and trig"
|
||||||
|
CREATE TABLE t1 (a INT);
|
||||||
|
CREATE TABLE t2 (a CHAR(40));
|
||||||
|
CREATE TABLE trigger_table (a CHAR(7));
|
||||||
|
CREATE FUNCTION func7()
|
||||||
|
RETURNS INT
|
||||||
|
BEGIN
|
||||||
|
INSERT INTO t1 VALUES (@@global.sync_binlog);
|
||||||
|
INSERT INTO t1 VALUES (@@session.insert_id);
|
||||||
|
INSERT INTO t2 SELECT UUID();
|
||||||
|
INSERT INTO t2 VALUES (@@session.sql_mode);
|
||||||
|
INSERT INTO t2 VALUES (@@global.init_slave);
|
||||||
|
RETURN 0;
|
||||||
|
END|
|
||||||
|
SHOW VARIABLES LIKE "SQL_LOG_BIN";
|
||||||
|
Variable_name Value
|
||||||
|
sql_log_bin OFF
|
||||||
|
SELECT func7();
|
||||||
|
func7()
|
||||||
|
0
|
||||||
|
---- Insert from trigger ----
|
||||||
|
CREATE TRIGGER trig
|
||||||
|
BEFORE INSERT ON trigger_table
|
||||||
|
FOR EACH ROW
|
||||||
|
BEGIN
|
||||||
|
INSERT INTO t1 VALUES (@@global.sync_binlog);
|
||||||
|
INSERT INTO t1 VALUES (@@session.insert_id);
|
||||||
|
INSERT INTO t1 VALUES (@@global.auto_increment_increment);
|
||||||
|
INSERT INTO t2 SELECT UUID();
|
||||||
|
INSERT INTO t2 VALUES (@@session.sql_mode);
|
||||||
|
INSERT INTO t2 VALUES (@@global.init_slave);
|
||||||
|
INSERT INTO t2 VALUES (@@hostname);
|
||||||
|
END|
|
||||||
|
INSERT INTO trigger_table VALUES ('bye.');
|
||||||
|
DROP FUNCTION fun_check_log_bin;
|
||||||
|
DROP FUNCTION func6;
|
||||||
|
DROP FUNCTION func7;
|
||||||
|
DROP TRIGGER trig;
|
||||||
|
DROP TABLE t1, t2, t3, trigger_table;
|
||||||
|
set @@SESSION.SQL_LOG_BIN = @save_log_bin;
|
||||||
|
"End of tests"
|
||||||
|
@ -52,9 +52,10 @@ DROP FUNCTION IF EXISTS f1;
|
|||||||
DROP TRIGGER IF EXISTS tr1;
|
DROP TRIGGER IF EXISTS tr1;
|
||||||
enable_warnings;
|
enable_warnings;
|
||||||
|
|
||||||
|
stop slave sql_thread;
|
||||||
|
reset slave;
|
||||||
|
source include/wait_for_slave_sql_to_stop.inc;
|
||||||
remove_file $MYSQLD_DATADIR/slave-relay-bin.000001;
|
remove_file $MYSQLD_DATADIR/slave-relay-bin.000001;
|
||||||
remove_file $MYSQLD_DATADIR/slave-relay-bin.index;
|
remove_file $MYSQLD_DATADIR/slave-relay-bin.index;
|
||||||
stop slave sql_thread;
|
|
||||||
source include/wait_for_slave_sql_to_stop.inc;
|
|
||||||
|
|
||||||
SET @@global.relay_log_purge= @old_relay_log_purge;
|
SET @@global.relay_log_purge= @old_relay_log_purge;
|
||||||
|
76
mysql-test/suite/binlog/t/binlog_sql_mode.test
Normal file
76
mysql-test/suite/binlog/t/binlog_sql_mode.test
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
# ==== Purpose ====
|
||||||
|
#
|
||||||
|
# Test that sql_mode can correct restore before generating the binlog event
|
||||||
|
# when creating CREATEable objects.
|
||||||
|
#
|
||||||
|
# ==== Method ====
|
||||||
|
#
|
||||||
|
# Scan binlog file to check if the sql_mode is still set to 0 before generating binlog event
|
||||||
|
#
|
||||||
|
|
||||||
|
-- source include/master-slave.inc
|
||||||
|
-- source include/have_log_bin.inc
|
||||||
|
|
||||||
|
# BUG#39526 sql_mode not retained in binary log for CREATE PROCEDURE
|
||||||
|
|
||||||
|
SET @old_sql_mode= @@global.sql_mode;
|
||||||
|
SET @old_binlog_format=@@session.binlog_format;
|
||||||
|
let $MYSQLD_DATADIR= `select @@datadir`;
|
||||||
|
SET SESSION sql_mode=8;
|
||||||
|
|
||||||
|
--echo Initialization
|
||||||
|
|
||||||
|
RESET MASTER;
|
||||||
|
CREATE TABLE t1 (id INT);
|
||||||
|
|
||||||
|
CREATE PROCEDURE testProc() SELECT * FROM t1;
|
||||||
|
CREATE VIEW testView as SELECT * from t1;
|
||||||
|
|
||||||
|
DELIMITER |;
|
||||||
|
CREATE FUNCTION testFunc()
|
||||||
|
RETURNS INT
|
||||||
|
BEGIN
|
||||||
|
return 1;
|
||||||
|
END;|
|
||||||
|
DELIMITER ;|
|
||||||
|
|
||||||
|
DELIMITER |;
|
||||||
|
CREATE TRIGGER testTrig BEFORE INSERT ON t1
|
||||||
|
FOR EACH ROW BEGIN
|
||||||
|
UPDATE t1 SET id = id +1;
|
||||||
|
END;|
|
||||||
|
DELIMITER ;|
|
||||||
|
|
||||||
|
DELIMITER |;
|
||||||
|
CREATE EVENT testEvent ON SCHEDULE
|
||||||
|
EVERY 1 DAY
|
||||||
|
DO
|
||||||
|
BEGIN
|
||||||
|
UPDATE t1 SET id = id +1;
|
||||||
|
END;|
|
||||||
|
DELIMITER ;|
|
||||||
|
|
||||||
|
--echo Chceck Result
|
||||||
|
|
||||||
|
let $MYSQLD_DATADIR= `select @@datadir`;
|
||||||
|
--exec $MYSQL_BINLOG $MYSQLD_DATADIR/master-bin.000001 > $MYSQLTEST_VARDIR/tmp/mysqlbinlog_bug39526.binlog
|
||||||
|
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
|
||||||
|
eval select
|
||||||
|
(@a:=load_file("$MYSQLTEST_VARDIR/tmp/mysqlbinlog_bug39526.binlog"))
|
||||||
|
is not null;
|
||||||
|
let $s_mode_unsigned= `select @a like "%@@session.sql_mode=0%" /* must return 0 */`;
|
||||||
|
echo *** String sql_mode=0 is found: $s_mode_unsigned ***;
|
||||||
|
|
||||||
|
--remove_file $MYSQLTEST_VARDIR/tmp/mysqlbinlog_bug39526.binlog
|
||||||
|
|
||||||
|
--echo Clean Up
|
||||||
|
|
||||||
|
DROP PROCEDURE testProc;
|
||||||
|
DROP FUNCTION testFunc;
|
||||||
|
DROP TRIGGER testTrig;
|
||||||
|
DROP EVENT testEvent;
|
||||||
|
DROP VIEW testView;
|
||||||
|
DROP TABLE t1;
|
||||||
|
|
||||||
|
SET @@global.sql_mode= @old_sql_mode;
|
||||||
|
SET @@session.binlog_format=@old_binlog_format;
|
@ -8,6 +8,7 @@
|
|||||||
# executed cannot be determined (e.g., INSERT DELAYED). Such
|
# executed cannot be determined (e.g., INSERT DELAYED). Such
|
||||||
# statements should be marked unsafe. All unsafe statements should
|
# statements should be marked unsafe. All unsafe statements should
|
||||||
# give a warning.
|
# give a warning.
|
||||||
|
# Yet the warning/error message isn't issued when SQL_LOG_BIN is turned off.
|
||||||
#
|
#
|
||||||
# This test verifies that a warning is generated for statements that
|
# This test verifies that a warning is generated for statements that
|
||||||
# should be unsafe, when they are executed under statement mode
|
# should be unsafe, when they are executed under statement mode
|
||||||
@ -32,14 +33,19 @@
|
|||||||
# We try to insert the variables that should not be unsafe into a
|
# We try to insert the variables that should not be unsafe into a
|
||||||
# table, and verify that *no* warning is issued.
|
# table, and verify that *no* warning is issued.
|
||||||
#
|
#
|
||||||
#
|
# Execute a unsafe statement calling a trigger or stored function
|
||||||
|
# or neither when SQL_LOG_BIN is turned ON, a warning/error should be issued
|
||||||
|
# Execute a unsafe statement calling a trigger or stored function
|
||||||
|
# or neither when @@SQL_LOG_BIN is turned OFF,
|
||||||
|
# no warning/error is issued
|
||||||
|
|
||||||
# ==== Related bugs and worklogs ====
|
# ==== Related bugs and worklogs ====
|
||||||
#
|
#
|
||||||
# WL#3339: Issue warnings when statement-based replication may fail
|
# WL#3339: Issue warnings when statement-based replication may fail
|
||||||
# BUG#31168: @@hostname does not replicate
|
# BUG#31168: @@hostname does not replicate
|
||||||
# BUG#34732: mysqlbinlog does not print default values for auto_increment variables
|
# BUG#34732: mysqlbinlog does not print default values for auto_increment variables
|
||||||
# BUG#34768: nondeterministic INSERT using LIMIT logged in stmt mode if binlog_format=mixed
|
# BUG#34768: nondeterministic INSERT using LIMIT logged in stmt mode if binlog_format=mixed
|
||||||
#
|
# BUG#41980, SBL, INSERT .. SELECT .. LIMIT = ERROR, even when @@SQL_LOG_BIN is 0
|
||||||
#
|
#
|
||||||
# ==== Related test cases ====
|
# ==== Related test cases ====
|
||||||
#
|
#
|
||||||
@ -271,3 +277,96 @@ INSERT INTO t1 VALUES ('a','b');
|
|||||||
UPDATE t1 SET b = '%s%s%s%s%s%s%s%s%s%s%s%s%s%s' WHERE a = 'a' LIMIT 1;
|
UPDATE t1 SET b = '%s%s%s%s%s%s%s%s%s%s%s%s%s%s' WHERE a = 'a' LIMIT 1;
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
|
||||||
|
#
|
||||||
|
#For bug#41980, SBL, INSERT .. SELECT .. LIMIT = ERROR, even when @@SQL_LOG_BIN is 0
|
||||||
|
#
|
||||||
|
|
||||||
|
--disable_warnings
|
||||||
|
DROP TABLE IF EXISTS t1, t2;
|
||||||
|
--enable_warnings
|
||||||
|
CREATE TABLE t1(i INT PRIMARY KEY);
|
||||||
|
CREATE TABLE t2(i INT PRIMARY KEY);
|
||||||
|
CREATE TABLE t3(i INT, ch CHAR(50));
|
||||||
|
|
||||||
|
--echo "Should issue message Statement is not safe to log in statement format."
|
||||||
|
INSERT INTO t1 SELECT * FROM t2 LIMIT 1;
|
||||||
|
|
||||||
|
DELIMITER |;
|
||||||
|
CREATE FUNCTION func6()
|
||||||
|
RETURNS INT
|
||||||
|
BEGIN
|
||||||
|
INSERT INTO t1 VALUES (10);
|
||||||
|
INSERT INTO t1 VALUES (11);
|
||||||
|
INSERT INTO t1 VALUES (12);
|
||||||
|
RETURN 0;
|
||||||
|
END|
|
||||||
|
DELIMITER ;|
|
||||||
|
--echo "Should issue message Statement is not safe to log in statement format only once"
|
||||||
|
INSERT INTO t3 VALUES(func6(), UUID());
|
||||||
|
|
||||||
|
--echo "Check whether SET @@SQL_LOG_BIN = 0/1 doesn't work in substatements"
|
||||||
|
DELIMITER |;
|
||||||
|
CREATE FUNCTION fun_check_log_bin() RETURNS INT
|
||||||
|
BEGIN
|
||||||
|
SET @@SQL_LOG_BIN = 0;
|
||||||
|
INSERT INTO t1 VALUES(@@global.sync_binlog);
|
||||||
|
RETURN 100;
|
||||||
|
END|
|
||||||
|
DELIMITER ;|
|
||||||
|
--echo "One unsafe warning should be issued in the following statement"
|
||||||
|
SELECT fun_check_log_bin();
|
||||||
|
--echo "SQL_LOG_BIN should be ON still"
|
||||||
|
SHOW VARIABLES LIKE "SQL_LOG_BIN";
|
||||||
|
|
||||||
|
set @save_log_bin = @@SESSION.SQL_LOG_BIN;
|
||||||
|
set @@SESSION.SQL_LOG_BIN = 0;
|
||||||
|
--echo "Should NOT have any warning message issued in the following statements"
|
||||||
|
INSERT INTO t1 SELECT * FROM t2 LIMIT 1;
|
||||||
|
DROP TABLE t1,t2;
|
||||||
|
|
||||||
|
--echo "Should NOT have any warning message issued in the following func7() and trig"
|
||||||
|
CREATE TABLE t1 (a INT);
|
||||||
|
CREATE TABLE t2 (a CHAR(40));
|
||||||
|
CREATE TABLE trigger_table (a CHAR(7));
|
||||||
|
DELIMITER |;
|
||||||
|
CREATE FUNCTION func7()
|
||||||
|
RETURNS INT
|
||||||
|
BEGIN
|
||||||
|
INSERT INTO t1 VALUES (@@global.sync_binlog);
|
||||||
|
INSERT INTO t1 VALUES (@@session.insert_id);
|
||||||
|
INSERT INTO t2 SELECT UUID();
|
||||||
|
INSERT INTO t2 VALUES (@@session.sql_mode);
|
||||||
|
INSERT INTO t2 VALUES (@@global.init_slave);
|
||||||
|
RETURN 0;
|
||||||
|
END|
|
||||||
|
DELIMITER ;|
|
||||||
|
SHOW VARIABLES LIKE "SQL_LOG_BIN";
|
||||||
|
SELECT func7();
|
||||||
|
|
||||||
|
--echo ---- Insert from trigger ----
|
||||||
|
|
||||||
|
DELIMITER |;
|
||||||
|
CREATE TRIGGER trig
|
||||||
|
BEFORE INSERT ON trigger_table
|
||||||
|
FOR EACH ROW
|
||||||
|
BEGIN
|
||||||
|
INSERT INTO t1 VALUES (@@global.sync_binlog);
|
||||||
|
INSERT INTO t1 VALUES (@@session.insert_id);
|
||||||
|
INSERT INTO t1 VALUES (@@global.auto_increment_increment);
|
||||||
|
INSERT INTO t2 SELECT UUID();
|
||||||
|
INSERT INTO t2 VALUES (@@session.sql_mode);
|
||||||
|
INSERT INTO t2 VALUES (@@global.init_slave);
|
||||||
|
INSERT INTO t2 VALUES (@@hostname);
|
||||||
|
END|
|
||||||
|
DELIMITER ;|
|
||||||
|
|
||||||
|
INSERT INTO trigger_table VALUES ('bye.');
|
||||||
|
|
||||||
|
#clean up
|
||||||
|
DROP FUNCTION fun_check_log_bin;
|
||||||
|
DROP FUNCTION func6;
|
||||||
|
DROP FUNCTION func7;
|
||||||
|
DROP TRIGGER trig;
|
||||||
|
DROP TABLE t1, t2, t3, trigger_table;
|
||||||
|
set @@SESSION.SQL_LOG_BIN = @save_log_bin;
|
||||||
|
--echo "End of tests"
|
||||||
|
@ -5245,7 +5245,7 @@ WHERE select_id = 1 OR select_id IS NULL order by id;
|
|||||||
sqrt(my_bigint) my_bigint id
|
sqrt(my_bigint) my_bigint id
|
||||||
NULL NULL 1
|
NULL NULL 1
|
||||||
NULL -9223372036854775808 2
|
NULL -9223372036854775808 2
|
||||||
3037000499.976 9223372036854775807 3
|
3037000499.97605 9223372036854775807 3
|
||||||
0 0 4
|
0 0 4
|
||||||
NULL -1 5
|
NULL -1 5
|
||||||
2 4 6
|
2 4 6
|
||||||
@ -5259,7 +5259,7 @@ WHERE select_id = 1 OR select_id IS NULL) order by id;
|
|||||||
sqrt(my_bigint) my_bigint id
|
sqrt(my_bigint) my_bigint id
|
||||||
NULL NULL 1
|
NULL NULL 1
|
||||||
NULL -9223372036854775808 2
|
NULL -9223372036854775808 2
|
||||||
3037000499.976 9223372036854775807 3
|
3037000499.97605 9223372036854775807 3
|
||||||
0 0 4
|
0 0 4
|
||||||
NULL -1 5
|
NULL -1 5
|
||||||
2 4 6
|
2 4 6
|
||||||
|
@ -21367,7 +21367,7 @@ ERROR 42S02: Table 'test.v1' doesn't exist
|
|||||||
CHECK TABLE v1;
|
CHECK TABLE v1;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.v1 check Error Table 'test.v1' doesn't exist
|
test.v1 check Error Table 'test.v1' doesn't exist
|
||||||
test.v1 check error Corrupt
|
test.v1 check status Operation failed
|
||||||
DESCRIBE v1;
|
DESCRIBE v1;
|
||||||
ERROR 42S02: Table 'test.v1' doesn't exist
|
ERROR 42S02: Table 'test.v1' doesn't exist
|
||||||
EXPLAIN SELECT * FROM v1;
|
EXPLAIN SELECT * FROM v1;
|
||||||
@ -22824,7 +22824,7 @@ f1 f2
|
|||||||
ABC 3
|
ABC 3
|
||||||
SELECT * FROM v1 order by 2;
|
SELECT * FROM v1 order by 2;
|
||||||
f1 my_sqrt
|
f1 my_sqrt
|
||||||
ABC 1.7320508075689
|
ABC 1.73205080756888
|
||||||
ALTER TABLE t1 CHANGE COLUMN f2 f2 VARCHAR(30);
|
ALTER TABLE t1 CHANGE COLUMN f2 f2 VARCHAR(30);
|
||||||
INSERT INTO t1 SET f1 = 'ABC', f2 = 'DEF';
|
INSERT INTO t1 SET f1 = 'ABC', f2 = 'DEF';
|
||||||
DESCRIBE t1;
|
DESCRIBE t1;
|
||||||
@ -22842,7 +22842,7 @@ ABC DEF
|
|||||||
SELECT * FROM v1 order by 2;
|
SELECT * FROM v1 order by 2;
|
||||||
f1 my_sqrt
|
f1 my_sqrt
|
||||||
ABC 0
|
ABC 0
|
||||||
ABC 1.7320508075689
|
ABC 1.73205080756888
|
||||||
SELECT SQRT('DEF');
|
SELECT SQRT('DEF');
|
||||||
SQRT('DEF')
|
SQRT('DEF')
|
||||||
0
|
0
|
||||||
@ -22862,7 +22862,7 @@ my_sqrt double YES NULL
|
|||||||
SELECT * FROM v2 order by 2;
|
SELECT * FROM v2 order by 2;
|
||||||
f1 my_sqrt
|
f1 my_sqrt
|
||||||
ABC 0
|
ABC 0
|
||||||
ABC 1.7320508075689
|
ABC 1.73205080756888
|
||||||
CREATE TABLE t2 AS SELECT f1, SQRT(f2) my_sqrt FROM t1;
|
CREATE TABLE t2 AS SELECT f1, SQRT(f2) my_sqrt FROM t1;
|
||||||
SELECT * FROM t2 order by 2;
|
SELECT * FROM t2 order by 2;
|
||||||
f1 ABC
|
f1 ABC
|
||||||
|
@ -485,7 +485,7 @@ NULL test tb1 f6 6 NULL YES mediumtext 16777215 16777215 NULL NULL latin1 latin1
|
|||||||
NULL test tb1 f7 7 NULL YES longtext 4294967295 4294967295 NULL NULL latin1 latin1_swedish_ci longtext select,insert,update,references
|
NULL test tb1 f7 7 NULL YES longtext 4294967295 4294967295 NULL NULL latin1 latin1_swedish_ci longtext select,insert,update,references
|
||||||
NULL test tb1 f8 8 NULL YES tinyblob 255 255 NULL NULL NULL NULL tinyblob select,insert,update,references
|
NULL test tb1 f8 8 NULL YES tinyblob 255 255 NULL NULL NULL NULL tinyblob select,insert,update,references
|
||||||
NULL test tb1 f9 9 NULL YES blob 65535 65535 NULL NULL NULL NULL blob select,insert,update,references
|
NULL test tb1 f9 9 NULL YES blob 65535 65535 NULL NULL NULL NULL blob select,insert,update,references
|
||||||
NULL test tb2 f100 42 00000000000000000008.8 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb2 f100 42 00000000000000000008.8 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f101 43 2000-01-01 NO date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
NULL test tb2 f101 43 2000-01-01 NO date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
||||||
NULL test tb2 f102 44 00:00:20 NO time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
NULL test tb2 f102 44 00:00:20 NO time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
||||||
NULL test tb2 f103 45 0002-02-02 00:00:00 NO datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
NULL test tb2 f103 45 0002-02-02 00:00:00 NO datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
||||||
@ -510,32 +510,32 @@ NULL test tb2 f70 12 NULL YES decimal NULL NULL 63 30 NULL NULL decimal(63,30) u
|
|||||||
NULL test tb2 f71 13 NULL YES decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
NULL test tb2 f71 13 NULL YES decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f72 14 NULL YES decimal NULL NULL 63 30 NULL NULL decimal(63,30) unsigned zerofill select,insert,update,references
|
NULL test tb2 f72 14 NULL YES decimal NULL NULL 63 30 NULL NULL decimal(63,30) unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f73 15 NULL YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test tb2 f73 15 NULL YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test tb2 f74 16 NULL YES double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test tb2 f74 16 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test tb2 f75 17 NULL YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb2 f75 17 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f76 18 NULL YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb2 f76 18 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f77 19 7.7 YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test tb2 f77 19 7.7 YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test tb2 f78 20 7.7 YES double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test tb2 f78 20 7.7 YES double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test tb2 f79 21 00000000000000000007.7 YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb2 f79 21 00000000000000000007.7 YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f80 22 00000000000000000008.8 YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb2 f80 22 00000000000000000008.8 YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f81 23 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb2 f81 23 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb2 f82 24 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb2 f82 24 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb2 f83 25 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f83 25 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f84 26 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f84 26 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f85 27 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb2 f85 27 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb2 f86 28 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb2 f86 28 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb2 f87 29 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb2 f87 29 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb2 f88 30 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb2 f88 30 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb2 f89 31 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f89 31 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f90 32 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f90 32 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f91 33 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f91 33 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f92 34 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f92 34 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f93 35 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb2 f93 35 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb2 f94 36 8.8 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test tb2 f94 36 8.8 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test tb2 f95 37 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb2 f95 37 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb2 f96 38 8.8 NO double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test tb2 f96 38 8.8 NO double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test tb2 f97 39 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f97 39 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f98 40 00000000000000000008.8 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb2 f98 40 00000000000000000008.8 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f99 41 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f99 41 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb3 f118 1 a NO char 1 1 NULL NULL latin1 latin1_swedish_ci char(1) select,insert,update,references
|
NULL test tb3 f118 1 a NO char 1 1 NULL NULL latin1 latin1_swedish_ci char(1) select,insert,update,references
|
||||||
NULL test tb3 f119 2 NO char 1 1 NULL NULL latin1 latin1_bin char(1) select,insert,update,references
|
NULL test tb3 f119 2 NO char 1 1 NULL NULL latin1 latin1_bin char(1) select,insert,update,references
|
||||||
NULL test tb3 f120 3 NO char 1 1 NULL NULL latin1 latin1_swedish_ci char(1) select,insert,update,references
|
NULL test tb3 f120 3 NO char 1 1 NULL NULL latin1 latin1_swedish_ci char(1) select,insert,update,references
|
||||||
@ -609,33 +609,33 @@ NULL test tb4 f187 12 000000000000000000000000000000009.000000000000000000000000
|
|||||||
NULL test tb4 f188 13 0000000009 NO decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
NULL test tb4 f188 13 0000000009 NO decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f189 14 000000000000000000000000000000009.000000000000000000000000000000 NO decimal NULL NULL 63 30 NULL NULL decimal(63,30) unsigned zerofill select,insert,update,references
|
NULL test tb4 f189 14 000000000000000000000000000000009.000000000000000000000000000000 NO decimal NULL NULL 63 30 NULL NULL decimal(63,30) unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f190 15 88.8 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test tb4 f190 15 88.8 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test tb4 f191 16 88.8 NO double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test tb4 f191 16 88.8 NO double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test tb4 f192 17 00000000000000000088.8 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb4 f192 17 00000000000000000088.8 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f193 18 00000000000000000088.8 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb4 f193 18 00000000000000000088.8 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f194 19 55.5 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test tb4 f194 19 55.5 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test tb4 f195 20 55.5 NO double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test tb4 f195 20 55.5 NO double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test tb4 f196 21 00000000000000000055.5 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb4 f196 21 00000000000000000055.5 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f197 22 00000000000000000055.5 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb4 f197 22 00000000000000000055.5 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f198 23 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb4 f198 23 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb4 f199 24 NULL YES float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb4 f199 24 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb4 f200 25 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f200 25 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f201 26 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f201 26 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f202 27 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb4 f202 27 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb4 f203 28 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb4 f203 28 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb4 f204 29 NULL YES float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb4 f204 29 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb4 f205 30 NULL YES float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb4 f205 30 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb4 f206 31 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f206 31 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f207 32 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f207 32 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f208 33 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f208 33 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f209 34 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f209 34 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f210 35 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb4 f210 35 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb4 f211 36 NULL YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test tb4 f211 36 NULL YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test tb4 f212 37 NULL YES float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb4 f212 37 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb4 f213 38 NULL YES double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test tb4 f213 38 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test tb4 f214 39 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f214 39 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f215 40 NULL YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb4 f215 40 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f216 41 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f216 41 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f217 42 NULL YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb4 f217 42 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f218 43 NULL YES date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
NULL test tb4 f218 43 NULL YES date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
||||||
NULL test tb4 f219 44 NULL YES time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
NULL test tb4 f219 44 NULL YES time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
||||||
NULL test tb4 f220 45 NULL YES datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
NULL test tb4 f220 45 NULL YES datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
||||||
@ -652,7 +652,7 @@ NULL test tb4 f238 55 NULL YES varchar 0 0 NULL NULL latin1 latin1_swedish_ci va
|
|||||||
NULL test tb4 f239 56 NULL YES varchar 20000 20000 NULL NULL latin1 latin1_bin varchar(20000) select,insert,update,references
|
NULL test tb4 f239 56 NULL YES varchar 20000 20000 NULL NULL latin1 latin1_bin varchar(20000) select,insert,update,references
|
||||||
NULL test tb4 f240 57 NULL YES varchar 2000 2000 NULL NULL latin1 latin1_swedish_ci varchar(2000) select,insert,update,references
|
NULL test tb4 f240 57 NULL YES varchar 2000 2000 NULL NULL latin1 latin1_swedish_ci varchar(2000) select,insert,update,references
|
||||||
NULL test tb4 f241 58 NULL YES char 100 100 NULL NULL latin1 latin1_swedish_ci char(100) select,insert,update,references
|
NULL test tb4 f241 58 NULL YES char 100 100 NULL NULL latin1 latin1_swedish_ci char(100) select,insert,update,references
|
||||||
NULL test1 tb2 f100 42 00000000000000000008.8 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f100 42 00000000000000000008.8 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f101 43 2000-01-01 NO date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
NULL test1 tb2 f101 43 2000-01-01 NO date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
||||||
NULL test1 tb2 f102 44 00:00:20 NO time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
NULL test1 tb2 f102 44 00:00:20 NO time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
||||||
NULL test1 tb2 f103 45 0002-02-02 00:00:00 NO datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
NULL test1 tb2 f103 45 0002-02-02 00:00:00 NO datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
||||||
@ -677,32 +677,32 @@ NULL test1 tb2 f70 12 NULL YES decimal NULL NULL 63 30 NULL NULL decimal(63,30)
|
|||||||
NULL test1 tb2 f71 13 NULL YES decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f71 13 NULL YES decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f72 14 NULL YES decimal NULL NULL 63 30 NULL NULL decimal(63,30) unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f72 14 NULL YES decimal NULL NULL 63 30 NULL NULL decimal(63,30) unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f73 15 NULL YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test1 tb2 f73 15 NULL YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test1 tb2 f74 16 NULL YES double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test1 tb2 f74 16 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f75 17 NULL YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f75 17 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f76 18 NULL YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f76 18 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f77 19 7.7 YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test1 tb2 f77 19 7.7 YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test1 tb2 f78 20 7.7 YES double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test1 tb2 f78 20 7.7 YES double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f79 21 00000000000000000007.7 YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f79 21 00000000000000000007.7 YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f80 22 00000000000000000008.8 YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f80 22 00000000000000000008.8 YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f81 23 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test1 tb2 f81 23 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test1 tb2 f82 24 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test1 tb2 f82 24 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f83 25 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f83 25 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f84 26 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f84 26 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f85 27 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test1 tb2 f85 27 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test1 tb2 f86 28 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test1 tb2 f86 28 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test1 tb2 f87 29 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test1 tb2 f87 29 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f88 30 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test1 tb2 f88 30 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f89 31 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f89 31 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f90 32 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f90 32 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f91 33 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f91 33 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f92 34 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f92 34 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f93 35 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test1 tb2 f93 35 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test1 tb2 f94 36 8.8 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test1 tb2 f94 36 8.8 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test1 tb2 f95 37 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test1 tb2 f95 37 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f96 38 8.8 NO double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test1 tb2 f96 38 8.8 NO double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f97 39 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f97 39 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f98 40 00000000000000000008.8 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f98 40 00000000000000000008.8 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f99 41 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f99 41 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test4 t6 f1 1 NULL YES char 20 20 NULL NULL latin1 latin1_swedish_ci char(20) select,insert,update,references
|
NULL test4 t6 f1 1 NULL YES char 20 20 NULL NULL latin1 latin1_swedish_ci char(20) select,insert,update,references
|
||||||
NULL test4 t6 f2 2 NULL YES char 25 25 NULL NULL latin1 latin1_swedish_ci char(25) select,insert,update,references
|
NULL test4 t6 f2 2 NULL YES char 25 25 NULL NULL latin1 latin1_swedish_ci char(25) select,insert,update,references
|
||||||
NULL test4 t6 f3 3 NULL YES date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
NULL test4 t6 f3 3 NULL YES date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
||||||
@ -762,11 +762,7 @@ NULL date NULL NULL
|
|||||||
NULL datetime NULL NULL
|
NULL datetime NULL NULL
|
||||||
NULL decimal NULL NULL
|
NULL decimal NULL NULL
|
||||||
NULL double NULL NULL
|
NULL double NULL NULL
|
||||||
NULL double unsigned NULL NULL
|
|
||||||
NULL double unsigned zerofill NULL NULL
|
|
||||||
NULL float NULL NULL
|
NULL float NULL NULL
|
||||||
NULL float unsigned NULL NULL
|
|
||||||
NULL float unsigned zerofill NULL NULL
|
|
||||||
NULL int NULL NULL
|
NULL int NULL NULL
|
||||||
NULL mediumint NULL NULL
|
NULL mediumint NULL NULL
|
||||||
NULL smallint NULL NULL
|
NULL smallint NULL NULL
|
||||||
@ -910,33 +906,33 @@ NULL test tb2 f70 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
|||||||
NULL test tb2 f71 decimal NULL NULL NULL NULL decimal(10,0) unsigned zerofill
|
NULL test tb2 f71 decimal NULL NULL NULL NULL decimal(10,0) unsigned zerofill
|
||||||
NULL test tb2 f72 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
NULL test tb2 f72 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
||||||
NULL test tb2 f73 double NULL NULL NULL NULL double
|
NULL test tb2 f73 double NULL NULL NULL NULL double
|
||||||
NULL test tb2 f74 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test tb2 f74 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test tb2 f75 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb2 f75 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb2 f76 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb2 f76 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb2 f77 double NULL NULL NULL NULL double
|
NULL test tb2 f77 double NULL NULL NULL NULL double
|
||||||
NULL test tb2 f78 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test tb2 f78 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test tb2 f79 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb2 f79 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb2 f80 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb2 f80 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb2 f81 float NULL NULL NULL NULL float
|
NULL test tb2 f81 float NULL NULL NULL NULL float
|
||||||
NULL test tb2 f82 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb2 f82 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb2 f83 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f83 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f84 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f84 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f85 float NULL NULL NULL NULL float
|
NULL test tb2 f85 float NULL NULL NULL NULL float
|
||||||
NULL test tb2 f86 float NULL NULL NULL NULL float
|
NULL test tb2 f86 float NULL NULL NULL NULL float
|
||||||
NULL test tb2 f87 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb2 f87 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb2 f88 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb2 f88 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb2 f89 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f89 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f90 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f90 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f91 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f91 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f92 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f92 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f93 float NULL NULL NULL NULL float
|
NULL test tb2 f93 float NULL NULL NULL NULL float
|
||||||
NULL test tb2 f94 double NULL NULL NULL NULL double
|
NULL test tb2 f94 double NULL NULL NULL NULL double
|
||||||
NULL test tb2 f95 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb2 f95 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb2 f96 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test tb2 f96 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test tb2 f97 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f97 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f98 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb2 f98 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb2 f99 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f99 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f100 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb2 f100 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb2 f101 date NULL NULL NULL NULL date
|
NULL test tb2 f101 date NULL NULL NULL NULL date
|
||||||
NULL test tb2 f102 time NULL NULL NULL NULL time
|
NULL test tb2 f102 time NULL NULL NULL NULL time
|
||||||
NULL test tb2 f103 datetime NULL NULL NULL NULL datetime
|
NULL test tb2 f103 datetime NULL NULL NULL NULL datetime
|
||||||
@ -1019,33 +1015,33 @@ NULL test tb4 f187 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
|||||||
NULL test tb4 f188 decimal NULL NULL NULL NULL decimal(10,0) unsigned zerofill
|
NULL test tb4 f188 decimal NULL NULL NULL NULL decimal(10,0) unsigned zerofill
|
||||||
NULL test tb4 f189 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
NULL test tb4 f189 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
||||||
NULL test tb4 f190 double NULL NULL NULL NULL double
|
NULL test tb4 f190 double NULL NULL NULL NULL double
|
||||||
NULL test tb4 f191 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test tb4 f191 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test tb4 f192 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb4 f192 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb4 f193 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb4 f193 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb4 f194 double NULL NULL NULL NULL double
|
NULL test tb4 f194 double NULL NULL NULL NULL double
|
||||||
NULL test tb4 f195 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test tb4 f195 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test tb4 f196 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb4 f196 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb4 f197 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb4 f197 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb4 f198 float NULL NULL NULL NULL float
|
NULL test tb4 f198 float NULL NULL NULL NULL float
|
||||||
NULL test tb4 f199 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb4 f199 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb4 f200 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f200 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f201 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f201 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f202 float NULL NULL NULL NULL float
|
NULL test tb4 f202 float NULL NULL NULL NULL float
|
||||||
NULL test tb4 f203 float NULL NULL NULL NULL float
|
NULL test tb4 f203 float NULL NULL NULL NULL float
|
||||||
NULL test tb4 f204 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb4 f204 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb4 f205 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb4 f205 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb4 f206 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f206 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f207 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f207 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f208 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f208 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f209 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f209 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f210 float NULL NULL NULL NULL float
|
NULL test tb4 f210 float NULL NULL NULL NULL float
|
||||||
NULL test tb4 f211 double NULL NULL NULL NULL double
|
NULL test tb4 f211 double NULL NULL NULL NULL double
|
||||||
NULL test tb4 f212 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb4 f212 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb4 f213 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test tb4 f213 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test tb4 f214 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f214 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f215 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb4 f215 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb4 f216 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f216 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f217 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb4 f217 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb4 f218 date NULL NULL NULL NULL date
|
NULL test tb4 f218 date NULL NULL NULL NULL date
|
||||||
NULL test tb4 f219 time NULL NULL NULL NULL time
|
NULL test tb4 f219 time NULL NULL NULL NULL time
|
||||||
NULL test tb4 f220 datetime NULL NULL NULL NULL datetime
|
NULL test tb4 f220 datetime NULL NULL NULL NULL datetime
|
||||||
@ -1077,33 +1073,33 @@ NULL test1 tb2 f70 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
|||||||
NULL test1 tb2 f71 decimal NULL NULL NULL NULL decimal(10,0) unsigned zerofill
|
NULL test1 tb2 f71 decimal NULL NULL NULL NULL decimal(10,0) unsigned zerofill
|
||||||
NULL test1 tb2 f72 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
NULL test1 tb2 f72 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
||||||
NULL test1 tb2 f73 double NULL NULL NULL NULL double
|
NULL test1 tb2 f73 double NULL NULL NULL NULL double
|
||||||
NULL test1 tb2 f74 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test1 tb2 f74 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test1 tb2 f75 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test1 tb2 f75 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test1 tb2 f76 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test1 tb2 f76 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test1 tb2 f77 double NULL NULL NULL NULL double
|
NULL test1 tb2 f77 double NULL NULL NULL NULL double
|
||||||
NULL test1 tb2 f78 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test1 tb2 f78 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test1 tb2 f79 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test1 tb2 f79 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test1 tb2 f80 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test1 tb2 f80 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test1 tb2 f81 float NULL NULL NULL NULL float
|
NULL test1 tb2 f81 float NULL NULL NULL NULL float
|
||||||
NULL test1 tb2 f82 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test1 tb2 f82 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test1 tb2 f83 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f83 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f84 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f84 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f85 float NULL NULL NULL NULL float
|
NULL test1 tb2 f85 float NULL NULL NULL NULL float
|
||||||
NULL test1 tb2 f86 float NULL NULL NULL NULL float
|
NULL test1 tb2 f86 float NULL NULL NULL NULL float
|
||||||
NULL test1 tb2 f87 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test1 tb2 f87 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test1 tb2 f88 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test1 tb2 f88 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test1 tb2 f89 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f89 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f90 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f90 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f91 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f91 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f92 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f92 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f93 float NULL NULL NULL NULL float
|
NULL test1 tb2 f93 float NULL NULL NULL NULL float
|
||||||
NULL test1 tb2 f94 double NULL NULL NULL NULL double
|
NULL test1 tb2 f94 double NULL NULL NULL NULL double
|
||||||
NULL test1 tb2 f95 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test1 tb2 f95 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test1 tb2 f96 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test1 tb2 f96 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test1 tb2 f97 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f97 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f98 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test1 tb2 f98 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test1 tb2 f99 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f99 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f100 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test1 tb2 f100 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test1 tb2 f101 date NULL NULL NULL NULL date
|
NULL test1 tb2 f101 date NULL NULL NULL NULL date
|
||||||
NULL test1 tb2 f102 time NULL NULL NULL NULL time
|
NULL test1 tb2 f102 time NULL NULL NULL NULL time
|
||||||
NULL test1 tb2 f103 datetime NULL NULL NULL NULL datetime
|
NULL test1 tb2 f103 datetime NULL NULL NULL NULL datetime
|
||||||
|
@ -466,7 +466,7 @@ NULL test tb1 f55 47 0000000099 NO decimal NULL NULL 10 0 NULL NULL decimal(10,0
|
|||||||
NULL test tb1 f56 48 0000000099 NO decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
NULL test tb1 f56 48 0000000099 NO decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
||||||
NULL test tb1 f57 49 99 NO decimal NULL NULL 10 0 NULL NULL decimal(10,0) select,insert,update,references
|
NULL test tb1 f57 49 99 NO decimal NULL NULL 10 0 NULL NULL decimal(10,0) select,insert,update,references
|
||||||
NULL test tb1 f58 50 99 NO decimal NULL NULL 64 0 NULL NULL decimal(64,0) select,insert,update,references
|
NULL test tb1 f58 50 99 NO decimal NULL NULL 64 0 NULL NULL decimal(64,0) select,insert,update,references
|
||||||
NULL test tb2 f100 42 00000000000000000008.8 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb2 f100 42 00000000000000000008.8 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f101 43 2000-01-01 NO date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
NULL test tb2 f101 43 2000-01-01 NO date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
||||||
NULL test tb2 f102 44 00:00:20 NO time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
NULL test tb2 f102 44 00:00:20 NO time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
||||||
NULL test tb2 f103 45 0002-02-02 00:00:00 NO datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
NULL test tb2 f103 45 0002-02-02 00:00:00 NO datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
||||||
@ -491,32 +491,32 @@ NULL test tb2 f70 12 NULL YES decimal NULL NULL 63 30 NULL NULL decimal(63,30) u
|
|||||||
NULL test tb2 f71 13 NULL YES decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
NULL test tb2 f71 13 NULL YES decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f72 14 NULL YES decimal NULL NULL 63 30 NULL NULL decimal(63,30) unsigned zerofill select,insert,update,references
|
NULL test tb2 f72 14 NULL YES decimal NULL NULL 63 30 NULL NULL decimal(63,30) unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f73 15 NULL YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test tb2 f73 15 NULL YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test tb2 f74 16 NULL YES double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test tb2 f74 16 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test tb2 f75 17 NULL YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb2 f75 17 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f76 18 NULL YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb2 f76 18 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f77 19 7.7 YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test tb2 f77 19 7.7 YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test tb2 f78 20 7.7 YES double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test tb2 f78 20 7.7 YES double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test tb2 f79 21 00000000000000000007.7 YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb2 f79 21 00000000000000000007.7 YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f80 22 00000000000000000008.8 YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb2 f80 22 00000000000000000008.8 YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f81 23 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb2 f81 23 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb2 f82 24 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb2 f82 24 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb2 f83 25 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f83 25 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f84 26 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f84 26 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f85 27 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb2 f85 27 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb2 f86 28 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb2 f86 28 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb2 f87 29 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb2 f87 29 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb2 f88 30 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb2 f88 30 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb2 f89 31 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f89 31 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f90 32 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f90 32 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f91 33 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f91 33 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f92 34 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f92 34 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f93 35 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb2 f93 35 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb2 f94 36 8.8 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test tb2 f94 36 8.8 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test tb2 f95 37 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb2 f95 37 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb2 f96 38 8.8 NO double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test tb2 f96 38 8.8 NO double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test tb2 f97 39 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f97 39 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f98 40 00000000000000000008.8 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb2 f98 40 00000000000000000008.8 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f99 41 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f99 41 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb3 f118 1 a NO char 1 1 NULL NULL latin1 latin1_swedish_ci char(1) select,insert,update,references
|
NULL test tb3 f118 1 a NO char 1 1 NULL NULL latin1 latin1_swedish_ci char(1) select,insert,update,references
|
||||||
NULL test tb3 f119 2 NO char 1 1 NULL NULL latin1 latin1_bin char(1) select,insert,update,references
|
NULL test tb3 f119 2 NO char 1 1 NULL NULL latin1 latin1_bin char(1) select,insert,update,references
|
||||||
NULL test tb3 f120 3 NO char 1 1 NULL NULL latin1 latin1_swedish_ci char(1) select,insert,update,references
|
NULL test tb3 f120 3 NO char 1 1 NULL NULL latin1 latin1_swedish_ci char(1) select,insert,update,references
|
||||||
@ -584,33 +584,33 @@ NULL test tb4 f187 12 000000000000000000000000000000009.000000000000000000000000
|
|||||||
NULL test tb4 f188 13 0000000009 NO decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
NULL test tb4 f188 13 0000000009 NO decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f189 14 000000000000000000000000000000009.000000000000000000000000000000 NO decimal NULL NULL 63 30 NULL NULL decimal(63,30) unsigned zerofill select,insert,update,references
|
NULL test tb4 f189 14 000000000000000000000000000000009.000000000000000000000000000000 NO decimal NULL NULL 63 30 NULL NULL decimal(63,30) unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f190 15 88.8 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test tb4 f190 15 88.8 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test tb4 f191 16 88.8 NO double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test tb4 f191 16 88.8 NO double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test tb4 f192 17 00000000000000000088.8 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb4 f192 17 00000000000000000088.8 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f193 18 00000000000000000088.8 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb4 f193 18 00000000000000000088.8 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f194 19 55.5 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test tb4 f194 19 55.5 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test tb4 f195 20 55.5 NO double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test tb4 f195 20 55.5 NO double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test tb4 f196 21 00000000000000000055.5 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb4 f196 21 00000000000000000055.5 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f197 22 00000000000000000055.5 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb4 f197 22 00000000000000000055.5 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f198 23 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb4 f198 23 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb4 f199 24 NULL YES float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb4 f199 24 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb4 f200 25 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f200 25 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f201 26 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f201 26 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f202 27 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb4 f202 27 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb4 f203 28 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb4 f203 28 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb4 f204 29 NULL YES float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb4 f204 29 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb4 f205 30 NULL YES float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb4 f205 30 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb4 f206 31 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f206 31 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f207 32 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f207 32 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f208 33 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f208 33 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f209 34 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f209 34 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f210 35 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb4 f210 35 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb4 f211 36 NULL YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test tb4 f211 36 NULL YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test tb4 f212 37 NULL YES float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb4 f212 37 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb4 f213 38 NULL YES double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test tb4 f213 38 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test tb4 f214 39 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f214 39 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f215 40 NULL YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb4 f215 40 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f216 41 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f216 41 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f217 42 NULL YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb4 f217 42 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f218 43 NULL YES date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
NULL test tb4 f218 43 NULL YES date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
||||||
NULL test tb4 f219 44 NULL YES time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
NULL test tb4 f219 44 NULL YES time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
||||||
NULL test tb4 f220 45 NULL YES datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
NULL test tb4 f220 45 NULL YES datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
||||||
@ -626,7 +626,7 @@ NULL test tb4 f238 55 NULL YES varchar 25000 25000 NULL NULL latin1 latin1_bin v
|
|||||||
NULL test tb4 f239 56 NULL YES varbinary 0 0 NULL NULL NULL NULL varbinary(0) select,insert,update,references
|
NULL test tb4 f239 56 NULL YES varbinary 0 0 NULL NULL NULL NULL varbinary(0) select,insert,update,references
|
||||||
NULL test tb4 f240 57 NULL YES varchar 1200 1200 NULL NULL latin1 latin1_swedish_ci varchar(1200) select,insert,update,references
|
NULL test tb4 f240 57 NULL YES varchar 1200 1200 NULL NULL latin1 latin1_swedish_ci varchar(1200) select,insert,update,references
|
||||||
NULL test tb4 f241 53 NULL YES char 255 255 NULL NULL latin1 latin1_swedish_ci char(255) select,insert,update,references
|
NULL test tb4 f241 53 NULL YES char 255 255 NULL NULL latin1 latin1_swedish_ci char(255) select,insert,update,references
|
||||||
NULL test1 tb2 f100 42 00000000000000000008.8 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f100 42 00000000000000000008.8 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f101 43 2000-01-01 NO date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
NULL test1 tb2 f101 43 2000-01-01 NO date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
||||||
NULL test1 tb2 f102 44 00:00:20 NO time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
NULL test1 tb2 f102 44 00:00:20 NO time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
||||||
NULL test1 tb2 f103 45 0002-02-02 00:00:00 NO datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
NULL test1 tb2 f103 45 0002-02-02 00:00:00 NO datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
||||||
@ -651,32 +651,32 @@ NULL test1 tb2 f70 12 NULL YES decimal NULL NULL 63 30 NULL NULL decimal(63,30)
|
|||||||
NULL test1 tb2 f71 13 NULL YES decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f71 13 NULL YES decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f72 14 NULL YES decimal NULL NULL 63 30 NULL NULL decimal(63,30) unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f72 14 NULL YES decimal NULL NULL 63 30 NULL NULL decimal(63,30) unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f73 15 NULL YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test1 tb2 f73 15 NULL YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test1 tb2 f74 16 NULL YES double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test1 tb2 f74 16 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f75 17 NULL YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f75 17 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f76 18 NULL YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f76 18 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f77 19 7.7 YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test1 tb2 f77 19 7.7 YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test1 tb2 f78 20 7.7 YES double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test1 tb2 f78 20 7.7 YES double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f79 21 00000000000000000007.7 YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f79 21 00000000000000000007.7 YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f80 22 00000000000000000008.8 YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f80 22 00000000000000000008.8 YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f81 23 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test1 tb2 f81 23 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test1 tb2 f82 24 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test1 tb2 f82 24 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f83 25 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f83 25 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f84 26 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f84 26 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f85 27 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test1 tb2 f85 27 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test1 tb2 f86 28 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test1 tb2 f86 28 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test1 tb2 f87 29 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test1 tb2 f87 29 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f88 30 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test1 tb2 f88 30 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f89 31 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f89 31 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f90 32 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f90 32 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f91 33 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f91 33 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f92 34 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f92 34 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f93 35 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test1 tb2 f93 35 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test1 tb2 f94 36 8.8 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test1 tb2 f94 36 8.8 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test1 tb2 f95 37 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test1 tb2 f95 37 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f96 38 8.8 NO double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test1 tb2 f96 38 8.8 NO double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f97 39 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f97 39 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f98 40 00000000000000000008.8 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f98 40 00000000000000000008.8 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f99 41 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f99 41 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test4 t6 f1 1 NULL YES char 20 20 NULL NULL latin1 latin1_swedish_ci char(20) select,insert,update,references
|
NULL test4 t6 f1 1 NULL YES char 20 20 NULL NULL latin1 latin1_swedish_ci char(20) select,insert,update,references
|
||||||
NULL test4 t6 f2 2 NULL YES char 25 25 NULL NULL latin1 latin1_swedish_ci char(25) select,insert,update,references
|
NULL test4 t6 f2 2 NULL YES char 25 25 NULL NULL latin1 latin1_swedish_ci char(25) select,insert,update,references
|
||||||
NULL test4 t6 f3 3 NULL YES date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
NULL test4 t6 f3 3 NULL YES date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
||||||
@ -728,11 +728,7 @@ NULL date NULL NULL
|
|||||||
NULL datetime NULL NULL
|
NULL datetime NULL NULL
|
||||||
NULL decimal NULL NULL
|
NULL decimal NULL NULL
|
||||||
NULL double NULL NULL
|
NULL double NULL NULL
|
||||||
NULL double unsigned NULL NULL
|
|
||||||
NULL double unsigned zerofill NULL NULL
|
|
||||||
NULL float NULL NULL
|
NULL float NULL NULL
|
||||||
NULL float unsigned NULL NULL
|
|
||||||
NULL float unsigned zerofill NULL NULL
|
|
||||||
NULL int NULL NULL
|
NULL int NULL NULL
|
||||||
NULL mediumint NULL NULL
|
NULL mediumint NULL NULL
|
||||||
NULL smallint NULL NULL
|
NULL smallint NULL NULL
|
||||||
@ -866,33 +862,33 @@ NULL test tb2 f70 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
|||||||
NULL test tb2 f71 decimal NULL NULL NULL NULL decimal(10,0) unsigned zerofill
|
NULL test tb2 f71 decimal NULL NULL NULL NULL decimal(10,0) unsigned zerofill
|
||||||
NULL test tb2 f72 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
NULL test tb2 f72 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
||||||
NULL test tb2 f73 double NULL NULL NULL NULL double
|
NULL test tb2 f73 double NULL NULL NULL NULL double
|
||||||
NULL test tb2 f74 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test tb2 f74 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test tb2 f75 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb2 f75 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb2 f76 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb2 f76 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb2 f77 double NULL NULL NULL NULL double
|
NULL test tb2 f77 double NULL NULL NULL NULL double
|
||||||
NULL test tb2 f78 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test tb2 f78 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test tb2 f79 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb2 f79 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb2 f80 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb2 f80 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb2 f81 float NULL NULL NULL NULL float
|
NULL test tb2 f81 float NULL NULL NULL NULL float
|
||||||
NULL test tb2 f82 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb2 f82 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb2 f83 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f83 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f84 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f84 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f85 float NULL NULL NULL NULL float
|
NULL test tb2 f85 float NULL NULL NULL NULL float
|
||||||
NULL test tb2 f86 float NULL NULL NULL NULL float
|
NULL test tb2 f86 float NULL NULL NULL NULL float
|
||||||
NULL test tb2 f87 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb2 f87 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb2 f88 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb2 f88 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb2 f89 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f89 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f90 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f90 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f91 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f91 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f92 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f92 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f93 float NULL NULL NULL NULL float
|
NULL test tb2 f93 float NULL NULL NULL NULL float
|
||||||
NULL test tb2 f94 double NULL NULL NULL NULL double
|
NULL test tb2 f94 double NULL NULL NULL NULL double
|
||||||
NULL test tb2 f95 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb2 f95 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb2 f96 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test tb2 f96 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test tb2 f97 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f97 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f98 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb2 f98 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb2 f99 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f99 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f100 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb2 f100 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb2 f101 date NULL NULL NULL NULL date
|
NULL test tb2 f101 date NULL NULL NULL NULL date
|
||||||
NULL test tb2 f102 time NULL NULL NULL NULL time
|
NULL test tb2 f102 time NULL NULL NULL NULL time
|
||||||
NULL test tb2 f103 datetime NULL NULL NULL NULL datetime
|
NULL test tb2 f103 datetime NULL NULL NULL NULL datetime
|
||||||
@ -969,33 +965,33 @@ NULL test tb4 f187 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
|||||||
NULL test tb4 f188 decimal NULL NULL NULL NULL decimal(10,0) unsigned zerofill
|
NULL test tb4 f188 decimal NULL NULL NULL NULL decimal(10,0) unsigned zerofill
|
||||||
NULL test tb4 f189 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
NULL test tb4 f189 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
||||||
NULL test tb4 f190 double NULL NULL NULL NULL double
|
NULL test tb4 f190 double NULL NULL NULL NULL double
|
||||||
NULL test tb4 f191 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test tb4 f191 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test tb4 f192 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb4 f192 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb4 f193 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb4 f193 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb4 f194 double NULL NULL NULL NULL double
|
NULL test tb4 f194 double NULL NULL NULL NULL double
|
||||||
NULL test tb4 f195 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test tb4 f195 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test tb4 f196 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb4 f196 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb4 f197 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb4 f197 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb4 f198 float NULL NULL NULL NULL float
|
NULL test tb4 f198 float NULL NULL NULL NULL float
|
||||||
NULL test tb4 f199 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb4 f199 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb4 f200 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f200 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f201 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f201 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f202 float NULL NULL NULL NULL float
|
NULL test tb4 f202 float NULL NULL NULL NULL float
|
||||||
NULL test tb4 f203 float NULL NULL NULL NULL float
|
NULL test tb4 f203 float NULL NULL NULL NULL float
|
||||||
NULL test tb4 f204 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb4 f204 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb4 f205 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb4 f205 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb4 f206 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f206 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f207 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f207 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f208 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f208 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f209 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f209 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f210 float NULL NULL NULL NULL float
|
NULL test tb4 f210 float NULL NULL NULL NULL float
|
||||||
NULL test tb4 f211 double NULL NULL NULL NULL double
|
NULL test tb4 f211 double NULL NULL NULL NULL double
|
||||||
NULL test tb4 f212 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb4 f212 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb4 f213 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test tb4 f213 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test tb4 f214 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f214 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f215 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb4 f215 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb4 f216 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f216 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f217 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb4 f217 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb4 f218 date NULL NULL NULL NULL date
|
NULL test tb4 f218 date NULL NULL NULL NULL date
|
||||||
NULL test tb4 f219 time NULL NULL NULL NULL time
|
NULL test tb4 f219 time NULL NULL NULL NULL time
|
||||||
NULL test tb4 f220 datetime NULL NULL NULL NULL datetime
|
NULL test tb4 f220 datetime NULL NULL NULL NULL datetime
|
||||||
@ -1026,33 +1022,33 @@ NULL test1 tb2 f70 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
|||||||
NULL test1 tb2 f71 decimal NULL NULL NULL NULL decimal(10,0) unsigned zerofill
|
NULL test1 tb2 f71 decimal NULL NULL NULL NULL decimal(10,0) unsigned zerofill
|
||||||
NULL test1 tb2 f72 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
NULL test1 tb2 f72 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
||||||
NULL test1 tb2 f73 double NULL NULL NULL NULL double
|
NULL test1 tb2 f73 double NULL NULL NULL NULL double
|
||||||
NULL test1 tb2 f74 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test1 tb2 f74 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test1 tb2 f75 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test1 tb2 f75 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test1 tb2 f76 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test1 tb2 f76 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test1 tb2 f77 double NULL NULL NULL NULL double
|
NULL test1 tb2 f77 double NULL NULL NULL NULL double
|
||||||
NULL test1 tb2 f78 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test1 tb2 f78 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test1 tb2 f79 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test1 tb2 f79 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test1 tb2 f80 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test1 tb2 f80 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test1 tb2 f81 float NULL NULL NULL NULL float
|
NULL test1 tb2 f81 float NULL NULL NULL NULL float
|
||||||
NULL test1 tb2 f82 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test1 tb2 f82 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test1 tb2 f83 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f83 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f84 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f84 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f85 float NULL NULL NULL NULL float
|
NULL test1 tb2 f85 float NULL NULL NULL NULL float
|
||||||
NULL test1 tb2 f86 float NULL NULL NULL NULL float
|
NULL test1 tb2 f86 float NULL NULL NULL NULL float
|
||||||
NULL test1 tb2 f87 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test1 tb2 f87 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test1 tb2 f88 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test1 tb2 f88 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test1 tb2 f89 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f89 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f90 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f90 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f91 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f91 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f92 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f92 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f93 float NULL NULL NULL NULL float
|
NULL test1 tb2 f93 float NULL NULL NULL NULL float
|
||||||
NULL test1 tb2 f94 double NULL NULL NULL NULL double
|
NULL test1 tb2 f94 double NULL NULL NULL NULL double
|
||||||
NULL test1 tb2 f95 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test1 tb2 f95 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test1 tb2 f96 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test1 tb2 f96 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test1 tb2 f97 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f97 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f98 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test1 tb2 f98 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test1 tb2 f99 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f99 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f100 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test1 tb2 f100 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test1 tb2 f101 date NULL NULL NULL NULL date
|
NULL test1 tb2 f101 date NULL NULL NULL NULL date
|
||||||
NULL test1 tb2 f102 time NULL NULL NULL NULL time
|
NULL test1 tb2 f102 time NULL NULL NULL NULL time
|
||||||
NULL test1 tb2 f103 datetime NULL NULL NULL NULL datetime
|
NULL test1 tb2 f103 datetime NULL NULL NULL NULL datetime
|
||||||
|
@ -514,7 +514,7 @@ NULL test tb1 f6 6 NULL YES mediumtext 16777215 16777215 NULL NULL latin1 latin1
|
|||||||
NULL test tb1 f7 7 NULL YES longtext 4294967295 4294967295 NULL NULL latin1 latin1_swedish_ci longtext select,insert,update,references
|
NULL test tb1 f7 7 NULL YES longtext 4294967295 4294967295 NULL NULL latin1 latin1_swedish_ci longtext select,insert,update,references
|
||||||
NULL test tb1 f8 8 NULL YES tinyblob 255 255 NULL NULL NULL NULL tinyblob select,insert,update,references
|
NULL test tb1 f8 8 NULL YES tinyblob 255 255 NULL NULL NULL NULL tinyblob select,insert,update,references
|
||||||
NULL test tb1 f9 9 NULL YES blob 65535 65535 NULL NULL NULL NULL blob select,insert,update,references
|
NULL test tb1 f9 9 NULL YES blob 65535 65535 NULL NULL NULL NULL blob select,insert,update,references
|
||||||
NULL test tb2 f100 42 00000000000000000008.8 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb2 f100 42 00000000000000000008.8 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f101 43 2000-01-01 NO date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
NULL test tb2 f101 43 2000-01-01 NO date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
||||||
NULL test tb2 f102 44 00:00:20 NO time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
NULL test tb2 f102 44 00:00:20 NO time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
||||||
NULL test tb2 f103 45 0002-02-02 00:00:00 NO datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
NULL test tb2 f103 45 0002-02-02 00:00:00 NO datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
||||||
@ -547,32 +547,32 @@ NULL test tb2 f70 12 NULL YES decimal NULL NULL 63 30 NULL NULL decimal(63,30) u
|
|||||||
NULL test tb2 f71 13 NULL YES decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
NULL test tb2 f71 13 NULL YES decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f72 14 NULL YES decimal NULL NULL 63 30 NULL NULL decimal(63,30) unsigned zerofill select,insert,update,references
|
NULL test tb2 f72 14 NULL YES decimal NULL NULL 63 30 NULL NULL decimal(63,30) unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f73 15 NULL YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test tb2 f73 15 NULL YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test tb2 f74 16 NULL YES double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test tb2 f74 16 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test tb2 f75 17 NULL YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb2 f75 17 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f76 18 NULL YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb2 f76 18 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f77 19 7.7 YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test tb2 f77 19 7.7 YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test tb2 f78 20 7.7 YES double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test tb2 f78 20 7.7 YES double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test tb2 f79 21 00000000000000000007.7 YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb2 f79 21 00000000000000000007.7 YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f80 22 00000000000000000008.8 YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb2 f80 22 00000000000000000008.8 YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f81 23 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb2 f81 23 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb2 f82 24 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb2 f82 24 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb2 f83 25 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f83 25 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f84 26 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f84 26 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f85 27 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb2 f85 27 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb2 f86 28 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb2 f86 28 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb2 f87 29 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb2 f87 29 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb2 f88 30 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb2 f88 30 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb2 f89 31 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f89 31 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f90 32 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f90 32 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f91 33 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f91 33 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f92 34 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f92 34 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f93 35 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb2 f93 35 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb2 f94 36 8.8 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test tb2 f94 36 8.8 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test tb2 f95 37 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb2 f95 37 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb2 f96 38 8.8 NO double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test tb2 f96 38 8.8 NO double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test tb2 f97 39 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f97 39 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f98 40 00000000000000000008.8 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb2 f98 40 00000000000000000008.8 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb2 f99 41 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb2 f99 41 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb3 f118 1 a NO char 1 1 NULL NULL latin1 latin1_swedish_ci char(1) select,insert,update,references
|
NULL test tb3 f118 1 a NO char 1 1 NULL NULL latin1 latin1_swedish_ci char(1) select,insert,update,references
|
||||||
NULL test tb3 f119 2 NO char 1 1 NULL NULL latin1 latin1_bin char(1) select,insert,update,references
|
NULL test tb3 f119 2 NO char 1 1 NULL NULL latin1 latin1_bin char(1) select,insert,update,references
|
||||||
NULL test tb3 f120 3 NO char 1 1 NULL NULL latin1 latin1_swedish_ci char(1) select,insert,update,references
|
NULL test tb3 f120 3 NO char 1 1 NULL NULL latin1 latin1_swedish_ci char(1) select,insert,update,references
|
||||||
@ -646,33 +646,33 @@ NULL test tb4 f187 12 000000000000000000000000000000009.000000000000000000000000
|
|||||||
NULL test tb4 f188 13 0000000009 NO decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
NULL test tb4 f188 13 0000000009 NO decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f189 14 000000000000000000000000000000009.000000000000000000000000000000 NO decimal NULL NULL 63 30 NULL NULL decimal(63,30) unsigned zerofill select,insert,update,references
|
NULL test tb4 f189 14 000000000000000000000000000000009.000000000000000000000000000000 NO decimal NULL NULL 63 30 NULL NULL decimal(63,30) unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f190 15 88.8 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test tb4 f190 15 88.8 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test tb4 f191 16 88.8 NO double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test tb4 f191 16 88.8 NO double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test tb4 f192 17 00000000000000000088.8 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb4 f192 17 00000000000000000088.8 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f193 18 00000000000000000088.8 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb4 f193 18 00000000000000000088.8 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f194 19 55.5 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test tb4 f194 19 55.5 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test tb4 f195 20 55.5 NO double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test tb4 f195 20 55.5 NO double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test tb4 f196 21 00000000000000000055.5 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb4 f196 21 00000000000000000055.5 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f197 22 00000000000000000055.5 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb4 f197 22 00000000000000000055.5 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f198 23 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb4 f198 23 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb4 f199 24 NULL YES float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb4 f199 24 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb4 f200 25 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f200 25 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f201 26 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f201 26 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f202 27 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb4 f202 27 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb4 f203 28 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb4 f203 28 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb4 f204 29 NULL YES float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb4 f204 29 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb4 f205 30 NULL YES float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb4 f205 30 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb4 f206 31 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f206 31 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f207 32 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f207 32 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f208 33 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f208 33 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f209 34 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f209 34 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f210 35 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test tb4 f210 35 NULL YES float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test tb4 f211 36 NULL YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test tb4 f211 36 NULL YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test tb4 f212 37 NULL YES float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test tb4 f212 37 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test tb4 f213 38 NULL YES double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test tb4 f213 38 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test tb4 f214 39 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f214 39 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f215 40 NULL YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb4 f215 40 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f216 41 NULL YES float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test tb4 f216 41 NULL YES float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f217 42 NULL YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test tb4 f217 42 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test tb4 f218 43 NULL YES date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
NULL test tb4 f218 43 NULL YES date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
||||||
NULL test tb4 f219 44 NULL YES time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
NULL test tb4 f219 44 NULL YES time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
||||||
NULL test tb4 f220 45 NULL YES datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
NULL test tb4 f220 45 NULL YES datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
||||||
@ -698,7 +698,7 @@ NULL test tb4 f239 64 NULL YES varbinary 1000 1000 NULL NULL NULL NULL varbinary
|
|||||||
NULL test tb4 f240 65 NULL YES varchar 120 120 NULL NULL latin1 latin1_swedish_ci varchar(120) select,insert,update,references
|
NULL test tb4 f240 65 NULL YES varchar 120 120 NULL NULL latin1 latin1_swedish_ci varchar(120) select,insert,update,references
|
||||||
NULL test tb4 f241 66 NULL YES char 100 100 NULL NULL latin1 latin1_swedish_ci char(100) select,insert,update,references
|
NULL test tb4 f241 66 NULL YES char 100 100 NULL NULL latin1 latin1_swedish_ci char(100) select,insert,update,references
|
||||||
NULL test tb4 f242 67 NULL YES bit NULL NULL 30 NULL NULL NULL bit(30) select,insert,update,references
|
NULL test tb4 f242 67 NULL YES bit NULL NULL 30 NULL NULL NULL bit(30) select,insert,update,references
|
||||||
NULL test1 tb2 f100 42 00000000000000000008.8 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f100 42 00000000000000000008.8 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f101 43 2000-01-01 NO date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
NULL test1 tb2 f101 43 2000-01-01 NO date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
||||||
NULL test1 tb2 f102 44 00:00:20 NO time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
NULL test1 tb2 f102 44 00:00:20 NO time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
||||||
NULL test1 tb2 f103 45 0002-02-02 00:00:00 NO datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
NULL test1 tb2 f103 45 0002-02-02 00:00:00 NO datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
||||||
@ -731,32 +731,32 @@ NULL test1 tb2 f70 12 NULL YES decimal NULL NULL 63 30 NULL NULL decimal(63,30)
|
|||||||
NULL test1 tb2 f71 13 NULL YES decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f71 13 NULL YES decimal NULL NULL 10 0 NULL NULL decimal(10,0) unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f72 14 NULL YES decimal NULL NULL 63 30 NULL NULL decimal(63,30) unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f72 14 NULL YES decimal NULL NULL 63 30 NULL NULL decimal(63,30) unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f73 15 NULL YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test1 tb2 f73 15 NULL YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test1 tb2 f74 16 NULL YES double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test1 tb2 f74 16 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f75 17 NULL YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f75 17 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f76 18 NULL YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f76 18 NULL YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f77 19 7.7 YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test1 tb2 f77 19 7.7 YES double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test1 tb2 f78 20 7.7 YES double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test1 tb2 f78 20 7.7 YES double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f79 21 00000000000000000007.7 YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f79 21 00000000000000000007.7 YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f80 22 00000000000000000008.8 YES double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f80 22 00000000000000000008.8 YES double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f81 23 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test1 tb2 f81 23 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test1 tb2 f82 24 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test1 tb2 f82 24 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f83 25 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f83 25 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f84 26 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f84 26 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f85 27 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test1 tb2 f85 27 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test1 tb2 f86 28 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test1 tb2 f86 28 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test1 tb2 f87 29 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test1 tb2 f87 29 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f88 30 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test1 tb2 f88 30 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f89 31 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f89 31 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f90 32 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f90 32 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f91 33 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f91 33 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f92 34 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f92 34 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f93 35 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
NULL test1 tb2 f93 35 8.8 NO float NULL NULL 12 NULL NULL NULL float select,insert,update,references
|
||||||
NULL test1 tb2 f94 36 8.8 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
NULL test1 tb2 f94 36 8.8 NO double NULL NULL 22 NULL NULL NULL double select,insert,update,references
|
||||||
NULL test1 tb2 f95 37 8.8 NO float unsigned NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
NULL test1 tb2 f95 37 8.8 NO float NULL NULL 12 NULL NULL NULL float unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f96 38 8.8 NO double unsigned NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
NULL test1 tb2 f96 38 8.8 NO double NULL NULL 22 NULL NULL NULL double unsigned select,insert,update,references
|
||||||
NULL test1 tb2 f97 39 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f97 39 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f98 40 00000000000000000008.8 NO double unsigned zerofill NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f98 40 00000000000000000008.8 NO double NULL NULL 22 NULL NULL NULL double unsigned zerofill select,insert,update,references
|
||||||
NULL test1 tb2 f99 41 0000000008.8 NO float unsigned zerofill NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
NULL test1 tb2 f99 41 0000000008.8 NO float NULL NULL 12 NULL NULL NULL float unsigned zerofill select,insert,update,references
|
||||||
NULL test4 t6 f1 1 NULL YES char 20 20 NULL NULL latin1 latin1_swedish_ci char(20) select,insert,update,references
|
NULL test4 t6 f1 1 NULL YES char 20 20 NULL NULL latin1 latin1_swedish_ci char(20) select,insert,update,references
|
||||||
NULL test4 t6 f2 2 NULL YES char 25 25 NULL NULL latin1 latin1_swedish_ci char(25) select,insert,update,references
|
NULL test4 t6 f2 2 NULL YES char 25 25 NULL NULL latin1 latin1_swedish_ci char(25) select,insert,update,references
|
||||||
NULL test4 t6 f3 3 NULL YES date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
NULL test4 t6 f3 3 NULL YES date NULL NULL NULL NULL NULL NULL date select,insert,update,references
|
||||||
@ -817,11 +817,7 @@ NULL date NULL NULL
|
|||||||
NULL datetime NULL NULL
|
NULL datetime NULL NULL
|
||||||
NULL decimal NULL NULL
|
NULL decimal NULL NULL
|
||||||
NULL double NULL NULL
|
NULL double NULL NULL
|
||||||
NULL double unsigned NULL NULL
|
|
||||||
NULL double unsigned zerofill NULL NULL
|
|
||||||
NULL float NULL NULL
|
NULL float NULL NULL
|
||||||
NULL float unsigned NULL NULL
|
|
||||||
NULL float unsigned zerofill NULL NULL
|
|
||||||
NULL int NULL NULL
|
NULL int NULL NULL
|
||||||
NULL mediumint NULL NULL
|
NULL mediumint NULL NULL
|
||||||
NULL smallint NULL NULL
|
NULL smallint NULL NULL
|
||||||
@ -963,33 +959,33 @@ NULL test tb2 f70 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
|||||||
NULL test tb2 f71 decimal NULL NULL NULL NULL decimal(10,0) unsigned zerofill
|
NULL test tb2 f71 decimal NULL NULL NULL NULL decimal(10,0) unsigned zerofill
|
||||||
NULL test tb2 f72 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
NULL test tb2 f72 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
||||||
NULL test tb2 f73 double NULL NULL NULL NULL double
|
NULL test tb2 f73 double NULL NULL NULL NULL double
|
||||||
NULL test tb2 f74 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test tb2 f74 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test tb2 f75 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb2 f75 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb2 f76 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb2 f76 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb2 f77 double NULL NULL NULL NULL double
|
NULL test tb2 f77 double NULL NULL NULL NULL double
|
||||||
NULL test tb2 f78 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test tb2 f78 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test tb2 f79 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb2 f79 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb2 f80 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb2 f80 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb2 f81 float NULL NULL NULL NULL float
|
NULL test tb2 f81 float NULL NULL NULL NULL float
|
||||||
NULL test tb2 f82 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb2 f82 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb2 f83 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f83 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f84 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f84 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f85 float NULL NULL NULL NULL float
|
NULL test tb2 f85 float NULL NULL NULL NULL float
|
||||||
NULL test tb2 f86 float NULL NULL NULL NULL float
|
NULL test tb2 f86 float NULL NULL NULL NULL float
|
||||||
NULL test tb2 f87 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb2 f87 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb2 f88 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb2 f88 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb2 f89 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f89 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f90 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f90 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f91 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f91 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f92 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f92 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f93 float NULL NULL NULL NULL float
|
NULL test tb2 f93 float NULL NULL NULL NULL float
|
||||||
NULL test tb2 f94 double NULL NULL NULL NULL double
|
NULL test tb2 f94 double NULL NULL NULL NULL double
|
||||||
NULL test tb2 f95 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb2 f95 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb2 f96 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test tb2 f96 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test tb2 f97 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f97 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f98 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb2 f98 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb2 f99 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb2 f99 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb2 f100 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb2 f100 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb2 f101 date NULL NULL NULL NULL date
|
NULL test tb2 f101 date NULL NULL NULL NULL date
|
||||||
NULL test tb2 f102 time NULL NULL NULL NULL time
|
NULL test tb2 f102 time NULL NULL NULL NULL time
|
||||||
NULL test tb2 f103 datetime NULL NULL NULL NULL datetime
|
NULL test tb2 f103 datetime NULL NULL NULL NULL datetime
|
||||||
@ -1080,33 +1076,33 @@ NULL test tb4 f187 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
|||||||
NULL test tb4 f188 decimal NULL NULL NULL NULL decimal(10,0) unsigned zerofill
|
NULL test tb4 f188 decimal NULL NULL NULL NULL decimal(10,0) unsigned zerofill
|
||||||
NULL test tb4 f189 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
NULL test tb4 f189 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
||||||
NULL test tb4 f190 double NULL NULL NULL NULL double
|
NULL test tb4 f190 double NULL NULL NULL NULL double
|
||||||
NULL test tb4 f191 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test tb4 f191 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test tb4 f192 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb4 f192 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb4 f193 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb4 f193 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb4 f194 double NULL NULL NULL NULL double
|
NULL test tb4 f194 double NULL NULL NULL NULL double
|
||||||
NULL test tb4 f195 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test tb4 f195 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test tb4 f196 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb4 f196 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb4 f197 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb4 f197 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb4 f198 float NULL NULL NULL NULL float
|
NULL test tb4 f198 float NULL NULL NULL NULL float
|
||||||
NULL test tb4 f199 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb4 f199 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb4 f200 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f200 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f201 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f201 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f202 float NULL NULL NULL NULL float
|
NULL test tb4 f202 float NULL NULL NULL NULL float
|
||||||
NULL test tb4 f203 float NULL NULL NULL NULL float
|
NULL test tb4 f203 float NULL NULL NULL NULL float
|
||||||
NULL test tb4 f204 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb4 f204 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb4 f205 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb4 f205 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb4 f206 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f206 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f207 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f207 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f208 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f208 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f209 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f209 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f210 float NULL NULL NULL NULL float
|
NULL test tb4 f210 float NULL NULL NULL NULL float
|
||||||
NULL test tb4 f211 double NULL NULL NULL NULL double
|
NULL test tb4 f211 double NULL NULL NULL NULL double
|
||||||
NULL test tb4 f212 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test tb4 f212 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test tb4 f213 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test tb4 f213 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test tb4 f214 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f214 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f215 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb4 f215 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb4 f216 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test tb4 f216 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test tb4 f217 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test tb4 f217 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test tb4 f218 date NULL NULL NULL NULL date
|
NULL test tb4 f218 date NULL NULL NULL NULL date
|
||||||
NULL test tb4 f219 time NULL NULL NULL NULL time
|
NULL test tb4 f219 time NULL NULL NULL NULL time
|
||||||
NULL test tb4 f220 datetime NULL NULL NULL NULL datetime
|
NULL test tb4 f220 datetime NULL NULL NULL NULL datetime
|
||||||
@ -1147,33 +1143,33 @@ NULL test1 tb2 f70 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
|||||||
NULL test1 tb2 f71 decimal NULL NULL NULL NULL decimal(10,0) unsigned zerofill
|
NULL test1 tb2 f71 decimal NULL NULL NULL NULL decimal(10,0) unsigned zerofill
|
||||||
NULL test1 tb2 f72 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
NULL test1 tb2 f72 decimal NULL NULL NULL NULL decimal(63,30) unsigned zerofill
|
||||||
NULL test1 tb2 f73 double NULL NULL NULL NULL double
|
NULL test1 tb2 f73 double NULL NULL NULL NULL double
|
||||||
NULL test1 tb2 f74 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test1 tb2 f74 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test1 tb2 f75 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test1 tb2 f75 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test1 tb2 f76 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test1 tb2 f76 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test1 tb2 f77 double NULL NULL NULL NULL double
|
NULL test1 tb2 f77 double NULL NULL NULL NULL double
|
||||||
NULL test1 tb2 f78 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test1 tb2 f78 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test1 tb2 f79 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test1 tb2 f79 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test1 tb2 f80 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test1 tb2 f80 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test1 tb2 f81 float NULL NULL NULL NULL float
|
NULL test1 tb2 f81 float NULL NULL NULL NULL float
|
||||||
NULL test1 tb2 f82 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test1 tb2 f82 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test1 tb2 f83 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f83 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f84 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f84 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f85 float NULL NULL NULL NULL float
|
NULL test1 tb2 f85 float NULL NULL NULL NULL float
|
||||||
NULL test1 tb2 f86 float NULL NULL NULL NULL float
|
NULL test1 tb2 f86 float NULL NULL NULL NULL float
|
||||||
NULL test1 tb2 f87 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test1 tb2 f87 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test1 tb2 f88 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test1 tb2 f88 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test1 tb2 f89 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f89 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f90 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f90 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f91 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f91 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f92 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f92 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f93 float NULL NULL NULL NULL float
|
NULL test1 tb2 f93 float NULL NULL NULL NULL float
|
||||||
NULL test1 tb2 f94 double NULL NULL NULL NULL double
|
NULL test1 tb2 f94 double NULL NULL NULL NULL double
|
||||||
NULL test1 tb2 f95 float unsigned NULL NULL NULL NULL float unsigned
|
NULL test1 tb2 f95 float NULL NULL NULL NULL float unsigned
|
||||||
NULL test1 tb2 f96 double unsigned NULL NULL NULL NULL double unsigned
|
NULL test1 tb2 f96 double NULL NULL NULL NULL double unsigned
|
||||||
NULL test1 tb2 f97 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f97 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f98 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test1 tb2 f98 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test1 tb2 f99 float unsigned zerofill NULL NULL NULL NULL float unsigned zerofill
|
NULL test1 tb2 f99 float NULL NULL NULL NULL float unsigned zerofill
|
||||||
NULL test1 tb2 f100 double unsigned zerofill NULL NULL NULL NULL double unsigned zerofill
|
NULL test1 tb2 f100 double NULL NULL NULL NULL double unsigned zerofill
|
||||||
NULL test1 tb2 f101 date NULL NULL NULL NULL date
|
NULL test1 tb2 f101 date NULL NULL NULL NULL date
|
||||||
NULL test1 tb2 f102 time NULL NULL NULL NULL time
|
NULL test1 tb2 f102 time NULL NULL NULL NULL time
|
||||||
NULL test1 tb2 f103 datetime NULL NULL NULL NULL datetime
|
NULL test1 tb2 f103 datetime NULL NULL NULL NULL datetime
|
||||||
|
@ -48,7 +48,7 @@ NULL mysql event last_executed 10 NULL YES datetime NULL NULL NULL NULL NULL NUL
|
|||||||
NULL mysql event modified 9 0000-00-00 00:00:00 NO timestamp NULL NULL NULL NULL NULL NULL timestamp select,insert,update,references
|
NULL mysql event modified 9 0000-00-00 00:00:00 NO timestamp NULL NULL NULL NULL NULL NULL timestamp select,insert,update,references
|
||||||
NULL mysql event name 2 NO char 64 192 NULL NULL utf8 utf8_general_ci char(64) PRI select,insert,update,references
|
NULL mysql event name 2 NO char 64 192 NULL NULL utf8 utf8_general_ci char(64) PRI select,insert,update,references
|
||||||
NULL mysql event on_completion 14 DROP NO enum 8 24 NULL NULL utf8 utf8_general_ci enum('DROP','PRESERVE') select,insert,update,references
|
NULL mysql event on_completion 14 DROP NO enum 8 24 NULL NULL utf8 utf8_general_ci enum('DROP','PRESERVE') select,insert,update,references
|
||||||
NULL mysql event originator 17 NULL NO int NULL NULL 10 0 NULL NULL int(10) select,insert,update,references
|
NULL mysql event originator 17 NULL NO int NULL NULL 10 0 NULL NULL int(10) unsigned select,insert,update,references
|
||||||
NULL mysql event sql_mode 15 NO set 478 1434 NULL NULL utf8 utf8_general_ci set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_ZERO_IN_DATE','NO_ZERO_DATE','INVALID_DATES','ERROR_FOR_DIVISION_BY_ZERO','TRADITIONAL','NO_AUTO_CREATE_USER','HIGH_NOT_PRECEDENCE','NO_ENGINE_SUBSTITUTION','PAD_CHAR_TO_FULL_LENGTH') select,insert,update,references
|
NULL mysql event sql_mode 15 NO set 478 1434 NULL NULL utf8 utf8_general_ci set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_ZERO_IN_DATE','NO_ZERO_DATE','INVALID_DATES','ERROR_FOR_DIVISION_BY_ZERO','TRADITIONAL','NO_AUTO_CREATE_USER','HIGH_NOT_PRECEDENCE','NO_ENGINE_SUBSTITUTION','PAD_CHAR_TO_FULL_LENGTH') select,insert,update,references
|
||||||
NULL mysql event starts 11 NULL YES datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
NULL mysql event starts 11 NULL YES datetime NULL NULL NULL NULL NULL NULL datetime select,insert,update,references
|
||||||
NULL mysql event status 13 ENABLED NO enum 18 54 NULL NULL utf8 utf8_general_ci enum('ENABLED','DISABLED','SLAVESIDE_DISABLED') select,insert,update,references
|
NULL mysql event status 13 ENABLED NO enum 18 54 NULL NULL utf8 utf8_general_ci enum('ENABLED','DISABLED','SLAVESIDE_DISABLED') select,insert,update,references
|
||||||
@ -60,7 +60,7 @@ NULL mysql func type 4 NULL NO enum 9 27 NULL NULL utf8 utf8_general_ci enum('fu
|
|||||||
NULL mysql general_log argument 6 NULL NO mediumtext 16777215 16777215 NULL NULL utf8 utf8_general_ci mediumtext select,insert,update,references
|
NULL mysql general_log argument 6 NULL NO mediumtext 16777215 16777215 NULL NULL utf8 utf8_general_ci mediumtext select,insert,update,references
|
||||||
NULL mysql general_log command_type 5 NULL NO varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select,insert,update,references
|
NULL mysql general_log command_type 5 NULL NO varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select,insert,update,references
|
||||||
NULL mysql general_log event_time 1 CURRENT_TIMESTAMP NO timestamp NULL NULL NULL NULL NULL NULL timestamp on update CURRENT_TIMESTAMP select,insert,update,references
|
NULL mysql general_log event_time 1 CURRENT_TIMESTAMP NO timestamp NULL NULL NULL NULL NULL NULL timestamp on update CURRENT_TIMESTAMP select,insert,update,references
|
||||||
NULL mysql general_log server_id 4 NULL NO int NULL NULL 10 0 NULL NULL int(11) select,insert,update,references
|
NULL mysql general_log server_id 4 NULL NO int NULL NULL 10 0 NULL NULL int(10) unsigned select,insert,update,references
|
||||||
NULL mysql general_log thread_id 3 NULL NO int NULL NULL 10 0 NULL NULL int(11) select,insert,update,references
|
NULL mysql general_log thread_id 3 NULL NO int NULL NULL 10 0 NULL NULL int(11) select,insert,update,references
|
||||||
NULL mysql general_log user_host 2 NULL NO mediumtext 16777215 16777215 NULL NULL utf8 utf8_general_ci mediumtext select,insert,update,references
|
NULL mysql general_log user_host 2 NULL NO mediumtext 16777215 16777215 NULL NULL utf8 utf8_general_ci mediumtext select,insert,update,references
|
||||||
NULL mysql help_category help_category_id 1 NULL NO smallint NULL NULL 5 0 NULL NULL smallint(5) unsigned PRI select,insert,update,references
|
NULL mysql help_category help_category_id 1 NULL NO smallint NULL NULL 5 0 NULL NULL smallint(5) unsigned PRI select,insert,update,references
|
||||||
@ -150,7 +150,7 @@ NULL mysql slow_log lock_time 4 NULL NO time NULL NULL NULL NULL NULL NULL time
|
|||||||
NULL mysql slow_log query_time 3 NULL NO time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
NULL mysql slow_log query_time 3 NULL NO time NULL NULL NULL NULL NULL NULL time select,insert,update,references
|
||||||
NULL mysql slow_log rows_examined 6 NULL NO int NULL NULL 10 0 NULL NULL int(11) select,insert,update,references
|
NULL mysql slow_log rows_examined 6 NULL NO int NULL NULL 10 0 NULL NULL int(11) select,insert,update,references
|
||||||
NULL mysql slow_log rows_sent 5 NULL NO int NULL NULL 10 0 NULL NULL int(11) select,insert,update,references
|
NULL mysql slow_log rows_sent 5 NULL NO int NULL NULL 10 0 NULL NULL int(11) select,insert,update,references
|
||||||
NULL mysql slow_log server_id 10 NULL NO int NULL NULL 10 0 NULL NULL int(11) select,insert,update,references
|
NULL mysql slow_log server_id 10 NULL NO int NULL NULL 10 0 NULL NULL int(10) unsigned select,insert,update,references
|
||||||
NULL mysql slow_log sql_text 11 NULL NO mediumtext 16777215 16777215 NULL NULL utf8 utf8_general_ci mediumtext select,insert,update,references
|
NULL mysql slow_log sql_text 11 NULL NO mediumtext 16777215 16777215 NULL NULL utf8 utf8_general_ci mediumtext select,insert,update,references
|
||||||
NULL mysql slow_log start_time 1 CURRENT_TIMESTAMP NO timestamp NULL NULL NULL NULL NULL NULL timestamp on update CURRENT_TIMESTAMP select,insert,update,references
|
NULL mysql slow_log start_time 1 CURRENT_TIMESTAMP NO timestamp NULL NULL NULL NULL NULL NULL timestamp on update CURRENT_TIMESTAMP select,insert,update,references
|
||||||
NULL mysql slow_log user_host 2 NULL NO mediumtext 16777215 16777215 NULL NULL utf8 utf8_general_ci mediumtext select,insert,update,references
|
NULL mysql slow_log user_host 2 NULL NO mediumtext 16777215 16777215 NULL NULL utf8 utf8_general_ci mediumtext select,insert,update,references
|
||||||
@ -329,7 +329,7 @@ NULL mysql event ends datetime NULL NULL NULL NULL datetime
|
|||||||
3.0000 mysql event on_completion enum 8 24 utf8 utf8_general_ci enum('DROP','PRESERVE')
|
3.0000 mysql event on_completion enum 8 24 utf8 utf8_general_ci enum('DROP','PRESERVE')
|
||||||
3.0000 mysql event sql_mode set 478 1434 utf8 utf8_general_ci set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_ZERO_IN_DATE','NO_ZERO_DATE','INVALID_DATES','ERROR_FOR_DIVISION_BY_ZERO','TRADITIONAL','NO_AUTO_CREATE_USER','HIGH_NOT_PRECEDENCE','NO_ENGINE_SUBSTITUTION','PAD_CHAR_TO_FULL_LENGTH')
|
3.0000 mysql event sql_mode set 478 1434 utf8 utf8_general_ci set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_ZERO_IN_DATE','NO_ZERO_DATE','INVALID_DATES','ERROR_FOR_DIVISION_BY_ZERO','TRADITIONAL','NO_AUTO_CREATE_USER','HIGH_NOT_PRECEDENCE','NO_ENGINE_SUBSTITUTION','PAD_CHAR_TO_FULL_LENGTH')
|
||||||
3.0000 mysql event comment char 64 192 utf8 utf8_bin char(64)
|
3.0000 mysql event comment char 64 192 utf8 utf8_bin char(64)
|
||||||
NULL mysql event originator int NULL NULL NULL NULL int(10)
|
NULL mysql event originator int NULL NULL NULL NULL int(10) unsigned
|
||||||
1.0000 mysql event time_zone char 64 64 latin1 latin1_swedish_ci char(64)
|
1.0000 mysql event time_zone char 64 64 latin1 latin1_swedish_ci char(64)
|
||||||
3.0000 mysql event character_set_client char 32 96 utf8 utf8_bin char(32)
|
3.0000 mysql event character_set_client char 32 96 utf8 utf8_bin char(32)
|
||||||
3.0000 mysql event collation_connection char 32 96 utf8 utf8_bin char(32)
|
3.0000 mysql event collation_connection char 32 96 utf8 utf8_bin char(32)
|
||||||
@ -342,7 +342,7 @@ NULL mysql func ret tinyint NULL NULL NULL NULL tinyint(1)
|
|||||||
NULL mysql general_log event_time timestamp NULL NULL NULL NULL timestamp
|
NULL mysql general_log event_time timestamp NULL NULL NULL NULL timestamp
|
||||||
1.0000 mysql general_log user_host mediumtext 16777215 16777215 utf8 utf8_general_ci mediumtext
|
1.0000 mysql general_log user_host mediumtext 16777215 16777215 utf8 utf8_general_ci mediumtext
|
||||||
NULL mysql general_log thread_id int NULL NULL NULL NULL int(11)
|
NULL mysql general_log thread_id int NULL NULL NULL NULL int(11)
|
||||||
NULL mysql general_log server_id int NULL NULL NULL NULL int(11)
|
NULL mysql general_log server_id int NULL NULL NULL NULL int(10) unsigned
|
||||||
3.0000 mysql general_log command_type varchar 64 192 utf8 utf8_general_ci varchar(64)
|
3.0000 mysql general_log command_type varchar 64 192 utf8 utf8_general_ci varchar(64)
|
||||||
1.0000 mysql general_log argument mediumtext 16777215 16777215 utf8 utf8_general_ci mediumtext
|
1.0000 mysql general_log argument mediumtext 16777215 16777215 utf8 utf8_general_ci mediumtext
|
||||||
NULL mysql help_category help_category_id smallint NULL NULL NULL NULL smallint(5) unsigned
|
NULL mysql help_category help_category_id smallint NULL NULL NULL NULL smallint(5) unsigned
|
||||||
@ -434,7 +434,7 @@ NULL mysql slow_log rows_examined int NULL NULL NULL NULL int(11)
|
|||||||
3.0000 mysql slow_log db varchar 512 1536 utf8 utf8_general_ci varchar(512)
|
3.0000 mysql slow_log db varchar 512 1536 utf8 utf8_general_ci varchar(512)
|
||||||
NULL mysql slow_log last_insert_id int NULL NULL NULL NULL int(11)
|
NULL mysql slow_log last_insert_id int NULL NULL NULL NULL int(11)
|
||||||
NULL mysql slow_log insert_id int NULL NULL NULL NULL int(11)
|
NULL mysql slow_log insert_id int NULL NULL NULL NULL int(11)
|
||||||
NULL mysql slow_log server_id int NULL NULL NULL NULL int(11)
|
NULL mysql slow_log server_id int NULL NULL NULL NULL int(10) unsigned
|
||||||
1.0000 mysql slow_log sql_text mediumtext 16777215 16777215 utf8 utf8_general_ci mediumtext
|
1.0000 mysql slow_log sql_text mediumtext 16777215 16777215 utf8 utf8_general_ci mediumtext
|
||||||
3.0000 mysql tables_priv Host char 60 180 utf8 utf8_bin char(60)
|
3.0000 mysql tables_priv Host char 60 180 utf8 utf8_bin char(60)
|
||||||
3.0000 mysql tables_priv Db char 64 192 utf8 utf8_bin char(64)
|
3.0000 mysql tables_priv Db char 64 192 utf8 utf8_bin char(64)
|
||||||
|
@ -21369,7 +21369,7 @@ ERROR 42S02: Table 'test.v1' doesn't exist
|
|||||||
CHECK TABLE v1;
|
CHECK TABLE v1;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.v1 check Error Table 'test.v1' doesn't exist
|
test.v1 check Error Table 'test.v1' doesn't exist
|
||||||
test.v1 check error Corrupt
|
test.v1 check status Operation failed
|
||||||
DESCRIBE v1;
|
DESCRIBE v1;
|
||||||
ERROR 42S02: Table 'test.v1' doesn't exist
|
ERROR 42S02: Table 'test.v1' doesn't exist
|
||||||
EXPLAIN SELECT * FROM v1;
|
EXPLAIN SELECT * FROM v1;
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user