mirror of
https://github.com/MariaDB/server.git
synced 2025-02-04 21:02:17 +01:00
13 lines
427 B
Text
13 lines
427 B
Text
-- source include/not_embedded.inc
|
|
# Tests for sys schema
|
|
# Verify the sys.sys_get_config() function perfoms as expected
|
|
|
|
# Check a known parameter
|
|
SET @sys.statement_truncate_len := IFNULL(@sys.statement_truncate_len, sys.sys_get_config('statement_truncate_len', 128));
|
|
|
|
SELECT @sys.statement_truncate_len;
|
|
|
|
# Check an unknown parameter
|
|
SET @sys.foo := IFNULL(@sys.foo, sys.sys_get_config('foo', 'foobar'));
|
|
|
|
SELECT @sys.foo;
|