We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a133a1 commit ce647ffCopy full SHA for ce647ff
lib/arjdbc/sqlite3/adapter.rb
@@ -861,6 +861,14 @@ def jdbc_connection_class
861
def initialize(...)
862
super
863
864
+ @memory_database = false
865
+ case @config[:database].to_s
866
+ when ""
867
+ raise ArgumentError, "No database file specified. Missing argument: database"
868
+ when ":memory:"
869
+ @memory_database = true
870
+ end
871
+
872
# assign arjdbc extra connection params
873
conn_params = build_connection_config(@config.compact)
874
0 commit comments