Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit e2ff830

Browse files
Modify extract_schema_from_file_name to only return a varchar(64) - no longer is needed as database names cannot be more than 64 characters.
1 parent eca41bb commit e2ff830

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/extract_schema_from_file_name.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ DELIMITER $$
2020
CREATE DEFINER='root'@'localhost' FUNCTION extract_schema_from_file_name (
2121
path VARCHAR(512)
2222
)
23-
RETURNS VARCHAR(512)
23+
RETURNS VARCHAR(64)
2424
COMMENT '
2525
Description
2626
-----------
@@ -43,7 +43,7 @@ CREATE DEFINER='root'@'localhost' FUNCTION extract_schema_from_file_name (
4343
Returns
4444
-----------
4545
46-
VARCHAR(512)
46+
VARCHAR(64)
4747
4848
Example
4949
-----------

0 commit comments

Comments
 (0)