1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Merge of patch lp:~ahiguti100/maria/handlersocket-fix-78 by Akira Higuchi

A bugfix of HandlerSocket is not applied to mariadb yet
This commit is contained in:
Michael Widenius
2013-05-10 16:01:38 +03:00
parent 53d44ad18b
commit 7202c21b34
15 changed files with 256 additions and 108 deletions

View File

@@ -151,7 +151,7 @@ sv_get_string_ref(SV *sv)
static IV
sv_get_iv(SV *sv)
{
if (sv == 0 || !SvIOK(sv)) {
if (sv == 0 || ( !SvIOK(sv) && !SvPOK(sv) ) ) {
return 0;
}
return SvIV(sv);