diff options
author | Andrey Hristov <andrey@php.net> | 2011-01-14 13:00:42 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2011-01-14 13:00:42 +0000 |
commit | 5ca5c2bf43c292b687642adb4b239d651384713e (patch) | |
tree | c9a9b72a3c04ccc44579a68834409b7f5fc31772 /ext/mysqli/mysqli_mysqlnd.h | |
parent | 0048446fddb506a06a37ed7c0f31a28ba4d7d215 (diff) | |
download | php-git-5ca5c2bf43c292b687642adb4b239d651384713e.tar.gz |
Change things to allow passing of the password length
to mysqlnd. This is needed as a password might include
a \0 and thus we need to be binary safe.
Diffstat (limited to 'ext/mysqli/mysqli_mysqlnd.h')
-rw-r--r-- | ext/mysqli/mysqli_mysqlnd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli_mysqlnd.h b/ext/mysqli/mysqli_mysqlnd.h index 3072835c55..e4e06daeaa 100644 --- a/ext/mysqli/mysqli_mysqlnd.h +++ b/ext/mysqli/mysqli_mysqlnd.h @@ -40,7 +40,7 @@ #define mysqli_stmt_close(c, implicit) mysqlnd_stmt_close((c), (implicit)) #define mysqli_free_result(r, implicit) mysqlnd_free_result((r), (implicit)) #define mysqli_async_query(c, q, l) mysqlnd_async_query((c), (q), (l)) -#define mysqli_change_user_silent(c, u, p, d) mysqlnd_change_user((c), (u), (p), (d), TRUE) +#define mysqli_change_user_silent(c, u, p, d, p_len) mysqlnd_change_user_ex((c), (u), (p), (d), TRUE, (size_t)(p_len)) #define HAVE_STMT_NEXT_RESULT |