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