version 1.1.1.2, 2012/05/29 12:34:41
|
version 1.1.1.3, 2013/07/22 01:31:55
|
Line 2
|
Line 2
|
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| PHP Version 5 | |
| PHP Version 5 | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| Copyright (c) 1997-2012 The PHP Group | | | Copyright (c) 1997-2013 The PHP Group | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| This source file is subject to version 3.01 of the PHP license, | |
| This source file is subject to version 3.01 of the PHP license, | |
| that is bundled with this package in the file LICENSE, and is | |
| that is bundled with this package in the file LICENSE, and is | |
Line 720 PHP_MINFO_FUNCTION(mysql)
|
Line 720 PHP_MINFO_FUNCTION(mysql)
|
static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) |
static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) |
{ |
{ |
char *user=NULL, *passwd=NULL, *host_and_port=NULL, *socket=NULL, *tmp=NULL, *host=NULL; |
char *user=NULL, *passwd=NULL, *host_and_port=NULL, *socket=NULL, *tmp=NULL, *host=NULL; |
int user_len, passwd_len, host_len; | int user_len = 0, passwd_len = 0, host_len = 0; |
char *hashed_details=NULL; |
char *hashed_details=NULL; |
int hashed_details_length, port = MYSQL_PORT; |
int hashed_details_length, port = MYSQL_PORT; |
long client_flags = 0; |
long client_flags = 0; |