summaryrefslogtreecommitdiff
path: root/mysql-test/r/csv.result
diff options
context:
space:
mode:
authorSergey Glukhov <gluh@mysql.com>2008-08-15 11:53:54 +0500
committerSergey Glukhov <gluh@mysql.com>2008-08-15 11:53:54 +0500
commit02aaff1b343ffd3cd397cc67d7f9eb69d8cb1545 (patch)
tree493de30713a4ba8185da9b027000cb08537bd10a /mysql-test/r/csv.result
parenta233d7b85174faafeb0a8fa9086fb7a17a30f84d (diff)
downloadmariadb-git-02aaff1b343ffd3cd397cc67d7f9eb69d8cb1545.tar.gz
Bug#36638 mysqld crashes when open file limit is passed and general query log enabled
The problem: CSV storage engine open function returns success even thought it failed to open the data file The fix: return error Additional fixes: added MY_WME to my_open to avoid mysterious error message free share struct if open the file was unsuccessful mysql-test/r/csv.result: test result mysql-test/t/csv.test: test case storage/csv/ha_tina.cc: The problem: CSV storage engine open function returns success even thought it failed to open the data file The fix: return error Additional fixes: added MY_WME to my_open to avoid mysterious error message free share struct if open the file was unsuccessful
Diffstat (limited to 'mysql-test/r/csv.result')
-rw-r--r--mysql-test/r/csv.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/csv.result b/mysql-test/r/csv.result
index b91272f7e59..8bc6114dbc2 100644
--- a/mysql-test/r/csv.result
+++ b/mysql-test/r/csv.result
@@ -5388,4 +5388,10 @@ select * from t1;
c1
That
drop table t1;
+create table t1 (a int not null) engine=csv;
+lock tables t1 read;
+select * from t1;
+ERROR HY000: File './test/t1.CSV' not found (Errcode: 2)
+unlock tables;
+drop table t1;
End of 5.1 tests