Created
July 17, 2009 04:08
-
-
Save BanzaiMan/148864 to your computer and use it in GitHub Desktop.
MRI: sqlite3-ffi tc_integration output scratch pad
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
surfboard:sqlite3-ruby-ffi asari$ SQLITE3_DRIVERS=FFI ruby -v -rubygems -I test test/tc_integration.rb | |
ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0] | |
Loaded suite test/tc_integration | |
Started | |
/Library/Ruby/Gems/1.8/gems/ffi-0.3.5/lib/ffi/struct.rb:24: warning: method redefined; discarding old offset | |
./test/../lib/sqlite3/driver/ffi/driver.rb:179: warning: method redefined; discarding old aggregate_count | |
FEE.........EEEEE..F.........EE................F..............EFE.trace is an experimental feature of SQLite3 | |
E.E..E...............E.................EE..........F.E | |
Finished in 1.662956 seconds. | |
1) Failure: | |
test_authorizer_error(Integration::TC_Database_FFI) [test/tc_integration.rb:150]: | |
<SQLite3::AuthorizationException> exception expected but was | |
Class: <ArgumentError> | |
Message: <"NULL pointer given"> | |
---Backtrace--- | |
./test/../lib/sqlite3/driver/ffi/driver.rb:173:in `sqlite3_prepare_v2' | |
./test/../lib/sqlite3/driver/ffi/driver.rb:173:in `prepare' | |
./test/../lib/sqlite3/statement.rb:38:in `initialize' | |
./test/../lib/sqlite3/database.rb:154:in `new' | |
./test/../lib/sqlite3/database.rb:154:in `prepare' | |
./test/../lib/sqlite3/database.rb:181:in `execute' | |
test/tc_integration.rb:151:in `test_authorizer_error' | |
test/tc_integration.rb:150:in `test_authorizer_error' | |
--------------- | |
2) Error: | |
test_authorizer_error(Integration::TC_Database_FFI): | |
SQLite3::SQLException: library routine called out of sequence | |
./test/../lib/sqlite3/errors.rb:62:in `check' | |
./test/../lib/sqlite3/database.rb:121:in `close' | |
test/tc_integration.rb:77:in `teardown' | |
3) Error: | |
test_authorizer_okay(Integration::TC_Database_FFI): | |
SQLite3::SQLException: table foo already exists | |
./test/../lib/sqlite3/errors.rb:62:in `check' | |
./test/../lib/sqlite3/statement.rb:39:in `initialize' | |
./test/../lib/sqlite3/database.rb:154:in `new' | |
./test/../lib/sqlite3/database.rb:154:in `prepare' | |
./test/../lib/sqlite3/database.rb:181:in `execute' | |
test/tc_integration.rb:69:in `setup' | |
./test/../lib/sqlite3/database.rb:564:in `transaction' | |
test/tc_integration.rb:68:in `setup' | |
4) Error: | |
test_create_aggregate_handler(Integration::TC_Database_FFI): | |
ArgumentError: NULL pointer given | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `sqlite3_column_decltype' | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `column_decltype' | |
./test/../lib/sqlite3/statement.rb:213:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:211:in `times' | |
./test/../lib/sqlite3/statement.rb:211:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:188:in `columns' | |
./test/../lib/sqlite3/resultset.rb:133:in `next' | |
./test/../lib/sqlite3/resultset.rb:147:in `each' | |
./test/../lib/sqlite3/database.rb:184:in `execute' | |
./test/../lib/sqlite3/database.rb:157:in `prepare' | |
./test/../lib/sqlite3/database.rb:181:in `execute' | |
./test/../lib/sqlite3/database.rb:272:in `get_first_value' | |
test/tc_integration.rb:690:in `test_create_aggregate_handler' | |
5) Error: | |
test_create_aggregate_with_block(Integration::TC_Database_FFI): | |
ArgumentError: NULL pointer given | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `sqlite3_column_decltype' | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `column_decltype' | |
./test/../lib/sqlite3/statement.rb:213:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:211:in `times' | |
./test/../lib/sqlite3/statement.rb:211:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:188:in `columns' | |
./test/../lib/sqlite3/resultset.rb:133:in `next' | |
./test/../lib/sqlite3/resultset.rb:147:in `each' | |
./test/../lib/sqlite3/database.rb:184:in `execute' | |
./test/../lib/sqlite3/database.rb:157:in `prepare' | |
./test/../lib/sqlite3/database.rb:181:in `execute' | |
./test/../lib/sqlite3/database.rb:272:in `get_first_value' | |
test/tc_integration.rb:656:in `test_create_aggregate_with_block' | |
6) Error: | |
test_create_aggregate_with_no_data(Integration::TC_Database_FFI): | |
ArgumentError: NULL pointer given | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `sqlite3_column_decltype' | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `column_decltype' | |
./test/../lib/sqlite3/statement.rb:213:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:211:in `times' | |
./test/../lib/sqlite3/statement.rb:211:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:188:in `columns' | |
./test/../lib/sqlite3/resultset.rb:133:in `next' | |
./test/../lib/sqlite3/resultset.rb:147:in `each' | |
./test/../lib/sqlite3/database.rb:184:in `execute' | |
./test/../lib/sqlite3/database.rb:157:in `prepare' | |
./test/../lib/sqlite3/database.rb:181:in `execute' | |
./test/../lib/sqlite3/database.rb:272:in `get_first_value' | |
test/tc_integration.rb:670:in `test_create_aggregate_with_no_data' | |
7) Error: | |
test_create_aggregate_without_block(Integration::TC_Database_FFI): | |
ArgumentError: NULL pointer given | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `sqlite3_column_decltype' | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `column_decltype' | |
./test/../lib/sqlite3/statement.rb:213:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:211:in `times' | |
./test/../lib/sqlite3/statement.rb:211:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:188:in `columns' | |
./test/../lib/sqlite3/resultset.rb:133:in `next' | |
./test/../lib/sqlite3/resultset.rb:147:in `each' | |
./test/../lib/sqlite3/database.rb:184:in `execute' | |
./test/../lib/sqlite3/database.rb:157:in `prepare' | |
./test/../lib/sqlite3/database.rb:181:in `execute' | |
./test/../lib/sqlite3/database.rb:272:in `get_first_value' | |
test/tc_integration.rb:642:in `test_create_aggregate_without_block' | |
8) Error: | |
test_create_function(Integration::TC_Database_FFI): | |
ArgumentError: NULL pointer given | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `sqlite3_column_decltype' | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `column_decltype' | |
./test/../lib/sqlite3/statement.rb:213:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:211:in `times' | |
./test/../lib/sqlite3/statement.rb:211:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:188:in `columns' | |
./test/../lib/sqlite3/resultset.rb:133:in `next' | |
./test/../lib/sqlite3/resultset.rb:147:in `each' | |
./test/../lib/sqlite3/database.rb:184:in `execute' | |
./test/../lib/sqlite3/database.rb:157:in `prepare' | |
./test/../lib/sqlite3/database.rb:181:in `execute' | |
./test/../lib/sqlite3/database.rb:272:in `get_first_value' | |
test/tc_integration.rb:628:in `test_create_function' | |
9) Failure: | |
test_errmsg_utf16(Integration::TC_Database_FFI) [test/tc_integration.rb:128]: | |
<"n\000o\000t\000 \000a\000n\000 \000e\000r\000r\000o\000r\000"> expected but was | |
<#<Native Pointer address=0x1633280>>. | |
10) Error: | |
test_execute_batch_no_bind(Integration::TC_Database_FFI): | |
SQLite3::SQLException: near "??": syntax error | |
./test/../lib/sqlite3/errors.rb:62:in `check' | |
./test/../lib/sqlite3/statement.rb:39:in `initialize' | |
./test/../lib/sqlite3/database.rb:154:in `new' | |
./test/../lib/sqlite3/database.rb:154:in `prepare' | |
./test/../lib/sqlite3/database.rb:225:in `execute_batch' | |
test/tc_integration.rb:312:in `test_execute_batch_no_bind' | |
./test/../lib/sqlite3/database.rb:564:in `transaction' | |
test/tc_integration.rb:311:in `test_execute_batch_no_bind' | |
11) Error: | |
test_execute_batch_with_bind(Integration::TC_Database_FFI): | |
SQLite3::SQLException: unrecognized token: "" | |
./test/../lib/sqlite3/errors.rb:62:in `check' | |
./test/../lib/sqlite3/statement.rb:39:in `initialize' | |
./test/../lib/sqlite3/database.rb:154:in `new' | |
./test/../lib/sqlite3/database.rb:154:in `prepare' | |
./test/../lib/sqlite3/database.rb:225:in `execute_batch' | |
test/tc_integration.rb:324:in `test_execute_batch_with_bind' | |
12) Failure: | |
test_interrupt(Integration::TC_Database_FFI) [test/tc_integration.rb:528]: | |
<SQLite3::SQLException> exception expected but was | |
Class: <ArgumentError> | |
Message: <"NULL pointer given"> | |
---Backtrace--- | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `sqlite3_column_decltype' | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `column_decltype' | |
./test/../lib/sqlite3/statement.rb:213:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:211:in `times' | |
./test/../lib/sqlite3/statement.rb:211:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:188:in `columns' | |
./test/../lib/sqlite3/resultset.rb:133:in `next' | |
./test/../lib/sqlite3/resultset.rb:147:in `each' | |
./test/../lib/sqlite3/database.rb:186:in `inject' | |
./test/../lib/sqlite3/database.rb:186:in `execute' | |
./test/../lib/sqlite3/database.rb:157:in `prepare' | |
./test/../lib/sqlite3/database.rb:181:in `execute' | |
test/tc_integration.rb:529:in `test_interrupt' | |
test/tc_integration.rb:528:in `test_interrupt' | |
--------------- | |
13) Error: | |
test_table_info_with_defaults_for_version_3_3_8_and_higher(Integration::TC_Database_FFI): | |
ArgumentError: NULL pointer given | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `sqlite3_column_decltype' | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `column_decltype' | |
./test/../lib/sqlite3/statement.rb:213:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:211:in `times' | |
./test/../lib/sqlite3/statement.rb:211:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:188:in `columns' | |
./test/../lib/sqlite3/resultset.rb:171:in `columns' | |
./test/../lib/sqlite3/database.rb:208:in `execute2' | |
./test/../lib/sqlite3/database.rb:157:in `prepare' | |
./test/../lib/sqlite3/database.rb:202:in `execute2' | |
./test/../lib/sqlite3/pragmas.rb:217:in `table_info' | |
test/tc_integration.rb:89:in `test_table_info_with_defaults_for_version_3_3_8_and_higher' | |
./test/../lib/sqlite3/database.rb:564:in `transaction' | |
test/tc_integration.rb:87:in `test_table_info_with_defaults_for_version_3_3_8_and_higher' | |
14) Failure: | |
test_table_info_with_type_translation_active(Integration::TC_Database_FFI) [test/tc_integration.rb:83]: | |
Exception raised: | |
Class: <ArgumentError> | |
Message: <"NULL pointer given"> | |
---Backtrace--- | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `sqlite3_column_decltype' | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `column_decltype' | |
./test/../lib/sqlite3/statement.rb:213:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:211:in `times' | |
./test/../lib/sqlite3/statement.rb:211:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:188:in `columns' | |
./test/../lib/sqlite3/resultset.rb:171:in `columns' | |
./test/../lib/sqlite3/database.rb:208:in `execute2' | |
./test/../lib/sqlite3/database.rb:157:in `prepare' | |
./test/../lib/sqlite3/database.rb:202:in `execute2' | |
./test/../lib/sqlite3/pragmas.rb:217:in `table_info' | |
test/tc_integration.rb:83:in `test_table_info_with_type_translation_active' | |
test/tc_integration.rb:83:in `test_table_info_with_type_translation_active' | |
--------------- | |
15) Error: | |
test_table_info_without_defaults_for_version_3_3_8_and_higher(Integration::TC_Database_FFI): | |
ArgumentError: NULL pointer given | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `sqlite3_column_decltype' | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `column_decltype' | |
./test/../lib/sqlite3/statement.rb:213:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:211:in `times' | |
./test/../lib/sqlite3/statement.rb:211:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:188:in `columns' | |
./test/../lib/sqlite3/resultset.rb:171:in `columns' | |
./test/../lib/sqlite3/database.rb:208:in `execute2' | |
./test/../lib/sqlite3/database.rb:157:in `prepare' | |
./test/../lib/sqlite3/database.rb:202:in `execute2' | |
./test/../lib/sqlite3/pragmas.rb:217:in `table_info' | |
test/tc_integration.rb:100:in `test_table_info_without_defaults_for_version_3_3_8_and_higher' | |
./test/../lib/sqlite3/database.rb:564:in `transaction' | |
test/tc_integration.rb:98:in `test_table_info_without_defaults_for_version_3_3_8_and_higher' | |
16) Error: | |
test_trace(Integration::TC_Database_FFI): | |
ArgumentError: value is not a pointer | |
/Library/Ruby/Gems/1.8/gems/ffi-0.3.5/lib/ffi/pointer.rb:43:in `put_pointer' | |
/Library/Ruby/Gems/1.8/gems/ffi-0.3.5/lib/ffi/pointer.rb:43:in `write_pointer' | |
./test/../lib/sqlite3/driver/ffi/driver.rb:231:in `trace' | |
./test/../lib/sqlite3/database.rb:136:in `trace' | |
test/tc_integration.rb:137:in `test_trace' | |
17) Error: | |
test_transaction_commit(Integration::TC_Database_FFI): | |
SQLite3::SQLException: near "at": syntax error | |
./test/../lib/sqlite3/errors.rb:62:in `check' | |
./test/../lib/sqlite3/statement.rb:39:in `initialize' | |
./test/../lib/sqlite3/database.rb:154:in `new' | |
./test/../lib/sqlite3/database.rb:154:in `prepare' | |
./test/../lib/sqlite3/database.rb:225:in `execute_batch' | |
test/tc_integration.rb:483:in `test_transaction_commit' | |
18) Error: | |
test_transaction_rollback(Integration::TC_Database_FFI): | |
SQLite3::SQLException: near "+": syntax error | |
./test/../lib/sqlite3/errors.rb:62:in `check' | |
./test/../lib/sqlite3/statement.rb:39:in `initialize' | |
./test/../lib/sqlite3/database.rb:154:in `new' | |
./test/../lib/sqlite3/database.rb:154:in `prepare' | |
./test/../lib/sqlite3/database.rb:225:in `execute_batch' | |
test/tc_integration.rb:470:in `test_transaction_rollback' | |
19) Error: | |
test_next_type_translation_with_untyped_column(Integration::TC_ResultSet_FFI): | |
ArgumentError: NULL pointer given | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `sqlite3_column_decltype' | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `column_decltype' | |
./test/../lib/sqlite3/statement.rb:213:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:211:in `times' | |
./test/../lib/sqlite3/statement.rb:211:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:197:in `types' | |
./test/../lib/sqlite3/resultset.rb:118:in `next' | |
test/tc_integration.rb:969:in `test_next_type_translation_with_untyped_column' | |
./test/../lib/sqlite3/database.rb:248:in `query' | |
test/tc_integration.rb:968:in `test_next_type_translation_with_untyped_column' | |
20) Error: | |
test_columns_computed(Integration::TC_Statement_FFI): | |
ArgumentError: NULL pointer given | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `sqlite3_column_decltype' | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `column_decltype' | |
./test/../lib/sqlite3/statement.rb:213:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:211:in `times' | |
./test/../lib/sqlite3/statement.rb:211:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:188:in `columns' | |
test/tc_integration.rb:848:in `test_columns_computed' | |
./test/../lib/sqlite3/database.rb:157:in `prepare' | |
test/tc_integration.rb:846:in `test_columns_computed' | |
21) Error: | |
test_committing_tx_with_statement_active(Integration::TC_Statement_FFI): | |
ArgumentError: NULL pointer given | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `sqlite3_column_decltype' | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `column_decltype' | |
./test/../lib/sqlite3/statement.rb:213:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:211:in `times' | |
./test/../lib/sqlite3/statement.rb:211:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:188:in `columns' | |
./test/../lib/sqlite3/resultset.rb:133:in `next' | |
./test/../lib/sqlite3/statement.rb:161:in `execute!' | |
test/tc_integration.rb:887:in `test_committing_tx_with_statement_active' | |
./test/../lib/sqlite3/database.rb:157:in `prepare' | |
test/tc_integration.rb:885:in `test_committing_tx_with_statement_active' | |
22) Failure: | |
test_remainder_nonempty(Integration::TC_Statement_FFI) | |
[test/tc_integration.rb:730:in `test_remainder_nonempty' | |
./test/../lib/sqlite3/database.rb:157:in `prepare' | |
test/tc_integration.rb:728:in `test_remainder_nonempty']: | |
<"\n blah"> expected but was | |
<"\005">. | |
23) Error: | |
test_types_computed(Integration::TC_Statement_FFI): | |
ArgumentError: NULL pointer given | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `sqlite3_column_decltype' | |
./test/../lib/sqlite3/driver/ffi/driver.rb:38:in `column_decltype' | |
./test/../lib/sqlite3/statement.rb:213:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:211:in `times' | |
./test/../lib/sqlite3/statement.rb:211:in `get_metadata' | |
./test/../lib/sqlite3/statement.rb:197:in `types' | |
test/tc_integration.rb:864:in `test_types_computed' | |
./test/../lib/sqlite3/database.rb:157:in `prepare' | |
test/tc_integration.rb:862:in `test_types_computed' | |
119 tests, 158 assertions, 5 failures, 18 errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment