Files
derek.holloway 7502bf64a4
CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

71 lines
1.8 KiB
Plaintext

# 2006 August 29
#
# 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.
#
#***********************************************************************
# This file implements regression tests for SQLite library. The
# focus of this file inserting into virtual tables from a SELECT
# statement.
#
# $Id: vtab9.test,v 1.2 2007/04/16 15:06:26 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
ifcapable !vtab {
finish_test
return
}
do_test vtab9-1.1 {
register_echo_module [sqlite3_connection_pointer db]
execsql {
CREATE TABLE t0(a);
CREATE VIRTUAL TABLE t1 USING echo(t0);
INSERT INTO t1 SELECT 'hello';
SELECT rowid, * FROM t1;
}
} {1 hello}
do_test vtab9-1.2 {
execsql {
CREATE TABLE t2(a,b,c);
CREATE VIRTUAL TABLE t3 USING echo(t2);
CREATE TABLE d1(a,b,c);
INSERT INTO d1 VALUES(1,2,3);
INSERT INTO d1 VALUES('a','b','c');
INSERT INTO d1 VALUES(NULL,'x',123.456);
INSERT INTO d1 VALUES(x'6869',123456789,-12345);
INSERT INTO t3(a,b,c) SELECT * FROM d1;
SELECT rowid, * FROM t3;
}
} {1 1 2 3 2 a b c 3 {} x 123.456 4 hi 123456789 -12345}
# do_test vtab9-2.1 {
# execsql {
# CREATE TABLE t4(a);
# CREATE VIRTUAL TABLE t5 USING echo(t4);
# INSERT INTO t4 VALUES('hello');
# SELECT rowid, a FROM t5;
# }
# } {1 hello}
# do_test vtab9-2.2 {
# execsql {
# INSERT INTO t5(rowid, a) VALUES(1, 'goodbye');
# }
# } {1 hello}
# do_test vtab9-2.3 {
# execsql {
# REPLACE INTO t5(rowid, a) VALUES(1, 'goodbye');
# SELECT * FROM t5;
# }
# } {1 goodbye}
unset -nocomplain echo_module_begin_fail
finish_test