Data corruption on bit columns in the database

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Data corruption on bit columns in the database

Postby ale5000 » 01. August 2017 13:26

XAMPP for Windows 7.1.7 (probably also 7.0.21) contains a version of PHP that corrupt data in the database for fields of type bit.

Can you please include this fix? https://github.com/php/php-src/commit/e15c418c4c765d3a0c65a5ff15dcf37b1e556a66
It is important to prevent data corruption.
ale5000
 
Posts: 4
Joined: 01. August 2017 13:21
XAMPP version: 7.1.7
Operating System: Windows 7 64-bit

Re: Data corruption on bit columns in the database

Postby Altrea » 01. August 2017 14:30

Hi,

This php source commit is from Dec 2016, which was way way before the release of PHP 7.1.7.
What makes you sure that this bug still exists in PHP 7.1.7? It was fixed for PHP 7.0.15+.

And: We cannot provide any PHP source code fixed for already released PHP versions, because we only include the binaries provided by php.net.
So the only way would be to wait for a new PHP release which gets included in a new XAMPP version.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8883
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Data corruption on bit columns in the database

Postby ale5000 » 01. August 2017 14:35

Well then, maybe is in a different part of the code but the bug exist, I tested it personally.

The problem is possibly Windows specific but I'm not sure.
Last edited by ale5000 on 01. August 2017 15:06, edited 1 time in total.
ale5000
 
Posts: 4
Joined: 01. August 2017 13:21
XAMPP version: 7.1.7
Operating System: Windows 7 64-bit

Re: Data corruption on bit columns in the database

Postby Altrea » 01. August 2017 14:37

Feel free to open a PHP Bug report https://bugs.php.net/
Maybe it is still unknown
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8883
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Data corruption on bit columns in the database

Postby ale5000 » 01. August 2017 15:06

Reported here: https://bugs.php.net/bug.php?id=75018
ale5000
 
Posts: 4
Joined: 01. August 2017 13:21
XAMPP version: 7.1.7
Operating System: Windows 7 64-bit

Re: Data corruption on bit columns in the database

Postby ale5000 » 13. September 2017 18:20

They have fixed it.
ale5000
 
Posts: 4
Joined: 01. August 2017 13:21
XAMPP version: 7.1.7
Operating System: Windows 7 64-bit

Re: Data corruption on bit columns in the database

Postby Altrea » 13. September 2017 18:54

That are great news :D
Thanks for this update.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8883
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 79 guests