/usr/lib/ruby/vendor_ruby/sequel/adapters/jdbc/informix-sqli.rb is in ruby-sequel 4.15.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | Sequel::JDBC.load_driver('com.informix.jdbc.IfxDriver')
Sequel.require 'adapters/shared/informix'
module Sequel
module JDBC
Sequel.synchronize do
DATABASE_SETUP[:"informix-sqli"] = proc do |db|
db.extend(Sequel::JDBC::Informix::DatabaseMethods)
db.extend_datasets Sequel::Informix::DatasetMethods
com.informix.jdbc.IfxDriver
end
end
# Database and Dataset instance methods for Informix specific
# support via JDBC.
module Informix
# Database instance methods for Informix databases accessed via JDBC.
module DatabaseMethods
extend Sequel::Database::ResetIdentifierMangling
include Sequel::Informix::DatabaseMethods
private
# TODO: implement
def last_insert_id(conn, opts=OPTS)
nil
end
end
end
end
end
|