MySQL/MariaDB: return max length for text columns #2133

Merged
lunny merged 4 commits from pilou/xorm:mysql_return_column_max_len into master 2022-04-22 02:48:54 +00:00

4 Commits

Author SHA1 Message Date
b8f08e1607 Merge branch 'master' into mysql_return_column_max_len
All checks were successful
continuous-integration/drone/pr Build is passing
2022-04-22 10:20:41 +08:00
55377b94b1
DBMetas is able to extract column size, TableInfo isn't
Some checks failed
continuous-integration/drone/pr Build is failing
Engine.DBMetas() returns the size of the column from the database but
Engine.TableInfo() isn't able to guess the column size. For example
when utf-8 charset is used, "`xorm:"TEXT(21846)`" creates a MEDIUMTEXT
column not a TEXT column.
2022-04-21 09:07:25 +02:00
7ca4f206f4
MySQL/MariaDB: return max length for text columns 2022-04-21 09:07:22 +02:00
d283a4ddae
tests: check max length is available for TEXT cols 2022-04-21 09:07:19 +02:00