Removed commented out portion of test

This commit is contained in:
Alexey Romanov
2010-11-19 10:13:31 +03:00
parent e4edf17f17
commit 355e8c7209

View File

@@ -125,9 +125,6 @@ select_many_records() ->
drop_table_if_exists(ct, many_records), drop_table_if_exists(ct, many_records),
sqlite3:create_table(ct, many_records, [{id, integer}, {name, text}]), sqlite3:create_table(ct, many_records, [{id, integer}, {name, text}]),
sqlite3:write_many(ct, many_records, [[{id, X}, {name, "bar"}] || X <- lists:seq(1, 1024)]), sqlite3:write_many(ct, many_records, [[{id, X}, {name, "bar"}] || X <- lists:seq(1, 1024)]),
%% sqlite3:begin_transaction(ct),
%% [sqlite3:write(ct, many_records, [{id, X}, {name, "bar"}]) || X <- lists:seq(1, 1024)], %% takes very long :(
%% sqlite3:commit_transaction(ct),
Columns = ["id", "name"], Columns = ["id", "name"],
?assertEqual( ?assertEqual(
[{columns, Columns}, {rows, [{1, <<"bar">>}]}], [{columns, Columns}, {rows, [{1, <<"bar">>}]}],