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