Lines Matching refs:bits
24 /* NOTE: works only for up to 31 bits! This limitation should be documented. */
25 for ($bits = 1; $bits < 32; $bits++) {
26 $max_value = pow(2, $bits) - 1;
29 …ery($link, $sql = sprintf('CREATE TABLE test(id INT, label BIT(%d)) ENGINE="%s"', $bits, $engine)))
30 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link));
33 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
42 … printf("[004 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
49 … printf("[005 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
52 … printf("[006 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
55 … MySQL reports odd values, id = %s, _label0 = %s, label = %s.\n", $bits, $value, $bits, $id, $_lab…
59 $bits, $value, $id, $_label0, $label);