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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user