1
0
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:
Vladislav Vaintroub
2022-07-07 15:14:14 +02:00
parent d6e80c21d6
commit 66c06735a2
3 changed files with 18 additions and 7 deletions

View File

@ -0,0 +1,2 @@
create table `...................................................`(i int);
ERROR HY000: Can't create table `test`.`...................................................` (errno: 38 "Filename too long")