mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
perfschema compilation, test and misc fixes
This commit is contained in:
parent
81cffda2e6
commit
7af733a5a2
403 changed files with 20147 additions and 63173 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -221,6 +221,7 @@ storage/myisam/myisamlog
|
|||
storage/myisam/myisampack
|
||||
storage/myisam/rt_test
|
||||
storage/myisam/sp_test
|
||||
storage/perfschema/pfs_config.h
|
||||
storage/rocksdb/ldb
|
||||
storage/rocksdb/myrocks_hotbackup
|
||||
storage/rocksdb/mysql_ldb
|
||||
|
|
|
@ -116,7 +116,7 @@ int pthread_cancel(pthread_t thread);
|
|||
#define pthread_key_create(A,B) ((*A=TlsAlloc())==0xFFFFFFFF)
|
||||
#define pthread_key_delete(A) TlsFree(A)
|
||||
#define my_pthread_setspecific_ptr(T,V) (!TlsSetValue((T),(V)))
|
||||
#define pthread_setspecific(A,B) (!TlsSetValue((A),(B)))
|
||||
#define pthread_setspecific(A,B) (!TlsSetValue((A),(LPVOID)(B)))
|
||||
#define pthread_getspecific(A) (TlsGetValue(A))
|
||||
#define my_pthread_getspecific(T,A) ((T) TlsGetValue(A))
|
||||
#define my_pthread_getspecific_ptr(T,V) ((T) TlsGetValue(V))
|
||||
|
|
|
@ -540,7 +540,7 @@ inline_mysql_file_fgets(
|
|||
{
|
||||
char *result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
if (psi_likely(file->m_psi))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
|
@ -568,7 +568,7 @@ inline_mysql_file_fgetc(
|
|||
{
|
||||
int result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
if (psi_likely(file->m_psi))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
|
@ -596,7 +596,7 @@ inline_mysql_file_fputs(
|
|||
{
|
||||
int result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
if (psi_likely(file->m_psi))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
|
@ -626,7 +626,7 @@ inline_mysql_file_fputc(
|
|||
{
|
||||
int result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
if (psi_likely(file->m_psi))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
|
@ -654,7 +654,7 @@ inline_mysql_file_fprintf(MYSQL_FILE *file, const char *format, ...)
|
|||
int result;
|
||||
va_list args;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
if (psi_likely(file->m_psi))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
|
@ -686,7 +686,7 @@ inline_mysql_file_vfprintf(
|
|||
{
|
||||
int result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
if (psi_likely(file->m_psi))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
|
@ -714,7 +714,7 @@ inline_mysql_file_fflush(
|
|||
{
|
||||
int result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
if (psi_likely(file->m_psi))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
|
@ -748,18 +748,15 @@ inline_mysql_file_fstat(
|
|||
{
|
||||
int result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, filenr, PSI_FILE_FSTAT);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, filenr, PSI_FILE_FSTAT);
|
||||
if (likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_wait)(locker, (size_t) 0, src_file, src_line);
|
||||
result= my_fstat(filenr, stat_area, flags);
|
||||
PSI_FILE_CALL(end_file_wait)(locker, (size_t) 0);
|
||||
return result;
|
||||
}
|
||||
PSI_FILE_CALL(start_file_wait)(locker, (size_t) 0, src_file, src_line);
|
||||
result= my_fstat(filenr, stat_area, flags);
|
||||
PSI_FILE_CALL(end_file_wait)(locker, (size_t) 0);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -776,18 +773,15 @@ inline_mysql_file_stat(
|
|||
{
|
||||
MY_STAT *result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)(&state, key, PSI_FILE_STAT, path, &locker);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)(&state, key, PSI_FILE_STAT, path, &locker);
|
||||
if (likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_open_wait)(locker, src_file, src_line);
|
||||
result= my_stat(path, stat_area, flags);
|
||||
PSI_FILE_CALL(end_file_open_wait)(locker, result);
|
||||
return result;
|
||||
}
|
||||
PSI_FILE_CALL(start_file_open_wait)(locker, src_file, src_line);
|
||||
result= my_stat(path, stat_area, flags);
|
||||
PSI_FILE_CALL(end_file_open_wait)(locker, result);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -804,19 +798,16 @@ inline_mysql_file_chsize(
|
|||
{
|
||||
int result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, file, PSI_FILE_CHSIZE);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, file, PSI_FILE_CHSIZE);
|
||||
if (likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_wait)(locker, (size_t) newlength, src_file,
|
||||
src_line);
|
||||
result= my_chsize(file, newlength, filler, flags);
|
||||
PSI_FILE_CALL(end_file_wait)(locker, (size_t) newlength);
|
||||
return result;
|
||||
}
|
||||
PSI_FILE_CALL(start_file_wait)(locker, (size_t) newlength, src_file,
|
||||
src_line);
|
||||
result= my_chsize(file, newlength, filler, flags);
|
||||
PSI_FILE_CALL(end_file_wait)(locker, (size_t) newlength);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -837,24 +828,21 @@ inline_mysql_file_fopen(
|
|||
if (likely(that != NULL))
|
||||
{
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)(&state, key, PSI_FILE_STREAM_OPEN,
|
||||
filename, that);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)(&state, key, PSI_FILE_STREAM_OPEN,
|
||||
filename, that);
|
||||
if (likely(locker != NULL))
|
||||
PSI_FILE_CALL(start_file_open_wait)(locker, src_file, src_line);
|
||||
that->m_file= my_fopen(filename, flags, myFlags);
|
||||
that->m_psi= PSI_FILE_CALL(end_file_open_wait)(locker, that->m_file);
|
||||
if (unlikely(that->m_file == NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_open_wait)(locker, src_file, src_line);
|
||||
that->m_file= my_fopen(filename, flags, myFlags);
|
||||
that->m_psi= PSI_FILE_CALL(end_file_open_wait)(locker, that->m_file);
|
||||
if (unlikely(that->m_file == NULL))
|
||||
{
|
||||
my_free(that);
|
||||
return NULL;
|
||||
}
|
||||
return that;
|
||||
my_free(that);
|
||||
return NULL;
|
||||
}
|
||||
return that;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -880,7 +868,7 @@ inline_mysql_file_fclose(
|
|||
if (likely(file != NULL))
|
||||
{
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
if (psi_likely(file->m_psi))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
|
@ -912,7 +900,7 @@ inline_mysql_file_fread(
|
|||
{
|
||||
size_t result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
if (psi_likely(file->m_psi))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
|
@ -945,7 +933,7 @@ inline_mysql_file_fwrite(
|
|||
{
|
||||
size_t result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
if (psi_likely(file->m_psi))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
|
@ -978,7 +966,7 @@ inline_mysql_file_fseek(
|
|||
{
|
||||
my_off_t result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
if (psi_likely(file->m_psi))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
|
@ -1006,7 +994,7 @@ inline_mysql_file_ftell(
|
|||
{
|
||||
my_off_t result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
if (psi_likely(file->m_psi))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
|
@ -1034,19 +1022,16 @@ inline_mysql_file_create(
|
|||
{
|
||||
File file;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)(&state, key, PSI_FILE_CREATE, filename,
|
||||
&locker);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)(&state, key, PSI_FILE_CREATE, filename,
|
||||
&locker);
|
||||
if (likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_open_wait)(locker, src_file, src_line);
|
||||
file= my_create(filename, create_flags, access_flags, myFlags);
|
||||
PSI_FILE_CALL(end_file_open_wait_and_bind_to_descriptor)(locker, file);
|
||||
return file;
|
||||
}
|
||||
PSI_FILE_CALL(start_file_open_wait)(locker, src_file, src_line);
|
||||
file= my_create(filename, create_flags, access_flags, myFlags);
|
||||
PSI_FILE_CALL(end_file_open_wait_and_bind_to_descriptor)(locker, file);
|
||||
return file;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1067,7 +1052,7 @@ inline_mysql_file_create_temp(
|
|||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)
|
||||
(&state, key, PSI_FILE_CREATE, NULL, &locker);
|
||||
if (likely(locker != NULL))
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_open_wait)(locker, src_file, src_line);
|
||||
/* The file name is generated by create_temp_file(). */
|
||||
|
@ -1090,19 +1075,16 @@ inline_mysql_file_open(
|
|||
{
|
||||
File file;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)(&state, key, PSI_FILE_OPEN, filename,
|
||||
&locker);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)(&state, key, PSI_FILE_OPEN, filename,
|
||||
&locker);
|
||||
if (likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_open_wait)(locker, src_file, src_line);
|
||||
file= my_open(filename, flags, myFlags);
|
||||
PSI_FILE_CALL(end_file_open_wait_and_bind_to_descriptor)(locker, file);
|
||||
return file;
|
||||
}
|
||||
PSI_FILE_CALL(start_file_open_wait)(locker, src_file, src_line);
|
||||
file= my_open(filename, flags, myFlags);
|
||||
PSI_FILE_CALL(end_file_open_wait_and_bind_to_descriptor)(locker, file);
|
||||
return file;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1119,18 +1101,15 @@ inline_mysql_file_close(
|
|||
{
|
||||
int result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, file, PSI_FILE_CLOSE);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, file, PSI_FILE_CLOSE);
|
||||
if (likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_close_wait)(locker, src_file, src_line);
|
||||
result= my_close(file, flags);
|
||||
PSI_FILE_CALL(end_file_close_wait)(locker, result);
|
||||
return result;
|
||||
}
|
||||
PSI_FILE_CALL(start_file_close_wait)(locker, src_file, src_line);
|
||||
result= my_close(file, flags);
|
||||
PSI_FILE_CALL(end_file_close_wait)(locker, result);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1147,23 +1126,20 @@ inline_mysql_file_read(
|
|||
{
|
||||
size_t result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
size_t bytes_read;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, file, PSI_FILE_READ);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
size_t bytes_read;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, file, PSI_FILE_READ);
|
||||
if (likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_wait)(locker, count, src_file, src_line);
|
||||
result= my_read(file, buffer, count, flags);
|
||||
if (flags & (MY_NABP | MY_FNABP))
|
||||
bytes_read= (result == 0) ? count : 0;
|
||||
else
|
||||
bytes_read= (result != MY_FILE_ERROR) ? result : 0;
|
||||
PSI_FILE_CALL(end_file_wait)(locker, bytes_read);
|
||||
return result;
|
||||
}
|
||||
PSI_FILE_CALL(start_file_wait)(locker, count, src_file, src_line);
|
||||
result= my_read(file, buffer, count, flags);
|
||||
if (flags & (MY_NABP | MY_FNABP))
|
||||
bytes_read= (result == 0) ? count : 0;
|
||||
else
|
||||
bytes_read= (result != MY_FILE_ERROR) ? result : 0;
|
||||
PSI_FILE_CALL(end_file_wait)(locker, bytes_read);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1180,23 +1156,20 @@ inline_mysql_file_write(
|
|||
{
|
||||
size_t result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
size_t bytes_written;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, file, PSI_FILE_WRITE);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
size_t bytes_written;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, file, PSI_FILE_WRITE);
|
||||
if (likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_wait)(locker, count, src_file, src_line);
|
||||
result= my_write(file, buffer, count, flags);
|
||||
if (flags & (MY_NABP | MY_FNABP))
|
||||
bytes_written= (result == 0) ? count : 0;
|
||||
else
|
||||
bytes_written= (result != MY_FILE_ERROR) ? result : 0;
|
||||
PSI_FILE_CALL(end_file_wait)(locker, bytes_written);
|
||||
return result;
|
||||
}
|
||||
PSI_FILE_CALL(start_file_wait)(locker, count, src_file, src_line);
|
||||
result= my_write(file, buffer, count, flags);
|
||||
if (flags & (MY_NABP | MY_FNABP))
|
||||
bytes_written= (result == 0) ? count : 0;
|
||||
else
|
||||
bytes_written= (result != MY_FILE_ERROR) ? result : 0;
|
||||
PSI_FILE_CALL(end_file_wait)(locker, bytes_written);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1213,23 +1186,20 @@ inline_mysql_file_pread(
|
|||
{
|
||||
size_t result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
size_t bytes_read;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, file, PSI_FILE_READ);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
size_t bytes_read;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, file, PSI_FILE_READ);
|
||||
if (likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_wait)(locker, count, src_file, src_line);
|
||||
result= my_pread(file, buffer, count, offset, flags);
|
||||
if (flags & (MY_NABP | MY_FNABP))
|
||||
bytes_read= (result == 0) ? count : 0;
|
||||
else
|
||||
bytes_read= (result != MY_FILE_ERROR) ? result : 0;
|
||||
PSI_FILE_CALL(end_file_wait)(locker, bytes_read);
|
||||
return result;
|
||||
}
|
||||
PSI_FILE_CALL(start_file_wait)(locker, count, src_file, src_line);
|
||||
result= my_pread(file, buffer, count, offset, flags);
|
||||
if (flags & (MY_NABP | MY_FNABP))
|
||||
bytes_read= (result == 0) ? count : 0;
|
||||
else
|
||||
bytes_read= (result != MY_FILE_ERROR) ? result : 0;
|
||||
PSI_FILE_CALL(end_file_wait)(locker, bytes_read);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1246,23 +1216,20 @@ inline_mysql_file_pwrite(
|
|||
{
|
||||
size_t result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
size_t bytes_written;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, file, PSI_FILE_WRITE);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
size_t bytes_written;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, file, PSI_FILE_WRITE);
|
||||
if (likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_wait)(locker, count, src_file, src_line);
|
||||
result= my_pwrite(file, buffer, count, offset, flags);
|
||||
if (flags & (MY_NABP | MY_FNABP))
|
||||
bytes_written= (result == 0) ? count : 0;
|
||||
else
|
||||
bytes_written= (result != MY_FILE_ERROR) ? result : 0;
|
||||
PSI_FILE_CALL(end_file_wait)(locker, bytes_written);
|
||||
return result;
|
||||
}
|
||||
PSI_FILE_CALL(start_file_wait)(locker, count, src_file, src_line);
|
||||
result= my_pwrite(file, buffer, count, offset, flags);
|
||||
if (flags & (MY_NABP | MY_FNABP))
|
||||
bytes_written= (result == 0) ? count : 0;
|
||||
else
|
||||
bytes_written= (result != MY_FILE_ERROR) ? result : 0;
|
||||
PSI_FILE_CALL(end_file_wait)(locker, bytes_written);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1279,18 +1246,15 @@ inline_mysql_file_seek(
|
|||
{
|
||||
my_off_t result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, file, PSI_FILE_SEEK);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, file, PSI_FILE_SEEK);
|
||||
if (likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_wait)(locker, (size_t) 0, src_file, src_line);
|
||||
result= my_seek(file, pos, whence, flags);
|
||||
PSI_FILE_CALL(end_file_wait)(locker, (size_t) 0);
|
||||
return result;
|
||||
}
|
||||
PSI_FILE_CALL(start_file_wait)(locker, (size_t) 0, src_file, src_line);
|
||||
result= my_seek(file, pos, whence, flags);
|
||||
PSI_FILE_CALL(end_file_wait)(locker, (size_t) 0);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1307,18 +1271,15 @@ inline_mysql_file_tell(
|
|||
{
|
||||
my_off_t result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, file, PSI_FILE_TELL);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, file, PSI_FILE_TELL);
|
||||
if (likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_wait)(locker, (size_t) 0, src_file, src_line);
|
||||
result= my_tell(file, flags);
|
||||
PSI_FILE_CALL(end_file_wait)(locker, (size_t) 0);
|
||||
return result;
|
||||
}
|
||||
PSI_FILE_CALL(start_file_wait)(locker, (size_t) 0, src_file, src_line);
|
||||
result= my_tell(file, flags);
|
||||
PSI_FILE_CALL(end_file_wait)(locker, (size_t) 0);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1335,18 +1296,15 @@ inline_mysql_file_delete(
|
|||
{
|
||||
int result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)(&state, key, PSI_FILE_DELETE, name, &locker);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)(&state, key, PSI_FILE_DELETE, name, &locker);
|
||||
if (likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_close_wait)(locker, src_file, src_line);
|
||||
result= my_delete(name, flags);
|
||||
PSI_FILE_CALL(end_file_close_wait)(locker, result);
|
||||
return result;
|
||||
}
|
||||
PSI_FILE_CALL(start_file_close_wait)(locker, src_file, src_line);
|
||||
result= my_delete(name, flags);
|
||||
PSI_FILE_CALL(end_file_close_wait)(locker, result);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1363,19 +1321,16 @@ inline_mysql_file_rename(
|
|||
{
|
||||
int result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)
|
||||
(&state, key, PSI_FILE_RENAME, from, &locker);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)
|
||||
(&state, key, PSI_FILE_RENAME, from, &locker);
|
||||
if (likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_wait)(locker, (size_t) 0, src_file, src_line);
|
||||
result= my_rename(from, to, flags);
|
||||
PSI_FILE_CALL(end_file_rename_wait)(locker, from, to, result);
|
||||
return result;
|
||||
}
|
||||
PSI_FILE_CALL(start_file_wait)(locker, (size_t) 0, src_file, src_line);
|
||||
result= my_rename(from, to, flags);
|
||||
PSI_FILE_CALL(end_file_rename_wait)(locker, from, to, result);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1394,20 +1349,17 @@ inline_mysql_file_create_with_symlink(
|
|||
{
|
||||
File file;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)(&state, key, PSI_FILE_CREATE, filename,
|
||||
&locker);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)(&state, key, PSI_FILE_CREATE, filename,
|
||||
&locker);
|
||||
if (likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_open_wait)(locker, src_file, src_line);
|
||||
file= my_create_with_symlink(linkname, filename, create_flags, access_flags,
|
||||
flags);
|
||||
PSI_FILE_CALL(end_file_open_wait_and_bind_to_descriptor)(locker, file);
|
||||
return file;
|
||||
}
|
||||
PSI_FILE_CALL(start_file_open_wait)(locker, src_file, src_line);
|
||||
file= my_create_with_symlink(linkname, filename, create_flags, access_flags,
|
||||
flags);
|
||||
PSI_FILE_CALL(end_file_open_wait_and_bind_to_descriptor)(locker, file);
|
||||
return file;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1428,19 +1380,16 @@ inline_mysql_file_delete_with_symlink(
|
|||
char buf[FN_REFLEN];
|
||||
char *fullname= fn_format(buf, name, "", ext, MY_UNPACK_FILENAME | MY_APPEND_EXT);
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)(&state, key, PSI_FILE_DELETE, fullname,
|
||||
&locker);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)(&state, key, PSI_FILE_DELETE, fullname,
|
||||
&locker);
|
||||
if (likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_close_wait)(locker, src_file, src_line);
|
||||
result= my_handler_delete_with_symlink(fullname, flags);
|
||||
PSI_FILE_CALL(end_file_close_wait)(locker, result);
|
||||
return result;
|
||||
}
|
||||
PSI_FILE_CALL(start_file_close_wait)(locker, src_file, src_line);
|
||||
result= my_handler_delete_with_symlink(fullname, flags);
|
||||
PSI_FILE_CALL(end_file_close_wait)(locker, result);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1458,19 +1407,16 @@ inline_mysql_file_rename_with_symlink(
|
|||
{
|
||||
int result;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)
|
||||
(&state, key, PSI_FILE_RENAME, from, &locker);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_name_locker)
|
||||
(&state, key, PSI_FILE_RENAME, from, &locker);
|
||||
if (likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_wait)(locker, (size_t) 0, src_file, src_line);
|
||||
result= my_rename_with_symlink(from, to, flags);
|
||||
PSI_FILE_CALL(end_file_rename_wait)(locker, from, to, result);
|
||||
return result;
|
||||
}
|
||||
PSI_FILE_CALL(start_file_wait)(locker, (size_t) 0, src_file, src_line);
|
||||
result= my_rename_with_symlink(from, to, flags);
|
||||
PSI_FILE_CALL(end_file_rename_wait)(locker, from, to, result);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1487,18 +1433,15 @@ inline_mysql_file_sync(
|
|||
{
|
||||
int result= 0;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
if (psi_likely(pfs_enabled))
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, fd, PSI_FILE_SYNC);
|
||||
if (psi_likely(locker != NULL))
|
||||
{
|
||||
struct PSI_file_locker *locker;
|
||||
PSI_file_locker_state state;
|
||||
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&state, fd, PSI_FILE_SYNC);
|
||||
if (likely(locker != NULL))
|
||||
{
|
||||
PSI_FILE_CALL(start_file_wait)(locker, (size_t) 0, src_file, src_line);
|
||||
result= my_sync(fd, flags);
|
||||
PSI_FILE_CALL(end_file_wait)(locker, (size_t) 0);
|
||||
return result;
|
||||
}
|
||||
PSI_FILE_CALL(start_file_wait)(locker, (size_t) 0, src_file, src_line);
|
||||
result= my_sync(fd, flags);
|
||||
PSI_FILE_CALL(end_file_wait)(locker, (size_t) 0);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -30,10 +30,25 @@
|
|||
|
||||
#include "mysql/psi/psi.h"
|
||||
|
||||
#ifdef HAVE_PSI_METADATA_INTERFACE
|
||||
|
||||
#ifndef PSI_METADATA_CALL
|
||||
#define PSI_METADATA_CALL(M) PSI_DYNAMIC_CALL(M)
|
||||
#endif
|
||||
|
||||
#define PSI_CALL_start_metadata_wait(A,B,C,D) PSI_METADATA_CALL(start_metadata_wait)(A,B,C,D)
|
||||
#define PSI_CALL_end_metadata_wait(A,B) PSI_METADATA_CALL(end_metadata_wait)(A,B)
|
||||
#define PSI_CALL_create_metadata_lock(A,B,C,D,E,F,G) PSI_METADATA_CALL(create_metadata_lock)(A,B,C,D,E,F,G)
|
||||
#define PSI_CALL_set_metadata_lock_status(A,B) PSI_METADATA_CALL(set_metadata_lock_status)(A,B)
|
||||
#define PSI_CALL_destroy_metadata_lock(A) PSI_METADATA_CALL(destroy_metadata_lock)(A)
|
||||
#else
|
||||
#define PSI_CALL_start_metadata_wait(A,B,C,D) 0
|
||||
#define PSI_CALL_end_metadata_wait(A,B) do { } while(0)
|
||||
#define PSI_CALL_create_metadata_lock(A,B,C,D,E,F,G) 0
|
||||
#define PSI_CALL_set_metadata_lock_status(A,B) do {} while(0)
|
||||
#define PSI_CALL_destroy_metadata_lock(A) do {} while(0)
|
||||
#endif
|
||||
|
||||
/**
|
||||
@defgroup Thread_instrumentation Metadata Instrumentation
|
||||
@ingroup Instrumentation_interface
|
||||
|
|
|
@ -30,6 +30,18 @@
|
|||
|
||||
#include "mysql/psi/psi.h"
|
||||
|
||||
#ifdef HAVE_PSI_MEMORY_INTERFACE
|
||||
#define PSI_CALL_memory_alloc(A1,A2,A3) PSI_MEMORY_CALL(memory_alloc)(A1,A2,A3)
|
||||
#define PSI_CALL_memory_free(A1,A2,A3) PSI_MEMORY_CALL(memory_free)(A1,A2,A3)
|
||||
#define PSI_CALL_memory_realloc(A1,A2,A3,A4) PSI_MEMORY_CALL(memory_realloc)(A1,A2,A3,A4)
|
||||
#define PSI_CALL_register_memory(A1,A2,A3) PSI_MEMORY_CALL(register_memory)(A1,A2,A3)
|
||||
#else
|
||||
#define PSI_CALL_memory_alloc(A1,A2,A3) 0
|
||||
#define PSI_CALL_memory_free(A1,A2,A3) do { } while(0)
|
||||
#define PSI_CALL_memory_realloc(A1,A2,A3,A4) 0
|
||||
#define PSI_CALL_register_memory(A1,A2,A3) do { } while(0)
|
||||
#endif
|
||||
|
||||
#ifndef PSI_MEMORY_CALL
|
||||
#define PSI_MEMORY_CALL(M) PSI_DYNAMIC_CALL(M)
|
||||
#endif
|
||||
|
@ -58,9 +70,7 @@ static inline void inline_mysql_memory_register(
|
|||
int count __attribute__((unused)))
|
||||
#endif
|
||||
{
|
||||
#ifdef HAVE_PSI_MEMORY_INTERFACE
|
||||
PSI_MEMORY_CALL(register_memory)(category, info, count);
|
||||
#endif
|
||||
PSI_CALL_register_memory(category, info, count);
|
||||
}
|
||||
|
||||
/** @} (end of group Memory_instrumentation) */
|
||||
|
|
|
@ -89,10 +89,10 @@
|
|||
End the last stage
|
||||
*/
|
||||
#ifdef HAVE_PSI_STAGE_INTERFACE
|
||||
#define mysql_end_stage \
|
||||
inline_mysql_end_stage
|
||||
#define mysql_end_stage() \
|
||||
inline_mysql_end_stage()
|
||||
#else
|
||||
#define mysql_end_stage \
|
||||
#define mysql_end_stage() \
|
||||
do {} while (0)
|
||||
#endif
|
||||
|
||||
|
|
|
@ -96,26 +96,32 @@
|
|||
#define PSI_CALL_new_thread PSI_THREAD_CALL(new_thread)
|
||||
#define PSI_CALL_register_thread PSI_THREAD_CALL(register_thread)
|
||||
#define PSI_CALL_set_thread PSI_THREAD_CALL(set_thread)
|
||||
#define PSI_CALL_set_thread_THD PSI_THREAD_CALL(set_thread_THD)
|
||||
#define PSI_CALL_set_thread_connect_attrs PSI_THREAD_CALL(set_thread_connect_attrs)
|
||||
#define PSI_CALL_set_thread_db PSI_THREAD_CALL(set_thread_db)
|
||||
#define PSI_CALL_set_thread_id PSI_THREAD_CALL(set_thread_id)
|
||||
#define PSI_CALL_set_thread_os_id PSI_THREAD_CALL(set_thread_os_id)
|
||||
#define PSI_CALL_set_thread_info PSI_THREAD_CALL(set_thread_info)
|
||||
#define PSI_CALL_set_thread_start_time PSI_THREAD_CALL(set_thread_start_time)
|
||||
#define PSI_CALL_set_thread_account PSI_THREAD_CALL(set_thread_account)
|
||||
#define PSI_CALL_spawn_thread PSI_THREAD_CALL(spawn_thread)
|
||||
#define PSI_CALL_set_connection_type PSI_THREAD_CALL(set_connection_type)
|
||||
#else
|
||||
#define PSI_CALL_delete_current_thread() do { } while(0)
|
||||
#define PSI_CALL_get_thread() NULL
|
||||
#define PSI_CALL_new_thread(A1,A2,A3) NULL
|
||||
#define PSI_CALL_register_thread(A1,A2,A3) do { } while(0)
|
||||
#define PSI_CALL_set_thread(A1) do { } while(0)
|
||||
#define PSI_CALL_set_thread_THD(A1,A2) do { } while(0)
|
||||
#define PSI_CALL_set_thread_connect_attrs(A1,A2,A3) 0
|
||||
#define PSI_CALL_set_thread_db(A1,A2) do { } while(0)
|
||||
#define PSI_CALL_set_thread_id(A1,A2) do { } while(0)
|
||||
#define PSI_CALL_set_thread_os_id(A1) do { } while(0)
|
||||
#define PSI_CALL_set_thread_info(A1, A2) do { } while(0)
|
||||
#define PSI_CALL_set_thread_start_time(A1) do { } while(0)
|
||||
#define PSI_CALL_set_thread_account(A1, A2, A3, A4) do { } while(0)
|
||||
#define PSI_CALL_spawn_thread(A1, A2, A3, A4, A5) 0
|
||||
#define PSI_CALL_set_connection_type(A) do { } while(0)
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
inline_mysql_start_transaction(STATE, XID, TRXID, ISO, RO, AC, __FILE__, __LINE__)
|
||||
#else
|
||||
#define MYSQL_START_TRANSACTION(STATE, XID, TRXID, ISO, RO, AC) \
|
||||
do {} while (0)
|
||||
0
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_PSI_TRANSACTION_INTERFACE
|
||||
|
@ -109,7 +109,7 @@
|
|||
inline_mysql_rollback_transaction(LOCKER)
|
||||
#else
|
||||
#define MYSQL_ROLLBACK_TRANSACTION(LOCKER) \
|
||||
NULL
|
||||
do { } while(0)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_PSI_TRANSACTION_INTERFACE
|
||||
|
@ -117,7 +117,7 @@
|
|||
inline_mysql_commit_transaction(LOCKER)
|
||||
#else
|
||||
#define MYSQL_COMMIT_TRANSACTION(LOCKER) \
|
||||
NULL
|
||||
do { } while(0)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_PSI_TRANSACTION_INTERFACE
|
||||
|
|
|
@ -23,10 +23,6 @@
|
|||
#ifndef MYSQL_PERFORMANCE_SCHEMA_INTERFACE_H
|
||||
#define MYSQL_PERFORMANCE_SCHEMA_INTERFACE_H
|
||||
|
||||
#ifdef EMBEDDED_LIBRARY
|
||||
#define DISABLE_ALL_PSI
|
||||
#endif /* EMBEDDED_LIBRARY */
|
||||
|
||||
#ifndef MY_GLOBAL_INCLUDED
|
||||
/*
|
||||
Make sure a .c or .cc file contains an include to my_global.h first.
|
||||
|
@ -55,6 +51,12 @@
|
|||
#include "psi_base.h"
|
||||
#include "psi_memory.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
typedef struct thread_attr pthread_attr_t;
|
||||
typedef DWORD pthread_t;
|
||||
typedef DWORD pthread_key_t;
|
||||
#endif
|
||||
|
||||
/*
|
||||
MAINTAINER:
|
||||
The following pattern:
|
||||
|
@ -783,6 +785,7 @@ enum PSI_socket_operation
|
|||
};
|
||||
typedef enum PSI_socket_operation PSI_socket_operation;
|
||||
|
||||
#endif
|
||||
/**
|
||||
Instrumented mutex key.
|
||||
To instrument a mutex, a mutex key must be obtained using @c register_mutex.
|
||||
|
@ -819,10 +822,7 @@ typedef unsigned int PSI_thread_key;
|
|||
To instrument a file, a file key must be obtained using @c register_file.
|
||||
Using a zero key always disable the instrumentation.
|
||||
*/
|
||||
#ifndef PSI_FILE_KEY_DEFINED
|
||||
typedef unsigned int PSI_file_key;
|
||||
#define PSI_FILE_KEY_DEFINED
|
||||
#endif
|
||||
|
||||
/**
|
||||
Instrumented stage key.
|
||||
|
@ -2967,7 +2967,7 @@ typedef struct PSI_sp_locker_state_v2 PSI_sp_locker_state;
|
|||
typedef struct PSI_metadata_locker_state_v2 PSI_metadata_locker_state;
|
||||
#endif
|
||||
|
||||
#else /* HAVE_PSI_INTERFACE */
|
||||
#ifndef HAVE_PSI_INTERFACE
|
||||
|
||||
/**
|
||||
Dummy structure, used to declare PSI_server when no instrumentation
|
||||
|
@ -3004,10 +3004,13 @@ struct PSI_stage_info_none
|
|||
with HAVE_PSI_INTERFACE.
|
||||
*/
|
||||
typedef struct PSI_stage_info_none PSI_stage_info;
|
||||
typedef struct PSI_stage_info_none PSI_statement_info;
|
||||
typedef struct PSI_stage_info_none PSI_sp_locker_state;
|
||||
typedef struct PSI_stage_info_none PSI_metadata_locker_state;
|
||||
typedef struct PSI_stage_info_none PSI_metadata_locker;
|
||||
|
||||
#endif /* HAVE_PSI_INTERFACE */
|
||||
|
||||
extern MYSQL_PLUGIN_IMPORT my_bool pfs_enabled;
|
||||
extern MYSQL_PLUGIN_IMPORT PSI *PSI_server;
|
||||
|
||||
/*
|
||||
|
|
|
@ -851,6 +851,5 @@ typedef struct PSI_transaction_locker_state_v1 PSI_transaction_locker_state;
|
|||
typedef struct PSI_socket_locker_state_v1 PSI_socket_locker_state;
|
||||
typedef struct PSI_sp_locker_state_v1 PSI_sp_locker_state;
|
||||
typedef struct PSI_metadata_locker_state_v1 PSI_metadata_locker_state;
|
||||
extern MYSQL_PLUGIN_IMPORT my_bool pfs_enabled;
|
||||
extern MYSQL_PLUGIN_IMPORT PSI *PSI_server;
|
||||
C_MODE_END
|
||||
|
|
|
@ -275,6 +275,5 @@ typedef struct PSI_transaction_locker_state_v2 PSI_transaction_locker_state;
|
|||
typedef struct PSI_socket_locker_state_v2 PSI_socket_locker_state;
|
||||
typedef struct PSI_sp_locker_state_v2 PSI_sp_locker_state;
|
||||
typedef struct PSI_metadata_locker_state_v2 PSI_metadata_locker_state;
|
||||
extern MYSQL_PLUGIN_IMPORT my_bool pfs_enabled;
|
||||
extern MYSQL_PLUGIN_IMPORT PSI *PSI_server;
|
||||
C_MODE_END
|
||||
|
|
|
@ -28,6 +28,10 @@
|
|||
#ifndef MYSQL_PSI_BASE_H
|
||||
#define MYSQL_PSI_BASE_H
|
||||
|
||||
#ifdef EMBEDDED_LIBRARY
|
||||
#define DISABLE_ALL_PSI
|
||||
#endif /* EMBEDDED_LIBRARY */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
|
@ -25,8 +25,10 @@
|
|||
|
||||
#define HOSTNAME_LENGTH 60
|
||||
#define SYSTEM_CHARSET_MBMAXLEN 3
|
||||
#define NAME_CHAR_LEN 64U /* Field/table name length */
|
||||
#define USERNAME_CHAR_LENGTH 128U
|
||||
#define NAME_CHAR_LEN 64 /* Field/table name length */
|
||||
#define USERNAME_CHAR_LENGTH 128
|
||||
#define USERNAME_CHAR_LENGTH_STR STRINGIFY_ARG(USERNAME_CHAR_LENGTH)
|
||||
|
||||
#define NAME_LEN (NAME_CHAR_LEN*SYSTEM_CHARSET_MBMAXLEN)
|
||||
#define USERNAME_LENGTH (USERNAME_CHAR_LENGTH*SYSTEM_CHARSET_MBMAXLEN)
|
||||
#define DEFINER_CHAR_LENGTH (USERNAME_CHAR_LENGTH + HOSTNAME_LENGTH + 1)
|
||||
|
|
|
@ -78,6 +78,9 @@ void pfs_start_file_close_wait_v1(PSI_file_locker *locker,
|
|||
|
||||
void pfs_end_file_close_wait_v1(PSI_file_locker *locker, int rc);
|
||||
|
||||
void pfs_end_file_rename_wait_v1(PSI_file_locker *locker, const char *old_name,
|
||||
const char *new_name, int rc);
|
||||
|
||||
C_MODE_END
|
||||
|
||||
#endif /* EMBEDDED_LIBRARY */
|
||||
|
|
|
@ -76,7 +76,13 @@ loose-performance-schema-max-cond-instances=1000
|
|||
loose-performance-schema-max-file-instances=10000
|
||||
loose-performance-schema-max-socket-instances=1000
|
||||
loose-performance-schema-max-table-instances=500
|
||||
loose-performance-schema-max-table-lock-stat=500
|
||||
loose-performance-schema-max-index-stat=5000
|
||||
loose-performance-schema-max-table-handles=1000
|
||||
loose-performance-schema-max-prepared-statements-instances=100
|
||||
loose-performance-schema-max-program-instances=5000
|
||||
loose-performance-schema-setup-actors-size=100
|
||||
loose-performance-schema-setup-objects-size=100
|
||||
|
||||
loose-performance-schema-events-waits-history-size=10
|
||||
loose-performance-schema-events-waits-history-long-size=10000
|
||||
|
@ -84,8 +90,11 @@ loose-performance-schema-events-stages-history-size=10
|
|||
loose-performance-schema-events-stages-history-long-size=1000
|
||||
loose-performance-schema-events-statements-history-size=10
|
||||
loose-performance-schema-events-statements-history-long-size=1000
|
||||
loose-performance-schema-events-transactions-history-size=10
|
||||
loose-performance-schema-events-transactions-history-long-size=1000
|
||||
loose-performance-schema-max-thread-instances=200
|
||||
loose-performance-schema-session-connect-attrs-size=2048
|
||||
loose-performance-schema-max-metadata-locks=10000
|
||||
|
||||
# Enable everything, for maximun code exposure during testing
|
||||
|
||||
|
@ -97,6 +106,9 @@ loose-performance-schema-consumer-events-stages-history-long=ON
|
|||
loose-performance-schema-consumer-events-statements-current=ON
|
||||
loose-performance-schema-consumer-events-statements-history=ON
|
||||
loose-performance-schema-consumer-events-statements-history-long=ON
|
||||
loose-performance-schema-consumer-events-transactions-current=ON
|
||||
loose-performance-schema-consumer-events-transactions-history=ON
|
||||
loose-performance-schema-consumer-events-transactions-history-long=ON
|
||||
loose-performance-schema-consumer-events-waits-current=ON
|
||||
loose-performance-schema-consumer-events-waits-history=ON
|
||||
loose-performance-schema-consumer-events-waits-history-long=ON
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--let $show_statement = show all slaves status
|
||||
--let $field = Slave_SQL_State
|
||||
--let $condition = = 'Slave has read all relay log; waiting for the slave I/O thread to update it'
|
||||
--let $condition = = 'Slave has read all relay log; waiting for more updates'
|
||||
--let $wait_for_all = 1
|
||||
--source include/wait_show_condition.inc
|
||||
|
||||
|
|
|
@ -756,13 +756,21 @@ The following specify which files/extra groups are read (specified before remain
|
|||
--performance-schema-consumer-events-statements-current
|
||||
Default startup value for the events_statements_current
|
||||
consumer.
|
||||
(Defaults to on; use --skip-performance-schema-consumer-events-statements-current to disable.)
|
||||
--performance-schema-consumer-events-statements-history
|
||||
Default startup value for the events_statements_history
|
||||
consumer.
|
||||
--performance-schema-consumer-events-statements-history-long
|
||||
Default startup value for the
|
||||
events_statements_history_long consumer.
|
||||
--performance-schema-consumer-events-transactions-current
|
||||
Default startup value for the events_transactions_current
|
||||
consumer.
|
||||
--performance-schema-consumer-events-transactions-history
|
||||
Default startup value for the events_transactions_history
|
||||
consumer.
|
||||
--performance-schema-consumer-events-transactions-history-long
|
||||
Default startup value for the
|
||||
events_transactions_history_long consumer.
|
||||
--performance-schema-consumer-events-waits-current
|
||||
Default startup value for the events_waits_current
|
||||
consumer.
|
||||
|
@ -798,6 +806,12 @@ The following specify which files/extra groups are read (specified before remain
|
|||
--performance-schema-events-statements-history-size=#
|
||||
Number of rows per thread in EVENTS_STATEMENTS_HISTORY.
|
||||
Use 0 to disable, -1 for automated sizing.
|
||||
--performance-schema-events-transactions-history-long-size=#
|
||||
Number of rows in EVENTS_TRANSACTIONS_HISTORY_LONG. Use 0
|
||||
to disable, -1 for automated sizing.
|
||||
--performance-schema-events-transactions-history-size=#
|
||||
Number of rows per thread in EVENTS_TRANSACTIONS_HISTORY.
|
||||
Use 0 to disable, -1 for automated sizing.
|
||||
--performance-schema-events-waits-history-long-size=#
|
||||
Number of rows in EVENTS_WAITS_HISTORY_LONG. Use 0 to
|
||||
disable, -1 for automated sizing.
|
||||
|
@ -825,11 +839,25 @@ The following specify which files/extra groups are read (specified before remain
|
|||
--performance-schema-max-file-instances=#
|
||||
Maximum number of instrumented files. Use 0 to disable,
|
||||
-1 for automated sizing.
|
||||
--performance-schema-max-index-stat=#
|
||||
Maximum number of index statistics for instrumented
|
||||
tables. Use 0 to disable, -1 for automated scaling.
|
||||
--performance-schema-max-memory-classes=#
|
||||
Maximum number of memory pool instruments.
|
||||
--performance-schema-max-metadata-locks=#
|
||||
Maximum number of metadata locks. Use 0 to disable, -1
|
||||
for automated scaling.
|
||||
--performance-schema-max-mutex-classes=#
|
||||
Maximum number of mutex instruments.
|
||||
--performance-schema-max-mutex-instances=#
|
||||
Maximum number of instrumented MUTEX objects. Use 0 to
|
||||
disable, -1 for automated sizing.
|
||||
--performance-schema-max-prepared-statements-instances=#
|
||||
Maximum number of instrumented prepared statements. Use 0
|
||||
to disable, -1 for automated scaling.
|
||||
--performance-schema-max-program-instances=#
|
||||
Maximum number of instrumented programs. Use 0 to
|
||||
disable, -1 for automated scaling.
|
||||
--performance-schema-max-rwlock-classes=#
|
||||
Maximum number of rwlock instruments.
|
||||
--performance-schema-max-rwlock-instances=#
|
||||
|
@ -840,16 +868,23 @@ The following specify which files/extra groups are read (specified before remain
|
|||
--performance-schema-max-socket-instances=#
|
||||
Maximum number of opened instrumented sockets. Use 0 to
|
||||
disable, -1 for automated sizing.
|
||||
--performance-schema-max-sql-text-length=#
|
||||
Maximum length of displayed sql text.
|
||||
--performance-schema-max-stage-classes=#
|
||||
Maximum number of stage instruments.
|
||||
--performance-schema-max-statement-classes=#
|
||||
Maximum number of statement instruments.
|
||||
--performance-schema-max-statement-stack=#
|
||||
Number of rows per thread in EVENTS_STATEMENTS_CURRENT.
|
||||
--performance-schema-max-table-handles=#
|
||||
Maximum number of opened instrumented tables. Use 0 to
|
||||
disable, -1 for automated sizing.
|
||||
--performance-schema-max-table-instances=#
|
||||
Maximum number of instrumented tables. Use 0 to disable,
|
||||
-1 for automated sizing.
|
||||
--performance-schema-max-table-lock-stat=#
|
||||
Maximum number of lock statistics for instrumented
|
||||
tables. Use 0 to disable, -1 for automated scaling.
|
||||
--performance-schema-max-thread-classes=#
|
||||
Maximum number of thread instruments.
|
||||
--performance-schema-max-thread-instances=#
|
||||
|
@ -1613,9 +1648,12 @@ performance-schema-accounts-size -1
|
|||
performance-schema-consumer-events-stages-current FALSE
|
||||
performance-schema-consumer-events-stages-history FALSE
|
||||
performance-schema-consumer-events-stages-history-long FALSE
|
||||
performance-schema-consumer-events-statements-current TRUE
|
||||
performance-schema-consumer-events-statements-current FALSE
|
||||
performance-schema-consumer-events-statements-history FALSE
|
||||
performance-schema-consumer-events-statements-history-long FALSE
|
||||
performance-schema-consumer-events-transactions-current FALSE
|
||||
performance-schema-consumer-events-transactions-history FALSE
|
||||
performance-schema-consumer-events-transactions-history-long FALSE
|
||||
performance-schema-consumer-events-waits-current FALSE
|
||||
performance-schema-consumer-events-waits-history FALSE
|
||||
performance-schema-consumer-events-waits-history-long FALSE
|
||||
|
@ -1627,6 +1665,8 @@ performance-schema-events-stages-history-long-size -1
|
|||
performance-schema-events-stages-history-size -1
|
||||
performance-schema-events-statements-history-long-size -1
|
||||
performance-schema-events-statements-history-size -1
|
||||
performance-schema-events-transactions-history-long-size -1
|
||||
performance-schema-events-transactions-history-size -1
|
||||
performance-schema-events-waits-history-long-size -1
|
||||
performance-schema-events-waits-history-size -1
|
||||
performance-schema-hosts-size -1
|
||||
|
@ -1634,24 +1674,32 @@ performance-schema-instrument
|
|||
performance-schema-max-cond-classes 90
|
||||
performance-schema-max-cond-instances -1
|
||||
performance-schema-max-digest-length 1024
|
||||
performance-schema-max-file-classes 50
|
||||
performance-schema-max-file-classes 80
|
||||
performance-schema-max-file-handles 32768
|
||||
performance-schema-max-file-instances -1
|
||||
performance-schema-max-mutex-classes 200
|
||||
performance-schema-max-index-stat -1
|
||||
performance-schema-max-memory-classes 320
|
||||
performance-schema-max-metadata-locks -1
|
||||
performance-schema-max-mutex-classes 210
|
||||
performance-schema-max-mutex-instances -1
|
||||
performance-schema-max-rwlock-classes 40
|
||||
performance-schema-max-prepared-statements-instances -1
|
||||
performance-schema-max-program-instances -1
|
||||
performance-schema-max-rwlock-classes 50
|
||||
performance-schema-max-rwlock-instances -1
|
||||
performance-schema-max-socket-classes 10
|
||||
performance-schema-max-socket-instances -1
|
||||
performance-schema-max-sql-text-length 1024
|
||||
performance-schema-max-stage-classes 160
|
||||
performance-schema-max-statement-classes 202
|
||||
performance-schema-max-statement-classes 222
|
||||
performance-schema-max-statement-stack 10
|
||||
performance-schema-max-table-handles -1
|
||||
performance-schema-max-table-instances -1
|
||||
performance-schema-max-table-lock-stat -1
|
||||
performance-schema-max-thread-classes 50
|
||||
performance-schema-max-thread-instances -1
|
||||
performance-schema-session-connect-attrs-size -1
|
||||
performance-schema-setup-actors-size 100
|
||||
performance-schema-setup-objects-size 100
|
||||
performance-schema-setup-actors-size -1
|
||||
performance-schema-setup-objects-size -1
|
||||
performance-schema-users-size -1
|
||||
port 3306
|
||||
port-open-timeout 0
|
||||
|
|
|
@ -45,7 +45,7 @@ PROCESSLIST CREATE TEMPORARY TABLE `PROCESSLIST` (
|
|||
) DEFAULT CHARSET=utf8
|
||||
SHOW processlist;
|
||||
Id User Host db Command Time State Info Progress
|
||||
ID root HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID root HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
SELECT * FROM processlist ORDER BY id;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
|
@ -125,7 +125,7 @@ PROCESSLIST CREATE TEMPORARY TABLE `PROCESSLIST` (
|
|||
) DEFAULT CHARSET=utf8
|
||||
SHOW processlist;
|
||||
Id User Host db Command Time State Info Progress
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM processlist ORDER BY id;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Filling schema table SELECT * FROM processlist ORDER BY id TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM processlist ORDER BY id TID
|
||||
|
@ -190,7 +190,7 @@ Grants for ddicttestuser1@localhost
|
|||
GRANT PROCESS ON *.* TO `ddicttestuser1`@`localhost` IDENTIFIED BY PASSWORD '*22DA61451703738F203CDB9DB041ACBA1F4760B1'
|
||||
SHOW processlist;
|
||||
Id User Host db Command Time State Info Progress
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
@ -206,7 +206,7 @@ SHOW processlist;
|
|||
Id User Host db Command Time State Info Progress
|
||||
ID root HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
@ -233,7 +233,7 @@ Id User Host db Command Time State Info Progress
|
|||
ID root HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID HOST_NAME information_schema Query TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
@ -259,7 +259,7 @@ SHOW processlist;
|
|||
Id User Host db Command Time State Info Progress
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
@ -303,7 +303,7 @@ Id User Host db Command Time State Info Progress
|
|||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
@ -331,7 +331,7 @@ ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
|||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
@ -390,7 +390,7 @@ ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
|||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser2 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser2 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser2 HOST_NAME information_schema Query TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
@ -421,7 +421,7 @@ GRANT USAGE ON *.* TO `ddicttestuser2`@`localhost` IDENTIFIED BY PASSWORD '*22DA
|
|||
SHOW processlist;
|
||||
Id User Host db Command Time State Info Progress
|
||||
ID ddicttestuser2 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser2 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser2 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser2 HOST_NAME information_schema Query TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
@ -452,7 +452,7 @@ ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
|||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
@ -490,7 +490,7 @@ ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
|||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
|
|
@ -45,7 +45,7 @@ PROCESSLIST CREATE TEMPORARY TABLE `PROCESSLIST` (
|
|||
) DEFAULT CHARSET=utf8
|
||||
SHOW processlist;
|
||||
Id User Host db Command Time State Info Progress
|
||||
ID root HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID root HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
SELECT * FROM processlist ORDER BY id;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
|
@ -125,7 +125,7 @@ PROCESSLIST CREATE TEMPORARY TABLE `PROCESSLIST` (
|
|||
) DEFAULT CHARSET=utf8
|
||||
SHOW processlist;
|
||||
Id User Host db Command Time State Info Progress
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM processlist ORDER BY id;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser1 HOST_NAME information_schema Execute TIME Filling schema table SELECT * FROM processlist ORDER BY id TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM processlist ORDER BY id TID
|
||||
|
@ -190,7 +190,7 @@ Grants for ddicttestuser1@localhost
|
|||
GRANT PROCESS ON *.* TO `ddicttestuser1`@`localhost` IDENTIFIED BY PASSWORD '*22DA61451703738F203CDB9DB041ACBA1F4760B1'
|
||||
SHOW processlist;
|
||||
Id User Host db Command Time State Info Progress
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser1 HOST_NAME information_schema Execute TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
@ -206,7 +206,7 @@ SHOW processlist;
|
|||
Id User Host db Command Time State Info Progress
|
||||
ID root HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser1 HOST_NAME information_schema Execute TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
@ -233,7 +233,7 @@ Id User Host db Command Time State Info Progress
|
|||
ID root HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID HOST_NAME information_schema Execute TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
@ -259,7 +259,7 @@ SHOW processlist;
|
|||
Id User Host db Command Time State Info Progress
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser1 HOST_NAME information_schema Execute TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
@ -303,7 +303,7 @@ Id User Host db Command Time State Info Progress
|
|||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser1 HOST_NAME information_schema Execute TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
@ -331,7 +331,7 @@ ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
|||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser1 HOST_NAME information_schema Execute TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
@ -390,7 +390,7 @@ ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
|||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser2 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser2 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser2 HOST_NAME information_schema Execute TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
@ -421,7 +421,7 @@ GRANT USAGE ON *.* TO `ddicttestuser2`@`localhost` IDENTIFIED BY PASSWORD '*22DA
|
|||
SHOW processlist;
|
||||
Id User Host db Command Time State Info Progress
|
||||
ID ddicttestuser2 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser2 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser2 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser2 HOST_NAME information_schema Execute TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
@ -452,7 +452,7 @@ ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
|||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser1 HOST_NAME information_schema Execute TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
@ -490,7 +490,7 @@ ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
|||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME Init SHOW processlist TIME_MS
|
||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME starting SHOW processlist TIME_MS
|
||||
SELECT * FROM information_schema.processlist;
|
||||
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_USED MAX_MEMORY_USED EXAMINED_ROWS QUERY_ID INFO_BINARY TID
|
||||
ID ddicttestuser1 HOST_NAME information_schema Execute TIME Filling schema table SELECT * FROM information_schema.processlist TIME_MS 0 0 0.000 MEMORY MAX_MEMORY ROWS QUERY_ID SELECT * FROM information_schema.processlist TID
|
||||
|
|
|
@ -39,7 +39,7 @@ ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_
|
|||
<ID> root <HOST_NAME> test Query <TIME> Filling schema table SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST <TIME_MS> 0 0 0.000 <MEMORY> <MAX_MEMORY> <ROWS> <QUERY_ID> SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST <TID>
|
||||
SHOW FULL PROCESSLIST;
|
||||
Id User Host db Command Time State Info Progress
|
||||
<ID> root <HOST_NAME> test Query <TIME> Init SHOW FULL PROCESSLIST <TIME_MS>
|
||||
<ID> root <HOST_NAME> test Query <TIME> starting SHOW FULL PROCESSLIST <TIME_MS>
|
||||
SET @default_id = CONNECTION_ID();
|
||||
SELECT COUNT(*) = 1 AS "Expect exact one connection with this id"
|
||||
FROM INFORMATION_SCHEMA.PROCESSLIST WHERE ID = @default_id;
|
||||
|
@ -85,7 +85,7 @@ ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_
|
|||
<ID> root <HOST_NAME> information_schema Query <TIME> <STATE> SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST <TIME_MS> 0 0 0.000 <MEMORY> <MAX_MEMORY> <ROWS> <QUERY_ID> SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST <TID>
|
||||
SHOW FULL PROCESSLIST;
|
||||
Id User Host db Command Time State Info Progress
|
||||
<ID> root <HOST_NAME> information_schema Query <TIME> Init SHOW FULL PROCESSLIST 0.000
|
||||
<ID> root <HOST_NAME> information_schema Query <TIME> starting SHOW FULL PROCESSLIST 0.000
|
||||
<ID> test_user <HOST_NAME> information_schema Sleep <TIME> NULL 0.000
|
||||
SELECT ID,TIME INTO @test_user_con1_id,@time FROM INFORMATION_SCHEMA.PROCESSLIST
|
||||
WHERE COMMAND = 'Sleep' AND USER = 'test_user';
|
||||
|
@ -117,7 +117,7 @@ ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_
|
|||
<ID> test_user <HOST_NAME> information_schema Query <TIME> Filling schema table SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST <TIME_MS> 0 0 0.000 <MEMORY> <MAX_MEMORY> <ROWS> <QUERY_ID> SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST <TID>
|
||||
SHOW FULL PROCESSLIST;
|
||||
Id User Host db Command Time State Info Progress
|
||||
<ID> test_user <HOST_NAME> information_schema Query <TIME> Init SHOW FULL PROCESSLIST 0.000
|
||||
<ID> test_user <HOST_NAME> information_schema Query <TIME> starting SHOW FULL PROCESSLIST 0.000
|
||||
# Ensure that the user test_user sees all connections with his username.
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
|
@ -133,7 +133,7 @@ ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_
|
|||
SHOW FULL PROCESSLIST;
|
||||
Id User Host db Command Time State Info Progress
|
||||
<ID> test_user <HOST_NAME> information_schema Sleep <TIME> NULL 0.000
|
||||
<ID> test_user <HOST_NAME> information_schema Query <TIME> Init SHOW FULL PROCESSLIST 0.000
|
||||
<ID> test_user <HOST_NAME> information_schema Query <TIME> starting SHOW FULL PROCESSLIST 0.000
|
||||
connection default;
|
||||
SELECT ID INTO @test_user_con2_id FROM INFORMATION_SCHEMA.PROCESSLIST
|
||||
WHERE ID <> @test_user_con1_id
|
||||
|
@ -156,7 +156,7 @@ ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_
|
|||
<ID> root <HOST_NAME> information_schema Query <TIME> Filling schema table SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST <TIME_MS> 0 0 0.000 <MEMORY> <MAX_MEMORY> <ROWS> <QUERY_ID> SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST <TID>
|
||||
SHOW FULL PROCESSLIST;
|
||||
Id User Host db Command Time State Info Progress
|
||||
<ID> root <HOST_NAME> information_schema Query <TIME> Init SHOW FULL PROCESSLIST 0.000
|
||||
<ID> root <HOST_NAME> information_schema Query <TIME> starting SHOW FULL PROCESSLIST 0.000
|
||||
<ID> test_user <HOST_NAME> information_schema Sleep <TIME> NULL 0.000
|
||||
<ID> test_user <HOST_NAME> information_schema Query <TIME> User sleep SELECT sleep(10), 17 0.000
|
||||
SELECT STATE, TIME, INFO INTO @state, @time, @info
|
||||
|
|
|
@ -39,7 +39,7 @@ ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_
|
|||
<ID> root <HOST_NAME> test Execute <TIME> Filling schema table SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST <TIME_MS> 0 0 0.000 <MEMORY> <MAX_MEMORY> <ROWS> <QUERY_ID> SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST <TID>
|
||||
SHOW FULL PROCESSLIST;
|
||||
Id User Host db Command Time State Info Progress
|
||||
<ID> root <HOST_NAME> test Query <TIME> Init SHOW FULL PROCESSLIST <TIME_MS>
|
||||
<ID> root <HOST_NAME> test Query <TIME> starting SHOW FULL PROCESSLIST <TIME_MS>
|
||||
SET @default_id = CONNECTION_ID();
|
||||
SELECT COUNT(*) = 1 AS "Expect exact one connection with this id"
|
||||
FROM INFORMATION_SCHEMA.PROCESSLIST WHERE ID = @default_id;
|
||||
|
@ -85,7 +85,7 @@ ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_
|
|||
<ID> root <HOST_NAME> information_schema Execute <TIME> <STATE> SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST <TIME_MS> 0 0 0.000 <MEMORY> <MAX_MEMORY> <ROWS> <QUERY_ID> SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST <TID>
|
||||
SHOW FULL PROCESSLIST;
|
||||
Id User Host db Command Time State Info Progress
|
||||
<ID> root <HOST_NAME> information_schema Query <TIME> Init SHOW FULL PROCESSLIST 0.000
|
||||
<ID> root <HOST_NAME> information_schema Query <TIME> starting SHOW FULL PROCESSLIST 0.000
|
||||
<ID> test_user <HOST_NAME> information_schema Sleep <TIME> NULL 0.000
|
||||
SELECT ID,TIME INTO @test_user_con1_id,@time FROM INFORMATION_SCHEMA.PROCESSLIST
|
||||
WHERE COMMAND = 'Sleep' AND USER = 'test_user';
|
||||
|
@ -117,7 +117,7 @@ ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_
|
|||
<ID> test_user <HOST_NAME> information_schema Execute <TIME> Filling schema table SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST <TIME_MS> 0 0 0.000 <MEMORY> <MAX_MEMORY> <ROWS> <QUERY_ID> SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST <TID>
|
||||
SHOW FULL PROCESSLIST;
|
||||
Id User Host db Command Time State Info Progress
|
||||
<ID> test_user <HOST_NAME> information_schema Query <TIME> Init SHOW FULL PROCESSLIST 0.000
|
||||
<ID> test_user <HOST_NAME> information_schema Query <TIME> starting SHOW FULL PROCESSLIST 0.000
|
||||
# Ensure that the user test_user sees all connections with his username.
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
|
@ -133,7 +133,7 @@ ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_
|
|||
SHOW FULL PROCESSLIST;
|
||||
Id User Host db Command Time State Info Progress
|
||||
<ID> test_user <HOST_NAME> information_schema Sleep <TIME> NULL 0.000
|
||||
<ID> test_user <HOST_NAME> information_schema Query <TIME> Init SHOW FULL PROCESSLIST 0.000
|
||||
<ID> test_user <HOST_NAME> information_schema Query <TIME> starting SHOW FULL PROCESSLIST 0.000
|
||||
connection default;
|
||||
SELECT ID INTO @test_user_con2_id FROM INFORMATION_SCHEMA.PROCESSLIST
|
||||
WHERE ID <> @test_user_con1_id
|
||||
|
@ -156,7 +156,7 @@ ID USER HOST DB COMMAND TIME STATE INFO TIME_MS STAGE MAX_STAGE PROGRESS MEMORY_
|
|||
<ID> root <HOST_NAME> information_schema Execute <TIME> Filling schema table SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST <TIME_MS> 0 0 0.000 <MEMORY> <MAX_MEMORY> <ROWS> <QUERY_ID> SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST <TID>
|
||||
SHOW FULL PROCESSLIST;
|
||||
Id User Host db Command Time State Info Progress
|
||||
<ID> root <HOST_NAME> information_schema Query <TIME> Init SHOW FULL PROCESSLIST 0.000
|
||||
<ID> root <HOST_NAME> information_schema Query <TIME> starting SHOW FULL PROCESSLIST 0.000
|
||||
<ID> test_user <HOST_NAME> information_schema Sleep <TIME> NULL 0.000
|
||||
<ID> test_user <HOST_NAME> information_schema Query <TIME> User sleep SELECT sleep(10), 17 0.000
|
||||
SELECT STATE, TIME, INFO INTO @state, @time, @info
|
||||
|
|
|
@ -90,16 +90,16 @@ MASTER 2.2
|
|||
#
|
||||
show all slaves status;
|
||||
Connection_name Slave_SQL_State Slave_IO_State Master_Host Master_User Master_Port Connect_Retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_Do_DB Replicate_Ignore_DB Replicate_Do_Table Replicate_Ignore_Table Replicate_Wild_Do_Table Replicate_Wild_Ignore_Table Last_Errno Last_Error Skip_Counter Exec_Master_Log_Pos Relay_Log_Space Until_Condition Until_Log_File Until_Log_Pos Master_SSL_Allowed Master_SSL_CA_File Master_SSL_CA_Path Master_SSL_Cert Master_SSL_Cipher Master_SSL_Key Seconds_Behind_Master Master_SSL_Verify_Server_Cert Last_IO_Errno Last_IO_Error Last_SQL_Errno Last_SQL_Error Replicate_Ignore_Server_Ids Master_Server_Id Master_SSL_Crl Master_SSL_Crlpath Using_Gtid Gtid_IO_Pos Replicate_Do_Domain_Ids Replicate_Ignore_Domain_Ids Parallel_Mode SQL_Delay SQL_Remaining_Delay Slave_SQL_Running_State Slave_DDL_Groups Slave_Non_Transactional_Groups Slave_Transactional_Groups Retried_transactions Max_relay_log_size Executed_log_entries Slave_received_heartbeats Slave_heartbeat_period Gtid_Slave_Pos
|
||||
Slave has read all relay log; waiting for the slave I/O thread to update it Waiting for master to send event 127.0.0.1 root MYPORT_1 60 master-bin.000001 <read_master_log_pos> relay.000002 <relay_log_pos> master-bin.000001 Yes Yes 0 0 <read_master_log_pos> <relay_log_space1> None 0 No 0 No 0 0 1 No optimistic 0 NULL Slave has read all relay log; waiting for the slave I/O thread to update it 0 0 0 0 1073741824 7 0 60.000
|
||||
MASTER 2.2 Slave has read all relay log; waiting for the slave I/O thread to update it Waiting for master to send event 127.0.0.1 root MYPORT_2 60 master-bin.000001 <read_master_log_pos> relay-master@00202@002e2.000002 <relay_log_pos> master-bin.000001 Yes Yes 0 0 <read_master_log_pos> <relay_log_space2> None 0 No 0 No 0 0 2 No optimistic 0 NULL Slave has read all relay log; waiting for the slave I/O thread to update it 0 0 0 0 1073741824 7 0 60.000
|
||||
Slave has read all relay log; waiting for more updates Waiting for master to send event 127.0.0.1 root MYPORT_1 60 master-bin.000001 <read_master_log_pos> relay.000002 <relay_log_pos> master-bin.000001 Yes Yes 0 0 <read_master_log_pos> <relay_log_space1> None 0 No 0 No 0 0 1 No optimistic 0 NULL Slave has read all relay log; waiting for more updates 0 0 0 0 1073741824 7 0 60.000
|
||||
MASTER 2.2 Slave has read all relay log; waiting for more updates Waiting for master to send event 127.0.0.1 root MYPORT_2 60 master-bin.000001 <read_master_log_pos> relay-master@00202@002e2.000002 <relay_log_pos> master-bin.000001 Yes Yes 0 0 <read_master_log_pos> <relay_log_space2> None 0 No 0 No 0 0 2 No optimistic 0 NULL Slave has read all relay log; waiting for more updates 0 0 0 0 1073741824 7 0 60.000
|
||||
include/wait_for_slave_to_start.inc
|
||||
set default_master_connection = 'MASTER 2.2';
|
||||
include/wait_for_slave_to_start.inc
|
||||
set default_master_connection = '';
|
||||
show all slaves status;
|
||||
Connection_name Slave_SQL_State Slave_IO_State Master_Host Master_User Master_Port Connect_Retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_Do_DB Replicate_Ignore_DB Replicate_Do_Table Replicate_Ignore_Table Replicate_Wild_Do_Table Replicate_Wild_Ignore_Table Last_Errno Last_Error Skip_Counter Exec_Master_Log_Pos Relay_Log_Space Until_Condition Until_Log_File Until_Log_Pos Master_SSL_Allowed Master_SSL_CA_File Master_SSL_CA_Path Master_SSL_Cert Master_SSL_Cipher Master_SSL_Key Seconds_Behind_Master Master_SSL_Verify_Server_Cert Last_IO_Errno Last_IO_Error Last_SQL_Errno Last_SQL_Error Replicate_Ignore_Server_Ids Master_Server_Id Master_SSL_Crl Master_SSL_Crlpath Using_Gtid Gtid_IO_Pos Replicate_Do_Domain_Ids Replicate_Ignore_Domain_Ids Parallel_Mode SQL_Delay SQL_Remaining_Delay Slave_SQL_Running_State Slave_DDL_Groups Slave_Non_Transactional_Groups Slave_Transactional_Groups Retried_transactions Max_relay_log_size Executed_log_entries Slave_received_heartbeats Slave_heartbeat_period Gtid_Slave_Pos
|
||||
Slave has read all relay log; waiting for the slave I/O thread to update it Waiting for master to send event 127.0.0.1 root MYPORT_1 60 master-bin.000001 <read_master_log_pos> relay.000004 <relay_log_pos> master-bin.000001 Yes Yes 0 0 <read_master_log_pos> <relay_log_space1> None 0 No 0 No 0 0 1 No optimistic 0 NULL Slave has read all relay log; waiting for the slave I/O thread to update it 0 0 0 0 1073741824 6 0 60.000
|
||||
MASTER 2.2 Slave has read all relay log; waiting for the slave I/O thread to update it Waiting for master to send event 127.0.0.1 root MYPORT_2 60 master-bin.000001 <read_master_log_pos> relay-master@00202@002e2.000004 <relay_log_pos> master-bin.000001 Yes Yes 0 0 <read_master_log_pos> <relay_log_space2> None 0 No 0 No 0 0 2 No optimistic 0 NULL Slave has read all relay log; waiting for the slave I/O thread to update it 0 0 0 0 1073741824 6 0 60.000
|
||||
Slave has read all relay log; waiting for more updates Waiting for master to send event 127.0.0.1 root MYPORT_1 60 master-bin.000001 <read_master_log_pos> relay.000004 <relay_log_pos> master-bin.000001 Yes Yes 0 0 <read_master_log_pos> <relay_log_space1> None 0 No 0 No 0 0 1 No optimistic 0 NULL Slave has read all relay log; waiting for more updates 0 0 0 0 1073741824 6 0 60.000
|
||||
MASTER 2.2 Slave has read all relay log; waiting for more updates Waiting for master to send event 127.0.0.1 root MYPORT_2 60 master-bin.000001 <read_master_log_pos> relay-master@00202@002e2.000004 <relay_log_pos> master-bin.000001 Yes Yes 0 0 <read_master_log_pos> <relay_log_space2> None 0 No 0 No 0 0 2 No optimistic 0 NULL Slave has read all relay log; waiting for more updates 0 0 0 0 1073741824 6 0 60.000
|
||||
#
|
||||
# List of files matching '*info*' pattern
|
||||
# after slave server restart
|
||||
|
|
|
@ -21,7 +21,7 @@ connection slave;
|
|||
"Command: SHOW ALL STAVES STATUS --> SHOW ALL REPLICAS STATUS"
|
||||
SHOW ALL REPLICAS STATUS;
|
||||
Connection_name slave1
|
||||
Slave_SQL_State Slave has read all relay log; waiting for the slave I/O thread to update it
|
||||
Slave_SQL_State Slave has read all relay log; waiting for more updates
|
||||
Slave_IO_State Waiting for master to send event
|
||||
Master_Host 127.0.0.1
|
||||
Master_User root
|
||||
|
@ -71,7 +71,7 @@ Replicate_Ignore_Domain_Ids
|
|||
Parallel_Mode optimistic
|
||||
SQL_Delay 0
|
||||
SQL_Remaining_Delay NULL
|
||||
Slave_SQL_Running_State Slave has read all relay log; waiting for the slave I/O thread to update it
|
||||
Slave_SQL_Running_State Slave has read all relay log; waiting for more updates
|
||||
Slave_DDL_Groups 0
|
||||
Slave_Non_Transactional_Groups 0
|
||||
Slave_Transactional_Groups 0
|
||||
|
@ -82,7 +82,7 @@ Slave_received_heartbeats 0
|
|||
Slave_heartbeat_period 60.000
|
||||
Gtid_Slave_Pos
|
||||
Connection_name slave2
|
||||
Slave_SQL_State Slave has read all relay log; waiting for the slave I/O thread to update it
|
||||
Slave_SQL_State Slave has read all relay log; waiting for more updates
|
||||
Slave_IO_State Waiting for master to send event
|
||||
Master_Host 127.0.0.1
|
||||
Master_User root
|
||||
|
@ -132,7 +132,7 @@ Replicate_Ignore_Domain_Ids
|
|||
Parallel_Mode optimistic
|
||||
SQL_Delay 0
|
||||
SQL_Remaining_Delay NULL
|
||||
Slave_SQL_Running_State Slave has read all relay log; waiting for the slave I/O thread to update it
|
||||
Slave_SQL_Running_State Slave has read all relay log; waiting for more updates
|
||||
Slave_DDL_Groups 0
|
||||
Slave_Non_Transactional_Groups 0
|
||||
Slave_Transactional_Groups 0
|
||||
|
|
|
@ -19,8 +19,8 @@ connection master2;
|
|||
connection slave;
|
||||
show all slaves status;
|
||||
Connection_name Slave_SQL_State Slave_IO_State Master_Host Master_User Master_Port Connect_Retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_Do_DB Replicate_Ignore_DB Replicate_Do_Table Replicate_Ignore_Table Replicate_Wild_Do_Table Replicate_Wild_Ignore_Table Last_Errno Last_Error Skip_Counter Exec_Master_Log_Pos Relay_Log_Space Until_Condition Until_Log_File Until_Log_Pos Master_SSL_Allowed Master_SSL_CA_File Master_SSL_CA_Path Master_SSL_Cert Master_SSL_Cipher Master_SSL_Key Seconds_Behind_Master Master_SSL_Verify_Server_Cert Last_IO_Errno Last_IO_Error Last_SQL_Errno Last_SQL_Error Replicate_Ignore_Server_Ids Master_Server_Id Master_SSL_Crl Master_SSL_Crlpath Using_Gtid Gtid_IO_Pos Replicate_Do_Domain_Ids Replicate_Ignore_Domain_Ids Parallel_Mode SQL_Delay SQL_Remaining_Delay Slave_SQL_Running_State Slave_DDL_Groups Slave_Non_Transactional_Groups Slave_Transactional_Groups Retried_transactions Max_relay_log_size Executed_log_entries Slave_received_heartbeats Slave_heartbeat_period Gtid_Slave_Pos
|
||||
slave1 Slave has read all relay log; waiting for the slave I/O thread to update it Waiting for master to send event 127.0.0.1 root MYPORT_1 60 master-bin.000001 <read_master_log_pos> mysqld-relay-bin-slave1.000002 <relay_log_pos> master-bin.000001 Yes Yes 0 0 <read_master_log_pos> <relay_log_space1> None 0 No 0 No 0 0 1 No optimistic 0 NULL Slave has read all relay log; waiting for the slave I/O thread to update it 0 0 0 0 1073741824 7 0 60.000
|
||||
slave2 Slave has read all relay log; waiting for the slave I/O thread to update it Waiting for master to send event 127.0.0.1 root MYPORT_2 60 master-bin.000001 <read_master_log_pos> mysqld-relay-bin-slave2.000002 <relay_log_pos> master-bin.000001 Yes Yes 0 0 <read_master_log_pos> <relay_log_space1> None 0 No 0 No 0 0 2 No optimistic 0 NULL Slave has read all relay log; waiting for the slave I/O thread to update it 0 0 0 0 1073741824 7 0 60.000
|
||||
slave1 Slave has read all relay log; waiting for more updates Waiting for master to send event 127.0.0.1 root MYPORT_1 60 master-bin.000001 <read_master_log_pos> mysqld-relay-bin-slave1.000002 <relay_log_pos> master-bin.000001 Yes Yes 0 0 <read_master_log_pos> <relay_log_space1> None 0 No 0 No 0 0 1 No optimistic 0 NULL Slave has read all relay log; waiting for more updates 0 0 0 0 1073741824 7 0 60.000
|
||||
slave2 Slave has read all relay log; waiting for more updates Waiting for master to send event 127.0.0.1 root MYPORT_2 60 master-bin.000001 <read_master_log_pos> mysqld-relay-bin-slave2.000002 <relay_log_pos> master-bin.000001 Yes Yes 0 0 <read_master_log_pos> <relay_log_space1> None 0 No 0 No 0 0 2 No optimistic 0 NULL Slave has read all relay log; waiting for more updates 0 0 0 0 1073741824 7 0 60.000
|
||||
start all slaves;
|
||||
stop slave 'slave1';
|
||||
show slave 'slave1' status;
|
||||
|
@ -81,11 +81,11 @@ reset slave 'slave1';
|
|||
show all slaves status;
|
||||
Connection_name Slave_SQL_State Slave_IO_State Master_Host Master_User Master_Port Connect_Retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_Do_DB Replicate_Ignore_DB Replicate_Do_Table Replicate_Ignore_Table Replicate_Wild_Do_Table Replicate_Wild_Ignore_Table Last_Errno Last_Error Skip_Counter Exec_Master_Log_Pos Relay_Log_Space Until_Condition Until_Log_File Until_Log_Pos Master_SSL_Allowed Master_SSL_CA_File Master_SSL_CA_Path Master_SSL_Cert Master_SSL_Cipher Master_SSL_Key Seconds_Behind_Master Master_SSL_Verify_Server_Cert Last_IO_Errno Last_IO_Error Last_SQL_Errno Last_SQL_Error Replicate_Ignore_Server_Ids Master_Server_Id Master_SSL_Crl Master_SSL_Crlpath Using_Gtid Gtid_IO_Pos Replicate_Do_Domain_Ids Replicate_Ignore_Domain_Ids Parallel_Mode SQL_Delay SQL_Remaining_Delay Slave_SQL_Running_State Slave_DDL_Groups Slave_Non_Transactional_Groups Slave_Transactional_Groups Retried_transactions Max_relay_log_size Executed_log_entries Slave_received_heartbeats Slave_heartbeat_period Gtid_Slave_Pos
|
||||
slave1 127.0.0.1 root MYPORT_1 60 4 <relay_log_pos> No No 0 0 0 <relay_log_space1> None 0 No NULL No 0 0 1 No optimistic 0 NULL 0 0 0 0 1073741824 7 0 60.000
|
||||
slave2 Slave has read all relay log; waiting for the slave I/O thread to update it Waiting for master to send event 127.0.0.1 root MYPORT_2 60 master-bin.000001 <read_master_log_pos> mysqld-relay-bin-slave2.000002 <relay_log_pos> master-bin.000001 Yes Yes 0 0 <read_master_log_pos> <relay_log_space1> None 0 No 0 No 0 0 2 No optimistic 0 NULL Slave has read all relay log; waiting for the slave I/O thread to update it 0 0 0 0 1073741824 7 0 60.000
|
||||
slave2 Slave has read all relay log; waiting for more updates Waiting for master to send event 127.0.0.1 root MYPORT_2 60 master-bin.000001 <read_master_log_pos> mysqld-relay-bin-slave2.000002 <relay_log_pos> master-bin.000001 Yes Yes 0 0 <read_master_log_pos> <relay_log_space1> None 0 No 0 No 0 0 2 No optimistic 0 NULL Slave has read all relay log; waiting for more updates 0 0 0 0 1073741824 7 0 60.000
|
||||
reset slave 'slave1' all;
|
||||
show all slaves status;
|
||||
Connection_name Slave_SQL_State Slave_IO_State Master_Host Master_User Master_Port Connect_Retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_Do_DB Replicate_Ignore_DB Replicate_Do_Table Replicate_Ignore_Table Replicate_Wild_Do_Table Replicate_Wild_Ignore_Table Last_Errno Last_Error Skip_Counter Exec_Master_Log_Pos Relay_Log_Space Until_Condition Until_Log_File Until_Log_Pos Master_SSL_Allowed Master_SSL_CA_File Master_SSL_CA_Path Master_SSL_Cert Master_SSL_Cipher Master_SSL_Key Seconds_Behind_Master Master_SSL_Verify_Server_Cert Last_IO_Errno Last_IO_Error Last_SQL_Errno Last_SQL_Error Replicate_Ignore_Server_Ids Master_Server_Id Master_SSL_Crl Master_SSL_Crlpath Using_Gtid Gtid_IO_Pos Replicate_Do_Domain_Ids Replicate_Ignore_Domain_Ids Parallel_Mode SQL_Delay SQL_Remaining_Delay Slave_SQL_Running_State Slave_DDL_Groups Slave_Non_Transactional_Groups Slave_Transactional_Groups Retried_transactions Max_relay_log_size Executed_log_entries Slave_received_heartbeats Slave_heartbeat_period Gtid_Slave_Pos
|
||||
slave2 Slave has read all relay log; waiting for the slave I/O thread to update it Waiting for master to send event 127.0.0.1 root MYPORT_2 60 master-bin.000001 <read_master_log_pos> mysqld-relay-bin-slave2.000002 <relay_log_pos> master-bin.000001 Yes Yes 0 0 <read_master_log_pos> <relay_log_space1> None 0 No 0 No 0 0 2 No optimistic 0 NULL Slave has read all relay log; waiting for the slave I/O thread to update it 0 0 0 0 1073741824 7 0 60.000
|
||||
slave2 Slave has read all relay log; waiting for more updates Waiting for master to send event 127.0.0.1 root MYPORT_2 60 master-bin.000001 <read_master_log_pos> mysqld-relay-bin-slave2.000002 <relay_log_pos> master-bin.000001 Yes Yes 0 0 <read_master_log_pos> <relay_log_space1> None 0 No 0 No 0 0 2 No optimistic 0 NULL Slave has read all relay log; waiting for more updates 0 0 0 0 1073741824 7 0 60.000
|
||||
stop all slaves;
|
||||
Warnings:
|
||||
Note 1938 SLAVE 'slave2' stopped
|
||||
|
|
|
@ -24,3 +24,34 @@ binlog_ok_row: needs slave_relay_log_info
|
|||
binlog_ok_stmt: needs slave_relay_log_info
|
||||
|
||||
server_init : Nirbhay TODO: Fix the test
|
||||
show_sanity:
|
||||
threads_mysql_freebsd:
|
||||
|
||||
transaction_gtid: needs to be updated for MariaDB gtids
|
||||
|
||||
ddl_replication_applier_status_by_worker: todo
|
||||
ddl_replication_connection_status: todo
|
||||
dml_replication_applier_status_by_worker: todo
|
||||
dml_replication_connection_status: todo
|
||||
|
||||
dml_replication_group_member_stats: todo?
|
||||
ddl_replication_group_member_stats: todo?
|
||||
ddl_replication_group_members: todo?
|
||||
dml_replication_group_members: todo?
|
||||
replication_group_members: todo?
|
||||
replication_group_member_stats: todo?
|
||||
rpl_group_member_stats: todo?
|
||||
rpl_group_members: todo?
|
||||
|
||||
ddl_session_variables: todo
|
||||
ddl_global_variables: todo
|
||||
ddl_variables_by_thread: todo
|
||||
dml_global_variables: todo
|
||||
dml_session_variables: todo
|
||||
dml_variables_by_thread: todo
|
||||
variables_by_thread: todo
|
||||
show_coverage: todo
|
||||
show_misc: todo
|
||||
show_plugin: todo
|
||||
|
||||
status_reprepare:why P_S filters out Com_* variables?
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
--source include/have_perfschema.inc
|
||||
--source include/no_protocol.inc
|
||||
--source ../include/wait_for_pfs_thread_count.inc
|
||||
--source include/not_windows.inc
|
||||
|
||||
--disable_query_log
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#
|
||||
|
||||
--source include/no_protocol.inc
|
||||
--source include/have_innodb.inc
|
||||
|
||||
--echo # SET-UP
|
||||
CREATE DATABASE nested_sp;
|
||||
|
@ -16,7 +17,7 @@ CREATE TABLE t1(
|
|||
CREATE TABLE t2(
|
||||
n INT UNSIGNED NOT NULL,
|
||||
f BIGINT UNSIGNED
|
||||
);
|
||||
) engine=innodb;
|
||||
|
||||
--echo ############################
|
||||
--echo # Creating Stored Programs #
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#
|
||||
|
||||
--source include/no_protocol.inc
|
||||
--source include/have_innodb.inc
|
||||
|
||||
--echo # SET-UP
|
||||
|
||||
|
@ -12,12 +13,12 @@ USE stored_programs;
|
|||
CREATE TABLE t1(
|
||||
i INT NOT NULL,
|
||||
j INT
|
||||
);
|
||||
) engine=innodb;
|
||||
|
||||
CREATE TABLE t2(
|
||||
name CHAR(16) NOT NULL DEFAULT '',
|
||||
id INT NOT NULL
|
||||
);
|
||||
) engine=innodb;
|
||||
|
||||
CREATE TABLE t3(
|
||||
d DATE,
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
--disable_warnings
|
||||
|
||||
--echo
|
||||
SHOW GLOBAL STATUS LIKE "example_%";
|
||||
--echo
|
||||
SHOW SESSION STATUS LIKE "example_%";
|
||||
--echo
|
||||
SHOW GLOBAL VARIABLES LIKE "example_%";
|
||||
--echo
|
||||
SHOW SESSION VARIABLES LIKE "example_%";
|
||||
--echo
|
||||
SELECT variable_name, variable_value FROM information_schema.global_status WHERE variable_name LIKE "example_%";
|
||||
--echo
|
||||
SELECT variable_name, variable_value FROM information_schema.session_status WHERE variable_name LIKE "example_%";
|
||||
--echo
|
||||
SELECT variable_name, variable_value FROM information_schema.global_variables WHERE variable_name LIKE "example_%";
|
||||
--echo
|
||||
SELECT variable_name, variable_value FROM information_schema.session_variables WHERE variable_name LIKE "example_%";
|
||||
|
||||
#
|
||||
# Force sync of local and global system variables.
|
||||
#
|
||||
--disable_result_log
|
||||
--disable_query_log
|
||||
SELECT variable_name, variable_value FROM performance_schema.variables_by_thread WHERE variable_name LIKE "example_%";
|
||||
--enable_query_log
|
||||
--enable_result_log
|
||||
|
||||
--enable_warnings
|
|
@ -87,20 +87,20 @@ select * from performance_schema.table_lock_waits_summary_by_table;
|
|||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
select * from performance_schema.replication_connection_configuration;
|
||||
select * from performance_schema.replication_connection_status;
|
||||
#select * from performance_schema.replication_connection_status;
|
||||
select * from performance_schema.replication_applier_configuration;
|
||||
select * from performance_schema.replication_applier_status;
|
||||
select * from performance_schema.replication_applier_status_by_coordinator;
|
||||
select * from performance_schema.replication_applier_status_by_worker;
|
||||
#select * from performance_schema.replication_applier_status_by_worker;
|
||||
select * from performance_schema.global_status;
|
||||
select * from performance_schema.status_by_thread;
|
||||
select * from performance_schema.status_by_user;
|
||||
select * from performance_schema.status_by_host;
|
||||
select * from performance_schema.status_by_account;
|
||||
select * from performance_schema.session_status;
|
||||
select * from performance_schema.global_variables;
|
||||
select * from performance_schema.variables_by_thread;
|
||||
select * from performance_schema.session_variables;
|
||||
#select * from performance_schema.global_variables;
|
||||
#select * from performance_schema.variables_by_thread;
|
||||
#select * from performance_schema.session_variables;
|
||||
--enable_result_log
|
||||
|
||||
# This has a stable output, printing the result:
|
||||
|
|
|
@ -14,8 +14,7 @@ eval select event_name,
|
|||
order by thread_id, event_id;
|
||||
|
||||
# In case of failures, this will tell if table io are lost.
|
||||
show status where Variable_name like 'performance_schema_%' and
|
||||
Variable_name not like 'performance_schema_%_classes_lost';
|
||||
show global status like 'performance_schema_%';
|
||||
|
||||
# Cleanup
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
|
|
|
@ -29,15 +29,14 @@ if(!$success)
|
|||
--echo # Verify
|
||||
--echo #========================================================================
|
||||
|
||||
SELECT event_id from performance_schema.events_transactions_history_long
|
||||
SELECT event_id into @base_tx_event_id
|
||||
from performance_schema.events_transactions_history_long
|
||||
where (THREAD_ID = @con1_thread_id)
|
||||
order by event_id limit 1
|
||||
into @base_tx_event_id;
|
||||
order by event_id limit 1;
|
||||
|
||||
SELECT event_id from performance_schema.events_statements_history_long
|
||||
SELECT event_id into @base_stmt_event_id from performance_schema.events_statements_history_long
|
||||
where (THREAD_ID = @con1_thread_id)
|
||||
order by event_id limit 1
|
||||
into @base_stmt_event_id;
|
||||
order by event_id limit 1;
|
||||
|
||||
select if(@base_tx_event_id < @base_stmt_event_id,
|
||||
@base_tx_event_id - 1,
|
||||
|
|
|
@ -13,5 +13,3 @@
|
|||
--remove_file $MYSQLTEST_VARDIR/tmp/out_file
|
||||
--remove_file $MYSQLTEST_VARDIR/tmp/err_file
|
||||
--remove_file $MYSQLD_DATADIR/mysql_upgrade_info
|
||||
|
||||
--source include/mysql_upgrade_cleanup.inc
|
|
@ -1,17 +1,23 @@
|
|||
connect con1, localhost, root, , ;
|
||||
drop table if exists t1;
|
||||
create table t1(a int) engine = myisam;
|
||||
insert into t1 values (1), (2), (3), (4), (5);
|
||||
connection default;
|
||||
update performance_schema.threads
|
||||
set instrumented = 'NO'
|
||||
where processlist_id = connection_id();
|
||||
truncate table performance_schema.events_statements_history_long;
|
||||
truncate table performance_schema.events_stages_history_long;
|
||||
connection con1;
|
||||
SET DEBUG_SYNC='RESET';
|
||||
SET DEBUG_SYNC='copy_data_between_tables_before SIGNAL found_row WAIT_FOR wait_row EXECUTE 5';
|
||||
ALTER TABLE t1 engine = innodb;;
|
||||
connection default;
|
||||
SET DEBUG_SYNC='now WAIT_FOR found_row';
|
||||
select event_id from performance_schema.events_statements_current
|
||||
where thread_id = @con1_thread_id into @con1_stmt_id;
|
||||
Warnings:
|
||||
Warning 1287 '<select expression> INTO <destination>;' is deprecated and will be removed in a future release. Please use 'SELECT <select list> INTO <destination> FROM...' instead
|
||||
select EVENT_NAME, WORK_COMPLETED, WORK_ESTIMATED
|
||||
from performance_schema.events_stages_current
|
||||
where (thread_id = @con1_thread_id);
|
||||
|
@ -46,9 +52,11 @@ where (thread_id = @con1_thread_id);
|
|||
EVENT_NAME WORK_COMPLETED WORK_ESTIMATED
|
||||
stage/sql/copy to tmp table 4 5
|
||||
SET DEBUG_SYNC='now SIGNAL wait_row';
|
||||
connection con1;
|
||||
select "After payload";
|
||||
After payload
|
||||
After payload
|
||||
connection default;
|
||||
Dumping ALTER TABLE stages
|
||||
select EVENT_NAME, WORK_COMPLETED, WORK_ESTIMATED
|
||||
from performance_schema.events_stages_history_long
|
||||
|
@ -58,22 +66,35 @@ order by thread_id, event_id;
|
|||
EVENT_NAME WORK_COMPLETED WORK_ESTIMATED
|
||||
stage/sql/starting NULL NULL
|
||||
stage/sql/checking permissions NULL NULL
|
||||
stage/sql/checking permissions NULL NULL
|
||||
stage/sql/init NULL NULL
|
||||
stage/sql/init for update NULL NULL
|
||||
stage/sql/Opening tables NULL NULL
|
||||
stage/sql/After opening tables NULL NULL
|
||||
stage/sql/setup NULL NULL
|
||||
stage/sql/creating table NULL NULL
|
||||
stage/sql/After create NULL NULL
|
||||
stage/sql/System lock NULL NULL
|
||||
stage/sql/table lock NULL NULL
|
||||
stage/sql/After create NULL NULL
|
||||
stage/sql/copy to tmp table 5 5
|
||||
stage/sql/rename result table NULL NULL
|
||||
stage/sql/end NULL NULL
|
||||
stage/sql/query end NULL NULL
|
||||
stage/sql/Enabling keys NULL NULL
|
||||
stage/sql/Rename result table NULL NULL
|
||||
stage/sql/Unlocking tables NULL NULL
|
||||
stage/sql/Rename result table NULL NULL
|
||||
stage/sql/End of update loop NULL NULL
|
||||
stage/sql/Query end NULL NULL
|
||||
stage/sql/Commit NULL NULL
|
||||
stage/sql/closing tables NULL NULL
|
||||
stage/sql/freeing items NULL NULL
|
||||
stage/sql/cleaning up NULL NULL
|
||||
stage/sql/Unlocking tables NULL NULL
|
||||
stage/sql/closing tables NULL NULL
|
||||
stage/sql/Commit implicit NULL NULL
|
||||
stage/sql/Starting cleanup NULL NULL
|
||||
stage/sql/Freeing items NULL NULL
|
||||
stage/sql/Reset for next command NULL NULL
|
||||
SET DEBUG_SYNC='RESET';
|
||||
connection con1;
|
||||
drop table t1;
|
||||
disconnect con1;
|
||||
connection default;
|
||||
update performance_schema.threads
|
||||
set instrumented = 'YES'
|
||||
where processlist_id = connection_id();
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
FOUND 1 /\[ERROR\].*unknown variable 'performance-schema-enabled=maybe'/ in my_restart.err
|
||||
# Server start with invalid startup option value 'performance-schema-enabled=maybe' : pass
|
||||
FOUND 1 /\[ERROR\].*unknown variable 'performance-schema-max_=12'/ in my_restart.err
|
||||
# Server start with ambigous startup option 'performance-schema-max_=12' : pass
|
||||
FOUND 1 /\[ERROR\].*unknown option '--performance-schema-unknown_99'/ in my_restart.err
|
||||
# Server start with invalid startup option '--performance-schema-unknown_99' : pass
|
||||
FOUND 1 /Can.t change dir to .*bad_option_h_param/ in my_restart.err
|
||||
# Server start with invalid startup option value '--datadir=bad_option_h_param' : pass
|
||||
|
|
|
@ -53,12 +53,15 @@ select 10*X.v + Y.v, 100*X.v + 10*Y.v + Z.v, 100*X.v + 10*Y.v + Z.v
|
|||
from t0 X, t0 Y, t0 Z;
|
||||
analyze table t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status Engine-independent statistics collected
|
||||
test.t1 analyze status OK
|
||||
analyze table t2;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t2 analyze status Engine-independent statistics collected
|
||||
test.t2 analyze status OK
|
||||
analyze table t3;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t3 analyze status Engine-independent statistics collected
|
||||
test.t3 analyze status OK
|
||||
select * from t1 order by a;
|
||||
id1 a
|
||||
|
@ -111,14 +114,14 @@ id2 id3 c
|
|||
61 610 610
|
||||
61 611 611
|
||||
61 612 612
|
||||
explain select t1.*, t2.*, t3.*
|
||||
explain extended select t1.*, t2.*, t3.*
|
||||
from t1 join t2 using (id1) join t3 using (id2);
|
||||
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
|
||||
1 SIMPLE t1 NULL ALL NULL NULL NULL NULL 10 100.00 NULL
|
||||
1 SIMPLE t2 NULL ALL NULL NULL NULL NULL 100 10.00 Using where; Using join buffer (Block Nested Loop)
|
||||
1 SIMPLE t3 NULL ALL NULL NULL NULL NULL 1000 10.00 Using where; Using join buffer (Block Nested Loop)
|
||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||
1 SIMPLE t1 ALL NULL NULL NULL NULL 10 100.00
|
||||
1 SIMPLE t2 ALL NULL NULL NULL NULL 100 100.00 Using where; Using join buffer (flat, BNL join)
|
||||
1 SIMPLE t3 ALL NULL NULL NULL NULL 1000 100.00 Using where; Using join buffer (incremental, BNL join)
|
||||
Warnings:
|
||||
Note 1003 /* select#1 */ select `test`.`t1`.`id1` AS `id1`,`test`.`t1`.`a` AS `a`,`test`.`t2`.`id1` AS `id1`,`test`.`t2`.`id2` AS `id2`,`test`.`t2`.`b` AS `b`,`test`.`t3`.`id2` AS `id2`,`test`.`t3`.`id3` AS `id3`,`test`.`t3`.`c` AS `c` from `test`.`t1` join `test`.`t2` join `test`.`t3` where ((`test`.`t2`.`id1` = `test`.`t1`.`id1`) and (`test`.`t3`.`id2` = `test`.`t2`.`id2`))
|
||||
Note 1003 select `test`.`t1`.`id1` AS `id1`,`test`.`t1`.`a` AS `a`,`test`.`t2`.`id1` AS `id1`,`test`.`t2`.`id2` AS `id2`,`test`.`t2`.`b` AS `b`,`test`.`t3`.`id2` AS `id2`,`test`.`t3`.`id3` AS `id3`,`test`.`t3`.`c` AS `c` from `test`.`t1` join `test`.`t2` join `test`.`t3` where `test`.`t3`.`id2` = `test`.`t2`.`id2` and `test`.`t2`.`id1` = `test`.`t1`.`id1`
|
||||
call before_payload();
|
||||
select t1.*, t2.*, t3.*
|
||||
from t1 join t2 using (id1) join t3 using (id2);
|
||||
|
@ -126,10 +129,13 @@ call after_payload();
|
|||
number_seen OBJECT_TYPE OBJECT_SCHEMA OBJECT_NAME INDEX_NAME OPERATION NUMBER_OF_BYTES
|
||||
11 TABLE test t1 NULL fetch 1
|
||||
1 TABLE test t1 NULL read external NULL
|
||||
1 TABLE test t1 NULL read normal NULL
|
||||
101 TABLE test t2 NULL fetch 1
|
||||
1 TABLE test t2 NULL read external NULL
|
||||
1 TABLE test t2 NULL read normal NULL
|
||||
1 TABLE test t3 NULL fetch 1000
|
||||
1 TABLE test t3 NULL read external NULL
|
||||
1 TABLE test t3 NULL read normal NULL
|
||||
OBJECT_TYPE OBJECT_SCHEMA OBJECT_NAME INDEX_NAME COUNT_STAR COUNT_READ COUNT_WRITE
|
||||
TABLE test t0 NULL 0 0 0
|
||||
TABLE test t1 NULL 11 11 0
|
||||
|
@ -145,14 +151,14 @@ alter table t2 add unique index(id2);
|
|||
alter table t2 add index(id1);
|
||||
alter table t3 add unique index(id3);
|
||||
alter table t3 add index(id2);
|
||||
explain select t1.*, t2.*, t3.*
|
||||
explain extended select t1.*, t2.*, t3.*
|
||||
from t1 join t2 using (id1) join t3 using (id2);
|
||||
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
|
||||
1 SIMPLE t1 NULL ALL id1 NULL NULL NULL 10 100.00 Using where
|
||||
1 SIMPLE t2 NULL ref id2,id1 id1 5 test.t1.id1 10 100.00 Using where
|
||||
1 SIMPLE t3 NULL ref id2 id2 5 test.t2.id2 10 100.00 NULL
|
||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||
1 SIMPLE t1 ALL id1 NULL NULL NULL 10 100.00 Using where
|
||||
1 SIMPLE t2 ref id2,id1 id1 5 test.t1.id1 10 100.00 Using where
|
||||
1 SIMPLE t3 ref id2 id2 5 test.t2.id2 10 100.00
|
||||
Warnings:
|
||||
Note 1003 /* select#1 */ select `test`.`t1`.`id1` AS `id1`,`test`.`t1`.`a` AS `a`,`test`.`t2`.`id1` AS `id1`,`test`.`t2`.`id2` AS `id2`,`test`.`t2`.`b` AS `b`,`test`.`t3`.`id2` AS `id2`,`test`.`t3`.`id3` AS `id3`,`test`.`t3`.`c` AS `c` from `test`.`t1` join `test`.`t2` join `test`.`t3` where ((`test`.`t2`.`id1` = `test`.`t1`.`id1`) and (`test`.`t3`.`id2` = `test`.`t2`.`id2`))
|
||||
Note 1003 select `test`.`t1`.`id1` AS `id1`,`test`.`t1`.`a` AS `a`,`test`.`t2`.`id1` AS `id1`,`test`.`t2`.`id2` AS `id2`,`test`.`t2`.`b` AS `b`,`test`.`t3`.`id2` AS `id2`,`test`.`t3`.`id3` AS `id3`,`test`.`t3`.`c` AS `c` from `test`.`t1` join `test`.`t2` join `test`.`t3` where `test`.`t3`.`id2` = `test`.`t2`.`id2` and `test`.`t2`.`id1` = `test`.`t1`.`id1`
|
||||
call before_payload();
|
||||
select t1.*, t2.*, t3.*
|
||||
from t1 join t2 using (id1) join t3 using (id2);
|
||||
|
@ -160,10 +166,13 @@ call after_payload();
|
|||
number_seen OBJECT_TYPE OBJECT_SCHEMA OBJECT_NAME INDEX_NAME OPERATION NUMBER_OF_BYTES
|
||||
11 TABLE test t1 NULL fetch 1
|
||||
1 TABLE test t1 id1 read external NULL
|
||||
1 TABLE test t1 id1 read normal NULL
|
||||
110 TABLE test t2 id1 fetch 1
|
||||
1 TABLE test t2 id2 read external NULL
|
||||
1 TABLE test t2 id2 read normal NULL
|
||||
100 TABLE test t3 id2 fetch 10
|
||||
1 TABLE test t3 id3 read external NULL
|
||||
1 TABLE test t3 id3 read normal NULL
|
||||
OBJECT_TYPE OBJECT_SCHEMA OBJECT_NAME INDEX_NAME COUNT_STAR COUNT_READ COUNT_WRITE
|
||||
TABLE test t0 NULL 0 0 0
|
||||
TABLE test t1 NULL 11 11 0
|
||||
|
|
|
@ -37,11 +37,8 @@ SELECT COUNT(DISTINCT PROCESSLIST_ID)
|
|||
FROM performance_schema.session_connect_attrs;
|
||||
COUNT(DISTINCT PROCESSLIST_ID)
|
||||
2
|
||||
<<<<<<< HEAD
|
||||
connection non_privileged_user;
|
||||
=======
|
||||
# must return 1
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
SELECT COUNT(DISTINCT PROCESSLIST_ID)
|
||||
FROM performance_schema.session_account_connect_attrs;
|
||||
COUNT(DISTINCT PROCESSLIST_ID)
|
||||
|
|
|
@ -1,17 +1,3 @@
|
|||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
root localhost
|
||||
|
@ -25,12 +11,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con1a, localhost, user1, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user1 in con1a" as status;
|
||||
status
|
||||
user1 in con1a
|
||||
|
@ -50,12 +31,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con1b, localhost, user1, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user1 in con1b" as status;
|
||||
status
|
||||
user1 in con1b
|
||||
|
@ -76,12 +52,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con1c, localhost, user1, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user1 in con1c" as status;
|
||||
status
|
||||
user1 in con1c
|
||||
|
@ -103,12 +74,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con2a, localhost, user2, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user2 in con2a" as status;
|
||||
status
|
||||
user2 in con2a
|
||||
|
@ -133,12 +99,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con2b, localhost, user2, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user2 in con2b" as status;
|
||||
status
|
||||
user2 in con2b
|
||||
|
@ -164,12 +125,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con2c, localhost, user2, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user2 in con2c" as status;
|
||||
status
|
||||
user2 in con2c
|
||||
|
@ -196,12 +152,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con3a, localhost, user3, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user3 in con3a" as status;
|
||||
status
|
||||
user3 in con3a
|
||||
|
@ -231,12 +182,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con3b, localhost, user3, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user3 in con3b" as status;
|
||||
status
|
||||
user3 in con3b
|
||||
|
@ -267,12 +213,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con3c, localhost, user3, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user3 in con3c" as status;
|
||||
status
|
||||
user3 in con3c
|
||||
|
@ -304,13 +245,8 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connection default;
|
||||
disconnect con1a;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con1a disconnected" as status;
|
||||
status
|
||||
con1a disconnected
|
||||
|
@ -341,12 +277,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
disconnect con2a;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con2a disconnected" as status;
|
||||
status
|
||||
con2a disconnected
|
||||
|
@ -376,12 +307,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
disconnect con3a;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con3a disconnected" as status;
|
||||
status
|
||||
con3a disconnected
|
||||
|
@ -410,8 +336,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.accounts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -438,8 +362,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.users;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -466,8 +388,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.hosts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -494,12 +414,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con4a, localhost, user4, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user4 in con4a" as status;
|
||||
status
|
||||
user4 in con4a
|
||||
|
@ -531,12 +446,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con4b, localhost, user4, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user4 in con4b" as status;
|
||||
status
|
||||
user4 in con4b
|
||||
|
@ -569,12 +479,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con4c, localhost, user4, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user4 in con4c" as status;
|
||||
status
|
||||
user4 in con4c
|
||||
|
@ -608,13 +513,8 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connection default;
|
||||
disconnect con1b;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con1b disconnected" as status;
|
||||
status
|
||||
con1b disconnected
|
||||
|
@ -647,12 +547,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
disconnect con2b;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con2b disconnected" as status;
|
||||
status
|
||||
con2b disconnected
|
||||
|
@ -684,12 +579,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
disconnect con3b;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con3b disconnected" as status;
|
||||
status
|
||||
con3b disconnected
|
||||
|
@ -720,12 +610,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
disconnect con1c;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con1c disconnected" as status;
|
||||
status
|
||||
con1c disconnected
|
||||
|
@ -755,12 +640,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
disconnect con2c;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con2c disconnected" as status;
|
||||
status
|
||||
con2c disconnected
|
||||
|
@ -789,12 +669,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
disconnect con3c;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con3c disconnected" as status;
|
||||
status
|
||||
con3c disconnected
|
||||
|
@ -822,8 +697,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.accounts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -846,8 +719,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.users;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -867,8 +738,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.hosts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -888,12 +757,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con5a, localhost, user5, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user5 in con5a" as status;
|
||||
status
|
||||
user5 in con5a
|
||||
|
@ -918,12 +782,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con5b, localhost, user5, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user5 in con5b" as status;
|
||||
status
|
||||
user5 in con5b
|
||||
|
@ -949,12 +808,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con5c, localhost, user5, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user5 in con5c" as status;
|
||||
status
|
||||
user5 in con5c
|
||||
|
@ -981,7 +835,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connection default;
|
||||
disconnect con4a;
|
||||
disconnect con4b;
|
||||
|
@ -989,10 +842,6 @@ disconnect con4c;
|
|||
disconnect con5a;
|
||||
disconnect con5b;
|
||||
disconnect con5c;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con 5a, 5b, 5c, 6a, 6b, 6c disconnected" as status;
|
||||
status
|
||||
con 5a, 5b, 5c, 6a, 6b, 6c disconnected
|
||||
|
@ -1013,8 +862,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.hosts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -1031,8 +878,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.users;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -1047,8 +892,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.accounts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -1063,5 +906,3 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
|
|
|
@ -1,17 +1,3 @@
|
|||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
root localhost
|
||||
|
@ -25,12 +11,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con1a, localhost, user1, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user1 in con1a" as status;
|
||||
status
|
||||
user1 in con1a
|
||||
|
@ -50,12 +31,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con1b, localhost, user1, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user1 in con1b" as status;
|
||||
status
|
||||
user1 in con1b
|
||||
|
@ -76,12 +52,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con1c, localhost, user1, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user1 in con1c" as status;
|
||||
status
|
||||
user1 in con1c
|
||||
|
@ -103,12 +74,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con2a, localhost, user2, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user2 in con2a" as status;
|
||||
status
|
||||
user2 in con2a
|
||||
|
@ -132,12 +98,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 1
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con2b, localhost, user2, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user2 in con2b" as status;
|
||||
status
|
||||
user2 in con2b
|
||||
|
@ -162,12 +123,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 2
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con2c, localhost, user2, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user2 in con2c" as status;
|
||||
status
|
||||
user2 in con2c
|
||||
|
@ -193,12 +149,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 3
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con3a, localhost, user3, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user3 in con3a" as status;
|
||||
status
|
||||
user3 in con3a
|
||||
|
@ -226,12 +177,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 4
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con3b, localhost, user3, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user3 in con3b" as status;
|
||||
status
|
||||
user3 in con3b
|
||||
|
@ -260,12 +206,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 5
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con3c, localhost, user3, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user3 in con3c" as status;
|
||||
status
|
||||
user3 in con3c
|
||||
|
@ -295,13 +236,8 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 6
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connection default;
|
||||
disconnect con1a;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con1a disconnected" as status;
|
||||
status
|
||||
con1a disconnected
|
||||
|
@ -330,12 +266,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 6
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
disconnect con2a;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con2a disconnected" as status;
|
||||
status
|
||||
con2a disconnected
|
||||
|
@ -363,12 +294,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 6
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
disconnect con3a;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con3a disconnected" as status;
|
||||
status
|
||||
con3a disconnected
|
||||
|
@ -395,8 +321,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 6
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.accounts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -421,8 +345,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 6
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.users;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -447,8 +369,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 6
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.hosts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -473,12 +393,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 6
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con4a, localhost, user4, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user4 in con4a" as status;
|
||||
status
|
||||
user4 in con4a
|
||||
|
@ -507,12 +422,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 7
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con4b, localhost, user4, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user4 in con4b" as status;
|
||||
status
|
||||
user4 in con4b
|
||||
|
@ -542,12 +452,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 8
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con4c, localhost, user4, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user4 in con4c" as status;
|
||||
status
|
||||
user4 in con4c
|
||||
|
@ -578,13 +483,8 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connection default;
|
||||
disconnect con1b;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con1b disconnected" as status;
|
||||
status
|
||||
con1b disconnected
|
||||
|
@ -614,12 +514,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
disconnect con2b;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con2b disconnected" as status;
|
||||
status
|
||||
con2b disconnected
|
||||
|
@ -648,12 +543,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
disconnect con3b;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con3b disconnected" as status;
|
||||
status
|
||||
con3b disconnected
|
||||
|
@ -681,12 +571,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
disconnect con1c;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con1c disconnected" as status;
|
||||
status
|
||||
con1c disconnected
|
||||
|
@ -713,12 +598,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
disconnect con2c;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con2c disconnected" as status;
|
||||
status
|
||||
con2c disconnected
|
||||
|
@ -744,12 +624,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
disconnect con3c;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con3c disconnected" as status;
|
||||
status
|
||||
con3c disconnected
|
||||
|
@ -774,8 +649,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.accounts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -797,8 +670,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.users;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -817,8 +688,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.hosts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -837,12 +706,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con5a, localhost, user5, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user5 in con5a" as status;
|
||||
status
|
||||
user5 in con5a
|
||||
|
@ -866,12 +730,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con5b, localhost, user5, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user5 in con5b" as status;
|
||||
status
|
||||
user5 in con5b
|
||||
|
@ -896,12 +755,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con5c, localhost, user5, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user5 in con5c" as status;
|
||||
status
|
||||
user5 in con5c
|
||||
|
@ -927,7 +781,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connection default;
|
||||
disconnect con4a;
|
||||
disconnect con4b;
|
||||
|
@ -935,10 +788,6 @@ disconnect con4c;
|
|||
disconnect con5a;
|
||||
disconnect con5b;
|
||||
disconnect con5c;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con 5a, 5b, 5c, 6a, 6b, 6c disconnected" as status;
|
||||
status
|
||||
con 5a, 5b, 5c, 6a, 6b, 6c disconnected
|
||||
|
@ -958,8 +807,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.hosts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -976,8 +823,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.users;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -992,8 +837,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.accounts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -1008,5 +851,3 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
|
|
|
@ -1,17 +1,3 @@
|
|||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
root localhost
|
||||
|
@ -25,12 +11,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con1a, localhost, user1, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user1 in con1a" as status;
|
||||
status
|
||||
user1 in con1a
|
||||
|
@ -50,12 +31,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con1b, localhost, user1, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user1 in con1b" as status;
|
||||
status
|
||||
user1 in con1b
|
||||
|
@ -76,12 +52,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con1c, localhost, user1, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user1 in con1c" as status;
|
||||
status
|
||||
user1 in con1c
|
||||
|
@ -103,12 +74,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con2a, localhost, user2, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user2 in con2a" as status;
|
||||
status
|
||||
user2 in con2a
|
||||
|
@ -131,12 +97,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 1
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 1
|
||||
<<<<<<< HEAD
|
||||
connect con2b, localhost, user2, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user2 in con2b" as status;
|
||||
status
|
||||
user2 in con2b
|
||||
|
@ -160,12 +121,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 2
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 2
|
||||
<<<<<<< HEAD
|
||||
connect con2c, localhost, user2, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user2 in con2c" as status;
|
||||
status
|
||||
user2 in con2c
|
||||
|
@ -190,12 +146,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 3
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
<<<<<<< HEAD
|
||||
connect con3a, localhost, user3, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user3 in con3a" as status;
|
||||
status
|
||||
user3 in con3a
|
||||
|
@ -221,12 +172,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 4
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 4
|
||||
<<<<<<< HEAD
|
||||
connect con3b, localhost, user3, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user3 in con3b" as status;
|
||||
status
|
||||
user3 in con3b
|
||||
|
@ -253,12 +199,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 5
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 5
|
||||
<<<<<<< HEAD
|
||||
connect con3c, localhost, user3, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user3 in con3c" as status;
|
||||
status
|
||||
user3 in con3c
|
||||
|
@ -286,13 +227,8 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 6
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 6
|
||||
<<<<<<< HEAD
|
||||
connection default;
|
||||
disconnect con1a;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con1a disconnected" as status;
|
||||
status
|
||||
con1a disconnected
|
||||
|
@ -319,12 +255,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 6
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 6
|
||||
<<<<<<< HEAD
|
||||
disconnect con2a;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con2a disconnected" as status;
|
||||
status
|
||||
con2a disconnected
|
||||
|
@ -350,12 +281,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 6
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 6
|
||||
<<<<<<< HEAD
|
||||
disconnect con3a;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con3a disconnected" as status;
|
||||
status
|
||||
con3a disconnected
|
||||
|
@ -380,8 +306,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 6
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 6
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.accounts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -404,8 +328,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 6
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 6
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.users;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -428,8 +350,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 6
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 6
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.hosts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -452,12 +372,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 6
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 6
|
||||
<<<<<<< HEAD
|
||||
connect con4a, localhost, user4, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user4 in con4a" as status;
|
||||
status
|
||||
user4 in con4a
|
||||
|
@ -483,12 +398,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 7
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 7
|
||||
<<<<<<< HEAD
|
||||
connect con4b, localhost, user4, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user4 in con4b" as status;
|
||||
status
|
||||
user4 in con4b
|
||||
|
@ -515,12 +425,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 8
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 8
|
||||
<<<<<<< HEAD
|
||||
connect con4c, localhost, user4, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user4 in con4c" as status;
|
||||
status
|
||||
user4 in con4c
|
||||
|
@ -548,13 +453,8 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 9
|
||||
<<<<<<< HEAD
|
||||
connection default;
|
||||
disconnect con1b;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con1b disconnected" as status;
|
||||
status
|
||||
con1b disconnected
|
||||
|
@ -581,12 +481,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 9
|
||||
<<<<<<< HEAD
|
||||
disconnect con2b;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con2b disconnected" as status;
|
||||
status
|
||||
con2b disconnected
|
||||
|
@ -612,12 +507,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 9
|
||||
<<<<<<< HEAD
|
||||
disconnect con3b;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con3b disconnected" as status;
|
||||
status
|
||||
con3b disconnected
|
||||
|
@ -642,12 +532,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 9
|
||||
<<<<<<< HEAD
|
||||
disconnect con1c;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con1c disconnected" as status;
|
||||
status
|
||||
con1c disconnected
|
||||
|
@ -671,12 +556,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 9
|
||||
<<<<<<< HEAD
|
||||
disconnect con2c;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con2c disconnected" as status;
|
||||
status
|
||||
con2c disconnected
|
||||
|
@ -699,12 +579,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 9
|
||||
<<<<<<< HEAD
|
||||
disconnect con3c;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con3c disconnected" as status;
|
||||
status
|
||||
con3c disconnected
|
||||
|
@ -726,8 +601,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 9
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.accounts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -746,8 +619,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 9
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.users;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -765,8 +636,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 9
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.hosts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -784,12 +653,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 9
|
||||
<<<<<<< HEAD
|
||||
connect con5a, localhost, user5, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user5 in con5a" as status;
|
||||
status
|
||||
user5 in con5a
|
||||
|
@ -812,12 +676,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 9
|
||||
<<<<<<< HEAD
|
||||
connect con5b, localhost, user5, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user5 in con5b" as status;
|
||||
status
|
||||
user5 in con5b
|
||||
|
@ -841,12 +700,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 9
|
||||
<<<<<<< HEAD
|
||||
connect con5c, localhost, user5, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user5 in con5c" as status;
|
||||
status
|
||||
user5 in con5c
|
||||
|
@ -871,7 +725,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 9
|
||||
<<<<<<< HEAD
|
||||
connection default;
|
||||
disconnect con4a;
|
||||
disconnect con4b;
|
||||
|
@ -879,10 +732,6 @@ disconnect con4c;
|
|||
disconnect con5a;
|
||||
disconnect con5b;
|
||||
disconnect con5c;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con 5a, 5b, 5c, 6a, 6b, 6c disconnected" as status;
|
||||
status
|
||||
con 5a, 5b, 5c, 6a, 6b, 6c disconnected
|
||||
|
@ -901,8 +750,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 9
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.hosts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -918,8 +765,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 9
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.users;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -934,8 +779,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 9
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.accounts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -950,5 +793,3 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 9
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 9
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
|
|
|
@ -1,17 +1,3 @@
|
|||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
root localhost
|
||||
|
@ -25,12 +11,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con1a, localhost, user1, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user1 in con1a" as status;
|
||||
status
|
||||
user1 in con1a
|
||||
|
@ -50,12 +31,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con1b, localhost, user1, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user1 in con1b" as status;
|
||||
status
|
||||
user1 in con1b
|
||||
|
@ -76,12 +52,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con1c, localhost, user1, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user1 in con1c" as status;
|
||||
status
|
||||
user1 in con1c
|
||||
|
@ -103,12 +74,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 0
|
||||
<<<<<<< HEAD
|
||||
connect con2a, localhost, user2, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user2 in con2a" as status;
|
||||
status
|
||||
user2 in con2a
|
||||
|
@ -132,12 +98,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 1
|
||||
<<<<<<< HEAD
|
||||
connect con2b, localhost, user2, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user2 in con2b" as status;
|
||||
status
|
||||
user2 in con2b
|
||||
|
@ -162,12 +123,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 1
|
||||
<<<<<<< HEAD
|
||||
connect con2c, localhost, user2, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user2 in con2c" as status;
|
||||
status
|
||||
user2 in con2c
|
||||
|
@ -193,12 +149,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 1
|
||||
<<<<<<< HEAD
|
||||
connect con3a, localhost, user3, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user3 in con3a" as status;
|
||||
status
|
||||
user3 in con3a
|
||||
|
@ -226,12 +177,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 2
|
||||
<<<<<<< HEAD
|
||||
connect con3b, localhost, user3, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user3 in con3b" as status;
|
||||
status
|
||||
user3 in con3b
|
||||
|
@ -260,12 +206,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 2
|
||||
<<<<<<< HEAD
|
||||
connect con3c, localhost, user3, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user3 in con3c" as status;
|
||||
status
|
||||
user3 in con3c
|
||||
|
@ -295,13 +236,8 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 2
|
||||
<<<<<<< HEAD
|
||||
connection default;
|
||||
disconnect con1a;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con1a disconnected" as status;
|
||||
status
|
||||
con1a disconnected
|
||||
|
@ -330,12 +266,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 2
|
||||
<<<<<<< HEAD
|
||||
disconnect con2a;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con2a disconnected" as status;
|
||||
status
|
||||
con2a disconnected
|
||||
|
@ -363,12 +294,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 2
|
||||
<<<<<<< HEAD
|
||||
disconnect con3a;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con3a disconnected" as status;
|
||||
status
|
||||
con3a disconnected
|
||||
|
@ -395,8 +321,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 2
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.accounts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -421,8 +345,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 2
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.users;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -447,8 +369,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 2
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.hosts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -473,12 +393,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 2
|
||||
<<<<<<< HEAD
|
||||
connect con4a, localhost, user4, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user4 in con4a" as status;
|
||||
status
|
||||
user4 in con4a
|
||||
|
@ -507,12 +422,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
<<<<<<< HEAD
|
||||
connect con4b, localhost, user4, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user4 in con4b" as status;
|
||||
status
|
||||
user4 in con4b
|
||||
|
@ -542,12 +452,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
<<<<<<< HEAD
|
||||
connect con4c, localhost, user4, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user4 in con4c" as status;
|
||||
status
|
||||
user4 in con4c
|
||||
|
@ -578,13 +483,8 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
<<<<<<< HEAD
|
||||
connection default;
|
||||
disconnect con1b;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con1b disconnected" as status;
|
||||
status
|
||||
con1b disconnected
|
||||
|
@ -614,12 +514,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
<<<<<<< HEAD
|
||||
disconnect con2b;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con2b disconnected" as status;
|
||||
status
|
||||
con2b disconnected
|
||||
|
@ -648,12 +543,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
<<<<<<< HEAD
|
||||
disconnect con3b;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con3b disconnected" as status;
|
||||
status
|
||||
con3b disconnected
|
||||
|
@ -681,12 +571,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
<<<<<<< HEAD
|
||||
disconnect con1c;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con1c disconnected" as status;
|
||||
status
|
||||
con1c disconnected
|
||||
|
@ -713,12 +598,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
<<<<<<< HEAD
|
||||
disconnect con2c;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con2c disconnected" as status;
|
||||
status
|
||||
con2c disconnected
|
||||
|
@ -744,12 +624,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
<<<<<<< HEAD
|
||||
disconnect con3c;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con3c disconnected" as status;
|
||||
status
|
||||
con3c disconnected
|
||||
|
@ -774,8 +649,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.accounts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -795,8 +668,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.users;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -815,8 +686,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.hosts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -835,12 +704,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
<<<<<<< HEAD
|
||||
connect con5a, localhost, user5, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user5 in con5a" as status;
|
||||
status
|
||||
user5 in con5a
|
||||
|
@ -864,12 +728,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
<<<<<<< HEAD
|
||||
connect con5b, localhost, user5, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user5 in con5b" as status;
|
||||
status
|
||||
user5 in con5b
|
||||
|
@ -894,12 +753,7 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
<<<<<<< HEAD
|
||||
connect con5c, localhost, user5, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "user5 in con5c" as status;
|
||||
status
|
||||
user5 in con5c
|
||||
|
@ -925,7 +779,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
<<<<<<< HEAD
|
||||
connection default;
|
||||
disconnect con4a;
|
||||
disconnect con4b;
|
||||
|
@ -933,10 +786,6 @@ disconnect con4c;
|
|||
disconnect con5a;
|
||||
disconnect con5b;
|
||||
disconnect con5c;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "con 5a, 5b, 5c, 6a, 6b, 6c disconnected" as status;
|
||||
status
|
||||
con 5a, 5b, 5c, 6a, 6b, 6c disconnected
|
||||
|
@ -956,8 +805,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.hosts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -973,8 +820,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.users;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -989,8 +834,6 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
truncate table performance_schema.accounts;
|
||||
call dump_all();
|
||||
processlist_user processlist_host
|
||||
|
@ -1005,5 +848,3 @@ variable_name variable_value
|
|||
PERFORMANCE_SCHEMA_ACCOUNTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_HOSTS_LOST 0
|
||||
PERFORMANCE_SCHEMA_USERS_LOST 3
|
||||
Warnings:
|
||||
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
|
||||
|
|
|
@ -11,7 +11,8 @@ grant select on *.* to 'root'@'santa.claus.ipv4.example.com';
|
|||
create user 'rootssl'@'santa.claus.ipv4.example.com'
|
||||
require SSL;
|
||||
grant select on *.* to 'rootssl'@'santa.claus.ipv4.example.com';
|
||||
set global debug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4";
|
||||
set @old_dbug=@@global.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4";
|
||||
TRUNCATE TABLE mysql.general_log;
|
||||
SET @old_log_output= @@global.log_output;
|
||||
SET @old_general_log= @@global.general_log;
|
||||
|
@ -19,6 +20,7 @@ SET @old_general_log_file= @@global.general_log_file;
|
|||
SET GLOBAL general_log_file = '.../log/rewrite_general_con.log';
|
||||
SET GLOBAL log_output = 'FILE,TABLE';
|
||||
SET GLOBAL general_log= 'ON';
|
||||
connect con1, localhost, root,,;
|
||||
"Connection con1"
|
||||
select NAME, PROCESSLIST_USER, PROCESSLIST_HOST, CONNECTION_TYPE
|
||||
from performance_schema.threads
|
||||
|
@ -27,6 +29,8 @@ NAME thread/sql/one_connection
|
|||
PROCESSLIST_USER root
|
||||
PROCESSLIST_HOST localhost
|
||||
CONNECTION_TYPE Socket
|
||||
disconnect con1;
|
||||
connect con2, "127.0.0.1", root,,test,$MASTER_MYPORT,;
|
||||
"Connection con2"
|
||||
select NAME, PROCESSLIST_USER, PROCESSLIST_HOST, CONNECTION_TYPE
|
||||
from performance_schema.threads
|
||||
|
@ -35,6 +39,8 @@ NAME thread/sql/one_connection
|
|||
PROCESSLIST_USER root
|
||||
PROCESSLIST_HOST santa.claus.ipv4.example.com
|
||||
CONNECTION_TYPE TCP/IP
|
||||
disconnect con2;
|
||||
connect con3, "127.0.0.1", rootssl,,test,$MASTER_MYPORT,,SSL;
|
||||
"Connection con3"
|
||||
select NAME, PROCESSLIST_USER, PROCESSLIST_HOST, CONNECTION_TYPE
|
||||
from performance_schema.threads
|
||||
|
@ -43,6 +49,8 @@ NAME thread/sql/one_connection
|
|||
PROCESSLIST_USER rootssl
|
||||
PROCESSLIST_HOST santa.claus.ipv4.example.com
|
||||
CONNECTION_TYPE SSL/TLS
|
||||
disconnect con3;
|
||||
connection default;
|
||||
SET GLOBAL general_log= 'OFF';
|
||||
CREATE TABLE test_log (argument TEXT);
|
||||
LOAD DATA LOCAL INFILE '.../log/rewrite_general_con.log'
|
||||
|
@ -67,7 +75,7 @@ DROP TABLE test_log;
|
|||
SET GLOBAL general_log_file= @old_general_log_file;
|
||||
SET GLOBAL general_log= @old_general_log;
|
||||
SET GLOBAL log_output= @old_log_output;
|
||||
set global debug= default;
|
||||
set global debug_dbug= @old_dbug;
|
||||
revoke select on *.* from 'root'@'santa.claus.ipv4.example.com';
|
||||
drop user 'root'@'santa.claus.ipv4.example.com';
|
||||
revoke select on *.* from 'rootssl'@'santa.claus.ipv4.example.com';
|
||||
|
|
|
@ -11,7 +11,7 @@ grant select on *.* to 'root'@'santa.claus.ipv4.example.com';
|
|||
create user 'rootssl'@'santa.claus.ipv4.example.com'
|
||||
require SSL;
|
||||
grant select on *.* to 'rootssl'@'santa.claus.ipv4.example.com';
|
||||
set global debug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4";
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4";
|
||||
TRUNCATE TABLE mysql.general_log;
|
||||
SET @old_log_output= @@global.log_output;
|
||||
SET @old_general_log= @@global.general_log;
|
||||
|
@ -19,6 +19,7 @@ SET @old_general_log_file= @@global.general_log_file;
|
|||
SET GLOBAL general_log_file = '.../log/rewrite_general_con.log';
|
||||
SET GLOBAL log_output = 'FILE,TABLE';
|
||||
SET GLOBAL general_log= 'ON';
|
||||
connect con1, localhost, root,,;
|
||||
"Connection con1"
|
||||
select NAME, PROCESSLIST_USER, PROCESSLIST_HOST, CONNECTION_TYPE
|
||||
from performance_schema.threads
|
||||
|
@ -27,6 +28,8 @@ NAME thread/sql/one_connection
|
|||
PROCESSLIST_USER root
|
||||
PROCESSLIST_HOST santa.claus.ipv4.example.com
|
||||
CONNECTION_TYPE TCP/IP
|
||||
disconnect con1;
|
||||
connect con2, "127.0.0.1", root,,test,$MASTER_MYPORT,;
|
||||
"Connection con2"
|
||||
select NAME, PROCESSLIST_USER, PROCESSLIST_HOST, CONNECTION_TYPE
|
||||
from performance_schema.threads
|
||||
|
@ -35,6 +38,8 @@ NAME thread/sql/one_connection
|
|||
PROCESSLIST_USER root
|
||||
PROCESSLIST_HOST santa.claus.ipv4.example.com
|
||||
CONNECTION_TYPE TCP/IP
|
||||
disconnect con2;
|
||||
connect con3, "127.0.0.1", rootssl,,test,$MASTER_MYPORT,,SSL;
|
||||
"Connection con3"
|
||||
select NAME, PROCESSLIST_USER, PROCESSLIST_HOST, CONNECTION_TYPE
|
||||
from performance_schema.threads
|
||||
|
@ -43,6 +48,8 @@ NAME thread/sql/one_connection
|
|||
PROCESSLIST_USER rootssl
|
||||
PROCESSLIST_HOST santa.claus.ipv4.example.com
|
||||
CONNECTION_TYPE SSL/TLS
|
||||
disconnect con3;
|
||||
connection default;
|
||||
SET GLOBAL general_log= 'OFF';
|
||||
CREATE TABLE test_log (argument TEXT);
|
||||
LOAD DATA LOCAL INFILE '.../log/rewrite_general_con.log'
|
||||
|
@ -67,7 +74,7 @@ DROP TABLE test_log;
|
|||
SET GLOBAL general_log_file= @old_general_log_file;
|
||||
SET GLOBAL general_log= @old_general_log;
|
||||
SET GLOBAL log_output= @old_log_output;
|
||||
set global debug= default;
|
||||
set global debug_dbug= default;
|
||||
revoke select on *.* from 'root'@'santa.claus.ipv4.example.com';
|
||||
drop user 'root'@'santa.claus.ipv4.example.com';
|
||||
revoke select on *.* from 'rootssl'@'santa.claus.ipv4.example.com';
|
||||
|
|
|
@ -70,98 +70,51 @@ where event_name like 'wait/io/table/%'
|
|||
and object_schema in ("test")
|
||||
order by thread_id, event_id;
|
||||
event_name short_source object_type object_schema pretty_name operation number_of_bytes
|
||||
<<<<<<< HEAD
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab update NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab update NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab update NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab delete NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
show status where Variable_name like 'performance_schema_%' and
|
||||
Variable_name not like 'performance_schema_%_classes_lost';
|
||||
=======
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 3
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab update 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab update 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab update 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 2
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab delete 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 2
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 2
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab insert 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab insert 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab insert 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 3
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab update 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab update 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab update 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 2
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab delete 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 2
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 2
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
show global status like 'performance_schema_%';
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
Variable_name Value
|
||||
Performance_schema_accounts_lost 0
|
||||
Performance_schema_cond_classes_lost 0
|
||||
Performance_schema_cond_instances_lost 0
|
||||
Performance_schema_digest_lost 0
|
||||
Performance_schema_file_classes_lost 0
|
||||
Performance_schema_file_handles_lost 0
|
||||
Performance_schema_file_instances_lost 0
|
||||
Performance_schema_hosts_lost 0
|
||||
Performance_schema_index_stat_lost 0
|
||||
Performance_schema_locker_lost 0
|
||||
<<<<<<< HEAD
|
||||
Performance_schema_mutex_instances_lost 0
|
||||
=======
|
||||
Performance_schema_memory_classes_lost 0
|
||||
Performance_schema_metadata_lock_lost 0
|
||||
Performance_schema_mutex_classes_lost 0
|
||||
|
@ -170,17 +123,16 @@ Performance_schema_nested_statement_lost 0
|
|||
Performance_schema_prepared_statements_lost 0
|
||||
Performance_schema_program_lost 0
|
||||
Performance_schema_rwlock_classes_lost 0
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
Performance_schema_rwlock_instances_lost 0
|
||||
Performance_schema_session_connect_attrs_lost 0
|
||||
Performance_schema_socket_classes_lost 0
|
||||
Performance_schema_socket_instances_lost 0
|
||||
Performance_schema_stage_classes_lost 0
|
||||
Performance_schema_statement_classes_lost 0
|
||||
Performance_schema_table_handles_lost 0
|
||||
Performance_schema_table_instances_lost 0
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
Performance_schema_table_lock_stat_lost 0
|
||||
Performance_schema_thread_classes_lost 0
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
Performance_schema_thread_instances_lost 0
|
||||
Performance_schema_users_lost 0
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
|
|
|
@ -5,6 +5,6 @@ ALTER TABLE performance_schema.events_stages_current ADD INDEX test_index(EVENT_
|
|||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
CREATE UNIQUE INDEX test_index ON performance_schema.events_stages_current(EVENT_ID);
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
TABLE_CATALOG TABLE_SCHEMA TABLE_NAME COLUMN_NAME ORDINAL_POSITION COLUMN_DEFAULT IS_NULLABLE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME COLUMN_TYPE COLUMN_KEY EXTRA PRIVILEGES COLUMN_COMMENT GENERATION_EXPRESSION
|
||||
def performance_schema events_stages_current WORK_COMPLETED 9 NULL YES bigint NULL NULL 20 0 NULL NULL NULL bigint(20) unsigned select,insert,update,references
|
||||
def performance_schema events_stages_current WORK_ESTIMATED 10 NULL YES bigint NULL NULL 20 0 NULL NULL NULL bigint(20) unsigned select,insert,update,references
|
||||
TABLE_CATALOG TABLE_SCHEMA TABLE_NAME COLUMN_NAME ORDINAL_POSITION COLUMN_DEFAULT IS_NULLABLE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME COLUMN_TYPE COLUMN_KEY EXTRA PRIVILEGES COLUMN_COMMENT IS_GENERATED GENERATION_EXPRESSION
|
||||
def performance_schema events_stages_current WORK_COMPLETED 9 NULL YES bigint NULL NULL 20 0 NULL NULL NULL bigint(20) unsigned select,insert,update,references NEVER NULL
|
||||
def performance_schema events_stages_current WORK_ESTIMATED 10 NULL YES bigint NULL NULL 20 0 NULL NULL NULL bigint(20) unsigned select,insert,update,references NEVER NULL
|
||||
|
|
|
@ -5,6 +5,6 @@ ALTER TABLE performance_schema.events_stages_history ADD INDEX test_index(EVENT_
|
|||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
CREATE UNIQUE INDEX test_index ON performance_schema.events_stages_history(EVENT_ID);
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
TABLE_CATALOG TABLE_SCHEMA TABLE_NAME COLUMN_NAME ORDINAL_POSITION COLUMN_DEFAULT IS_NULLABLE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME COLUMN_TYPE COLUMN_KEY EXTRA PRIVILEGES COLUMN_COMMENT GENERATION_EXPRESSION
|
||||
def performance_schema events_stages_history WORK_COMPLETED 9 NULL YES bigint NULL NULL 20 0 NULL NULL NULL bigint(20) unsigned select,insert,update,references
|
||||
def performance_schema events_stages_history WORK_ESTIMATED 10 NULL YES bigint NULL NULL 20 0 NULL NULL NULL bigint(20) unsigned select,insert,update,references
|
||||
TABLE_CATALOG TABLE_SCHEMA TABLE_NAME COLUMN_NAME ORDINAL_POSITION COLUMN_DEFAULT IS_NULLABLE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME COLUMN_TYPE COLUMN_KEY EXTRA PRIVILEGES COLUMN_COMMENT IS_GENERATED GENERATION_EXPRESSION
|
||||
def performance_schema events_stages_history WORK_COMPLETED 9 NULL YES bigint NULL NULL 20 0 NULL NULL NULL bigint(20) unsigned select,insert,update,references NEVER NULL
|
||||
def performance_schema events_stages_history WORK_ESTIMATED 10 NULL YES bigint NULL NULL 20 0 NULL NULL NULL bigint(20) unsigned select,insert,update,references NEVER NULL
|
||||
|
|
|
@ -5,6 +5,6 @@ ALTER TABLE performance_schema.events_stages_history_long ADD INDEX test_index(E
|
|||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
CREATE UNIQUE INDEX test_index ON performance_schema.events_stages_history_long(EVENT_ID);
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
TABLE_CATALOG TABLE_SCHEMA TABLE_NAME COLUMN_NAME ORDINAL_POSITION COLUMN_DEFAULT IS_NULLABLE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME COLUMN_TYPE COLUMN_KEY EXTRA PRIVILEGES COLUMN_COMMENT GENERATION_EXPRESSION
|
||||
def performance_schema events_stages_history_long WORK_COMPLETED 9 NULL YES bigint NULL NULL 20 0 NULL NULL NULL bigint(20) unsigned select,insert,update,references
|
||||
def performance_schema events_stages_history_long WORK_ESTIMATED 10 NULL YES bigint NULL NULL 20 0 NULL NULL NULL bigint(20) unsigned select,insert,update,references
|
||||
TABLE_CATALOG TABLE_SCHEMA TABLE_NAME COLUMN_NAME ORDINAL_POSITION COLUMN_DEFAULT IS_NULLABLE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME COLUMN_TYPE COLUMN_KEY EXTRA PRIVILEGES COLUMN_COMMENT IS_GENERATED GENERATION_EXPRESSION
|
||||
def performance_schema events_stages_history_long WORK_COMPLETED 9 NULL YES bigint NULL NULL 20 0 NULL NULL NULL bigint(20) unsigned select,insert,update,references NEVER NULL
|
||||
def performance_schema events_stages_history_long WORK_ESTIMATED 10 NULL YES bigint NULL NULL 20 0 NULL NULL NULL bigint(20) unsigned select,insert,update,references NEVER NULL
|
||||
|
|
|
@ -2,7 +2,7 @@ alter table performance_schema.global_variables
|
|||
add column foo integer;
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
truncate table performance_schema.global_variables;
|
||||
ERROR HY000: Invalid performance_schema usage.
|
||||
ERROR HY000: Invalid performance_schema usage
|
||||
ALTER TABLE performance_schema.global_variables
|
||||
ADD INDEX test_index(VARIABLE_NAME);
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
alter table performance_schema.metadata_locks add column foo integer;
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
truncate table performance_schema.metadata_locks;
|
||||
ERROR HY000: Invalid performance_schema usage.
|
||||
ERROR HY000: Invalid performance_schema usage
|
||||
ALTER TABLE performance_schema.metadata_locks ADD INDEX test_index(TIMER_NAME);
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
CREATE UNIQUE INDEX test_index ON performance_schema.metadata_locks(TIMER_NAME);
|
||||
|
|
|
@ -2,7 +2,7 @@ ALTER TABLE performance_schema.replication_applier_configuration
|
|||
ADD COLUMN foo integer;
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
TRUNCATE TABLE performance_schema.replication_applier_configuration;
|
||||
ERROR HY000: Invalid performance_schema usage.
|
||||
ERROR HY000: Invalid performance_schema usage
|
||||
ALTER TABLE performance_schema.replication_applier_configuration
|
||||
ADD INDEX test_index(desired_delay);
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
|
|
|
@ -2,7 +2,7 @@ ALTER TABLE performance_schema.replication_applier_status
|
|||
ADD COLUMN foo integer;
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
TRUNCATE TABLE performance_schema.replication_applier_status;
|
||||
ERROR HY000: Invalid performance_schema usage.
|
||||
ERROR HY000: Invalid performance_schema usage
|
||||
ALTER TABLE performance_schema.replication_applier_status
|
||||
ADD INDEX test_index(remaining_delay);
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
|
|
|
@ -2,7 +2,7 @@ ALTER TABLE performance_schema.replication_applier_status_by_coordinator
|
|||
ADD COLUMN foo integer;
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
TRUNCATE TABLE performance_schema.replication_applier_status_by_coordinator;
|
||||
ERROR HY000: Invalid performance_schema usage.
|
||||
ERROR HY000: Invalid performance_schema usage
|
||||
ALTER TABLE performance_schema.replication_applier_status_by_coordinator
|
||||
ADD INDEX test_index(thread_id);
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
|
|
|
@ -2,7 +2,7 @@ ALTER TABLE performance_schema.replication_connection_configuration
|
|||
ADD COLUMN foo integer;
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
TRUNCATE TABLE performance_schema.replication_connection_configuration;
|
||||
ERROR HY000: Invalid performance_schema usage.
|
||||
ERROR HY000: Invalid performance_schema usage
|
||||
ALTER TABLE performance_schema.replication_connection_configuration
|
||||
ADD INDEX test_index(HOST);
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
|
|
|
@ -2,7 +2,7 @@ alter table performance_schema.session_status
|
|||
add column foo integer;
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
truncate table performance_schema.session_status;
|
||||
ERROR HY000: Invalid performance_schema usage.
|
||||
ERROR HY000: Invalid performance_schema usage
|
||||
ALTER TABLE performance_schema.session_status
|
||||
ADD INDEX test_index(VARIABLE_NAME);
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
|
|
|
@ -2,7 +2,7 @@ alter table performance_schema.session_variables
|
|||
add column foo integer;
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
truncate table performance_schema.session_variables;
|
||||
ERROR HY000: Invalid performance_schema usage.
|
||||
ERROR HY000: Invalid performance_schema usage
|
||||
ALTER TABLE performance_schema.session_variables
|
||||
ADD INDEX test_index(VARIABLE_NAME);
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
alter table performance_schema.table_handles add column foo integer;
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
truncate table performance_schema.table_handles;
|
||||
ERROR HY000: Invalid performance_schema usage.
|
||||
ERROR HY000: Invalid performance_schema usage
|
||||
ALTER TABLE performance_schema.table_handles ADD INDEX test_index(TIMER_NAME);
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
CREATE UNIQUE INDEX test_index ON performance_schema.table_handles(TIMER_NAME);
|
||||
|
|
|
@ -2,7 +2,7 @@ alter table performance_schema.user_variables_by_thread
|
|||
add column foo integer;
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
truncate table performance_schema.user_variables_by_thread;
|
||||
ERROR HY000: Invalid performance_schema usage.
|
||||
ERROR HY000: Invalid performance_schema usage
|
||||
ALTER TABLE performance_schema.user_variables_by_thread
|
||||
ADD INDEX test_index(VARIABLE_NAME);
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
|
|
|
@ -2,7 +2,7 @@ alter table performance_schema.variables_by_thread
|
|||
add column foo integer;
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
truncate table performance_schema.variables_by_thread;
|
||||
ERROR HY000: Invalid performance_schema usage.
|
||||
ERROR HY000: Invalid performance_schema usage
|
||||
ALTER TABLE performance_schema.variables_by_thread
|
||||
ADD INDEX test_index(VARIABLE_NAME);
|
||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
|
||||
|
|
|
@ -111,17 +111,10 @@ DROP TRIGGER trg;
|
|||
####################################
|
||||
SELECT SCHEMA_NAME, DIGEST_TEXT, COUNT_STAR, SUM_ROWS_AFFECTED, SUM_WARNINGS,
|
||||
SUM_ERRORS FROM performance_schema.events_statements_summary_by_digest;
|
||||
<<<<<<< HEAD
|
||||
SCHEMA_NAME DIGEST_TEXT COUNT_STAR SUM_ROWS_AFFECTED SUM_WARNINGS SUM_ERRORS
|
||||
NULL NULL 55 32 1 2
|
||||
statements_digest TRUNCATE TABLE `performance_schema` . `events_statements_summary_by_digest` 1 0 0 0
|
||||
SHOW VARIABLES LIKE "performance_schema_digests_size";
|
||||
=======
|
||||
SCHEMA_NAME DIGEST DIGEST_TEXT COUNT_STAR SUM_ROWS_AFFECTED SUM_WARNINGS SUM_ERRORS
|
||||
NULL NULL NULL 55 32 1 2
|
||||
statements_digest d24da32343f2b799f8a7ba1bdc45f83b TRUNCATE TABLE `performance_schema` . `events_statements_summary_by_digest` 1 0 0 0
|
||||
SHOW GLOBAL VARIABLES LIKE "performance_schema_digests_size";
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
Variable_name Value
|
||||
performance_schema_digests_size 2
|
||||
SELECT COUNT(*) FROM performance_schema.events_statements_summary_by_digest;
|
||||
|
|
|
@ -12,328 +12,198 @@ Warning 1287 '<select expression> INTO <destination>;' is deprecated and will be
|
|||
# For each table in the performance schema, attempt HANDLER...OPEN,
|
||||
# which should fail with an error 1031, ER_ILLEGAL_HA.
|
||||
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=87;
|
||||
HANDLER performance_schema.variables_by_thread OPEN;
|
||||
ERROR HY000: Table storage engine for 'variables_by_thread' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=86;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=80;
|
||||
HANDLER performance_schema.user_variables_by_thread OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`user_variables_by_thread` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=79;
|
||||
HANDLER performance_schema.users OPEN;
|
||||
<<<<<<< HEAD
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`users` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=51;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=78;
|
||||
HANDLER performance_schema.threads OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`threads` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=50;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=77;
|
||||
HANDLER performance_schema.table_lock_waits_summary_by_table OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`table_lock_waits_summary_by_table` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=49;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=76;
|
||||
HANDLER performance_schema.table_io_waits_summary_by_table OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`table_io_waits_summary_by_table` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=48;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=75;
|
||||
HANDLER performance_schema.table_io_waits_summary_by_index_usage OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`table_io_waits_summary_by_index_usage` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=47;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=74;
|
||||
HANDLER performance_schema.table_handles OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`table_handles` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=73;
|
||||
HANDLER performance_schema.status_by_user OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`status_by_user` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=72;
|
||||
HANDLER performance_schema.status_by_thread OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`status_by_thread` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=71;
|
||||
HANDLER performance_schema.status_by_host OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`status_by_host` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=70;
|
||||
HANDLER performance_schema.status_by_account OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`status_by_account` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=69;
|
||||
HANDLER performance_schema.socket_summary_by_instance OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`socket_summary_by_instance` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=46;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=68;
|
||||
HANDLER performance_schema.socket_summary_by_event_name OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`socket_summary_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=45;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=67;
|
||||
HANDLER performance_schema.socket_instances OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`socket_instances` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=44;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=66;
|
||||
HANDLER performance_schema.setup_timers OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`setup_timers` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=43;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=65;
|
||||
HANDLER performance_schema.setup_objects OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`setup_objects` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=42;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=64;
|
||||
HANDLER performance_schema.setup_instruments OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`setup_instruments` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=41;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=63;
|
||||
HANDLER performance_schema.setup_consumers OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`setup_consumers` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=40;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=62;
|
||||
HANDLER performance_schema.setup_actors OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`setup_actors` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=39;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=61;
|
||||
HANDLER performance_schema.session_status OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`session_status` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=60;
|
||||
HANDLER performance_schema.session_connect_attrs OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`session_connect_attrs` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=38;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=59;
|
||||
HANDLER performance_schema.session_account_connect_attrs OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`session_account_connect_attrs` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=37;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=58;
|
||||
HANDLER performance_schema.rwlock_instances OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`rwlock_instances` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=36;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=57;
|
||||
HANDLER performance_schema.replication_connection_configuration OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`replication_connection_configuration` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=56;
|
||||
HANDLER performance_schema.replication_applier_status_by_coordinator OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`replication_applier_status_by_coordinator` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=55;
|
||||
HANDLER performance_schema.replication_applier_status OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`replication_applier_status` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=54;
|
||||
HANDLER performance_schema.replication_applier_configuration OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`replication_applier_configuration` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=53;
|
||||
HANDLER performance_schema.prepared_statements_instances OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`prepared_statements_instances` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=52;
|
||||
HANDLER performance_schema.performance_timers OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`performance_timers` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=35;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=51;
|
||||
HANDLER performance_schema.objects_summary_global_by_type OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`objects_summary_global_by_type` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=34;
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=50;
|
||||
HANDLER performance_schema.mutex_instances OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`mutex_instances` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=33;
|
||||
HANDLER performance_schema.host_cache OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`host_cache` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=32;
|
||||
HANDLER performance_schema.hosts OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`hosts` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=31;
|
||||
HANDLER performance_schema.file_summary_by_instance OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`file_summary_by_instance` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=30;
|
||||
HANDLER performance_schema.file_summary_by_event_name OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`file_summary_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=29;
|
||||
HANDLER performance_schema.file_instances OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`file_instances` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=28;
|
||||
HANDLER performance_schema.events_waits_summary_global_by_event_name OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_waits_summary_global_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=27;
|
||||
HANDLER performance_schema.events_waits_summary_by_user_by_event_name OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_waits_summary_by_user_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=26;
|
||||
HANDLER performance_schema.events_waits_summary_by_thread_by_event_name OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_waits_summary_by_thread_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=25;
|
||||
HANDLER performance_schema.events_waits_summary_by_instance OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_waits_summary_by_instance` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=24;
|
||||
HANDLER performance_schema.events_waits_summary_by_host_by_event_name OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_waits_summary_by_host_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=23;
|
||||
HANDLER performance_schema.events_waits_summary_by_account_by_event_name OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_waits_summary_by_account_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=22;
|
||||
HANDLER performance_schema.events_waits_history_long OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_waits_history_long` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=21;
|
||||
HANDLER performance_schema.events_waits_history OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_waits_history` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=20;
|
||||
HANDLER performance_schema.events_waits_current OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_waits_current` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=19;
|
||||
HANDLER performance_schema.events_statements_summary_global_by_event_name OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_statements_summary_global_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=18;
|
||||
HANDLER performance_schema.events_statements_summary_by_user_by_event_name OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_statements_summary_by_user_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=17;
|
||||
HANDLER performance_schema.events_statements_summary_by_thread_by_event_name OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_statements_summary_by_thread_by_event_name` doesn't have this option
|
||||
=======
|
||||
ERROR HY000: Table storage engine for 'users' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=85;
|
||||
HANDLER performance_schema.user_variables_by_thread OPEN;
|
||||
ERROR HY000: Table storage engine for 'user_variables_by_thread' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=84;
|
||||
HANDLER performance_schema.threads OPEN;
|
||||
ERROR HY000: Table storage engine for 'threads' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=83;
|
||||
HANDLER performance_schema.table_lock_waits_summary_by_table OPEN;
|
||||
ERROR HY000: Table storage engine for 'table_lock_waits_summary_by_table' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=82;
|
||||
HANDLER performance_schema.table_io_waits_summary_by_table OPEN;
|
||||
ERROR HY000: Table storage engine for 'table_io_waits_summary_by_table' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=81;
|
||||
HANDLER performance_schema.table_io_waits_summary_by_index_usage OPEN;
|
||||
ERROR HY000: Table storage engine for 'table_io_waits_summary_by_index_usage' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=80;
|
||||
HANDLER performance_schema.table_handles OPEN;
|
||||
ERROR HY000: Table storage engine for 'table_handles' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=79;
|
||||
HANDLER performance_schema.status_by_user OPEN;
|
||||
ERROR HY000: Table storage engine for 'status_by_user' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=78;
|
||||
HANDLER performance_schema.status_by_thread OPEN;
|
||||
ERROR HY000: Table storage engine for 'status_by_thread' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=77;
|
||||
HANDLER performance_schema.status_by_host OPEN;
|
||||
ERROR HY000: Table storage engine for 'status_by_host' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=76;
|
||||
HANDLER performance_schema.status_by_account OPEN;
|
||||
ERROR HY000: Table storage engine for 'status_by_account' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=75;
|
||||
HANDLER performance_schema.socket_summary_by_instance OPEN;
|
||||
ERROR HY000: Table storage engine for 'socket_summary_by_instance' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=74;
|
||||
HANDLER performance_schema.socket_summary_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'socket_summary_by_event_name' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=73;
|
||||
HANDLER performance_schema.socket_instances OPEN;
|
||||
ERROR HY000: Table storage engine for 'socket_instances' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=72;
|
||||
HANDLER performance_schema.setup_timers OPEN;
|
||||
ERROR HY000: Table storage engine for 'setup_timers' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=71;
|
||||
HANDLER performance_schema.setup_objects OPEN;
|
||||
ERROR HY000: Table storage engine for 'setup_objects' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=70;
|
||||
HANDLER performance_schema.setup_instruments OPEN;
|
||||
ERROR HY000: Table storage engine for 'setup_instruments' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=69;
|
||||
HANDLER performance_schema.setup_consumers OPEN;
|
||||
ERROR HY000: Table storage engine for 'setup_consumers' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=68;
|
||||
HANDLER performance_schema.setup_actors OPEN;
|
||||
ERROR HY000: Table storage engine for 'setup_actors' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=67;
|
||||
HANDLER performance_schema.session_variables OPEN;
|
||||
ERROR HY000: Table storage engine for 'session_variables' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=66;
|
||||
HANDLER performance_schema.session_status OPEN;
|
||||
ERROR HY000: Table storage engine for 'session_status' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=65;
|
||||
HANDLER performance_schema.session_connect_attrs OPEN;
|
||||
ERROR HY000: Table storage engine for 'session_connect_attrs' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=64;
|
||||
HANDLER performance_schema.session_account_connect_attrs OPEN;
|
||||
ERROR HY000: Table storage engine for 'session_account_connect_attrs' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=63;
|
||||
HANDLER performance_schema.rwlock_instances OPEN;
|
||||
ERROR HY000: Table storage engine for 'rwlock_instances' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=62;
|
||||
HANDLER performance_schema.replication_group_members OPEN;
|
||||
ERROR HY000: Table storage engine for 'replication_group_members' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=61;
|
||||
HANDLER performance_schema.replication_group_member_stats OPEN;
|
||||
ERROR HY000: Table storage engine for 'replication_group_member_stats' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=60;
|
||||
HANDLER performance_schema.replication_connection_status OPEN;
|
||||
ERROR HY000: Table storage engine for 'replication_connection_status' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=59;
|
||||
HANDLER performance_schema.replication_connection_configuration OPEN;
|
||||
ERROR HY000: Table storage engine for 'replication_connection_configuration' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=58;
|
||||
HANDLER performance_schema.replication_applier_status_by_worker OPEN;
|
||||
ERROR HY000: Table storage engine for 'replication_applier_status_by_worker' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=57;
|
||||
HANDLER performance_schema.replication_applier_status_by_coordinator OPEN;
|
||||
ERROR HY000: Table storage engine for 'replication_applier_status_by_coordinator' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=56;
|
||||
HANDLER performance_schema.replication_applier_status OPEN;
|
||||
ERROR HY000: Table storage engine for 'replication_applier_status' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=55;
|
||||
HANDLER performance_schema.replication_applier_configuration OPEN;
|
||||
ERROR HY000: Table storage engine for 'replication_applier_configuration' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=54;
|
||||
HANDLER performance_schema.prepared_statements_instances OPEN;
|
||||
ERROR HY000: Table storage engine for 'prepared_statements_instances' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=53;
|
||||
HANDLER performance_schema.performance_timers OPEN;
|
||||
ERROR HY000: Table storage engine for 'performance_timers' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=52;
|
||||
HANDLER performance_schema.objects_summary_global_by_type OPEN;
|
||||
ERROR HY000: Table storage engine for 'objects_summary_global_by_type' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=51;
|
||||
HANDLER performance_schema.mutex_instances OPEN;
|
||||
ERROR HY000: Table storage engine for 'mutex_instances' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=50;
|
||||
HANDLER performance_schema.metadata_locks OPEN;
|
||||
ERROR HY000: Table storage engine for 'metadata_locks' doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=49;
|
||||
HANDLER performance_schema.memory_summary_global_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'memory_summary_global_by_event_name' doesn't have this option
|
||||
HANDLER performance_schema.metadata_locks OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`metadata_locks` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=48;
|
||||
HANDLER performance_schema.memory_summary_by_user_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'memory_summary_by_user_by_event_name' doesn't have this option
|
||||
HANDLER performance_schema.memory_summary_global_by_event_name OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`memory_summary_global_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=47;
|
||||
HANDLER performance_schema.memory_summary_by_thread_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'memory_summary_by_thread_by_event_name' doesn't have this option
|
||||
HANDLER performance_schema.memory_summary_by_user_by_event_name OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`memory_summary_by_user_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=46;
|
||||
HANDLER performance_schema.memory_summary_by_host_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'memory_summary_by_host_by_event_name' doesn't have this option
|
||||
HANDLER performance_schema.memory_summary_by_thread_by_event_name OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`memory_summary_by_thread_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=45;
|
||||
HANDLER performance_schema.memory_summary_by_account_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'memory_summary_by_account_by_event_name' doesn't have this option
|
||||
HANDLER performance_schema.memory_summary_by_host_by_event_name OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`memory_summary_by_host_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=44;
|
||||
HANDLER performance_schema.hosts OPEN;
|
||||
ERROR HY000: Table storage engine for 'hosts' doesn't have this option
|
||||
HANDLER performance_schema.memory_summary_by_account_by_event_name OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`memory_summary_by_account_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=43;
|
||||
HANDLER performance_schema.host_cache OPEN;
|
||||
ERROR HY000: Table storage engine for 'host_cache' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`host_cache` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=42;
|
||||
HANDLER performance_schema.global_variables OPEN;
|
||||
ERROR HY000: Table storage engine for 'global_variables' doesn't have this option
|
||||
HANDLER performance_schema.hosts OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`hosts` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=41;
|
||||
HANDLER performance_schema.global_status OPEN;
|
||||
ERROR HY000: Table storage engine for 'global_status' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`global_status` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=40;
|
||||
HANDLER performance_schema.file_summary_by_instance OPEN;
|
||||
ERROR HY000: Table storage engine for 'file_summary_by_instance' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`file_summary_by_instance` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=39;
|
||||
HANDLER performance_schema.file_summary_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'file_summary_by_event_name' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`file_summary_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=38;
|
||||
HANDLER performance_schema.file_instances OPEN;
|
||||
ERROR HY000: Table storage engine for 'file_instances' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`file_instances` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=37;
|
||||
HANDLER performance_schema.events_waits_summary_global_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_waits_summary_global_by_event_name' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_waits_summary_global_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=36;
|
||||
HANDLER performance_schema.events_waits_summary_by_user_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_waits_summary_by_user_by_event_name' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_waits_summary_by_user_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=35;
|
||||
HANDLER performance_schema.events_waits_summary_by_thread_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_waits_summary_by_thread_by_event_name' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_waits_summary_by_thread_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=34;
|
||||
HANDLER performance_schema.events_waits_summary_by_instance OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_waits_summary_by_instance' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_waits_summary_by_instance` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=33;
|
||||
HANDLER performance_schema.events_waits_summary_by_host_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_waits_summary_by_host_by_event_name' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_waits_summary_by_host_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=32;
|
||||
HANDLER performance_schema.events_waits_summary_by_account_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_waits_summary_by_account_by_event_name' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_waits_summary_by_account_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=31;
|
||||
HANDLER performance_schema.events_waits_history_long OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_waits_history_long' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_waits_history_long` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=30;
|
||||
HANDLER performance_schema.events_waits_history OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_waits_history' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_waits_history` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=29;
|
||||
HANDLER performance_schema.events_waits_current OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_waits_current' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_waits_current` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=28;
|
||||
HANDLER performance_schema.events_transactions_summary_global_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_transactions_summary_global_by_event_name' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_transactions_summary_global_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=27;
|
||||
HANDLER performance_schema.events_transactions_summary_by_user_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_transactions_summary_by_user_by_event_name' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_transactions_summary_by_user_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=26;
|
||||
HANDLER performance_schema.events_transactions_summary_by_thread_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_transactions_summary_by_thread_by_event_name' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_transactions_summary_by_thread_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=25;
|
||||
HANDLER performance_schema.events_transactions_summary_by_host_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_transactions_summary_by_host_by_event_name' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_transactions_summary_by_host_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=24;
|
||||
HANDLER performance_schema.events_transactions_summary_by_account_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_transactions_summary_by_account_by_event_name' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_transactions_summary_by_account_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=23;
|
||||
HANDLER performance_schema.events_transactions_history_long OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_transactions_history_long' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_transactions_history_long` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=22;
|
||||
HANDLER performance_schema.events_transactions_history OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_transactions_history' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_transactions_history` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=21;
|
||||
HANDLER performance_schema.events_transactions_current OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_transactions_current' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_transactions_current` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=20;
|
||||
HANDLER performance_schema.events_statements_summary_global_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_statements_summary_global_by_event_name' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_statements_summary_global_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=19;
|
||||
HANDLER performance_schema.events_statements_summary_by_user_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_statements_summary_by_user_by_event_name' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_statements_summary_by_user_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=18;
|
||||
HANDLER performance_schema.events_statements_summary_by_thread_by_event_name OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_statements_summary_by_thread_by_event_name' doesn't have this option
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_statements_summary_by_thread_by_event_name` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=17;
|
||||
HANDLER performance_schema.events_statements_summary_by_program OPEN;
|
||||
ERROR HY000: Table storage engine for 'events_statements_summary_by_program' doesn't have this option
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_statements_summary_by_program` doesn't have this option
|
||||
SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=16;
|
||||
HANDLER performance_schema.events_statements_summary_by_host_by_event_name OPEN;
|
||||
ERROR HY000: Storage engine PERFORMANCE_SCHEMA of the table `performance_schema`.`events_statements_summary_by_host_by_event_name` doesn't have this option
|
||||
|
|
|
@ -42,10 +42,7 @@ set host='ILLEGAL';
|
|||
ERROR HY000: Invalid performance_schema usage
|
||||
update performance_schema.setup_actors
|
||||
set role='ILLEGAL';
|
||||
<<<<<<< HEAD
|
||||
ERROR HY000: Invalid performance_schema usage
|
||||
=======
|
||||
ERROR HY000: Invalid performance_schema usage.
|
||||
update performance_schema.setup_actors
|
||||
set ENABLED='YES';
|
||||
update performance_schema.setup_actors
|
||||
|
@ -71,7 +68,6 @@ ERROR 01000: Data truncated for column 'HISTORY' at row 1
|
|||
update performance_schema.setup_actors
|
||||
set HISTORY=NULL;
|
||||
ERROR 23000: Column 'HISTORY' cannot be null
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
select * from performance_schema.setup_actors
|
||||
order by USER, HOST;
|
||||
HOST USER ROLE ENABLED HISTORY
|
||||
|
|
|
@ -4,35 +4,16 @@ where name like 'Wait/Synch/Mutex/sql/%'
|
|||
and name not in ('wait/synch/mutex/sql/DEBUG_SYNC::mutex')
|
||||
order by name limit 10;
|
||||
NAME ENABLED TIMED
|
||||
<<<<<<< HEAD
|
||||
wait/synch/mutex/sql/Ack_receiver::mutex YES YES
|
||||
wait/synch/mutex/sql/Cversion_lock YES YES
|
||||
wait/synch/mutex/sql/Delayed_insert::mutex YES YES
|
||||
=======
|
||||
wait/synch/mutex/sql/Commit_order_manager::m_mutex YES YES
|
||||
wait/synch/mutex/sql/Cost_constant_cache::LOCK_cost_const YES YES
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
wait/synch/mutex/sql/Event_scheduler::LOCK_scheduler_state YES YES
|
||||
<<<<<<< HEAD
|
||||
wait/synch/mutex/sql/gtid_waiting::LOCK_gtid_waiting YES YES
|
||||
wait/synch/mutex/sql/hash_filo::lock YES YES
|
||||
wait/synch/mutex/sql/HA_DATA_PARTITION::LOCK_auto_inc YES YES
|
||||
wait/synch/mutex/sql/LOCK_active_mi YES YES
|
||||
wait/synch/mutex/sql/LOCK_after_binlog_sync YES YES
|
||||
wait/synch/mutex/sql/LOCK_audit_mask YES YES
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
wait/synch/mutex/sql/LOCK_binlog_state YES YES
|
||||
=======
|
||||
wait/synch/mutex/sql/Gtid_set::gtid_executed::free_intervals_mutex YES YES
|
||||
wait/synch/mutex/sql/Gtid_state YES YES
|
||||
wait/synch/mutex/sql/hash_filo::lock YES YES
|
||||
wait/synch/mutex/sql/key_mts_gaq_LOCK YES YES
|
||||
wait/synch/mutex/sql/key_mts_temp_table_LOCK YES YES
|
||||
wait/synch/mutex/sql/LOCK_audit_mask YES YES
|
||||
wait/synch/mutex/sql/LOCK_compress_gtid_table YES YES
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
select * from performance_schema.setup_instruments
|
||||
where name like 'Wait/Synch/Rwlock/sql/%'
|
||||
and name not in (
|
||||
|
@ -40,11 +21,7 @@ where name like 'Wait/Synch/Rwlock/sql/%'
|
|||
'wait/synch/rwlock/sql/LOCK_named_pipe_full_access_group')
|
||||
order by name limit 10;
|
||||
NAME ENABLED TIMED
|
||||
<<<<<<< HEAD
|
||||
wait/synch/rwlock/sql/LOCK_all_status_vars YES YES
|
||||
=======
|
||||
<<<<<<< HEAD
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
wait/synch/rwlock/sql/LOCK_dboptions YES YES
|
||||
wait/synch/rwlock/sql/LOCK_grant YES YES
|
||||
wait/synch/rwlock/sql/LOCK_SEQUENCE YES YES
|
||||
|
@ -54,24 +31,6 @@ wait/synch/rwlock/sql/LOCK_sys_init_connect YES YES
|
|||
wait/synch/rwlock/sql/LOCK_sys_init_slave YES YES
|
||||
wait/synch/rwlock/sql/LOGGER::LOCK_logger YES YES
|
||||
wait/synch/rwlock/sql/MDL_context::LOCK_waiting_for YES YES
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
wait/synch/rwlock/sql/MDL_lock::rwlock YES YES
|
||||
wait/synch/rwlock/sql/Query_cache_query::lock YES YES
|
||||
wait/synch/rwlock/sql/THR_LOCK_servers YES YES
|
||||
=======
|
||||
wait/synch/rwlock/sql/Binlog_relay_IO_delegate::lock YES YES
|
||||
wait/synch/rwlock/sql/Binlog_storage_delegate::lock YES YES
|
||||
wait/synch/rwlock/sql/Binlog_transmit_delegate::lock YES YES
|
||||
wait/synch/rwlock/sql/channel_lock YES YES
|
||||
wait/synch/rwlock/sql/channel_map_lock YES YES
|
||||
wait/synch/rwlock/sql/gtid_commit_rollback YES YES
|
||||
wait/synch/rwlock/sql/gtid_mode_lock YES YES
|
||||
wait/synch/rwlock/sql/LOCK_dboptions YES YES
|
||||
wait/synch/rwlock/sql/LOCK_grant YES YES
|
||||
wait/synch/rwlock/sql/LOCK_system_variables_hash YES YES
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
select * from performance_schema.setup_instruments
|
||||
where name like 'Wait/Synch/Cond/sql/%'
|
||||
and name not in (
|
||||
|
@ -82,17 +41,8 @@ where name like 'Wait/Synch/Cond/sql/%'
|
|||
'wait/synch/cond/sql/COND_start_signal_handler')
|
||||
order by name limit 10;
|
||||
NAME ENABLED TIMED
|
||||
<<<<<<< HEAD
|
||||
wait/synch/cond/sql/Ack_receiver::cond YES YES
|
||||
wait/synch/cond/sql/COND_binlog_send YES YES
|
||||
=======
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
wait/synch/cond/sql/Commit_order_manager::m_workers.cond YES YES
|
||||
wait/synch/cond/sql/COND_compress_gtid_table YES YES
|
||||
wait/synch/cond/sql/COND_connection_count YES YES
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
wait/synch/cond/sql/COND_flush_thread_cache YES YES
|
||||
wait/synch/cond/sql/COND_group_commit_orderer YES YES
|
||||
wait/synch/cond/sql/COND_gtid_ignore_duplicates YES YES
|
||||
|
@ -100,19 +50,7 @@ wait/synch/cond/sql/COND_manager YES YES
|
|||
wait/synch/cond/sql/COND_parallel_entry YES YES
|
||||
wait/synch/cond/sql/COND_prepare_ordered YES YES
|
||||
wait/synch/cond/sql/COND_queue_state YES YES
|
||||
<<<<<<< HEAD
|
||||
wait/synch/cond/sql/COND_rpl_thread YES YES
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
wait/synch/cond/sql/COND_rpl_thread_pool YES YES
|
||||
wait/synch/cond/sql/COND_rpl_thread_queue YES YES
|
||||
=======
|
||||
wait/synch/cond/sql/COND_server_started YES YES
|
||||
wait/synch/cond/sql/COND_thd_list YES YES
|
||||
wait/synch/cond/sql/COND_thread_cache YES YES
|
||||
wait/synch/cond/sql/COND_thr_lock YES YES
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
select * from performance_schema.setup_instruments
|
||||
where name='Wait';
|
||||
select * from performance_schema.setup_instruments
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
drop table if exists test.setup_objects;
|
||||
SET sql_mode = 'NO_ENGINE_SUBSTITUTION';
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
create table test.setup_objects as
|
||||
select * from performance_schema.setup_objects;
|
||||
truncate table performance_schema.setup_objects;
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
update performance_schema.setup_timers
|
||||
set timer_name='CYCLE' where name="wait";
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release.
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
update performance_schema.setup_timers
|
||||
set timer_name='NANOSECOND' where name="stage";
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release.
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
update performance_schema.setup_timers
|
||||
set timer_name='NANOSECOND' where name="statement";
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release.
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
update performance_schema.setup_timers
|
||||
set timer_name='MICROSECOND' where name="transaction";
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release.
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
update performance_schema.setup_timers
|
||||
set timer_name='MICROSECOND' where name="idle";
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release.
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
select * from performance_schema.setup_timers;
|
||||
NAME TIMER_NAME
|
||||
idle MICROSECOND
|
||||
|
@ -26,19 +26,19 @@ stage NANOSECOND
|
|||
statement NANOSECOND
|
||||
transaction MICROSECOND
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release.
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
select * from performance_schema.setup_timers
|
||||
where name='Wait';
|
||||
NAME TIMER_NAME
|
||||
wait CYCLE
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release.
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
select * from performance_schema.setup_timers
|
||||
where timer_name='CYCLE';
|
||||
NAME TIMER_NAME
|
||||
wait CYCLE
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release.
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
insert into performance_schema.setup_timers
|
||||
set name='FOO', timer_name='CYCLE';
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'setup_timers'
|
||||
|
@ -48,7 +48,7 @@ ERROR HY000: Invalid performance_schema usage
|
|||
update performance_schema.setup_timers
|
||||
set timer_name='MILLISECOND';
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release.
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
select * from performance_schema.setup_timers;
|
||||
NAME TIMER_NAME
|
||||
idle MILLISECOND
|
||||
|
@ -57,11 +57,11 @@ stage MILLISECOND
|
|||
statement MILLISECOND
|
||||
transaction MILLISECOND
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release.
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
update performance_schema.setup_timers
|
||||
set timer_name='CYCLE';
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release.
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
delete from performance_schema.setup_timers;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'setup_timers'
|
||||
delete from performance_schema.setup_timers
|
||||
|
@ -74,23 +74,23 @@ UNLOCK TABLES;
|
|||
update performance_schema.setup_timers
|
||||
set timer_name='CYCLE' where name="wait";
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release.
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
update performance_schema.setup_timers
|
||||
set timer_name='NANOSECOND' where name="stage";
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release.
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
update performance_schema.setup_timers
|
||||
set timer_name='NANOSECOND' where name="statement";
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release.
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
update performance_schema.setup_timers
|
||||
set timer_name='MICROSECOND' where name="transaction";
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release.
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
update performance_schema.setup_timers
|
||||
set timer_name='MICROSECOND' where name="idle";
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release.
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
select * from performance_schema.setup_timers;
|
||||
NAME TIMER_NAME
|
||||
idle MICROSECOND
|
||||
|
@ -99,4 +99,4 @@ stage NANOSECOND
|
|||
statement NANOSECOND
|
||||
transaction MICROSECOND
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release.
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,19 +1,7 @@
|
|||
use performance_schema;
|
||||
update performance_schema.setup_instruments set enabled='YES';
|
||||
<<<<<<< HEAD
|
||||
create user pfsuser@localhost;
|
||||
=======
|
||||
set @orig_sql_mode= @@sql_mode;
|
||||
set sql_mode= (select replace(@@sql_mode,'NO_AUTO_CREATE_USER',''));
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
grant SELECT, UPDATE, LOCK TABLES on performance_schema.* to pfsuser@localhost;
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
set sql_mode= @orig_sql_mode;
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
flush privileges;
|
||||
connect con1, localhost, pfsuser, , test;
|
||||
lock tables performance_schema.setup_instruments read;
|
||||
|
|
|
@ -11,22 +11,9 @@ select `User`, `Host` from mysql.`user` where `user` like '2001:%';
|
|||
User Host
|
||||
select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';
|
||||
User Host
|
||||
<<<<<<< HEAD
|
||||
create user 'root'@'192.0.2.4';
|
||||
grant select on test.* to 'root'@'192.0.2.4';
|
||||
connect con1,"127.0.0.1",root,,test,$MASTER_MYPORT,;
|
||||
=======
|
||||
set @orig_sql_mode= @@sql_mode;
|
||||
set sql_mode= (select replace(@@sql_mode,'NO_AUTO_CREATE_USER',''));
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
grant select on test.* to 'root'@'192.0.2.4';
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
set sql_mode= @orig_sql_mode;
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "Con1 is alive";
|
||||
Con1 is alive
|
||||
Con1 is alive
|
||||
|
|
|
@ -11,22 +11,9 @@ select `User`, `Host` from mysql.`user` where `user` like '2001:%';
|
|||
User Host
|
||||
select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';
|
||||
User Host
|
||||
<<<<<<< HEAD
|
||||
create user 'root'@'192.0.2.4';
|
||||
grant select on test.* to 'root'@'192.0.2.4';
|
||||
connect con1,"127.0.0.1",root,,test,$MASTER_MYPORT,;
|
||||
=======
|
||||
set @orig_sql_mode= @@sql_mode;
|
||||
set sql_mode= (select replace(@@sql_mode,'NO_AUTO_CREATE_USER',''));
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
grant select on test.* to 'root'@'192.0.2.4';
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
set sql_mode= @orig_sql_mode;
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "Con1 is alive";
|
||||
Con1 is alive
|
||||
Con1 is alive
|
||||
|
|
|
@ -11,22 +11,9 @@ select `User`, `Host` from mysql.`user` where `user` like '2001:%';
|
|||
User Host
|
||||
select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';
|
||||
User Host
|
||||
<<<<<<< HEAD
|
||||
create user 'root'@'santa.claus.ipv4.example.com';
|
||||
grant select on test.* to 'root'@'santa.claus.ipv4.example.com';
|
||||
connect con1,"127.0.0.1",root,,test,$MASTER_MYPORT,;
|
||||
=======
|
||||
set @orig_sql_mode= @@sql_mode;
|
||||
set sql_mode= (select replace(@@sql_mode,'NO_AUTO_CREATE_USER',''));
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
grant select on test.* to 'root'@'santa.claus.ipv4.example.com';
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
set sql_mode= @orig_sql_mode;
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "Con1 is alive";
|
||||
Con1 is alive
|
||||
Con1 is alive
|
||||
|
|
|
@ -11,27 +11,11 @@ select `User`, `Host` from mysql.`user` where `user` like '2001:%';
|
|||
User Host
|
||||
select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';
|
||||
User Host
|
||||
<<<<<<< HEAD
|
||||
create user 'root'@'santa.claus.ipv4.example.com';
|
||||
grant select on test.* to 'root'@'santa.claus.ipv4.example.com';
|
||||
create user 'root'@'192.0.2.4';
|
||||
grant select on test.* to 'root'@'192.0.2.4';
|
||||
connect con1,"127.0.0.1",root,,test,$MASTER_MYPORT,;
|
||||
=======
|
||||
set @orig_sql_mode= @@sql_mode;
|
||||
set sql_mode= (select replace(@@sql_mode,'NO_AUTO_CREATE_USER',''));
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
grant select on test.* to 'root'@'santa.claus.ipv4.example.com';
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
grant select on test.* to 'root'@'192.0.2.4';
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
set sql_mode= @orig_sql_mode;
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "Con1 is alive";
|
||||
Con1 is alive
|
||||
Con1 is alive
|
||||
|
|
|
@ -12,20 +12,8 @@ select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';
|
|||
User Host
|
||||
select @@global.max_connect_errors into @saved_max_connect_errors;
|
||||
set global max_connect_errors = 3;
|
||||
<<<<<<< HEAD
|
||||
create user 'root'@'santa.claus.ipv4.example.com';
|
||||
=======
|
||||
set @orig_sql_mode= @@sql_mode;
|
||||
set sql_mode= (select replace(@@sql_mode,'NO_AUTO_CREATE_USER',''));
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
grant select on test.* to 'root'@'santa.claus.ipv4.example.com';
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
set sql_mode= @orig_sql_mode;
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
create user 'quota'@'santa.claus.ipv4.example.com';
|
||||
grant select on test.* to 'quota'@'santa.claus.ipv4.example.com';
|
||||
connect con1,"127.0.0.1",root,,test,$MASTER_MYPORT,;
|
||||
|
|
|
@ -16,12 +16,7 @@ create user 'quota'@'santa.claus.ipv4.example.com';
|
|||
grant select on test.* to 'quota'@'santa.claus.ipv4.example.com';
|
||||
grant usage on *.* to 'quota'@'santa.claus.ipv4.example.com'
|
||||
with max_connections_per_hour 3;
|
||||
<<<<<<< HEAD
|
||||
connect con1,"127.0.0.1",root,,test,$MASTER_MYPORT,;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT statement to modify existing user's properties other than privileges is deprecated and will be removed in future release. Use ALTER USER statement for this operation.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "Con1 is alive";
|
||||
Con1 is alive
|
||||
Con1 is alive
|
||||
|
@ -205,12 +200,8 @@ FIRST_ERROR_SEEN set
|
|||
LAST_ERROR_SEEN set
|
||||
grant usage on *.* to 'quota'@'santa.claus.ipv4.example.com'
|
||||
with max_connections_per_hour 0;
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT statement to modify existing user's properties other than privileges is deprecated and will be removed in future release. Use ALTER USER statement for this operation.
|
||||
grant usage on *.* to 'quota'@'santa.claus.ipv4.example.com'
|
||||
with max_user_connections 3;
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT statement to modify existing user's properties other than privileges is deprecated and will be removed in future release. Use ALTER USER statement for this operation.
|
||||
flush user_resources;
|
||||
connect con3a,"127.0.0.1",quota,,test,$MASTER_MYPORT,;
|
||||
select "Con7 is alive";
|
||||
|
@ -385,8 +376,6 @@ disconnect con3b;
|
|||
disconnect con3c;
|
||||
grant usage on *.* to 'quota'@'santa.claus.ipv4.example.com'
|
||||
with max_user_connections 0;
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT statement to modify existing user's properties other than privileges is deprecated and will be removed in future release. Use ALTER USER statement for this operation.
|
||||
flush user_resources;
|
||||
set global max_user_connections = 3;
|
||||
connect con4a,"127.0.0.1",quota,,test,$MASTER_MYPORT,;
|
||||
|
|
|
@ -11,27 +11,11 @@ select `User`, `Host` from mysql.`user` where `user` like '2001:%';
|
|||
User Host
|
||||
select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';
|
||||
User Host
|
||||
<<<<<<< HEAD
|
||||
create user 'root'@'192.0.2.4';
|
||||
grant select on test.* to 'root'@'192.0.2.4';
|
||||
create user 'root'@'santa.claus.ipv4.example.com';
|
||||
grant select on test.* to 'root'@'santa.claus.ipv4.example.com';
|
||||
connect con1,"127.0.0.1",root,,test,$MASTER_MYPORT,;
|
||||
=======
|
||||
set @orig_sql_mode= @@sql_mode;
|
||||
set sql_mode= (select replace(@@sql_mode,'NO_AUTO_CREATE_USER',''));
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
grant select on test.* to 'root'@'192.0.2.4';
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
grant select on test.* to 'root'@'santa.claus.ipv4.example.com';
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
set sql_mode= @orig_sql_mode;
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "Con1 is alive";
|
||||
Con1 is alive
|
||||
Con1 is alive
|
||||
|
|
|
@ -11,22 +11,9 @@ select `User`, `Host` from mysql.`user` where `user` like '2001:%';
|
|||
User Host
|
||||
select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';
|
||||
User Host
|
||||
<<<<<<< HEAD
|
||||
create user 'root'@'192.0.2.4';
|
||||
grant select on test.* to 'root'@'192.0.2.4';
|
||||
connect con1,"127.0.0.1",root,,test,$MASTER_MYPORT,;
|
||||
=======
|
||||
set @orig_sql_mode= @@sql_mode;
|
||||
set sql_mode= (select replace(@@sql_mode,'NO_AUTO_CREATE_USER',''));
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
grant select on test.* to 'root'@'192.0.2.4';
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
set sql_mode= @orig_sql_mode;
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "Con1 is alive";
|
||||
Con1 is alive
|
||||
Con1 is alive
|
||||
|
|
|
@ -15,18 +15,11 @@ create user 'user_ssl_x509'@'santa.claus.ipv4.example.com'
|
|||
identified by 'good_password';
|
||||
grant select on test.* to 'user_ssl'@'santa.claus.ipv4.example.com'
|
||||
REQUIRE SSL;
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT statement to modify existing user's properties other than privileges is deprecated and will be removed in future release. Use ALTER USER statement for this operation.
|
||||
grant select on test.* to 'user_ssl_x509'@'santa.claus.ipv4.example.com'
|
||||
REQUIRE SUBJECT '/C=??/ST=??/L=??/
|
||||
O=No such thing/
|
||||
CN=Santa Claus/emailAddress=santa.claus@example.com';
|
||||
<<<<<<< HEAD
|
||||
connect con1,"127.0.0.1",root,,test,$MASTER_MYPORT,;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT statement to modify existing user's properties other than privileges is deprecated and will be removed in future release. Use ALTER USER statement for this operation.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "Con1 is alive";
|
||||
Con1 is alive
|
||||
Con1 is alive
|
||||
|
|
|
@ -11,22 +11,9 @@ select `User`, `Host` from mysql.`user` where `user` like '2001:%';
|
|||
User Host
|
||||
select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';
|
||||
User Host
|
||||
<<<<<<< HEAD
|
||||
create user 'root'@'2001:db8::6:6';
|
||||
grant select on test.* to 'root'@'2001:db8::6:6';
|
||||
connect con1,"::1",root,,test,$MASTER_MYPORT,;
|
||||
=======
|
||||
set @orig_sql_mode= @@sql_mode;
|
||||
set sql_mode= (select replace(@@sql_mode,'NO_AUTO_CREATE_USER',''));
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
grant select on test.* to 'root'@'2001:db8::6:6';
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
set sql_mode= @orig_sql_mode;
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "Con1 is alive";
|
||||
Con1 is alive
|
||||
Con1 is alive
|
||||
|
|
|
@ -11,22 +11,9 @@ select `User`, `Host` from mysql.`user` where `user` like '2001:%';
|
|||
User Host
|
||||
select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';
|
||||
User Host
|
||||
<<<<<<< HEAD
|
||||
create user 'root'@'2001:db8::6:6';
|
||||
grant select on test.* to 'root'@'2001:db8::6:6';
|
||||
connect con1,"::1",root,,test,$MASTER_MYPORT,;
|
||||
=======
|
||||
set @orig_sql_mode= @@sql_mode;
|
||||
set sql_mode= (select replace(@@sql_mode,'NO_AUTO_CREATE_USER',''));
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
grant select on test.* to 'root'@'2001:db8::6:6';
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
set sql_mode= @orig_sql_mode;
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "Con1 is alive";
|
||||
Con1 is alive
|
||||
Con1 is alive
|
||||
|
|
|
@ -11,22 +11,9 @@ select `User`, `Host` from mysql.`user` where `user` like '2001:%';
|
|||
User Host
|
||||
select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';
|
||||
User Host
|
||||
<<<<<<< HEAD
|
||||
create user 'root'@'santa.claus.ipv6.example.com';
|
||||
grant select on test.* to 'root'@'santa.claus.ipv6.example.com';
|
||||
connect con1,"::1",root,,test,$MASTER_MYPORT,;
|
||||
=======
|
||||
set @orig_sql_mode= @@sql_mode;
|
||||
set sql_mode= (select replace(@@sql_mode,'NO_AUTO_CREATE_USER',''));
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
grant select on test.* to 'root'@'santa.claus.ipv6.example.com';
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
set sql_mode= @orig_sql_mode;
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "Con1 is alive";
|
||||
Con1 is alive
|
||||
Con1 is alive
|
||||
|
|
|
@ -11,27 +11,11 @@ select `User`, `Host` from mysql.`user` where `user` like '2001:%';
|
|||
User Host
|
||||
select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';
|
||||
User Host
|
||||
<<<<<<< HEAD
|
||||
create user 'root'@'santa.claus.ipv6.example.com';
|
||||
grant select on test.* to 'root'@'santa.claus.ipv6.example.com';
|
||||
create user 'root'@'2001:db8::6:6';
|
||||
grant select on test.* to 'root'@'2001:db8::6:6';
|
||||
connect con1,"::1",root,,test,$MASTER_MYPORT,;
|
||||
=======
|
||||
set @orig_sql_mode= @@sql_mode;
|
||||
set sql_mode= (select replace(@@sql_mode,'NO_AUTO_CREATE_USER',''));
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
grant select on test.* to 'root'@'santa.claus.ipv6.example.com';
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
grant select on test.* to 'root'@'2001:db8::6:6';
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
set sql_mode= @orig_sql_mode;
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "Con1 is alive";
|
||||
Con1 is alive
|
||||
Con1 is alive
|
||||
|
|
|
@ -12,20 +12,8 @@ select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';
|
|||
User Host
|
||||
select @@global.max_connect_errors into @saved_max_connect_errors;
|
||||
set global max_connect_errors = 3;
|
||||
<<<<<<< HEAD
|
||||
create user 'root'@'santa.claus.ipv6.example.com';
|
||||
=======
|
||||
set @orig_sql_mode= @@sql_mode;
|
||||
set sql_mode= (select replace(@@sql_mode,'NO_AUTO_CREATE_USER',''));
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
grant select on test.* to 'root'@'santa.claus.ipv6.example.com';
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
set sql_mode= @orig_sql_mode;
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
create user 'quota'@'santa.claus.ipv6.example.com';
|
||||
grant select on test.* to 'quota'@'santa.claus.ipv6.example.com';
|
||||
connect con1,"::1",root,,test,$MASTER_MYPORT,;
|
||||
|
|
|
@ -16,12 +16,7 @@ create user 'quota'@'santa.claus.ipv6.example.com';
|
|||
grant select on test.* to 'quota'@'santa.claus.ipv6.example.com';
|
||||
grant usage on *.* to 'quota'@'santa.claus.ipv6.example.com'
|
||||
with max_connections_per_hour 3;
|
||||
<<<<<<< HEAD
|
||||
connect con1,"::1",root,,test,$MASTER_MYPORT,;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT statement to modify existing user's properties other than privileges is deprecated and will be removed in future release. Use ALTER USER statement for this operation.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "Con1 is alive";
|
||||
Con1 is alive
|
||||
Con1 is alive
|
||||
|
@ -205,12 +200,8 @@ FIRST_ERROR_SEEN set
|
|||
LAST_ERROR_SEEN set
|
||||
grant usage on *.* to 'quota'@'santa.claus.ipv6.example.com'
|
||||
with max_connections_per_hour 0;
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT statement to modify existing user's properties other than privileges is deprecated and will be removed in future release. Use ALTER USER statement for this operation.
|
||||
grant usage on *.* to 'quota'@'santa.claus.ipv6.example.com'
|
||||
with max_user_connections 3;
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT statement to modify existing user's properties other than privileges is deprecated and will be removed in future release. Use ALTER USER statement for this operation.
|
||||
flush user_resources;
|
||||
connect con3a,"::1",quota,,test,$MASTER_MYPORT,;
|
||||
select "Con7 is alive";
|
||||
|
@ -385,8 +376,6 @@ disconnect con3b;
|
|||
disconnect con3c;
|
||||
grant usage on *.* to 'quota'@'santa.claus.ipv6.example.com'
|
||||
with max_user_connections 0;
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT statement to modify existing user's properties other than privileges is deprecated and will be removed in future release. Use ALTER USER statement for this operation.
|
||||
flush user_resources;
|
||||
set global max_user_connections = 3;
|
||||
connect con4a,"::1",quota,,test,$MASTER_MYPORT,;
|
||||
|
|
|
@ -11,27 +11,11 @@ select `User`, `Host` from mysql.`user` where `user` like '2001:%';
|
|||
User Host
|
||||
select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';
|
||||
User Host
|
||||
<<<<<<< HEAD
|
||||
create user 'root'@'2001:db8::6:6';
|
||||
grant select on test.* to 'root'@'2001:db8::6:6';
|
||||
create user 'root'@'santa.claus.ipv6.example.com';
|
||||
grant select on test.* to 'root'@'santa.claus.ipv6.example.com';
|
||||
connect con1,"::1",root,,test,$MASTER_MYPORT,;
|
||||
=======
|
||||
set @orig_sql_mode= @@sql_mode;
|
||||
set sql_mode= (select replace(@@sql_mode,'NO_AUTO_CREATE_USER',''));
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
grant select on test.* to 'root'@'2001:db8::6:6';
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
grant select on test.* to 'root'@'santa.claus.ipv6.example.com';
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
set sql_mode= @orig_sql_mode;
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "Con1 is alive";
|
||||
Con1 is alive
|
||||
Con1 is alive
|
||||
|
|
|
@ -11,22 +11,9 @@ select `User`, `Host` from mysql.`user` where `user` like '2001:%';
|
|||
User Host
|
||||
select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';
|
||||
User Host
|
||||
<<<<<<< HEAD
|
||||
create user 'root'@'2001:db8::6:6';
|
||||
grant select on test.* to 'root'@'2001:db8::6:6';
|
||||
connect con1,"::1",root,,test,$MASTER_MYPORT,;
|
||||
=======
|
||||
set @orig_sql_mode= @@sql_mode;
|
||||
set sql_mode= (select replace(@@sql_mode,'NO_AUTO_CREATE_USER',''));
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
grant select on test.* to 'root'@'2001:db8::6:6';
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
set sql_mode= @orig_sql_mode;
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "Con1 is alive";
|
||||
Con1 is alive
|
||||
Con1 is alive
|
||||
|
|
|
@ -15,18 +15,11 @@ create user 'user_ssl_x509'@'santa.claus.ipv6.example.com'
|
|||
identified by 'good_password';
|
||||
grant select on test.* to 'user_ssl'@'santa.claus.ipv6.example.com'
|
||||
REQUIRE SSL;
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT statement to modify existing user's properties other than privileges is deprecated and will be removed in future release. Use ALTER USER statement for this operation.
|
||||
grant select on test.* to 'user_ssl_x509'@'santa.claus.ipv6.example.com'
|
||||
REQUIRE SUBJECT '/C=??/ST=??/L=??/
|
||||
O=No such thing/
|
||||
CN=Santa Claus/emailAddress=santa.claus@example.com';
|
||||
<<<<<<< HEAD
|
||||
connect con1,"::1",root,,test,$MASTER_MYPORT,;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT statement to modify existing user's properties other than privileges is deprecated and will be removed in future release. Use ALTER USER statement for this operation.
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "Con1 is alive";
|
||||
Con1 is alive
|
||||
Con1 is alive
|
||||
|
|
|
@ -43,21 +43,15 @@ performance_schema events_waits_summary_global_by_event_name def
|
|||
performance_schema file_instances def
|
||||
performance_schema file_summary_by_event_name def
|
||||
performance_schema file_summary_by_instance def
|
||||
<<<<<<< HEAD
|
||||
performance_schema hosts def
|
||||
performance_schema host_cache def
|
||||
=======
|
||||
performance_schema global_status def
|
||||
performance_schema global_variables def
|
||||
performance_schema host_cache def
|
||||
performance_schema hosts def
|
||||
performance_schema host_cache def
|
||||
performance_schema memory_summary_by_account_by_event_name def
|
||||
performance_schema memory_summary_by_host_by_event_name def
|
||||
performance_schema memory_summary_by_thread_by_event_name def
|
||||
performance_schema memory_summary_by_user_by_event_name def
|
||||
performance_schema memory_summary_global_by_event_name def
|
||||
performance_schema metadata_locks def
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
performance_schema mutex_instances def
|
||||
performance_schema objects_summary_global_by_type def
|
||||
performance_schema performance_timers def
|
||||
|
@ -65,16 +59,11 @@ performance_schema prepared_statements_instances def
|
|||
performance_schema replication_applier_configuration def
|
||||
performance_schema replication_applier_status def
|
||||
performance_schema replication_applier_status_by_coordinator def
|
||||
performance_schema replication_applier_status_by_worker def
|
||||
performance_schema replication_connection_configuration def
|
||||
performance_schema replication_connection_status def
|
||||
performance_schema replication_group_member_stats def
|
||||
performance_schema replication_group_members def
|
||||
performance_schema rwlock_instances def
|
||||
performance_schema session_account_connect_attrs def
|
||||
performance_schema session_connect_attrs def
|
||||
performance_schema session_status def
|
||||
performance_schema session_variables def
|
||||
performance_schema setup_actors def
|
||||
performance_schema setup_consumers def
|
||||
performance_schema setup_instruments def
|
||||
|
@ -92,9 +81,8 @@ performance_schema table_io_waits_summary_by_index_usage def
|
|||
performance_schema table_io_waits_summary_by_table def
|
||||
performance_schema table_lock_waits_summary_by_table def
|
||||
performance_schema threads def
|
||||
performance_schema user_variables_by_thread def
|
||||
performance_schema users def
|
||||
performance_schema variables_by_thread def
|
||||
performance_schema user_variables_by_thread def
|
||||
select lower(TABLE_NAME), TABLE_TYPE, ENGINE
|
||||
from information_schema.tables
|
||||
where TABLE_SCHEMA='performance_schema'
|
||||
|
@ -140,21 +128,15 @@ events_waits_summary_global_by_event_name BASE TABLE PERFORMANCE_SCHEMA
|
|||
file_instances BASE TABLE PERFORMANCE_SCHEMA
|
||||
file_summary_by_event_name BASE TABLE PERFORMANCE_SCHEMA
|
||||
file_summary_by_instance BASE TABLE PERFORMANCE_SCHEMA
|
||||
<<<<<<< HEAD
|
||||
hosts BASE TABLE PERFORMANCE_SCHEMA
|
||||
host_cache BASE TABLE PERFORMANCE_SCHEMA
|
||||
=======
|
||||
global_status BASE TABLE PERFORMANCE_SCHEMA
|
||||
global_variables BASE TABLE PERFORMANCE_SCHEMA
|
||||
host_cache BASE TABLE PERFORMANCE_SCHEMA
|
||||
hosts BASE TABLE PERFORMANCE_SCHEMA
|
||||
host_cache BASE TABLE PERFORMANCE_SCHEMA
|
||||
memory_summary_by_account_by_event_name BASE TABLE PERFORMANCE_SCHEMA
|
||||
memory_summary_by_host_by_event_name BASE TABLE PERFORMANCE_SCHEMA
|
||||
memory_summary_by_thread_by_event_name BASE TABLE PERFORMANCE_SCHEMA
|
||||
memory_summary_by_user_by_event_name BASE TABLE PERFORMANCE_SCHEMA
|
||||
memory_summary_global_by_event_name BASE TABLE PERFORMANCE_SCHEMA
|
||||
metadata_locks BASE TABLE PERFORMANCE_SCHEMA
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
mutex_instances BASE TABLE PERFORMANCE_SCHEMA
|
||||
objects_summary_global_by_type BASE TABLE PERFORMANCE_SCHEMA
|
||||
performance_timers BASE TABLE PERFORMANCE_SCHEMA
|
||||
|
@ -162,16 +144,11 @@ prepared_statements_instances BASE TABLE PERFORMANCE_SCHEMA
|
|||
replication_applier_configuration BASE TABLE PERFORMANCE_SCHEMA
|
||||
replication_applier_status BASE TABLE PERFORMANCE_SCHEMA
|
||||
replication_applier_status_by_coordinator BASE TABLE PERFORMANCE_SCHEMA
|
||||
replication_applier_status_by_worker BASE TABLE PERFORMANCE_SCHEMA
|
||||
replication_connection_configuration BASE TABLE PERFORMANCE_SCHEMA
|
||||
replication_connection_status BASE TABLE PERFORMANCE_SCHEMA
|
||||
replication_group_member_stats BASE TABLE PERFORMANCE_SCHEMA
|
||||
replication_group_members BASE TABLE PERFORMANCE_SCHEMA
|
||||
rwlock_instances BASE TABLE PERFORMANCE_SCHEMA
|
||||
session_account_connect_attrs BASE TABLE PERFORMANCE_SCHEMA
|
||||
session_connect_attrs BASE TABLE PERFORMANCE_SCHEMA
|
||||
session_status BASE TABLE PERFORMANCE_SCHEMA
|
||||
session_variables BASE TABLE PERFORMANCE_SCHEMA
|
||||
setup_actors BASE TABLE PERFORMANCE_SCHEMA
|
||||
setup_consumers BASE TABLE PERFORMANCE_SCHEMA
|
||||
setup_instruments BASE TABLE PERFORMANCE_SCHEMA
|
||||
|
@ -189,9 +166,8 @@ table_io_waits_summary_by_index_usage BASE TABLE PERFORMANCE_SCHEMA
|
|||
table_io_waits_summary_by_table BASE TABLE PERFORMANCE_SCHEMA
|
||||
table_lock_waits_summary_by_table BASE TABLE PERFORMANCE_SCHEMA
|
||||
threads BASE TABLE PERFORMANCE_SCHEMA
|
||||
user_variables_by_thread BASE TABLE PERFORMANCE_SCHEMA
|
||||
users BASE TABLE PERFORMANCE_SCHEMA
|
||||
variables_by_thread BASE TABLE PERFORMANCE_SCHEMA
|
||||
user_variables_by_thread BASE TABLE PERFORMANCE_SCHEMA
|
||||
select lower(TABLE_NAME), VERSION, ROW_FORMAT
|
||||
from information_schema.tables
|
||||
where TABLE_SCHEMA='performance_schema'
|
||||
|
@ -237,21 +213,15 @@ events_waits_summary_global_by_event_name 10 Dynamic
|
|||
file_instances 10 Dynamic
|
||||
file_summary_by_event_name 10 Dynamic
|
||||
file_summary_by_instance 10 Dynamic
|
||||
<<<<<<< HEAD
|
||||
hosts 10 Fixed
|
||||
host_cache 10 Dynamic
|
||||
=======
|
||||
global_status 10 Dynamic
|
||||
global_variables 10 Dynamic
|
||||
host_cache 10 Dynamic
|
||||
hosts 10 Fixed
|
||||
host_cache 10 Dynamic
|
||||
memory_summary_by_account_by_event_name 10 Dynamic
|
||||
memory_summary_by_host_by_event_name 10 Dynamic
|
||||
memory_summary_by_thread_by_event_name 10 Dynamic
|
||||
memory_summary_by_user_by_event_name 10 Dynamic
|
||||
memory_summary_global_by_event_name 10 Dynamic
|
||||
metadata_locks 10 Dynamic
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
mutex_instances 10 Dynamic
|
||||
objects_summary_global_by_type 10 Dynamic
|
||||
performance_timers 10 Fixed
|
||||
|
@ -259,16 +229,11 @@ prepared_statements_instances 10 Dynamic
|
|||
replication_applier_configuration 10 Fixed
|
||||
replication_applier_status 10 Fixed
|
||||
replication_applier_status_by_coordinator 10 Dynamic
|
||||
replication_applier_status_by_worker 10 Dynamic
|
||||
replication_connection_configuration 10 Dynamic
|
||||
replication_connection_status 10 Dynamic
|
||||
replication_group_member_stats 10 Dynamic
|
||||
replication_group_members 10 Fixed
|
||||
rwlock_instances 10 Dynamic
|
||||
session_account_connect_attrs 10 Dynamic
|
||||
session_connect_attrs 10 Dynamic
|
||||
session_status 10 Dynamic
|
||||
session_variables 10 Dynamic
|
||||
setup_actors 10 Fixed
|
||||
setup_consumers 10 Dynamic
|
||||
setup_instruments 10 Dynamic
|
||||
|
@ -286,13 +251,13 @@ table_io_waits_summary_by_index_usage 10 Dynamic
|
|||
table_io_waits_summary_by_table 10 Dynamic
|
||||
table_lock_waits_summary_by_table 10 Dynamic
|
||||
threads 10 Dynamic
|
||||
user_variables_by_thread 10 Dynamic
|
||||
users 10 Fixed
|
||||
variables_by_thread 10 Dynamic
|
||||
user_variables_by_thread 10 Dynamic
|
||||
select lower(TABLE_NAME), AVG_ROW_LENGTH
|
||||
from information_schema.tables
|
||||
where TABLE_SCHEMA='performance_schema' and
|
||||
lower(TABLE_NAME) not regexp '^variables|variables$|^status|session_status|global_status';
|
||||
lower(TABLE_NAME) not regexp '^variables|variables$|^status|session_status|global_status'
|
||||
order by table_name;
|
||||
lower(TABLE_NAME) AVG_ROW_LENGTH
|
||||
accounts 0
|
||||
cond_instances 0
|
||||
|
@ -334,8 +299,8 @@ events_waits_summary_global_by_event_name 0
|
|||
file_instances 0
|
||||
file_summary_by_event_name 0
|
||||
file_summary_by_instance 0
|
||||
host_cache 0
|
||||
hosts 0
|
||||
host_cache 0
|
||||
memory_summary_by_account_by_event_name 0
|
||||
memory_summary_by_host_by_event_name 0
|
||||
memory_summary_by_thread_by_event_name 0
|
||||
|
@ -349,11 +314,7 @@ prepared_statements_instances 0
|
|||
replication_applier_configuration 0
|
||||
replication_applier_status 0
|
||||
replication_applier_status_by_coordinator 0
|
||||
replication_applier_status_by_worker 0
|
||||
replication_connection_configuration 0
|
||||
replication_connection_status 0
|
||||
replication_group_member_stats 0
|
||||
replication_group_members 0
|
||||
rwlock_instances 0
|
||||
session_account_connect_attrs 0
|
||||
session_connect_attrs 0
|
||||
|
@ -370,80 +331,20 @@ table_io_waits_summary_by_index_usage 0
|
|||
table_io_waits_summary_by_table 0
|
||||
table_lock_waits_summary_by_table 0
|
||||
threads 0
|
||||
user_variables_by_thread 0
|
||||
users 0
|
||||
user_variables_by_thread 0
|
||||
select lower(TABLE_NAME), TABLE_ROWS, AVG_ROW_LENGTH
|
||||
from information_schema.tables
|
||||
<<<<<<< HEAD
|
||||
where TABLE_SCHEMA='performance_schema'
|
||||
where TABLE_SCHEMA='performance_schema' and
|
||||
lower(TABLE_NAME) regexp '^variables|variables$|^status|session_status|global_status'
|
||||
order by table_name;
|
||||
lower(TABLE_NAME) TABLE_ROWS AVG_ROW_LENGTH
|
||||
accounts 1000 0
|
||||
cond_instances 1000 0
|
||||
events_stages_current 1000 0
|
||||
events_stages_history 1000 0
|
||||
events_stages_history_long 10000 0
|
||||
events_stages_summary_by_account_by_event_name 1000 0
|
||||
events_stages_summary_by_host_by_event_name 1000 0
|
||||
events_stages_summary_by_thread_by_event_name 1000 0
|
||||
events_stages_summary_by_user_by_event_name 1000 0
|
||||
events_stages_summary_global_by_event_name 1000 0
|
||||
events_statements_current 1000 0
|
||||
events_statements_history 1000 0
|
||||
events_statements_history_long 10000 0
|
||||
events_statements_summary_by_account_by_event_name 1000 0
|
||||
events_statements_summary_by_digest 1000 0
|
||||
events_statements_summary_by_host_by_event_name 1000 0
|
||||
events_statements_summary_by_thread_by_event_name 1000 0
|
||||
events_statements_summary_by_user_by_event_name 1000 0
|
||||
events_statements_summary_global_by_event_name 1000 0
|
||||
events_waits_current 1000 0
|
||||
events_waits_history 1000 0
|
||||
events_waits_history_long 10000 0
|
||||
events_waits_summary_by_account_by_event_name 1000 0
|
||||
events_waits_summary_by_host_by_event_name 1000 0
|
||||
events_waits_summary_by_instance 1000 0
|
||||
events_waits_summary_by_thread_by_event_name 1000 0
|
||||
events_waits_summary_by_user_by_event_name 1000 0
|
||||
events_waits_summary_global_by_event_name 1000 0
|
||||
file_instances 1000 0
|
||||
file_summary_by_event_name 1000 0
|
||||
file_summary_by_instance 1000 0
|
||||
hosts 1000 0
|
||||
host_cache 1000 0
|
||||
mutex_instances 1000 0
|
||||
objects_summary_global_by_type 1000 0
|
||||
performance_timers 5 0
|
||||
rwlock_instances 1000 0
|
||||
session_account_connect_attrs 1000 0
|
||||
session_connect_attrs 1000 0
|
||||
setup_actors 1 0
|
||||
setup_consumers 12 0
|
||||
setup_instruments 1000 0
|
||||
setup_objects 4 0
|
||||
setup_timers 4 0
|
||||
socket_instances 1000 0
|
||||
socket_summary_by_event_name 1000 0
|
||||
socket_summary_by_instance 1000 0
|
||||
table_io_waits_summary_by_index_usage 1000 0
|
||||
table_io_waits_summary_by_table 1000 0
|
||||
table_lock_waits_summary_by_table 1000 0
|
||||
threads 1000 0
|
||||
users 1000 0
|
||||
=======
|
||||
where TABLE_SCHEMA='performance_schema' and
|
||||
lower(TABLE_NAME) regexp '^variables|variables$|^status|session_status|global_status';
|
||||
lower(TABLE_NAME) TABLE_ROWS AVG_ROW_LENGTH
|
||||
global_status table_rows avg_row_len
|
||||
global_variables table_rows avg_row_len
|
||||
session_status table_rows avg_row_len
|
||||
session_variables table_rows avg_row_len
|
||||
status_by_account table_rows avg_row_len
|
||||
status_by_host table_rows avg_row_len
|
||||
status_by_thread table_rows avg_row_len
|
||||
status_by_user table_rows avg_row_len
|
||||
variables_by_thread table_rows avg_row_len
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
select lower(TABLE_NAME), DATA_LENGTH, MAX_DATA_LENGTH
|
||||
from information_schema.tables
|
||||
where TABLE_SCHEMA='performance_schema'
|
||||
|
@ -489,21 +390,15 @@ events_waits_summary_global_by_event_name 0 0
|
|||
file_instances 0 0
|
||||
file_summary_by_event_name 0 0
|
||||
file_summary_by_instance 0 0
|
||||
<<<<<<< HEAD
|
||||
hosts 0 0
|
||||
host_cache 0 0
|
||||
=======
|
||||
global_status 0 0
|
||||
global_variables 0 0
|
||||
host_cache 0 0
|
||||
hosts 0 0
|
||||
host_cache 0 0
|
||||
memory_summary_by_account_by_event_name 0 0
|
||||
memory_summary_by_host_by_event_name 0 0
|
||||
memory_summary_by_thread_by_event_name 0 0
|
||||
memory_summary_by_user_by_event_name 0 0
|
||||
memory_summary_global_by_event_name 0 0
|
||||
metadata_locks 0 0
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
mutex_instances 0 0
|
||||
objects_summary_global_by_type 0 0
|
||||
performance_timers 0 0
|
||||
|
@ -511,16 +406,11 @@ prepared_statements_instances 0 0
|
|||
replication_applier_configuration 0 0
|
||||
replication_applier_status 0 0
|
||||
replication_applier_status_by_coordinator 0 0
|
||||
replication_applier_status_by_worker 0 0
|
||||
replication_connection_configuration 0 0
|
||||
replication_connection_status 0 0
|
||||
replication_group_member_stats 0 0
|
||||
replication_group_members 0 0
|
||||
rwlock_instances 0 0
|
||||
session_account_connect_attrs 0 0
|
||||
session_connect_attrs 0 0
|
||||
session_status 0 0
|
||||
session_variables 0 0
|
||||
setup_actors 0 0
|
||||
setup_consumers 0 0
|
||||
setup_instruments 0 0
|
||||
|
@ -538,9 +428,8 @@ table_io_waits_summary_by_index_usage 0 0
|
|||
table_io_waits_summary_by_table 0 0
|
||||
table_lock_waits_summary_by_table 0 0
|
||||
threads 0 0
|
||||
user_variables_by_thread 0 0
|
||||
users 0 0
|
||||
variables_by_thread 0 0
|
||||
user_variables_by_thread 0 0
|
||||
select lower(TABLE_NAME), INDEX_LENGTH, DATA_FREE, AUTO_INCREMENT
|
||||
from information_schema.tables
|
||||
where TABLE_SCHEMA='performance_schema'
|
||||
|
@ -586,21 +475,15 @@ events_waits_summary_global_by_event_name 0 0 NULL
|
|||
file_instances 0 0 NULL
|
||||
file_summary_by_event_name 0 0 NULL
|
||||
file_summary_by_instance 0 0 NULL
|
||||
<<<<<<< HEAD
|
||||
hosts 0 0 NULL
|
||||
host_cache 0 0 NULL
|
||||
=======
|
||||
global_status 0 0 NULL
|
||||
global_variables 0 0 NULL
|
||||
host_cache 0 0 NULL
|
||||
hosts 0 0 NULL
|
||||
host_cache 0 0 NULL
|
||||
memory_summary_by_account_by_event_name 0 0 NULL
|
||||
memory_summary_by_host_by_event_name 0 0 NULL
|
||||
memory_summary_by_thread_by_event_name 0 0 NULL
|
||||
memory_summary_by_user_by_event_name 0 0 NULL
|
||||
memory_summary_global_by_event_name 0 0 NULL
|
||||
metadata_locks 0 0 NULL
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
mutex_instances 0 0 NULL
|
||||
objects_summary_global_by_type 0 0 NULL
|
||||
performance_timers 0 0 NULL
|
||||
|
@ -608,16 +491,11 @@ prepared_statements_instances 0 0 NULL
|
|||
replication_applier_configuration 0 0 NULL
|
||||
replication_applier_status 0 0 NULL
|
||||
replication_applier_status_by_coordinator 0 0 NULL
|
||||
replication_applier_status_by_worker 0 0 NULL
|
||||
replication_connection_configuration 0 0 NULL
|
||||
replication_connection_status 0 0 NULL
|
||||
replication_group_member_stats 0 0 NULL
|
||||
replication_group_members 0 0 NULL
|
||||
rwlock_instances 0 0 NULL
|
||||
session_account_connect_attrs 0 0 NULL
|
||||
session_connect_attrs 0 0 NULL
|
||||
session_status 0 0 NULL
|
||||
session_variables 0 0 NULL
|
||||
setup_actors 0 0 NULL
|
||||
setup_consumers 0 0 NULL
|
||||
setup_instruments 0 0 NULL
|
||||
|
@ -635,9 +513,8 @@ table_io_waits_summary_by_index_usage 0 0 NULL
|
|||
table_io_waits_summary_by_table 0 0 NULL
|
||||
table_lock_waits_summary_by_table 0 0 NULL
|
||||
threads 0 0 NULL
|
||||
user_variables_by_thread 0 0 NULL
|
||||
users 0 0 NULL
|
||||
variables_by_thread 0 0 NULL
|
||||
user_variables_by_thread 0 0 NULL
|
||||
select lower(TABLE_NAME), CREATE_TIME, UPDATE_TIME, CHECK_TIME
|
||||
from information_schema.tables
|
||||
where TABLE_SCHEMA='performance_schema'
|
||||
|
@ -683,21 +560,15 @@ events_waits_summary_global_by_event_name NULL NULL NULL
|
|||
file_instances NULL NULL NULL
|
||||
file_summary_by_event_name NULL NULL NULL
|
||||
file_summary_by_instance NULL NULL NULL
|
||||
<<<<<<< HEAD
|
||||
hosts NULL NULL NULL
|
||||
host_cache NULL NULL NULL
|
||||
=======
|
||||
global_status NULL NULL NULL
|
||||
global_variables NULL NULL NULL
|
||||
host_cache NULL NULL NULL
|
||||
hosts NULL NULL NULL
|
||||
host_cache NULL NULL NULL
|
||||
memory_summary_by_account_by_event_name NULL NULL NULL
|
||||
memory_summary_by_host_by_event_name NULL NULL NULL
|
||||
memory_summary_by_thread_by_event_name NULL NULL NULL
|
||||
memory_summary_by_user_by_event_name NULL NULL NULL
|
||||
memory_summary_global_by_event_name NULL NULL NULL
|
||||
metadata_locks NULL NULL NULL
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
mutex_instances NULL NULL NULL
|
||||
objects_summary_global_by_type NULL NULL NULL
|
||||
performance_timers NULL NULL NULL
|
||||
|
@ -705,16 +576,11 @@ prepared_statements_instances NULL NULL NULL
|
|||
replication_applier_configuration NULL NULL NULL
|
||||
replication_applier_status NULL NULL NULL
|
||||
replication_applier_status_by_coordinator NULL NULL NULL
|
||||
replication_applier_status_by_worker NULL NULL NULL
|
||||
replication_connection_configuration NULL NULL NULL
|
||||
replication_connection_status NULL NULL NULL
|
||||
replication_group_member_stats NULL NULL NULL
|
||||
replication_group_members NULL NULL NULL
|
||||
rwlock_instances NULL NULL NULL
|
||||
session_account_connect_attrs NULL NULL NULL
|
||||
session_connect_attrs NULL NULL NULL
|
||||
session_status NULL NULL NULL
|
||||
session_variables NULL NULL NULL
|
||||
setup_actors NULL NULL NULL
|
||||
setup_consumers NULL NULL NULL
|
||||
setup_instruments NULL NULL NULL
|
||||
|
@ -732,9 +598,8 @@ table_io_waits_summary_by_index_usage NULL NULL NULL
|
|||
table_io_waits_summary_by_table NULL NULL NULL
|
||||
table_lock_waits_summary_by_table NULL NULL NULL
|
||||
threads NULL NULL NULL
|
||||
user_variables_by_thread NULL NULL NULL
|
||||
users NULL NULL NULL
|
||||
variables_by_thread NULL NULL NULL
|
||||
user_variables_by_thread NULL NULL NULL
|
||||
select lower(TABLE_NAME), TABLE_COLLATION, CHECKSUM
|
||||
from information_schema.tables
|
||||
where TABLE_SCHEMA='performance_schema'
|
||||
|
@ -780,21 +645,15 @@ events_waits_summary_global_by_event_name utf8_general_ci NULL
|
|||
file_instances utf8_general_ci NULL
|
||||
file_summary_by_event_name utf8_general_ci NULL
|
||||
file_summary_by_instance utf8_general_ci NULL
|
||||
<<<<<<< HEAD
|
||||
hosts utf8_general_ci NULL
|
||||
host_cache utf8_general_ci NULL
|
||||
=======
|
||||
global_status utf8_general_ci NULL
|
||||
global_variables utf8_general_ci NULL
|
||||
host_cache utf8_general_ci NULL
|
||||
hosts utf8_general_ci NULL
|
||||
host_cache utf8_general_ci NULL
|
||||
memory_summary_by_account_by_event_name utf8_general_ci NULL
|
||||
memory_summary_by_host_by_event_name utf8_general_ci NULL
|
||||
memory_summary_by_thread_by_event_name utf8_general_ci NULL
|
||||
memory_summary_by_user_by_event_name utf8_general_ci NULL
|
||||
memory_summary_global_by_event_name utf8_general_ci NULL
|
||||
metadata_locks utf8_general_ci NULL
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
mutex_instances utf8_general_ci NULL
|
||||
objects_summary_global_by_type utf8_general_ci NULL
|
||||
performance_timers utf8_general_ci NULL
|
||||
|
@ -802,16 +661,11 @@ prepared_statements_instances utf8_general_ci NULL
|
|||
replication_applier_configuration utf8_general_ci NULL
|
||||
replication_applier_status utf8_general_ci NULL
|
||||
replication_applier_status_by_coordinator utf8_general_ci NULL
|
||||
replication_applier_status_by_worker utf8_general_ci NULL
|
||||
replication_connection_configuration utf8_general_ci NULL
|
||||
replication_connection_status utf8_general_ci NULL
|
||||
replication_group_member_stats utf8_general_ci NULL
|
||||
replication_group_members utf8_general_ci NULL
|
||||
rwlock_instances utf8_general_ci NULL
|
||||
session_account_connect_attrs utf8_bin NULL
|
||||
session_connect_attrs utf8_bin NULL
|
||||
session_status utf8_general_ci NULL
|
||||
session_variables utf8_general_ci NULL
|
||||
setup_actors utf8_general_ci NULL
|
||||
setup_consumers utf8_general_ci NULL
|
||||
setup_instruments utf8_general_ci NULL
|
||||
|
@ -829,12 +683,12 @@ table_io_waits_summary_by_index_usage utf8_general_ci NULL
|
|||
table_io_waits_summary_by_table utf8_general_ci NULL
|
||||
table_lock_waits_summary_by_table utf8_general_ci NULL
|
||||
threads utf8_general_ci NULL
|
||||
user_variables_by_thread utf8_general_ci NULL
|
||||
users utf8_general_ci NULL
|
||||
variables_by_thread utf8_general_ci NULL
|
||||
user_variables_by_thread utf8_general_ci NULL
|
||||
select lower(TABLE_NAME), CREATE_OPTIONS
|
||||
from information_schema.tables
|
||||
where TABLE_SCHEMA='performance_schema';
|
||||
where TABLE_SCHEMA='performance_schema'
|
||||
order by table_name;
|
||||
lower(TABLE_NAME) CREATE_OPTIONS
|
||||
accounts
|
||||
cond_instances
|
||||
|
@ -877,9 +731,8 @@ file_instances
|
|||
file_summary_by_event_name
|
||||
file_summary_by_instance
|
||||
global_status
|
||||
global_variables
|
||||
host_cache
|
||||
hosts
|
||||
host_cache
|
||||
memory_summary_by_account_by_event_name
|
||||
memory_summary_by_host_by_event_name
|
||||
memory_summary_by_thread_by_event_name
|
||||
|
@ -893,16 +746,11 @@ prepared_statements_instances
|
|||
replication_applier_configuration
|
||||
replication_applier_status
|
||||
replication_applier_status_by_coordinator
|
||||
replication_applier_status_by_worker
|
||||
replication_connection_configuration
|
||||
replication_connection_status
|
||||
replication_group_member_stats
|
||||
replication_group_members
|
||||
rwlock_instances
|
||||
session_account_connect_attrs
|
||||
session_connect_attrs
|
||||
session_status
|
||||
session_variables
|
||||
setup_actors
|
||||
setup_consumers
|
||||
setup_instruments
|
||||
|
@ -920,9 +768,8 @@ table_io_waits_summary_by_index_usage
|
|||
table_io_waits_summary_by_table
|
||||
table_lock_waits_summary_by_table
|
||||
threads
|
||||
user_variables_by_thread
|
||||
users
|
||||
variables_by_thread
|
||||
user_variables_by_thread
|
||||
select lower(TABLE_NAME), TABLE_COMMENT
|
||||
from information_schema.tables
|
||||
where TABLE_SCHEMA='performance_schema'
|
||||
|
@ -968,21 +815,15 @@ events_waits_summary_global_by_event_name
|
|||
file_instances
|
||||
file_summary_by_event_name
|
||||
file_summary_by_instance
|
||||
<<<<<<< HEAD
|
||||
hosts
|
||||
host_cache
|
||||
=======
|
||||
global_status
|
||||
global_variables
|
||||
host_cache
|
||||
hosts
|
||||
host_cache
|
||||
memory_summary_by_account_by_event_name
|
||||
memory_summary_by_host_by_event_name
|
||||
memory_summary_by_thread_by_event_name
|
||||
memory_summary_by_user_by_event_name
|
||||
memory_summary_global_by_event_name
|
||||
metadata_locks
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
mutex_instances
|
||||
objects_summary_global_by_type
|
||||
performance_timers
|
||||
|
@ -990,16 +831,11 @@ prepared_statements_instances
|
|||
replication_applier_configuration
|
||||
replication_applier_status
|
||||
replication_applier_status_by_coordinator
|
||||
replication_applier_status_by_worker
|
||||
replication_connection_configuration
|
||||
replication_connection_status
|
||||
replication_group_member_stats
|
||||
replication_group_members
|
||||
rwlock_instances
|
||||
session_account_connect_attrs
|
||||
session_connect_attrs
|
||||
session_status
|
||||
session_variables
|
||||
setup_actors
|
||||
setup_consumers
|
||||
setup_instruments
|
||||
|
@ -1017,6 +853,5 @@ table_io_waits_summary_by_index_usage
|
|||
table_io_waits_summary_by_table
|
||||
table_lock_waits_summary_by_table
|
||||
threads
|
||||
user_variables_by_thread
|
||||
users
|
||||
variables_by_thread
|
||||
user_variables_by_thread
|
||||
|
|
|
@ -71,98 +71,51 @@ where event_name like 'wait/io/table/%'
|
|||
and object_schema in ("test")
|
||||
order by thread_id, event_id;
|
||||
event_name short_source object_type object_schema pretty_name operation number_of_bytes
|
||||
<<<<<<< HEAD
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab update NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab update NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab update NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab delete NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert NULL
|
||||
show status where Variable_name like 'performance_schema_%' and
|
||||
Variable_name not like 'performance_schema_%_classes_lost';
|
||||
=======
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 3
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab update 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab update 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab update 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 2
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab delete 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 2
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test no_index_tab fetch 2
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler handler.cc: TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab insert 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab insert 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab insert 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 3
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab update 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab update 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab update 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 2
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab delete 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 2
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test no_index_tab fetch 2
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
wait/io/table/sql/handler TABLE test marker insert 1
|
||||
show global status like 'performance_schema_%';
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
Variable_name Value
|
||||
Performance_schema_accounts_lost 0
|
||||
Performance_schema_cond_classes_lost 0
|
||||
Performance_schema_cond_instances_lost 0
|
||||
Performance_schema_digest_lost 0
|
||||
Performance_schema_file_classes_lost 0
|
||||
Performance_schema_file_handles_lost 0
|
||||
Performance_schema_file_instances_lost 0
|
||||
Performance_schema_hosts_lost 0
|
||||
Performance_schema_index_stat_lost 0
|
||||
Performance_schema_locker_lost 0
|
||||
<<<<<<< HEAD
|
||||
Performance_schema_mutex_instances_lost 0
|
||||
=======
|
||||
Performance_schema_memory_classes_lost 0
|
||||
Performance_schema_metadata_lock_lost 0
|
||||
Performance_schema_mutex_classes_lost 0
|
||||
|
@ -171,17 +124,16 @@ Performance_schema_nested_statement_lost 0
|
|||
Performance_schema_prepared_statements_lost 0
|
||||
Performance_schema_program_lost 0
|
||||
Performance_schema_rwlock_classes_lost 0
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
Performance_schema_rwlock_instances_lost 0
|
||||
Performance_schema_session_connect_attrs_lost 0
|
||||
Performance_schema_socket_classes_lost 0
|
||||
Performance_schema_socket_instances_lost 0
|
||||
Performance_schema_stage_classes_lost 0
|
||||
Performance_schema_statement_classes_lost 0
|
||||
Performance_schema_table_handles_lost 0
|
||||
Performance_schema_table_instances_lost 0
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
Performance_schema_table_lock_stat_lost 0
|
||||
Performance_schema_thread_classes_lost 0
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
Performance_schema_thread_instances_lost 0
|
||||
Performance_schema_users_lost 0
|
||||
truncate performance_schema.events_waits_history_long;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
## Connection default
|
||||
|
||||
connection default;
|
||||
USE test;
|
||||
DROP TABLE IF EXISTS t1;
|
||||
SELECT @@global.binlog_cache_size;
|
||||
|
@ -15,6 +16,7 @@ wait/io/file/sql/io_cache YES YES
|
|||
|
||||
## Connection con1
|
||||
|
||||
connect con1, localhost, root,,;
|
||||
USE test;
|
||||
CREATE TABLE t1 (s1 INT, s2 VARCHAR(4096));
|
||||
SET SESSION AUTOCOMMIT = 0;
|
||||
|
@ -79,13 +81,16 @@ COMMIT;
|
|||
SELECT COUNT(*) FROM t1;
|
||||
COUNT(*)
|
||||
8
|
||||
disconnect con1;
|
||||
|
||||
## Connection default
|
||||
|
||||
connection default;
|
||||
SELECT COUNT(*) FROM test.t1;
|
||||
COUNT(*)
|
||||
8
|
||||
SELECT COUNT(*) FROM performance_schema.file_summary_by_event_name WHERE event_name LIKE "%io_cache%";
|
||||
COUNT(*)
|
||||
1
|
||||
connection default;
|
||||
DROP TABLE t1;
|
||||
|
|
|
@ -4,7 +4,6 @@ information_schema
|
|||
mtr
|
||||
mysql
|
||||
performance_schema
|
||||
sys
|
||||
test
|
||||
select count(*) from performance_schema.performance_timers;
|
||||
count(*)
|
||||
|
@ -19,7 +18,7 @@ select count(*) from performance_schema.setup_timers;
|
|||
count(*)
|
||||
5
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release.
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
select * from performance_schema.accounts;
|
||||
select * from performance_schema.cond_instances;
|
||||
select * from performance_schema.events_stages_current;
|
||||
|
@ -93,20 +92,15 @@ select * from performance_schema.table_lock_waits_summary_by_table;
|
|||
select * from performance_schema.threads;
|
||||
select * from performance_schema.users;
|
||||
select * from performance_schema.replication_connection_configuration;
|
||||
select * from performance_schema.replication_connection_status;
|
||||
select * from performance_schema.replication_applier_configuration;
|
||||
select * from performance_schema.replication_applier_status;
|
||||
select * from performance_schema.replication_applier_status_by_coordinator;
|
||||
select * from performance_schema.replication_applier_status_by_worker;
|
||||
select * from performance_schema.global_status;
|
||||
select * from performance_schema.status_by_thread;
|
||||
select * from performance_schema.status_by_user;
|
||||
select * from performance_schema.status_by_host;
|
||||
select * from performance_schema.status_by_account;
|
||||
select * from performance_schema.session_status;
|
||||
select * from performance_schema.global_variables;
|
||||
select * from performance_schema.variables_by_thread;
|
||||
select * from performance_schema.session_variables;
|
||||
show global variables like "performance_schema%";
|
||||
Variable_name Value
|
||||
performance_schema ON
|
||||
|
@ -121,7 +115,7 @@ performance_schema_events_transactions_history_size 10
|
|||
performance_schema_events_waits_history_long_size 10000
|
||||
performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_classes 90
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 80
|
||||
|
@ -139,8 +133,8 @@ performance_schema_max_rwlock_instances 5000
|
|||
performance_schema_max_socket_classes 10
|
||||
performance_schema_max_socket_instances 1000
|
||||
performance_schema_max_sql_text_length 1024
|
||||
performance_schema_max_stage_classes 150
|
||||
performance_schema_max_statement_classes 193
|
||||
performance_schema_max_stage_classes 160
|
||||
performance_schema_max_statement_classes 222
|
||||
performance_schema_max_statement_stack 1
|
||||
performance_schema_max_table_handles 1000
|
||||
performance_schema_max_table_instances 500
|
||||
|
@ -172,7 +166,7 @@ data INT NOT NULL
|
|||
CREATE TABLE t2(
|
||||
n INT UNSIGNED NOT NULL,
|
||||
f BIGINT UNSIGNED
|
||||
);
|
||||
) engine=innodb;
|
||||
############################
|
||||
# Creating Stored Programs #
|
||||
############################
|
||||
|
|
|
@ -5,21 +5,16 @@ WHERE name in ('wait/io/table/sql/handler',
|
|||
'wait/lock/metadata/sql/mdl');
|
||||
set @orig_sql_mode= @@sql_mode;
|
||||
set sql_mode= (select replace(@@sql_mode,'NO_AUTO_CREATE_USER',''));
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
grant ALL on *.* to user1@localhost;
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
grant ALL on *.* to user2@localhost;
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
set sql_mode= @orig_sql_mode;
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
insert into performance_schema.setup_objects (object_type, object_schema, object_name, enabled, timed)
|
||||
values ('TABLE', 'mtr', '%', 'NO', 'NO');
|
||||
# Switch to (con1, localhost, user1, , )
|
||||
connect con1, localhost, user1, , ;
|
||||
# Switch to (con2, localhost, user2, , )
|
||||
connect con2, localhost, user2, , ;
|
||||
connection default;
|
||||
drop function if exists thread_id_name;
|
||||
create function thread_id_name(THREAD_ID int)
|
||||
returns varchar(16)
|
||||
|
@ -89,10 +84,12 @@ INSERT INTO t1 (id) VALUES (1), (2), (3), (4), (5), (6), (7), (8);
|
|||
TRUNCATE TABLE performance_schema.events_waits_history_long;
|
||||
TRUNCATE TABLE performance_schema.events_waits_history;
|
||||
TRUNCATE TABLE performance_schema.events_waits_current;
|
||||
connection con1;
|
||||
BEGIN;
|
||||
SELECT * from t1 where id=1;
|
||||
id b
|
||||
1 initial value
|
||||
connection default;
|
||||
"---- Marker 1 ----"
|
||||
execute dump_metadata_locks;
|
||||
OBJECT_TYPE FUNCTION
|
||||
|
@ -120,18 +117,14 @@ execute dump_table_handles;
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
INTERNAL_LOCK READ
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
execute dump_waits_current;
|
||||
execute dump_waits_history_long;
|
||||
connection con1;
|
||||
COMMIT;
|
||||
connection default;
|
||||
"---- Marker 2 ----"
|
||||
execute dump_metadata_locks;
|
||||
OBJECT_TYPE FUNCTION
|
||||
|
@ -152,19 +145,15 @@ execute dump_table_handles;
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
INTERNAL_LOCK READ
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
execute dump_waits_current;
|
||||
execute dump_waits_history_long;
|
||||
connection con1;
|
||||
BEGIN;
|
||||
UPDATE t1 set b="new value" where id=2;
|
||||
connection default;
|
||||
"---- Marker 3 ----"
|
||||
execute dump_metadata_locks;
|
||||
OBJECT_TYPE FUNCTION
|
||||
|
@ -192,19 +181,15 @@ execute dump_table_handles;
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
INTERNAL_LOCK WRITE
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
execute dump_waits_current;
|
||||
execute dump_waits_history_long;
|
||||
connection con2;
|
||||
BEGIN;
|
||||
DROP TABLE t1;;
|
||||
connection default;
|
||||
"---- Marker 4 ----"
|
||||
execute dump_metadata_locks;
|
||||
OBJECT_TYPE FUNCTION
|
||||
|
@ -214,13 +199,6 @@ LOCK_TYPE SHARED
|
|||
LOCK_DURATION TRANSACTION
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID OTHER
|
||||
OBJECT_TYPE GLOBAL
|
||||
OBJECT_SCHEMA NULL
|
||||
OBJECT_NAME NULL
|
||||
LOCK_TYPE INTENTION_EXCLUSIVE
|
||||
LOCK_DURATION STATEMENT
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID USER2
|
||||
OBJECT_TYPE SCHEMA
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME NULL
|
||||
|
@ -253,13 +231,7 @@ execute dump_table_handles;
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
INTERNAL_LOCK WRITE
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
execute dump_waits_current;
|
||||
|
@ -273,7 +245,10 @@ OBJECT_NAME t1
|
|||
INDEX_NAME NULL
|
||||
OPERATION metadata lock
|
||||
execute dump_waits_history_long;
|
||||
connection con1;
|
||||
COMMIT;
|
||||
connection con2;
|
||||
connection default;
|
||||
"---- Marker 5 ----"
|
||||
execute dump_metadata_locks;
|
||||
OBJECT_TYPE FUNCTION
|
||||
|
@ -311,11 +286,14 @@ OBJECT_SCHEMA test
|
|||
OBJECT_NAME t1
|
||||
INDEX_NAME NULL
|
||||
OPERATION metadata lock
|
||||
connection default;
|
||||
TRUNCATE TABLE performance_schema.events_waits_history_long;
|
||||
TRUNCATE TABLE performance_schema.events_waits_history;
|
||||
TRUNCATE TABLE performance_schema.events_waits_current;
|
||||
create table t1 (a int);
|
||||
connection con1;
|
||||
LOCK TABLE t1 READ;
|
||||
connection default;
|
||||
"---- Marker 6 ----"
|
||||
execute dump_metadata_locks;
|
||||
OBJECT_TYPE FUNCTION
|
||||
|
@ -335,7 +313,7 @@ OWNER_THREAD_ID OTHER
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
LOCK_TYPE SHARED_READ_ONLY
|
||||
LOCK_TYPE SHARED_READ
|
||||
LOCK_DURATION TRANSACTION
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID USER1
|
||||
|
@ -343,12 +321,14 @@ execute dump_table_handles;
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
INTERNAL_LOCK READ NO INSERT
|
||||
EXTERNAL_LOCK READ EXTERNAL
|
||||
OWNER_THREAD_ID USER1
|
||||
execute dump_waits_current;
|
||||
execute dump_waits_history_long;
|
||||
connection con2;
|
||||
LOCK TABLE t1 write;;
|
||||
connection default;
|
||||
"---- Marker 7 ----"
|
||||
execute dump_metadata_locks;
|
||||
OBJECT_TYPE FUNCTION
|
||||
|
@ -358,13 +338,6 @@ LOCK_TYPE SHARED
|
|||
LOCK_DURATION TRANSACTION
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID OTHER
|
||||
OBJECT_TYPE GLOBAL
|
||||
OBJECT_SCHEMA NULL
|
||||
OBJECT_NAME NULL
|
||||
LOCK_TYPE INTENTION_EXCLUSIVE
|
||||
LOCK_DURATION STATEMENT
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID USER2
|
||||
OBJECT_TYPE SCHEMA
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME NULL
|
||||
|
@ -389,7 +362,7 @@ OWNER_THREAD_ID USER2
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
LOCK_TYPE SHARED_READ_ONLY
|
||||
LOCK_TYPE SHARED_READ
|
||||
LOCK_DURATION TRANSACTION
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID USER1
|
||||
|
@ -397,7 +370,7 @@ execute dump_table_handles;
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
INTERNAL_LOCK READ NO INSERT
|
||||
EXTERNAL_LOCK READ EXTERNAL
|
||||
OWNER_THREAD_ID USER1
|
||||
execute dump_waits_current;
|
||||
|
@ -411,9 +384,26 @@ OBJECT_NAME t1
|
|||
INDEX_NAME NULL
|
||||
OPERATION metadata lock
|
||||
execute dump_waits_history_long;
|
||||
connection con1;
|
||||
UNLOCK TABLES;
|
||||
connection con2;
|
||||
connection default;
|
||||
"---- Marker 8 ----"
|
||||
execute dump_metadata_locks;
|
||||
OBJECT_TYPE BACKUP
|
||||
OBJECT_SCHEMA NULL
|
||||
OBJECT_NAME NULL
|
||||
LOCK_TYPE BACKUP_DDL
|
||||
LOCK_DURATION STATEMENT
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID USER2
|
||||
OBJECT_TYPE BACKUP
|
||||
OBJECT_SCHEMA NULL
|
||||
OBJECT_NAME NULL
|
||||
LOCK_TYPE BACKUP_DML
|
||||
LOCK_DURATION STATEMENT
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID USER2
|
||||
OBJECT_TYPE FUNCTION
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME thread_id_name
|
||||
|
@ -421,13 +411,6 @@ LOCK_TYPE SHARED
|
|||
LOCK_DURATION TRANSACTION
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID OTHER
|
||||
OBJECT_TYPE GLOBAL
|
||||
OBJECT_SCHEMA NULL
|
||||
OBJECT_NAME NULL
|
||||
LOCK_TYPE INTENTION_EXCLUSIVE
|
||||
LOCK_DURATION STATEMENT
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID USER2
|
||||
OBJECT_TYPE SCHEMA
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME NULL
|
||||
|
@ -453,13 +436,7 @@ execute dump_table_handles;
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
INTERNAL_LOCK WRITE
|
||||
EXTERNAL_LOCK WRITE EXTERNAL
|
||||
OWNER_THREAD_ID USER2
|
||||
execute dump_waits_current;
|
||||
|
@ -473,9 +450,25 @@ OBJECT_SCHEMA test
|
|||
OBJECT_NAME t1
|
||||
INDEX_NAME NULL
|
||||
OPERATION metadata lock
|
||||
connection con1;
|
||||
LOCK TABLES t1 read;;
|
||||
connection default;
|
||||
"---- Marker 9 ----"
|
||||
execute dump_metadata_locks;
|
||||
OBJECT_TYPE BACKUP
|
||||
OBJECT_SCHEMA NULL
|
||||
OBJECT_NAME NULL
|
||||
LOCK_TYPE BACKUP_DDL
|
||||
LOCK_DURATION STATEMENT
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID USER2
|
||||
OBJECT_TYPE BACKUP
|
||||
OBJECT_SCHEMA NULL
|
||||
OBJECT_NAME NULL
|
||||
LOCK_TYPE BACKUP_DML
|
||||
LOCK_DURATION STATEMENT
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID USER2
|
||||
OBJECT_TYPE FUNCTION
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME thread_id_name
|
||||
|
@ -483,13 +476,6 @@ LOCK_TYPE SHARED
|
|||
LOCK_DURATION TRANSACTION
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID OTHER
|
||||
OBJECT_TYPE GLOBAL
|
||||
OBJECT_SCHEMA NULL
|
||||
OBJECT_NAME NULL
|
||||
LOCK_TYPE INTENTION_EXCLUSIVE
|
||||
LOCK_DURATION STATEMENT
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID USER2
|
||||
OBJECT_TYPE SCHEMA
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME NULL
|
||||
|
@ -514,7 +500,7 @@ OWNER_THREAD_ID USER2
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
LOCK_TYPE SHARED_READ_ONLY
|
||||
LOCK_TYPE SHARED_READ
|
||||
LOCK_DURATION TRANSACTION
|
||||
LOCK_STATUS PENDING
|
||||
OWNER_THREAD_ID USER1
|
||||
|
@ -522,13 +508,7 @@ execute dump_table_handles;
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
INTERNAL_LOCK WRITE
|
||||
EXTERNAL_LOCK WRITE EXTERNAL
|
||||
OWNER_THREAD_ID USER2
|
||||
execute dump_waits_current;
|
||||
|
@ -551,7 +531,10 @@ OBJECT_SCHEMA test
|
|||
OBJECT_NAME t1
|
||||
INDEX_NAME NULL
|
||||
OPERATION metadata lock
|
||||
connection con2;
|
||||
UNLOCK TABLES;
|
||||
connection con1;
|
||||
connection default;
|
||||
"---- Marker 10 ----"
|
||||
execute dump_metadata_locks;
|
||||
OBJECT_TYPE FUNCTION
|
||||
|
@ -571,7 +554,7 @@ OWNER_THREAD_ID OTHER
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
LOCK_TYPE SHARED_READ_ONLY
|
||||
LOCK_TYPE SHARED_READ
|
||||
LOCK_DURATION TRANSACTION
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID USER1
|
||||
|
@ -579,13 +562,7 @@ execute dump_table_handles;
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
INTERNAL_LOCK READ NO INSERT
|
||||
EXTERNAL_LOCK READ EXTERNAL
|
||||
OWNER_THREAD_ID USER1
|
||||
execute dump_waits_current;
|
||||
|
@ -608,7 +585,9 @@ OBJECT_SCHEMA test
|
|||
OBJECT_NAME t1
|
||||
INDEX_NAME NULL
|
||||
OPERATION metadata lock
|
||||
connection con1;
|
||||
UNLOCK TABLES;
|
||||
connection default;
|
||||
"---- Marker 11 ----"
|
||||
execute dump_metadata_locks;
|
||||
OBJECT_TYPE FUNCTION
|
||||
|
@ -629,13 +608,7 @@ execute dump_table_handles;
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
INTERNAL_LOCK READ NO INSERT
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
execute dump_waits_current;
|
||||
|
@ -661,8 +634,10 @@ OPERATION metadata lock
|
|||
TRUNCATE TABLE performance_schema.events_waits_history_long;
|
||||
TRUNCATE TABLE performance_schema.events_waits_history;
|
||||
TRUNCATE TABLE performance_schema.events_waits_current;
|
||||
connection con1;
|
||||
BEGIN;
|
||||
UPDATE LOW_PRIORITY t1 SET a=8;
|
||||
connection default;
|
||||
"---- Marker 12 ----"
|
||||
execute dump_metadata_locks;
|
||||
OBJECT_TYPE FUNCTION
|
||||
|
@ -682,7 +657,7 @@ OWNER_THREAD_ID OTHER
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
LOCK_TYPE SHARED_WRITE_LOW_PRIO
|
||||
LOCK_TYPE SHARED_WRITE
|
||||
LOCK_DURATION TRANSACTION
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID USER1
|
||||
|
@ -690,24 +665,22 @@ execute dump_table_handles;
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
INTERNAL_LOCK WRITE LOW PRIORITY
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
execute dump_waits_current;
|
||||
execute dump_waits_history_long;
|
||||
connection con1;
|
||||
COMMIT;
|
||||
connection default;
|
||||
TRUNCATE TABLE performance_schema.events_waits_history_long;
|
||||
TRUNCATE TABLE performance_schema.events_waits_history;
|
||||
TRUNCATE TABLE performance_schema.events_waits_current;
|
||||
connection con1;
|
||||
SELECT GET_LOCK('test', 0);
|
||||
GET_LOCK('test', 0)
|
||||
1
|
||||
connection default;
|
||||
"---- Marker 13 ----"
|
||||
execute dump_metadata_locks;
|
||||
OBJECT_TYPE FUNCTION
|
||||
|
@ -727,7 +700,7 @@ OWNER_THREAD_ID OTHER
|
|||
OBJECT_TYPE USER LEVEL LOCK
|
||||
OBJECT_SCHEMA NULL
|
||||
OBJECT_NAME test
|
||||
LOCK_TYPE EXCLUSIVE
|
||||
LOCK_TYPE SHARED_NO_WRITE
|
||||
LOCK_DURATION EXPLICIT
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID USER1
|
||||
|
@ -735,18 +708,14 @@ execute dump_table_handles;
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
INTERNAL_LOCK WRITE LOW PRIORITY
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
execute dump_waits_current;
|
||||
execute dump_waits_history_long;
|
||||
connection con2;
|
||||
SELECT GET_LOCK('test', 120);;
|
||||
connection default;
|
||||
"---- Marker 14 ----"
|
||||
execute dump_metadata_locks;
|
||||
OBJECT_TYPE FUNCTION
|
||||
|
@ -766,14 +735,14 @@ OWNER_THREAD_ID OTHER
|
|||
OBJECT_TYPE USER LEVEL LOCK
|
||||
OBJECT_SCHEMA NULL
|
||||
OBJECT_NAME test
|
||||
LOCK_TYPE EXCLUSIVE
|
||||
LOCK_TYPE SHARED_NO_WRITE
|
||||
LOCK_DURATION EXPLICIT
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID USER1
|
||||
OBJECT_TYPE USER LEVEL LOCK
|
||||
OBJECT_SCHEMA NULL
|
||||
OBJECT_NAME test
|
||||
LOCK_TYPE EXCLUSIVE
|
||||
LOCK_TYPE SHARED_NO_WRITE
|
||||
LOCK_DURATION EXPLICIT
|
||||
LOCK_STATUS PENDING
|
||||
OWNER_THREAD_ID USER2
|
||||
|
@ -781,13 +750,7 @@ execute dump_table_handles;
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
INTERNAL_LOCK WRITE LOW PRIORITY
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
execute dump_waits_current;
|
||||
|
@ -801,11 +764,14 @@ OBJECT_NAME test
|
|||
INDEX_NAME NULL
|
||||
OPERATION metadata lock
|
||||
execute dump_waits_history_long;
|
||||
connection con1;
|
||||
SELECT RELEASE_LOCK('test');
|
||||
RELEASE_LOCK('test')
|
||||
1
|
||||
connection con2;
|
||||
GET_LOCK('test', 120)
|
||||
1
|
||||
connection default;
|
||||
"---- Marker 15 ----"
|
||||
execute dump_metadata_locks;
|
||||
OBJECT_TYPE FUNCTION
|
||||
|
@ -825,7 +791,7 @@ OWNER_THREAD_ID OTHER
|
|||
OBJECT_TYPE USER LEVEL LOCK
|
||||
OBJECT_SCHEMA NULL
|
||||
OBJECT_NAME test
|
||||
LOCK_TYPE EXCLUSIVE
|
||||
LOCK_TYPE SHARED_NO_WRITE
|
||||
LOCK_DURATION EXPLICIT
|
||||
LOCK_STATUS GRANTED
|
||||
OWNER_THREAD_ID USER2
|
||||
|
@ -833,13 +799,7 @@ execute dump_table_handles;
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
INTERNAL_LOCK WRITE LOW PRIORITY
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
execute dump_waits_current;
|
||||
|
@ -862,9 +822,11 @@ OBJECT_SCHEMA NULL
|
|||
OBJECT_NAME test
|
||||
INDEX_NAME NULL
|
||||
OPERATION metadata lock
|
||||
connection con2;
|
||||
SELECT RELEASE_LOCK('test');
|
||||
RELEASE_LOCK('test')
|
||||
1
|
||||
connection default;
|
||||
"---- Marker 16 ----"
|
||||
execute dump_metadata_locks;
|
||||
OBJECT_TYPE FUNCTION
|
||||
|
@ -885,13 +847,7 @@ execute dump_table_handles;
|
|||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
OBJECT_TYPE TABLE
|
||||
OBJECT_SCHEMA test
|
||||
OBJECT_NAME t1
|
||||
INTERNAL_LOCK NULL
|
||||
INTERNAL_LOCK WRITE LOW PRIORITY
|
||||
EXTERNAL_LOCK NULL
|
||||
OWNER_THREAD_ID OTHER
|
||||
execute dump_waits_current;
|
||||
|
@ -914,6 +870,9 @@ OBJECT_SCHEMA NULL
|
|||
OBJECT_NAME test
|
||||
INDEX_NAME NULL
|
||||
OPERATION metadata lock
|
||||
disconnect con1;
|
||||
disconnect con2;
|
||||
connection default;
|
||||
drop table t1;
|
||||
UPDATE performance_schema.setup_instruments SET enabled = 'YES', timed = 'YES';
|
||||
revoke all privileges, grant option from user1@localhost;
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue