Lines Matching refs:label
121 …prepex(6, $db, sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGI…
122 prepex(7, $db, "INSERT INTO test(id, label) VALUES(1, ':placeholder')");
123 $stmt = prepex(8, $db, 'SELECT label FROM test ORDER BY id ASC');
127 prepex(10, $db, 'INSERT INTO test(id, label) VALUES(1, :placeholder)',
129 prepex(11, $db, 'INSERT INTO test(id, label) VALUES(2, :placeholder)',
131 $stmt = prepex(12, $db, 'SELECT label FROM test ORDER BY id ASC');
135 $stmt = prepex(13, $db, 'SELECT label FROM test WHERE :placeholder > 1',
144 prepex(16, $db, 'SELECT id, label FROM test WHERE label > :placeholder',
148 $stmt = prepex(16, $db, 'SELECT id, label FROM test WHERE :placeholder IS NOT NULL',
153 $stmt = prepex(18, $db, 'SELECT id, label FROM test WHERE :placeholder IS NULL',
159 prepex(21, $db, 'CREATE TABLE test(id INT, label CHAR(255)) ENGINE=MyISAM');
161 if (is_object(prepex(22, $db, 'CREATE FULLTEXT INDEX idx1 ON test(label)', null, null, true))) {
162 prepex(23, $db, 'INSERT INTO test(id, label) VALUES (1, :placeholder)',
164 prepex(24, $db, 'INSERT INTO test(id, label) VALUES (2, :placeholder)',
166 $stmt = prepex(25, $db, 'SELECT id, label FROM test WHERE MATCH label AGAINST (:placeholder)',
174 $stmt = prepex(26, $db, 'SELECT id, label FROM test ORDER BY id ASC');
178 if ($tmp[0]['label'] !== 'MySQL is the best database in the world!') {
186 $db->exec("INSERT INTO test(id, label) VALUES (1, 'row1')");
187 $db->exec("INSERT INTO test(id, label) VALUES (2, 'row2')");
189 $sql = sprintf("SELECT id, label FROM test WHERE (label LIKE %s) AND (id = :placeholder)",
195 $sql = sprintf("SELECT id, label FROM test WHERE (id = :placeholder) OR (label LIKE %s)",
203 …prepex(34, $db, sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENG…
204 prepex(35, $db, "INSERT INTO test(id, label) VALUES(1, '?')");
205 $stmt = prepex(36, $db, 'SELECT label FROM test');
209 prepex(38, $db, 'INSERT INTO test(id, label) VALUES(1, ?)',
211 prepex(39, $db, 'INSERT INTO test(id, label) VALUES(2, ?)',
213 $stmt = prepex(40, $db, 'SELECT label FROM test');
217 prepex(40, $db, 'SELECT label FROM test WHERE ? > 1',
222 array('id', 'label', 'value'));
229 prepex(43, $db, 'SELECT id, label FROM test WHERE label > ?',
234 prepex(45, $db, 'INSERT INTO test(id, label) VALUES (1, ?), (2, ?)',
236 $stmt = prepex(46, $db, 'SELECT id, label FROM test');
241 "label" => "row"
245 "label" => "row"
260 $stmt = prepex(47, $db, 'SELECT id, label FROM test WHERE ? IS NOT NULL',
265 $stmt = prepex(49, $db, 'SELECT id, label FROM test WHERE ? IS NULL',
271 prepex(52, $db, 'CREATE TABLE test(id INT, label CHAR(255)) ENGINE=MyISAM');
272 if (is_object(prepex(53, $db, 'CREATE FULLTEXT INDEX idx1 ON test(label)', null, null, true))) {
273 prepex(54, $db, 'INSERT INTO test(id, label) VALUES (1, ?)',
275 prepex(55, $db, 'INSERT INTO test(id, label) VALUES (1, ?)',
277 $stmt = prepex(56, $db, 'SELECT id, label FROM test WHERE MATCH label AGAINST (?)',
287 prepex(58, $db, 'INSERT INTO test(id, label) VALUES (1, ?), (2, ?)',
292 $stmt = prepex(37, $db, 'SELECT id, label FROM \'test WHERE MATCH label AGAINST (:placeholder)',
297 $stmt = prepex(59, $db, 'SELECT id, label AS "label" FROM test WHERE label = ?',
301 0 => array("id" => "1", "label" => "row1")
314 $sql = sprintf("SELECT id, label FROM test WHERE (label LIKE %s) AND (id = ?)",
320 $sql = sprintf("SELECT id, label FROM test WHERE (id = ?) OR (label LIKE %s)",
326 …$sql = "SELECT id, label FROM test WHERE id = ? AND label = (SELECT label AS 'SELECT' FROM test WH…
348 ["label"]=>
355 ["label"]=>
360 ["label"]=>
369 ["label"]=>
376 ["label"]=>
381 ["label"]=>