| 1 |
--source include/not_mac_os.inc |
| 2 |
--source include/xplugin_preamble.inc |
| 3 |
--source include/xplugin_create_user.inc |
| 4 |
--source include/resource_group_init.inc |
| 5 |
|
| 6 |
--echo # |
| 7 |
--echo # BUG#30900411 - RESOURCE GROUP MANAGEMENT STATEMENTS ARE NOT SUPPORTED BY PLUGGABLE PROTOCOLS |
| 8 |
--echo # |
| 9 |
|
| 10 |
--echo # All resource group related SQL fails with error before the fix for bug#30900411. |
| 11 |
|
| 12 |
--let $xtest_file= $MYSQL_TMP_DIR/resource_groups.xpl |
| 13 |
--write_file $xtest_file |
| 14 |
-->sql |
| 15 |
CREATE RESOURCE GROUP rg1 TYPE=USER VCPU=1-2; |
| 16 |
ALTER RESOURCE GROUP rg1 VCPU=1; |
| 17 |
SELECT /*+ RESOURCE_GROUP(rg1) */ 1; |
| 18 |
SET RESOURCE GROUP rg1; |
| 19 |
SET RESOURCE GROUP USR_default; |
| 20 |
DROP RESOURCE GROUP rg1; |
| 21 |
-->endsql |
| 22 |
EOF |
| 23 |
--exec $MYSQLXTEST -ux_root --password='' --file=$xtest_file |
| 24 |
|
| 25 |
## Cleanup |
| 26 |
--source ../include/xplugin_cleanup.inc |