php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51712 Test mysql_mysqlnd_read_timeout_long must fail on MySQL4
Submitted: 2010-05-01 02:58 UTC Modified: 2010-05-11 18:08 UTC
From: post at wickenrode dot com Assigned: mysql (profile)
Status: Closed Package: MySQL related
PHP Version: 5.3.2 OS: Linux 2.6.18 i686
Private report: No CVE-ID: None
 [2010-05-01 02:58 UTC] post at wickenrode dot com
Description:
------------
The test mysql_mysqlnd_read_timeout_long.phpt uses the query
"SELECT SLEEP(6)"
while SLEEP was only added in MySQL 5.0.12 and therefore the test must fail on 
MySQL 4

Expected result:
----------------
Either the test should succeed or XFAIL but not FAIL.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-01 03:14 UTC] post at wickenrode dot com
Also affects mysqli_stmt_execute.phpt, mysqli_mysqlnd_read_timeout_long.phpt, 
mysqli_mysqlnd_read_timeout_zero.phpt
 [2010-05-11 17:27 UTC] andrey@php.net
Automatic comment from SVN on behalf of andrey
Revision: http://svn.php.net/viewvc/?view=revision&revision=299250
Log: These tests should be run only if mysqli uses mysqlnd. Part of fix for
Bug #51712 Test mysql_mysqlnd_read_timeout_long must fail on MySQL4
 [2010-05-11 18:08 UTC] andrey@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: mysql
 [2010-05-11 18:08 UTC] andrey@php.net
Fixed in 5_3 (will appear in 5.3.3) and trunk. Thank you for bug report
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 01:01:30 2024 UTC