summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_libmysql.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_libmysql.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_libmysql.h')
-rw-r--r--ext/mysqli/mysqli_libmysql.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli_libmysql.h b/ext/mysqli/mysqli_libmysql.h
index ca6770af11..3ec06cdd08 100644
--- a/ext/mysqli/mysqli_libmysql.h
+++ b/ext/mysqli/mysqli_libmysql.h
@@ -38,7 +38,7 @@
#define mysqli_close(c, is_forced) mysql_close((c))
#define mysqli_stmt_close(c, implicit) mysql_stmt_close((c))
#define mysqli_free_result(r, is_forced) mysql_free_result((r))
-#define mysqli_change_user_silent(c, u, p, d) mysql_change_user((c), (u), (p), (d))
+#define mysqli_change_user_silent(c, u, p, d, p_len) mysql_change_user((c), (u), (p), (d))
/*