[DBD-SQLite] SQLite compiled without SQLITE_ENABLE_COLUMN_METADATA

Vladimir Marek Vladimir.Marek at oracle.com
Wed Sep 30 15:16:05 GMT 2015


Hi,

I am working on integrating DBD::SQLite into Solaris. I need it to link
to /usr/lib/libsqlite3.so . The problem is that the library is compiled
without SQLITE_ENABLE_COLUMN_METADATA. Is there any experience with this
combination?

I can make DBD::SQLite compile by removing the define in question from
Makefile.PL. Running test shows some problems afterward:

t/51_table_column_metadata.t .......................... 1/33
#   Failed test 'id is auto incremental'
#   at t/51_table_column_metadata.t line 21.

#   Failed test 'data type is correct' 
#   at t/51_table_column_metadata.t line 22.
#          got:''
#     expected: 'integer'

#   Failed test 'id is a primary key'  
#   at t/51_table_column_metadata.t line 23.

#   Failed test 'data type is not defined'
#   at t/51_table_column_metadata.t line 31.
#          got: '�('
#     expected: undef

#   Failed test 'id is auto incremental'
#   at t/51_table_column_metadata.t line 21.

#   Failed test 'data type is correct' 
#   at t/51_table_column_metadata.t line 22.
#          got:''
#     expected: 'integer'

#   Failed test 'id is a primary key'  
#   at t/51_table_column_metadata.t line 23.

#   Failed test 'data type is not defined'
#   at t/51_table_column_metadata.t line 31.
#          got: '�('
#     expected: undef
# Looks like you failed 8 tests of 33. 


and


t/virtual_table/11_filecontent_fulltext.t ............. 2/15
#   Failed test 'search '"use strict" AND "use warnings"''
#   at t/virtual_table/11_filecontent_fulltext.t line 79.
#     Structures begin differing at:
#          $got->[1] = 'lib/DBD/SQLite/VirtualTable.pm'
#     $expected->[1] = 'lib/DBD/SQLite/Constants.pm'

#   Failed test 'search '"use strict" AND "use warnings"' -- no
#   lib/DBD/SQLite/VirtualTable.pm'
#   at t/virtual_table/11_filecontent_fulltext.t line 92.
#     Structures begin differing at:
#          $got->[1] = 'lib/DBD/SQLite/VirtualTable/FileContent.pm'
#     $expected->[1] = 'lib/DBD/SQLite/Constants.pm'

#   Failed test 'search '"use strict" AND "use warnings"' -- after
#   reconnect'
#   at t/virtual_table/11_filecontent_fulltext.t line 105.
#     Structures begin differing at:
#          $got->[1] = 'lib/DBD/SQLite/VirtualTable/FileContent.pm'
#     $expected->[1] = 'lib/DBD/SQLite/Constants.pm'
# Looks like you failed 3 tests of 15.


and


t/virtual_table/11_filecontent_fulltext.t


Thank you
-- 
	Vlad



More information about the DBD-SQLite mailing list