1
0
mirror of https://github.com/sqlite/sqlite.git synced 2026-10-23 21:49:02 +03:00
Files
sqlite/test/dump.sql
drh f95dc99bc6 Remove a debugging ".mode -v" in the dump.sql test script that was
accidentally left in the previous check-in.

FossilOrigin-Name: 632943da2d3e58696ec0a7548e18a99a57a3dd51f700f24144377a6d8fdb8c06
2026-10-20 17:42:52 +00:00

28 lines
736 B
SQL

#!sqlite3
#
# 2026-10-20
#
# 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 for the .dump CLI command
#
.open :memory:
.testcase 100
CREATE TABLE customer(RowID TEXT, name TEXT);
INSERT INTO customer VALUES('C-1001','Ann');
.dump --preserve-rowids
.check <<END
PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
CREATE TABLE customer(RowID TEXT, name TEXT);
INSERT INTO customer(_rowid_,RowID,name) VALUES(1,'C-1001','Ann');
COMMIT;
END