php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77944 Wrong meta pdo_type for bigint on LLP64
Submitted: 2019-04-26 18:31 UTC Modified: 2019-04-27 16:40 UTC
From: v-altruo at microsoft dot com Assigned: cmb (profile)
Status: Closed Package: PDO MySQL
PHP Version: 7.3.5RC1 OS: Windows
Private report: No CVE-ID: None
 [2019-04-26 18:31 UTC] v-altruo at microsoft dot com
Description:
------------
Test file location: ext\pdo_mysql\tests\pdo_mysql_stmt_getcolumnmeta.phpt

Test seems to fail only on x64 builds with opcache enabled.
MySQL version used: 5.6.43

Expected result:
----------------
Testing native PS...
done!

Actual result:
--------------
Testing native PS...
'LONGLONG'[120 + 6] Expecting PDO type 1 got array (
  'native_type' => 'LONGLONG',
  'pdo_type' => 2,
  'flags' => 
  array (
  ),
  'table' => 'test',
  'name' => 'label',
  'len' => 20,
  'precision' => 0,
) ()
'LONGLONG'[130 + 6] Expecting PDO type 1 got array (
  'native_type' => 'LONGLONG',
  'pdo_type' => 2,
  'flags' => 
  array (
  ),
  'table' => 'test',
  'name' => 'label',
  'len' => 20,
  'precision' => 0,
) ()
done!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-04-27 15:29 UTC] cmb@php.net
-Status: Open +Status: Verified -Package: Testing related +Package: PDO MySQL -Assigned To: +Assigned To: cmb
 [2019-04-27 16:40 UTC] cmb@php.net
-Summary: pdo type mismatch +Summary: Wrong meta pdo_type for bigint on LLP64
 [2019-04-27 16:49 UTC] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=16609880f8338134db08daf6bdcc42025f938fcd
Log: Fix #77944: Wrong meta pdo_type for bigint on LLP64
 [2019-04-27 16:49 UTC] cmb@php.net
-Status: Verified +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 10:01:29 2024 UTC