Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backports from master for 0.3.19 #645

Merged
merged 11 commits into from Jul 30, 2015

Conversation

sodabrew
Copy link
Collaborator

No description provided.

ctrochalakis and others added 8 commits July 25, 2015 23:01
libmariadb-client-lgpl-dev in newly released Debian stable (jessie)
ships `/usr/bin/mariadb_config`.
Switch from DATA_PTR to Data_Get_Struct. This protects against calling
methods that need the result wrapper on hand-built Mysql2::Result
objects. They will raise a TypeError instead of segfaulting.
Where a simple nul-terminated C string is required, use StringValueCStr.
Where a string pointer and length are used, follow the pattern:

  Check_Type(str, T_STRING);
  ptr = RSTRING_PTR(str);
  len = RSTRING_LEN(str);
sodabrew added a commit that referenced this pull request Jul 30, 2015
@sodabrew sodabrew merged commit e1a20c7 into brianmario:0.3.x Jul 30, 2015
@sodabrew sodabrew deleted the backports_from_master branch July 30, 2015 11:13
@takatoshiono
Copy link
Contributor

Thank you for releasing the new version. 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants