polardbxengine/mysql-test/r/loaddata_special.result

22 lines
747 B
Plaintext

select load_file("/proc/uptime");
load_file("/proc/uptime")
<num> <num>
SET @old_net_buffer_length = @@global.net_buffer_length;
SET @old_max_allowed_packet= @@global.max_allowed_packet;
SET GLOBAL net_buffer_length = 1024;
SET GLOBAL max_allowed_packet = 1024;
select load_file("/proc/modules");
load_file("/proc/modules")
NULL
Warnings:
Warning 1301 Result of load_file() was larger than max_allowed_packet (1024) - truncated
SET GLOBAL max_allowed_packet = @old_max_allowed_packet;
SET GLOBAL net_buffer_length = @old_net_buffer_length;
select load_file("/proc/self/fd/0");
ERROR HY000: The file '/proc/self/fd/0' must be in the database directory or be readable by all
select load_file("/proc/uptime");
load_file("/proc/uptime")
<num> <num>