test `rowid IS NULL`

Found via coverage
This commit is contained in:
Colin Dellow 2018-07-05 19:17:19 -04:00
parent 80adb804b4
commit fd06ec5a23
2 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1 @@
SELECT * FROM nulls WHERE rowid IS NULL

View File

@ -94,6 +94,7 @@ def test_table(conn, table):
all_values = [] all_values = []
for values in column_values.values(): for values in column_values.values():
all_values = all_values + values all_values = all_values + values
print(all_values)
for i in range(1000): for i in range(1000):
test_statement(conn, table, column_values, all_values) test_statement(conn, table, column_values, all_values)
@ -107,5 +108,5 @@ def test_db(db_file, extension_file, tables):
if __name__ == '__main__': if __name__ == '__main__':
db_file = os.path.abspath(os.path.join(__file__, '..', '..', 'test.db')) db_file = os.path.abspath(os.path.join(__file__, '..', '..', 'test.db'))
extension_file = os.path.abspath(os.path.join(__file__, '..', '..', 'build', 'linux', 'libparquet.so')) extension_file = os.path.abspath(os.path.join(__file__, '..', '..', 'build', 'linux', 'libparquet'))
test_db(db_file, extension_file, ['nulls', 'no_nulls']) test_db(db_file, extension_file, ['nulls', 'no_nulls'])