|
SqlChanges
Changes to SQL
IntroductionThis describes changes to SQL parsed by MySQL. New tokens
New SQL functionsSee NewSqlFunctions for more details:
New options for existing statementsKILL <id> IF_IDLE can be used to kill a connection but only if it is idle. MAX_QUERIES_PER_MINUTE can be used in place of MAX_QUERIES_PER_HOUR. This version of MySQL enforces query limits per minute rather than per hour and the value stored in the MySQL privilege table is the rate per minute. CREATE MAPPED USER 'foo' ROLE 'bar' and DROP MAPPED USER 'foo' support mapped users. See MysqlRoles for more details. SHOW PROCESSLIST WITH ROLES and SHOW USER_STATISTICS WITH ROLES use the role name rather than the user name in results. New statementsSee UserTableMonitoring for more details:
See MysqlRateLimiting for more details:
SHOW TCMALLOC STATUS displays the status of tcmalloc when MySQL hash been linked with it and compiled with -DUSE_TCMALLOC. This displays the output from MallocExtension::GetStats. CAST supports cast to DOUBLE. SHOW INNODB LOCKS provides more details on InnoDB lock holders and waiters. FLUSH SLOW QUERY LOGS rotates the slow query log. MAKE MASTER REVOKE SESSION disconnects all sessions but the current one and prevents future connections from all users unless they have SUPER, REPL_CLIENT or REPL_SLAVE privileges. MAKE MASTER GRANT SESSION undoes this. |
Sign in to add a comment
The syntax is: KILL IF_IDLE <id> not KILL <id> IF_IDLE