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);
164 test_format($link, 'FORMAT(col1, 0)', 'test', NULL, array(), 100);
169 test_format($link, 'id AS order_by_col, FORMAT(col1, 0)', 'test', 'id', $expected, 120);
174 test_format($link, 'id AS order_by_col, FORMAT(col1, 0)', 'test', 'id', $expected, 140);
179 test_format($link, 'id AS order_by_col, FORMAT(col1, 0)', 'test', 'id', $expected, 160);
190 FORMAT(col1, 0)
192 id AS order_by_col, FORMAT(col1, 0)
194 id AS order_by_col, FORMAT(col1, 0)
196 id AS order_by_col, FORMAT(col1, 0)