File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -459,7 +459,7 @@ sub column_info {
459459 my @type_attr = split / /, $attr ||' ' ;
460460
461461 $info -> {DATA_TYPE }= SQL_VARCHAR();
462- if ($basetype =~ / ^(char|varchar|\w *text|\w *blob)/ )
462+ if ($basetype =~ / ^(char|varchar|\w *text|\w *blob|json )/ )
463463 {
464464 $info -> {DATA_TYPE }= SQL_CHAR() if $basetype eq ' char' ;
465465 if ($type_params [0])
@@ -471,7 +471,7 @@ sub column_info {
471471 $info -> {COLUMN_SIZE } = 65535;
472472 $info -> {COLUMN_SIZE } = 255 if $basetype =~ / ^tiny/ ;
473473 $info -> {COLUMN_SIZE } = 16777215 if $basetype =~ / ^medium/ ;
474- $info -> {COLUMN_SIZE } = 4294967295 if $basetype =~ / ^long/ ;
474+ $info -> {COLUMN_SIZE } = 4294967295 if $basetype =~ / ^( long|json) / ;
475475 }
476476 }
477477 elsif ($basetype =~ / ^(binary|varbinary)/ )
You can’t perform that action at this time.
0 commit comments