xorm/dialects
Andrew Thornton f8c91ec4a3 Correct default detection in MariaDB >= 10.2.7 (#1778)
try again ci

Signed-off-by: Andrew Thornton <art27@cantab.net>

try again ci

Signed-off-by: Andrew Thornton <art27@cantab.net>

tidy up appearance of the alreadyQuoted SQL string

Signed-off-by: Andrew Thornton <art27@cantab.net>

Merge remote-tracking branch 'origin/master' into fix-defaults-sync2-mysql

Try MariaDB 10.4

Signed-off-by: Andrew Thornton <art27@cantab.net>

fix drone

Signed-off-by: Andrew Thornton <art27@cantab.net>

Correct default detection in MariaDB >= 10.2.7

MariaDB in version 10.2.7 changed the reporting of COLUMN_DEFAULT in
INFORMATION_SCHEMA.COLUMNS to quote string values.

This PR adds a version detection test to the columns query.

References: https://jira.mariadb.org/browse/MDEV-13132
References: https://jira.mariadb.org/browse/MDEV-15390

Signed-off-by: Andrew Thornton <art27@cantab.net>

Reviewed-on: https://gitea.com/xorm/xorm/pulls/1778
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-09-02 12:37:16 +00:00
..
dialect.go Move column string to standalone method (#1633) 2020-03-26 12:01:28 +00: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 Add params for mssql to allow redefine varchar as nvarchar or char as nchar (#1741) 2020-07-18 08:01:27 +00: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 Correct default detection in MariaDB >= 10.2.7 (#1778) 2020-09-02 12:37:16 +00: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 Move all integrations tests to a standalone sub package (#1635) 2020-03-27 07:13:04 +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 name parsing in SQLite dialect (#1737) 2020-07-09 08:26:18 +00: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 Improve dialect interface (#1578) 2020-03-07 08:51:30 +00:00