| 1 |
# ==== Purpose ==== |
| 2 |
# |
| 3 |
# Check the behavior of a system variable in both global and session scope. |
| 4 |
|
| 5 |
--let $scope = global |
| 6 |
if ($global) { |
| 7 |
if ($dynamic) { |
| 8 |
--source scenarios_for_dynamic_sysvar.inc |
| 9 |
} |
| 10 |
if (!$dynamic) { |
| 11 |
--source scenarios_for_readonly_sysvar.inc |
| 12 |
} |
| 13 |
} |
| 14 |
if (!$global) { |
| 15 |
--source scenarios_for_wrong_scope_sysvar.inc |
| 16 |
} |
| 17 |
|
| 18 |
|
| 19 |
--let $scope = session |
| 20 |
if ($session) { |
| 21 |
if ($dynamic) { |
| 22 |
--source scenarios_for_dynamic_sysvar.inc |
| 23 |
} |
| 24 |
if (!$dynamic) { |
| 25 |
--source scenarios_for_readonly_sysvar.inc |
| 26 |
} |
| 27 |
} |
| 28 |
if (!$session) { |
| 29 |
--source scenarios_for_wrong_scope_sysvar.inc |
| 30 |
} |