Lines Matching refs:label
124 …prepex(6, $db, sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGI…
125 prepex(7, $db, "INSERT INTO test(id, label) VALUES(1, ':placeholder')");
126 $stmt = prepex(8, $db, 'SELECT label FROM test ORDER BY id ASC');
130 prepex(10, $db, 'INSERT INTO test(id, label) VALUES(1, :placeholder)',
132 prepex(11, $db, 'INSERT INTO test(id, label) VALUES(2, :placeholder)',
134 $stmt = prepex(12, $db, 'SELECT label FROM test ORDER BY id ASC');
138 $stmt = prepex(13, $db, 'SELECT label FROM test WHERE :placeholder > 1',
147 prepex(16, $db, 'SELECT id, label FROM test WHERE label > :placeholder',
151 $stmt = prepex(16, $db, 'SELECT id, label FROM test WHERE :placeholder IS NOT NULL',
156 $stmt = prepex(18, $db, 'SELECT id, label FROM test WHERE :placeholder IS NULL',
162 prepex(21, $db, 'CREATE TABLE test(id INT, label CHAR(255)) ENGINE=MyISAM');
164 … if (is_object(prepex(22, $db, 'CREATE FULLTEXT INDEX idx1 ON test(label)', null, null, true))) {
165 prepex(23, $db, 'INSERT INTO test(id, label) VALUES (1, :placeholder)',
167 prepex(24, $db, 'INSERT INTO test(id, label) VALUES (2, :placeholder)',
169 … $stmt = prepex(25, $db, 'SELECT id, label FROM test WHERE MATCH label AGAINST (:placeholder)',
177 $stmt = prepex(26, $db, 'SELECT id, label FROM test ORDER BY id ASC');
181 if ($tmp[0]['label'] !== 'MySQL is the best database in the world!') {
189 $db->exec("INSERT INTO test(id, label) VALUES (1, 'row1')");
190 $db->exec("INSERT INTO test(id, label) VALUES (2, 'row2')");
192 $sql = sprintf("SELECT id, label FROM test WHERE (label LIKE %s) AND (id = :placeholder)",
198 $sql = sprintf("SELECT id, label FROM test WHERE (id = :placeholder) OR (label LIKE %s)",
206 …prepex(34, $db, sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENG…
207 prepex(35, $db, "INSERT INTO test(id, label) VALUES(1, '?')");
208 $stmt = prepex(36, $db, 'SELECT label FROM test');
212 prepex(38, $db, 'INSERT INTO test(id, label) VALUES(1, ?)',
214 prepex(39, $db, 'INSERT INTO test(id, label) VALUES(2, ?)',
216 $stmt = prepex(40, $db, 'SELECT label FROM test');
220 prepex(40, $db, 'SELECT label FROM test WHERE ? > 1',
225 array('id', 'label', 'value'));
232 prepex(43, $db, 'SELECT id, label FROM test WHERE label > ?',
237 prepex(45, $db, 'INSERT INTO test(id, label) VALUES (1, ?), (2, ?)',
239 $stmt = prepex(46, $db, 'SELECT id, label FROM test ORDER BY id');
244 "label" => "row"
248 "label" => "row"
263 $stmt = prepex(47, $db, 'SELECT id, label FROM test WHERE ? IS NOT NULL',
268 $stmt = prepex(49, $db, 'SELECT id, label FROM test WHERE ? IS NULL',
274 prepex(52, $db, 'CREATE TABLE test(id INT, label CHAR(255)) ENGINE=MyISAM');
275 … if (is_object(prepex(53, $db, 'CREATE FULLTEXT INDEX idx1 ON test(label)', null, null, true))) {
276 prepex(54, $db, 'INSERT INTO test(id, label) VALUES (1, ?)',
278 prepex(55, $db, 'INSERT INTO test(id, label) VALUES (1, ?)',
280 $stmt = prepex(56, $db, 'SELECT id, label FROM test WHERE MATCH label AGAINST (?)',
290 prepex(58, $db, 'INSERT INTO test(id, label) VALUES (1, ?), (2, ?)',
295 … $stmt = prepex(37, $db, 'SELECT id, label FROM \'test WHERE MATCH label AGAINST (:placeholder)',
300 $stmt = prepex(59, $db, 'SELECT id, label AS "label" FROM test WHERE label = ?',
304 0 => array("id" => "1", "label" => "row1")
317 $sql = sprintf("SELECT id, label FROM test WHERE (label LIKE %s) AND (id = ?)",
323 $sql = sprintf("SELECT id, label FROM test WHERE (id = ?) OR (label LIKE %s)",
329 …$sql = "SELECT id, label FROM test WHERE id = ? AND label = (SELECT label AS 'SELECT' FROM test WH…
352 ["label"]=>
359 ["label"]=>
364 ["label"]=>
373 ["label"]=>
380 ["label"]=>
385 ["label"]=>