提交 6c394348 编写于 作者: H heyanlong

fix #96

上级 bbf3078e
......@@ -409,7 +409,7 @@ ZEND_API void sky_execute_internal(zend_execute_data *execute_data, zval *return
if (my_res && my_res->ptr) {
MY_MYSQL *mysql = (MY_MYSQL *) my_res->ptr;
if (mysql->mysql) {
#if PHP_VERSION_ID >= 70200
#if PHP_VERSION_ID >= 70100
char *host = mysql->mysql->data->hostname.s;
#else
char *host = mysql->mysql->data->host;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册