lib/sequel/database/dataset_defaults.rb in sequel-4.9.0 vs lib/sequel/database/dataset_defaults.rb in sequel-4.10.0
- old
+ new
@@ -135,9 +135,10 @@
# Reset the default dataset used by most Database methods that
# create datasets. Usually done after changes to the identifier
# mangling methods.
def reset_default_dataset
+ Sequel.synchronize{@symbol_literal_cache.clear}
@default_dataset = dataset
end
# The method to apply to identifiers going into the database by default.
# Should be overridden in subclasses for databases that fold unquoted