Lines Matching refs:col1
25 $sql = sprintf("CREATE TABLE test(id INT AUTO_INCREMENT PRIMARY KEY, col1 %s) ENGINE=%s",
36 $col1 = mt_rand($min, $max);
37 $values[$i] = $col1;
38 $sql = sprintf("INSERT INTO test(id, col1) VALUES (%d, %f)",
39 $i, $col1);
163 test_format($link, 'FORMAT(col1, 0)', 'test', NULL, array(), 100);
168 test_format($link, 'id AS order_by_col, FORMAT(col1, 0)', 'test', 'id', $expected, 120);
173 test_format($link, 'id AS order_by_col, FORMAT(col1, 0)', 'test', 'id', $expected, 140);
178 test_format($link, 'id AS order_by_col, FORMAT(col1, 0)', 'test', 'id', $expected, 160);
189 FORMAT(col1, 0)
191 id AS order_by_col, FORMAT(col1, 0)
193 id AS order_by_col, FORMAT(col1, 0)
195 id AS order_by_col, FORMAT(col1, 0)