mirror of
https://github.com/sqlite/sqlite.git
synced 2026-10-23 21:49:02 +03:00
[bugs:/info/2026-10-10T13:15:05Z|Bug 2026-10-10T13:15:05Z] FossilOrigin-Name: e3e5ef4e17373677e1cc589ac79e20f6fb523e60fe8afdbc0b92f12cc75cff8b
32 lines
770 B
SQL
32 lines
770 B
SQL
#!sqlite3
|
|
#
|
|
# 2026-10-10
|
|
#
|
|
# The author disclaims copyright to this source code. In place of
|
|
# a legal notice, here is a blessing:
|
|
#
|
|
# May you do good and not evil.
|
|
# May you find forgiveness for yourself and forgive others.
|
|
# May you share freely, never taking more than you give.
|
|
#
|
|
#***********************************************************************
|
|
#
|
|
# Test cases that only work if the CLI is run in --safe mode.
|
|
#
|
|
# ./sqlite3 --safe test/clierrors.sql
|
|
#
|
|
#
|
|
.testcase 100
|
|
.mode list --null NULL
|
|
SELECT readfile('probe.txt');
|
|
.check --glob <<END
|
|
*no such function: readfile
|
|
SELECT readfile('probe.txt');
|
|
^--- error here
|
|
END
|
|
|
|
# Bug 2026-10-10T13:15:05Z
|
|
.testcase 110
|
|
SELECT data FROM fsdir('probe.txt');
|
|
.check --glob '*no such table: fsdir'
|