]> granicus.if.org Git - php/commit
Init should return status value because initialization can fail.
authorAndrey Hristov <andrey@php.net>
Tue, 25 May 2010 22:40:47 +0000 (22:40 +0000)
committerAndrey Hristov <andrey@php.net>
Tue, 25 May 2010 22:40:47 +0000 (22:40 +0000)
commit6d434e70a4659dc2579f224ebc7ab96d8aa6327f
tree7891ca0658a1f9337f094873a4506d8ca1f3ea46
parentb3c553fa993ab121e98ec2c07bac81a7e5574831
Init should return status value because initialization can fail.
In this case mysqlnd_init() should return NULL to the end-user.
ext/mysqlnd/mysqlnd.c
ext/mysqlnd/mysqlnd_structs.h