[pecl-database-ibm_db2] master: Merge pull request #71 from php/fix-docref-printf

From: Date: Mon, 06 Jul 2026 15:51:28 +0000
Subject: [pecl-database-ibm_db2] master: Merge pull request #71 from php/fix-docref-printf
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-28632@lists.php.net to get a copy of this message
Author: Calvin Buckley (NattyNarwhal) Committer: GitHub (web-flow) Pusher: NattyNarwhal Date: 2026-07-06T12:51:26-03:00 Commit: https://github.com/php/pecl-database-ibm_db2/commit/9900de46944bccfa73ab59e36f337a7dc9387fd5 Raw diff: https://github.com/php/pecl-database-ibm_db2/commit/9900de46944bccfa73ab59e36f337a7dc9387fd5.diff Merge pull request #71 from php/fix-docref-printf Fix docref printf specification Changed paths: M ibm_db2.c Diff: diff --git a/ibm_db2.c b/ibm_db2.c index 54dc1bc..89be662 100644 --- a/ibm_db2.c +++ b/ibm_db2.c @@ -1049,7 +1049,7 @@ static void _php_db2_check_sql_errors( SQLHANDLE handle, SQLSMALLINT hType, int sprintf((char *)errMsg, "%s SQLCODE=%d", msg, (int)sqlcode); #ifdef PASE /* 1.9.7 - IBM i consultant request log additional information into php.log */ if (IBM_DB2_G(i5_log_verbose) > 0) { - php_error_docref(NULL, E_WARNING, (char *)errMsg); + php_error_docref(NULL, E_WARNING, "%s", (char *)errMsg); } #endif /* PASE */ switch (rc) {

« previous php.pecl.cvs (#28632) next »