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

Commit eca41bb

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/extract_table_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_table_from_file_name (
2121
path VARCHAR(512)
2222
)
23-
RETURNS VARCHAR(512)
23+
RETURNS VARCHAR(64)
2424
COMMENT '
2525
Description
2626
-----------
@@ -39,7 +39,7 @@ CREATE DEFINER='root'@'localhost' FUNCTION extract_table_from_file_name (
3939
Returns
4040
-----------
4141
42-
VARCHAR(512)
42+
VARCHAR(64)
4343
4444
Example
4545
-----------

0 commit comments

Comments
 (0)