xorm/dialects
Andrew Thornton dcfaed6a11
MariaDB 10.5 adds a suffix on old datatypes
MariaDB when encountering an old datetime type will add a suffix of /* mariadb-5.3 */
on its schema information page. Xorm does not understand this and then its mappings
fail.

The simplest solution is just to remove any fixed suffix and that is what this PR does
- a clever solution would look for and remove any comments or match them.

See https://mariadb.com/kb/en/time/ for more details about the comment.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-04-07 18:24:04 +01:00
..
dialect.go Support modernc.org/sqlite (#1850) 2021-03-15 23:34:33 +08:00
driver.go Don't keep db on dialects (#1623) 2020-03-24 02:19:24 +00:00
filter.go Only replace quotes when necessary (#1584) 2020-03-09 02:17:37 +00:00
filter_test.go Only replace quotes when necessary (#1584) 2020-03-09 02:17:37 +00: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 bug for mssql (#1854) 2021-01-21 15:08:48 +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 MariaDB 10.5 adds a suffix on old datatypes 2021-04-07 18:24:04 +01:00
oracle.go Oracle uses double quotes for quoting table/column/etc. names (#1674) 2020-05-08 12:13:13 +00: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 Fix warnings with schema Sync2 with default varchar as NVARCHAR (#1783) 2020-09-08 01:36:50 +00:00
postgres_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
quote.go Improve quote policy (#1567) 2020-03-06 07:48:32 +00:00
sqlite3.go Fix index (#1841) 2021-01-05 10:42:14 +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 Fix postgres schema problem (#1624) 2020-03-25 09:36:45 +00:00
table_name_test.go Move statement as a sub package (#1564) 2020-02-28 12:29:08 +00:00
time.go fix oracle insert datetime (#1873) 2021-03-04 23:40:35 +08:00