2828#include "mysqli_fe.h"
2929
3030#define MAP_PROPERTY_MYG_BOOL_READ (name , value ) \
31- static zval * name(mysqli_object *obj, zval *retval) \
31+ static int name(mysqli_object *obj, zval *retval, zend_bool quiet ) \
3232{ \
3333 ZVAL_BOOL(retval, MyG(value)); \
34- return retval ; \
34+ return SUCCESS ; \
3535} \
3636
3737#define MAP_PROPERTY_MYG_BOOL_WRITE (name , value ) \
@@ -42,10 +42,10 @@ static int name(mysqli_object *obj, zval *value) \
4242} \
4343
4444#define MAP_PROPERTY_MYG_LONG_READ (name , value ) \
45- static zval * name(mysqli_object *obj, zval *retval) \
45+ static int name(mysqli_object *obj, zval *retval, zend_bool quiet ) \
4646{ \
4747 ZVAL_LONG(retval, MyG(value)); \
48- return retval ; \
48+ return SUCCESS ; \
4949} \
5050
5151#define MAP_PROPERTY_MYG_LONG_WRITE (name , value ) \
@@ -56,10 +56,10 @@ static int name(mysqli_object *obj, zval *value) \
5656} \
5757
5858#define MAP_PROPERTY_MYG_STRING_READ (name , value ) \
59- static zval * name(mysqli_object *obj, zval *retval) \
59+ static int name(mysqli_object *obj, zval *retval, zend_bool quiet ) \
6060{ \
6161 ZVAL_STRING(retval, MyG(value)); \
62- return retval ; \
62+ return SUCCESS ; \
6363} \
6464
6565#define MAP_PROPERTY_MYG_STRING_WRITE (name , value ) \
@@ -80,34 +80,38 @@ static int driver_report_write(mysqli_object *obj, zval *value)
8080/* }}} */
8181
8282/* {{{ property driver_embedded_read */
83- static zval * driver_embedded_read (mysqli_object * obj , zval * retval )
83+ static int driver_embedded_read (mysqli_object * obj , zval * retval , zend_bool quiet )
8484{
8585 ZVAL_FALSE (retval );
86- return retval ;
86+
87+ return SUCCESS ;
8788}
8889/* }}} */
8990
9091/* {{{ property driver_client_version_read */
91- static zval * driver_client_version_read (mysqli_object * obj , zval * retval )
92+ static int driver_client_version_read (mysqli_object * obj , zval * retval , zend_bool quiet )
9293{
9394 ZVAL_LONG (retval , MYSQL_VERSION_ID );
94- return retval ;
95+
96+ return SUCCESS ;
9597}
9698/* }}} */
9799
98100/* {{{ property driver_client_info_read */
99- static zval * driver_client_info_read (mysqli_object * obj , zval * retval )
101+ static int driver_client_info_read (mysqli_object * obj , zval * retval , zend_bool quiet )
100102{
101103 ZVAL_STRING (retval , (char * )mysql_get_client_info ());
102- return retval ;
104+
105+ return SUCCESS ;
103106}
104107/* }}} */
105108
106109/* {{{ property driver_driver_version_read */
107- static zval * driver_driver_version_read (mysqli_object * obj , zval * retval )
110+ static int driver_driver_version_read (mysqli_object * obj , zval * retval , zend_bool quiet )
108111{
109112 ZVAL_LONG (retval , MYSQLI_VERSION_ID );
110- return retval ;
113+
114+ return SUCCESS ;
111115}
112116/* }}} */
113117
0 commit comments