mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
606a4a4847
my_readline can fail due to missing file. Make my_readline report this condition separately so that we can catch it and report an appropriate error message to the user.
19 lines
734 B
Text
19 lines
734 B
Text
drop table if exists t1,t2;
|
|
create table t1 (a int) engine=myisam;
|
|
drop table if exists t1;
|
|
Warnings:
|
|
Warning 2 Can't find file: './test/t1.MYI' (errno: 2 "No such file or directory")
|
|
create table t1 (a int) engine=myisam;
|
|
select * from t1;
|
|
ERROR HY000: Can't find file: './test/t1.MYI' (errno: 2 "No such file or directory")
|
|
drop table t1;
|
|
Warnings:
|
|
Warning 2 Can't find file: './test/t1.MYI' (errno: 2 "No such file or directory")
|
|
create table t1 (a int) engine=myisam;
|
|
select * from t1;
|
|
ERROR HY000: File './test/t1.MYD' not found (Errcode: 2 "No such file or directory")
|
|
drop table t1;
|
|
Warnings:
|
|
Warning 2 Can't find file: './test/t1.MYI' (errno: 2 "No such file or directory")
|
|
drop table t1;
|
|
ERROR 42S02: Unknown table 'test.t1'
|