Skip to content

Commit ad06797

Browse files
committed
[ci skip] Added comment regarding relation to pdo
1 parent 96faed4 commit ad06797

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/odbc/php_odbc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2096,6 +2096,7 @@ int odbc_sqlconnect(odbc_connection **conn, char *db, char *uid, char *pwd, int
20962096
if (strstr((char*)db, "=")) {
20972097
direct = 1;
20982098

2099+
/* This should be identical to the code in the PDO driver and vice versa. */
20992100
size_t db_len = strlen(db);
21002101
char *db_end = db + db_len;
21012102
bool use_uid_arg = uid != NULL && !php_memnistr(db, "uid=", strlen("uid="), db_end);

0 commit comments

Comments
 (0)