# File lib/dbd/sqlite3/database.rb, line 23
23:     def initialize(dbname, attr)
24:         @db = ::SQLite3::Database.new(dbname)
25: 
26:         @db.type_translation = false
27: 
28:         @attr = {'AutoCommit' => true}
29:         if attr then
30:             attr.each_pair do |key, value|
31:                 begin
32:                     self[key] = value
33:                 rescue DBI::NotSupportedError
34:                 end
35:             end
36:         end
37:         __generate_attr__
38:     end