From 6b2b268a03f74fc99c262bf9ce55a81d2c723a2a Mon Sep 17 00:00:00 2001 From: shportix Date: Mon, 18 Sep 2023 17:31:49 +0300 Subject: [PATCH] test_sqlthread refactoring --- src/tests/sql/insert_test_values_version_10.sql | 3 +++ src/tests/sql/insert_test_values_version_7.sql | 7 +++++++ src/tests/sql/insert_test_values_version_9.sql | 1 + 3 files changed, 11 insertions(+) create mode 100644 src/tests/sql/insert_test_values_version_10.sql create mode 100644 src/tests/sql/insert_test_values_version_7.sql create mode 100644 src/tests/sql/insert_test_values_version_9.sql diff --git a/src/tests/sql/insert_test_values_version_10.sql b/src/tests/sql/insert_test_values_version_10.sql new file mode 100644 index 00000000..373a6f90 --- /dev/null +++ b/src/tests/sql/insert_test_values_version_10.sql @@ -0,0 +1,3 @@ +INSERT INTO addressbook VALUES ('', ''); + +INSERT INTO addressbook VALUES ('', ''); \ No newline at end of file diff --git a/src/tests/sql/insert_test_values_version_7.sql b/src/tests/sql/insert_test_values_version_7.sql new file mode 100644 index 00000000..2eff7eb2 --- /dev/null +++ b/src/tests/sql/insert_test_values_version_7.sql @@ -0,0 +1,7 @@ +INSERT INTO inventory VALUES( '', 1, 1, '', 1, ''); + +INSERT INTO pubkeys VALUES( '', 1, '', 1, ''); + +INSERT INTO sent VALUES( '', '', '', '', '', '', '', 1, 'doingmsgpow', 1, 1, '', 1); + +INSERT INTO sent VALUES( '', '', '', '', '', '', '', 1, 'badkey', 1, 1, '', 1); \ No newline at end of file diff --git a/src/tests/sql/insert_test_values_version_9.sql b/src/tests/sql/insert_test_values_version_9.sql new file mode 100644 index 00000000..9ed1deb3 --- /dev/null +++ b/src/tests/sql/insert_test_values_version_9.sql @@ -0,0 +1 @@ +INSERT INTO pubkeys VALUES( x'0001010101010101010101010101010101010101', 3, '', 1, ''); \ No newline at end of file