diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-10-03 01:07:35 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-10-03 01:07:35 +0000 |
commit | 763b39cc1d45e767e1f00109dd1bebead46b34e1 (patch) | |
tree | d3a1cdfedf6372b332e44662fd2cd59f77a8a77a /ext/mysql/php_mysql.c | |
parent | e53b9a6a6f96ca606abb556061cf8590a9e25102 (diff) | |
download | php-git-763b39cc1d45e767e1f00109dd1bebead46b34e1.tar.gz |
Fixed compile warnings.
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r-- | ext/mysql/php_mysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index f4431d31e6..a677dc50f1 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -1260,7 +1260,7 @@ static void php_mysql_do_query_general(zval **query, zval **mysql_link, int link /* check possible error */ if (MySG(trace_mode)){ if (mysql_errno(&mysql->conn)){ - php_error_docref("http://www.mysql.com/doc" TSRMLS_CC, E_WARNING, mysql_error(&mysql->conn)); + php_error_docref("http://www.mysql.com/doc" TSRMLS_CC, E_WARNING, "%s", mysql_error(&mysql->conn)); } } RETURN_FALSE; |