Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
mysql2 MULTI_STATEMENTS + ActiveRecord error and patch ... #31569
if I need multi sql statements in mysql , I need add flag
then when I use
then I found it not pull back all result in multi sql statements , and second execute will be fail ... so I try to patch like this (just demo code)
then same demo code will be work but return ugly result obj ...... so ... has any another way to do it ? or just help me fix to ActiveRecord and help another people? becourse it didn't need to reset/clear any connection or something else ...
Rails 5.1.4 , Ruby 2.4.1p111