dbms: added tests for prev. revision [#METR-12901].

This commit is contained in:
Alexey Milovidov 2014-09-24 22:07:39 +04:00
parent 2706a28d3b
commit b32586f851
4 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,2 @@
1 0
2 0

View File

@ -0,0 +1,6 @@
#!/bin/sh -e
echo 'DROP TABLE IF EXISTS test.insert_fewer_columns' | curl -sSg 'http://localhost:8123' -d @-
echo 'CREATE TABLE test.insert_fewer_columns (a UInt8, b UInt8) ENGINE = Memory' | curl -sSg 'http://localhost:8123' -d @-
echo 'INSERT INTO test.insert_fewer_columns (a) VALUES (1), (2)' | curl -sSg 'http://localhost:8123' -d @-
echo 'SELECT * FROM test.insert_fewer_columns' | curl -sSg 'http://localhost:8123' -d @-

View File

@ -0,0 +1,2 @@
1 0
2 0

View File

@ -0,0 +1,4 @@
DROP TABLE IF EXISTS test.insert_fewer_columns;
CREATE TABLE test.insert_fewer_columns (a UInt8, b UInt8) ENGINE = Memory;
INSERT INTO test.insert_fewer_columns (a) VALUES (1), (2);
SELECT * FROM test.insert_fewer_columns;