version 1.1.1.2, 2012/05/29 12:34:41
|
version 1.1.1.3, 2013/07/22 01:31:56
|
Line 2
|
Line 2
|
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| PHP Version 5 | |
| PHP Version 5 | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| Copyright (c) 2006-2012 The PHP Group | | | Copyright (c) 2006-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 516 enum mysqlnd_debug_parser_state
|
Line 516 enum mysqlnd_debug_parser_state
|
static void |
static void |
MYSQLND_METHOD(mysqlnd_debug, set_mode)(MYSQLND_DEBUG * self, const char * const mode) |
MYSQLND_METHOD(mysqlnd_debug, set_mode)(MYSQLND_DEBUG * self, const char * const mode) |
{ |
{ |
unsigned int mode_len = strlen(mode), i; | unsigned int mode_len, i; |
enum mysqlnd_debug_parser_state state = PARSER_WAIT_MODIFIER; |
enum mysqlnd_debug_parser_state state = PARSER_WAIT_MODIFIER; |
|
|
|
mode_len = mode? strlen(mode) : 0; |
|
|
self->flags = 0; |
self->flags = 0; |
self->nest_level_limit = 0; |
self->nest_level_limit = 0; |