[php-src] Issue #12076: sqlite3_bind_bug68849 fail on x86 with sqlite 3.43

From: Date: Tue, 29 Aug 2023 18:44:18 +0000
Subject: [php-src] Issue #12076: sqlite3_bind_bug68849 fail on x86 with sqlite 3.43
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-245286@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/12076
Author: andypost

### Description

The test ext/sqlite3/tests/sqlite3_bind_bug68849.phpt fail on x86 arch (32-bits)

Previous build (8.2.10RC1) passed but sqlite was 3.42.0 (current is 3.43.0)

The same test failed building PHP 8.3RC1 so very probably precision somehow affected

``========DIFF========
--
       ["b"]=>
       string(5) "hello"
       ["c"]=>
[1;32m007+   float(3.1399999999999997)[0m
[1;31m007-   float(3.14)[0m
     }
     array(3) {
       ["a"]=>
--
       ["b"]=>
       string(5) "hello"
       ["c"]=>
[1;32m015+   float(3.1399999999999997)[0m
[1;31m015-   float(3.14)[0m
     }
     array(3) {
       ["a"]=>
--
       ["b"]=>
       string(2) "42"
       ["c"]=>
[1;32m023+   float(0.42000000000000004)[0m
[1;31m023-   float(0.42)[0m
     }
     array(3) {
       ["a"]=>
--
========DONE========
```


Ref https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/50091

### PHP Version

PHP 8.2.10

### Operating System

Alpinelinux


Thread (1 message)

  • andypost
« previous php.bugs (#245286) next »