summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_mysqlnd.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2011-01-14 13:00:42 +0000
committerAndrey Hristov <andrey@php.net>2011-01-14 13:00:42 +0000
commit5ca5c2bf43c292b687642adb4b239d651384713e (patch)
treec9a9b72a3c04ccc44579a68834409b7f5fc31772 /ext/mysqli/mysqli_mysqlnd.h
parent0048446fddb506a06a37ed7c0f31a28ba4d7d215 (diff)
downloadphp-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.h2
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