mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix #80115: mysqlnd.debug doesn't recognize absolute paths with slashes
This commit is contained in:
parent
1aab7db6c8
commit
efdbc3688b
2 changed files with 5 additions and 1 deletions
|
@ -524,7 +524,7 @@ MYSQLND_METHOD(mysqlnd_debug, set_mode)(MYSQLND_DEBUG * self, const char * const
|
|||
if (i + 1 < mode_len && mode[i+1] == ',') {
|
||||
unsigned int j = i + 2;
|
||||
#ifdef PHP_WIN32
|
||||
if (i+4 < mode_len && mode[i+3] == ':' && (mode[i+4] == '\\' || mode[i+5] == '/')) {
|
||||
if (i+4 < mode_len && mode[i+3] == ':' && (mode[i+4] == '\\' || mode[i+4] == '/')) {
|
||||
j = i + 5;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue