xorm/dialects
Pierre-Louis Bonicoli e1d4365667 MySQL/MariaDB: return max length for text columns (#2133)
MySQL/MariaDB: return max length for text columns using `CHARACTER_MAXIMUM_LENGTH`.

 Tests:
 * add an integration test: `TestGetColumnsLength`
 * update `TestSyncTable3` since `TableInfo` isn't able to provide the column size

Co-authored-by: Pierre-Louis Bonicoli <pierre-louis.bonicoli@libregerbil.fr>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2133
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Pierre-Louis Bonicoli <pilou@noreply.gitea.io>
Co-committed-by: Pierre-Louis Bonicoli <pilou@noreply.gitea.io>
2022-04-22 10:48:53 +08:00
..
dameng.go Add README and fix some lints (#2079) 2021-12-14 09:00:35 +08:00
dialect.go Add README and fix some lints (#2079) 2021-12-14 09:00:35 +08:00
driver.go refactor some code (#2000) 2021-07-21 00:12:20 +08:00
filter.go Ignore comments when deciding when to replace question marks. #1954 (#1955) 2021-06-26 19:19:13 +08:00
filter_test.go Ignore comments when deciding when to replace question marks. #1954 (#1955) 2021-06-26 19:19:13 +08:00
gen_reserved.sh Move reserve words related files into dialects sub package (#1544) 2020-02-24 10:05:10 +00:00
mssql.go Fix missing quote on modifycolumnSQL (#2058) 2021-09-29 20:07:55 +08:00
mssql_test.go Merge core package back into the main repository and split into serval sub packages. (#1543) 2020-02-24 08:53:18 +00:00
mysql.go MySQL/MariaDB: return max length for text columns (#2133) 2022-04-22 10:48:53 +08:00
oracle.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
oracle_test.go Oracle : Local Naming Method (#1515) 2020-03-23 02:03:04 +00:00
pg_reserved.txt Move reserve words related files into dialects sub package (#1544) 2020-02-24 10:05:10 +00:00
postgres.go PostgreSQL: enable comment on column (#2131) 2022-04-17 18:03:29 +08:00
postgres_test.go Fix postgres driver datasource name parse (#2012) 2021-07-28 10:03:09 +08:00
quote.go Improve quote policy (#1567) 2020-03-06 07:48:32 +00:00
sqlite3.go Add dameng support (#2007) 2021-08-24 13:46:08 +08:00
sqlite3_test.go Merge core package back into the main repository and split into serval sub packages. (#1543) 2020-02-24 08:53:18 +00:00
table_name.go oracle数据库不再拼接AS (#2109) 2022-03-31 23:57:40 +08:00
table_name_test.go Move statement as a sub package (#1564) 2020-02-28 12:29:08 +00:00
time.go Fix timesatmp (#2021) 2021-08-04 16:12:10 +08:00