mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-28746 Wrong error code ER_BAD_DB_ERROR for long filenames
Add check for path length if CreateFile fails with ERROR_PATH_NOT_FOUND.
This commit is contained in:
2
mysql-test/main/create_windows.result
Normal file
2
mysql-test/main/create_windows.result
Normal file
@ -0,0 +1,2 @@
|
||||
create table `...................................................`(i int);
|
||||
ERROR HY000: Can't create table `test`.`...................................................` (errno: 38 "Filename too long")
|
Reference in New Issue
Block a user