From 6a35bf41dffc0b9ca2aa4f10e717804ab3ee1b6c Mon Sep 17 00:00:00 2001 From: Colin Dellow Date: Thu, 5 Jul 2018 21:28:58 -0400 Subject: [PATCH] more tests --- tests/templates/163-blob-is-not.sql | 2 ++ tests/templates/164-blob-is-not.sql | 1 + tests/templates/165-not-null.sql | 2 ++ tests/templates/166-not-not-null.sql | 2 ++ 4 files changed, 7 insertions(+) create mode 100644 tests/templates/163-blob-is-not.sql create mode 100644 tests/templates/164-blob-is-not.sql create mode 100644 tests/templates/165-not-null.sql create mode 100644 tests/templates/166-not-not-null.sql diff --git a/tests/templates/163-blob-is-not.sql b/tests/templates/163-blob-is-not.sql new file mode 100644 index 0000000..0df2c8d --- /dev/null +++ b/tests/templates/163-blob-is-not.sql @@ -0,0 +1,2 @@ +select quote(binary_9) from nulls where rowid = 2 and binary_9 is not X'00' +X'0101' diff --git a/tests/templates/164-blob-is-not.sql b/tests/templates/164-blob-is-not.sql new file mode 100644 index 0000000..ad4527a --- /dev/null +++ b/tests/templates/164-blob-is-not.sql @@ -0,0 +1 @@ +select quote(binary_9) from nulls where rowid = 1 and binary_9 is not X'00' diff --git a/tests/templates/165-not-null.sql b/tests/templates/165-not-null.sql new file mode 100644 index 0000000..78c552e --- /dev/null +++ b/tests/templates/165-not-null.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where binary_9 not null +50 diff --git a/tests/templates/166-not-not-null.sql b/tests/templates/166-not-not-null.sql new file mode 100644 index 0000000..413ab02 --- /dev/null +++ b/tests/templates/166-not-not-null.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where not binary_9 not null +49