mirror of
https://github.com/MariaDB/server.git
synced 2025-02-07 06:12:18 +01:00
11 lines
340 B
Text
11 lines
340 B
Text
-- source include/not_embedded.inc
|
|
# Tests for sys schema
|
|
# Verify the sys.ps_thread_account() function perfoms as expected
|
|
|
|
# Passing NULL, or an unknown connection id, should return NULL
|
|
SELECT sys.ps_thread_account(NULL);
|
|
SELECT sys.ps_thread_account(234623462376);
|
|
|
|
|
|
# Check result
|
|
SELECT sys.ps_thread_account(sys.ps_thread_id(NULL));
|