Skip to content
Commits on Mar 29, 2012
  1. @tenderlove
Commits on Mar 28, 2012
  1. @tenderlove

    the result struct should not be accessed after it's been freed.

    Iterating through the rows will cause the result struct to be freed,
    which means that the `count` method could do an invalid memory access.
    
    fixes #190
    tenderlove committed Mar 28, 2012
  2. @tenderlove

    Merge remote-tracking branch 'wok/master' into zzz

    * wok/master:
      Cast MYSQL_TYPE_DECIMAL AND MYSQL_TYPE_NEWDECIMAL to integer if number of decimals is 0
      Fix compiler error on ruby 1.9.3
      Updating Specs and Readme
      Adding more_results, next_result and store_result
    
    Conflicts:
    	ext/mysql2/client.c
    tenderlove committed Mar 28, 2012
  3. @tenderlove
  4. @tenderlove

    Taught RDoc about the mysql2 class, added documentation to the methods

    on Mysql2::Client. Fixes #204
    tenderlove committed Mar 27, 2012
  5. @tenderlove
Commits on Mar 16, 2012
  1. @brianmario

    Merge pull request #248 from thoughtless/em_callback_exceptions

    Don't fail deferrables when callbacks raise exceptions
    brianmario committed Mar 16, 2012
Commits on Mar 15, 2012
  1. @thoughtless

    Don't succeed the deferrable client raises exception

    * If there is a MySQL error when using EM, don't succeed the deferrable.
    * Thanks to: qqshfox/em-synchrony@3448059
    thoughtless committed Mar 15, 2012
  2. @thoughtless

    Don't fail deferrables when callbacks raise exceptions

    * Only fail the deferrable if the exception came from the client.
    thoughtless committed Mar 15, 2012
Commits on Mar 13, 2012
  1. @brianmario

    Merge pull request #247 from osheroff/master

    Support mysql's select_db
    brianmario committed Mar 13, 2012
  2. @osheroff
Commits on Mar 8, 2012
  1. @osheroff

    make select_db non-blocking

    osheroff committed Mar 7, 2012
Commits on Mar 7, 2012
  1. @osheroff
  2. @osheroff

    support select_db

    osheroff committed Mar 7, 2012
Commits on Feb 14, 2012
  1. @brianmario

    Merge branch '0.2.x'

    brianmario committed Feb 14, 2012
  2. @brianmario

    ignore bin dir

    brianmario committed Feb 14, 2012
  3. @brianmario

    just add Gemfile.lock

    brianmario committed Feb 14, 2012
  4. @benmcredmond @brianmario

    Moved/tidied tests. Bug fix in client.c

    The bug fix in client.c is less than ideal but there isn't really
    another option without some rearchitecting. Basically, wrapper->active
    should not be set to 0 when mysql_use_result is being used until we
    have iterated through the full result set (as the wrpaper is infact
    still active). Unfortunately, we would need to change this within
    Mysql2::Result, which isn't possible at the moment unless we pass the
    client to the result object (which seems overkill). So, for now, the
    query will fail with a "commands out of sync" error.
    
    # Please enter the commit message for your changes. Lines starting
    # with '#' will be ignored, and an empty message aborts the commit.
    # On branch master
    # Your branch is ahead of 'origin/master' by 1 commit.
    #
    # Changes to be committed:
    #   (use "git reset HEAD <file>..." to unstage)
    #
    #	modified:   ext/mysql2/client.c
    #	modified:   spec/mysql2/client_spec.rb
    #	modified:   spec/mysql2/result_spec.rb
    #
    # Untracked files:
    #   (use "git add <file>..." to include in what will be committed)
    #
    #	Gemfile.lock
    benmcredmond committed with brianmario Dec 10, 2011
  5. @benmcredmond @brianmario

    Added some tests

    benmcredmond committed with brianmario Dec 10, 2011
  6. @benmcredmond @brianmario

    Consistency++

    benmcredmond committed with brianmario Dec 3, 2011
  7. @benmcredmond @brianmario

    Fixed some icky ifs

    benmcredmond committed with brianmario Dec 3, 2011
  8. @benmcredmond @brianmario

    Fix issue with "should cache previously yielded results by default"

    Was accidentally overwriting wrapper->numberOfRows on iterations after
    first.
    benmcredmond committed with brianmario Dec 3, 2011
  9. @brianmario

    grrrrrrrr

    Ben McRedmond committed with brianmario Nov 10, 2011
  10. @brianmario

    More stupid vim indentation

    Ben McRedmond committed with brianmario Nov 10, 2011
  11. @brianmario

    Change :streaming to :stream

    Ben McRedmond committed with brianmario Nov 10, 2011
  12. @brianmario

    Think I actually fixed indentation this time

    Ben McRedmond committed with brianmario Nov 10, 2011
  13. @brianmario

    Accidentally committed Gemfile.lock

    Ben McRedmond committed with brianmario Nov 10, 2011
  14. @brianmario

    fixing vim's messed up indentation

    Ben McRedmond committed with brianmario Nov 10, 2011
  15. @brianmario

    Updated README to describe streaming

    Ben McRedmond committed with brianmario Nov 10, 2011
  16. @brianmario

    Initial implementation of mysql_use_result, accessible by setting :st…

    …reaming => true when querying
    Ben McRedmond committed with brianmario Nov 10, 2011
  17. @brianmario

    Merge pull request #223 from benofsky/master

    Basic implementation of :streaming
    brianmario committed Feb 14, 2012
Commits on Jan 18, 2012
  1. @brianmario

    Merge pull request #239 from GarthSnyder/969a3a6dfac49deb44ae6ff7db71…

    …ad53c7da195f
    
    Fix for issue #238
    brianmario committed Jan 17, 2012
Commits on Jan 16, 2012
  1. @GarthSnyder
Commits on Dec 21, 2011
  1. @tmtm @brianmario

    add utf8mb4 charset

    tmtm committed with brianmario Dec 21, 2011
  2. @brianmario

    Merge pull request #232 from tmtm/utf8mb4

    utf8mb4 charset supoprt
    brianmario committed Dec 20, 2011
Something went wrong with that request. Please try again.