mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
Fixing test by calling it a known limit. We keept the test failing as a reminder to think about how to handle BIT(32) and up but none of us has an idea. Thinks work fine up to BIT(31) - the limitation should be documented.
This commit is contained in:
parent
47b209a3cd
commit
9afd024715
@ -22,7 +22,8 @@ Fetching BIT column values using the PS API
|
||||
printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
|
||||
$host, $user, $db, $port, $socket);
|
||||
|
||||
for ($bits = 1; $bits < 64; $bits++) {
|
||||
/* NOTE: works only for up to 31 bits! This limitation should be documented. */
|
||||
for ($bits = 1; $bits < 32; $bits++) {
|
||||
$max_value = pow(2, $bits) - 1;
|
||||
$tests = 0;
|
||||
if (!mysqli_query($link, "DROP TABLE IF EXISTS test") ||
|
||||
|
Loading…
Reference in New Issue
Block a user