Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Justin Bailey's latest activity

Thursday, September 17 2009
3204 Enable use of MySQL stored procedures was updated in Ruby on Rails
  • Justin Bailey
    Justin Bailey commented at 12:05 AM

    Jeremy,

    Any thoughts on this patch? Is it what you were looking for? Unit tests are included ...

Tuesday, September 15 2009
3151 MySQL adapter update to enable use of stored procedures was updated in Ruby on Rails
  • Justin Bailey
    Justin Bailey commented at 6:00 AM

    Apologies for the churn on this. Here is the same patch as above, plus the CLIENT_MULTI_RESULTS flag is enabled by default.

    Again, patched against the v2.3.4 ta...

  • Justin Bailey
    Justin Bailey commented at 2:41 AM

    I really like the original patch and I've changed my solution to match. This new patch allows you to specify flags for the MySQL driver (including CLIENT_MULTI...

  • Justin Bailey
    Justin Bailey commented at 1:59 AM

    Could you split the patch in two and open a new ticket for the second half?

    I've created ticket #3204 with a patch for this request.

3204 Enable use of MySQL stored procedures was created in Ruby on Rails
  • Justin Bailey
    Justin Bailey created the ticket at 1:58 AM

    This patch updates the MySQL adapter to pass the correct flag so stored procedures can be executed from Rails. It only takes affect if the adapter version is > ...

Monday, September 14 2009
3151 MySQL adapter update to enable use of stored procedures was updated in Ruby on Rails
  • Justin Bailey
    Justin Bailey commented at 9:26 PM

    I really liked Jeremy's suggestions on how to just set that flag on all the time ...

    The problem with Jeremy's suggestion is that the server version must also...

  • Justin Bailey
    Justin Bailey commented at 7:46 PM

    If this is a limitation of MySQL that you have to pass these down in some way, then I guess there is no way to avoid it.

    That is pretty much it. I can't think...

  • Justin Bailey
    Justin Bailey commented at 7:32 AM

    Could you ... update the test to check that the query returns the expected results ...

    Forgot to mention I made this change also.

  • Justin Bailey
    Justin Bailey commented at 7:32 AM

    First report and patch at http://dev.rubyonrails.org/ticket/5260 Could you change the patch to always enable the flag and update the test to check that the que...

Saturday, September 12 2009
3151 MySQL adapter update to enable use of stored procedures was updated in Ruby on Rails
  • Justin Bailey
    Justin Bailey commented at 12:27 AM

    Could you change the patch to always enable the flag and update the test to check that the query returns the expected results, rather than just doesn't raise a...