JRuby 9.2
Sequel 5.10.0
I've notices couple side effects with clone functionality in Sequel 5.x
when I have a prepared statement,
like "<Sequel::JDBC::Dataset/PreparedStatement "INSERT INTO
[schema_migrations] ([filename]) VALUES (?)">"
and whe I do clone to extand it
ps.clone()
opts[:prepared_args] get dulicated every time I call clone
{:from=>[:schema_migrations],
:bind_vars=>{},
:prepared_statement_name=>"batch_insert",
:prepared_type=>:insert,
:prepared_modify_values=>[{:filename=>:$filename}],
:orig_dataset=>#<Sequel::JDBC::Dataset: "SELECT * FROM
[schema_migrations]">,
:no_cache_sql=>true,
:prepared_args=>[:filename],
:no_delayed_evaluations=>true}
ps.clone()
{:from=>[:schema_migrations],
:bind_vars=>{},
:prepared_statement_name=>"batch_insert",
:prepared_type=>:insert,
:prepared_modify_values=>[{:filename=>:$filename}],
:orig_dataset=>#<Sequel::JDBC::Dataset: "SELECT * FROM
[schema_migrations]">,
:no_cache_sql=>true,
:prepared_args=>[:filename, :filename],
:no_delayed_evaluations=>true}
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.