ERROR HY000: The file 'DRIZZLETEST_BAD_FILE' must be in the schema directory or be readable by all
720
select load_file("lkjlkj");
721
ERROR HY000: The file 'lkjlkj' must be in the schema directory or be readable by all
722
722
CREATE TABLE t1 (a varchar(10));
723
723
INSERT INTO t1 VALUES ('abc'), ('xyz');
724
724
SELECT a, CONCAT(a,' ',a) AS c FROM t1
833
833
WHERE id='a12' AND (LENGTH(code)=5 OR code < 'a00');
834
834
id select_type table type possible_keys key key_len ref rows filtered Extra
835
835
1 SIMPLE t2 const PRIMARY PRIMARY 42 const 1 100.00 Using index
836
1 SIMPLE t1 ref code code 43 const 4 100.00 Using where; Using index
836
1 SIMPLE t1 ref code code 43 const 2 100.00 Using where; Using index
837
837
Warnings:
838
838
Note 1003 select `test`.`t1`.`code` AS `code`,'a12' AS `id` from `test`.`t1` join `test`.`t2` where ((`test`.`t1`.`code` = 'a12') and <cache>(('a12' = 'a12')) and ((length(`test`.`t1`.`code`) = 5) or <cache>(('a12' < 'a00'))))