Lunny Xiao
fd26f415ca
Add test for mysql tls ( #2049 )
...
Fix #1495
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2049
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-09-17 18:47:30 +08:00
Lunny Xiao
c29b9649a9
Add dameng support ( #2007 )
...
driver: https://gitee.com/travelliu/dm
docker: https://download.dameng.com/eco/dm8/dm8_docker.tar
fix #1837
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2007
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-08-24 13:46:08 +08:00
Lunny Xiao
0b3cc25a10
Add pgx driver support ( #1795 )
...
Fix #858
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1795
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-08-05 14:04:11 +08:00
Lunny Xiao
eb6d3b1637
Make drone faster ( #2008 )
...
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2008
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-07-28 11:41:58 +08:00
Lunny Xiao
cbc40dfe5c
Add release tag ( #1966 )
...
as title
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1966
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-07-04 18:19:46 +08:00
Lunny Xiao
8f8195a86b
Improve get field value of bean ( #1961 )
...
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1961
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-06-29 14:32:29 +08:00
Lunny Xiao
5b624ed051
Fix drone ( #1946 )
...
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1946
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-06-12 10:47:31 +08:00
Lunny Xiao
083ab38ea0
disable unnecessary clone ( #1945 )
...
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1945
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-06-10 21:09:01 +08:00
Lunny Xiao
eda6fefba3
Remove mymysql from ci ( #1928 )
...
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1928
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-06-08 21:41:13 +08:00
Lunny Xiao
b92d951eac
Fix drone ( #1842 )
...
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1842
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-04-10 09:45:18 +08:00
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
appleboy
fe3bc3851e
chore: enable fmt check ( #1742 )
...
chore: enable fmt check
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1742
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-07-21 04:36:55 +00:00
Lunny Xiao
318102c9ff
Add params for mssql to allow redefine varchar as nvarchar or char as nchar ( #1741 )
...
Update drone test for mssql nvarchar
Add params for mssql to allow redefine varchar as nvarchar or char as nchar
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1741
2020-07-18 08:01:27 +00:00
Lunny Xiao
79bdda3cf1
Move all integrations tests to a standalone sub package ( #1635 )
...
Fix vet
Remove unused files
Move all integrations tests to a standalone sub package
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1635
2020-03-27 07:13:04 +00:00
Lunny Xiao
7455014823
Improve quote policy ( #1567 )
...
names with upper charactor on postgres will need quotes
Fix bug
Add new quote parameter on tests
Fix bug
Fix tests
Fix quotes
fix test
Improve quote policy
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1567
2020-03-06 07:48:32 +00:00
Lunny Xiao
f51d28304a
Move some codes to statement sub package ( #1574 )
...
revert change for delete
refactor new engine
fix tests
Move some codes to statement sub package
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1574
2020-03-06 06:43:49 +00:00
Lunny Xiao
b079bc05ff
Add cockroach support and tests ( #896 )
...
Fix tests
fix some tests and ignore some
Add &experimental_serial_normalization=sql_sequence on test so that id will increase from 1
fix drone
Fix drone
Fix drone
Fix drone
Remove space
Add makefile
fix drone
fix drone
fix drone
update
fix tests
use sql_sequence when testing
fix postgres ci
fix circle ci for cockroach
upgrade cockroach version
add trace on error
add drone ci
run cockroach background
run cockroach backround
run cockroach backround
fix test
fix run cockroach
add cockroach test to circleci
add cockroach support
Add tests for table name (#1...
Reviewed-on: https://gitea.com/xorm/xorm/pulls/896
2020-03-03 08:19:32 +00:00
Lunny Xiao
29c93926a7
Add minial go version go1.11 check on drone ( #1560 )
...
Add minial go version go1.11 check on drone
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1560
2020-02-28 00:01:46 +00:00
Lunny Xiao
e2f9100419
Move tag parser related codes as a standalone sub package ( #1547 )
...
Fix sliceEq
fix tests
Move tag parser related codes as a standalone sub package
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1547
2020-02-27 03:58:31 +00:00
Lunny Xiao
aa522f7d98
Improve code ( #1552 )
...
Change filters
Fix test
add more tests on drone
add more tests on drone
Improve code
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1552
2020-02-27 03:33:40 +00:00
Lunny Xiao
35b2813796
Add test for mysql8.0 ( #1538 )
...
Fix pk order on test
Add test for mysql8.0
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1538
2020-02-21 10:07:08 +00:00
Lunny Xiao
83ec880ee2
Improve drone ( #1537 )
...
Fix drone
Improve drone
* use traditional positional parameters on inser...
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1537
2020-02-21 06:40:24 +00:00
Lunny Xiao
22aef2cd32
Add makefile ( #1531 )
...
Fix drone
Fix ci
Add deps
Improve drone
Fix envs
Add makefile
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1531
2020-02-21 01:38:47 +00:00
Lunny Xiao
bc9947c62b
Add password for postgres drone image ( #1530 )
...
Add password for postgres drone image
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1530
2020-02-20 09:52:49 +00:00
Lunny Xiao
20f3d68709
fix vet
2020-01-19 16:28:52 +08:00
Lunny Xiao
4b28371f5f
fix drone lint
2020-01-19 16:23:40 +08:00
Lunny Xiao
e6295a7c61
remove go1.10 test on drone
2020-01-19 16:21:53 +08:00
Lunny Xiao
a63a26eb20
Improve ci tests ( #1477 )
2019-11-13 05:54:10 +00:00
Lunny Xiao
0090e33224
Fix go mod and update version ( #1460 )
2019-10-16 06:55:10 +00:00
Lunny Xiao
b81aa40128
Move github.com/go-xorm/xorm to xorm.io/xorm ( #1459 )
2019-10-15 05:15:41 +00:00
Lunny Xiao
db25dfc84e
add tidb tests on drone ci ( #1444 )
2019-09-30 20:42:31 +08:00
Lunny Xiao
3f2ca6e741
add go1.13 tests on drone ( #1416 )
2019-09-26 11:01:55 +08:00
Lunny Xiao
76ca740a62
Add mssql ci test ( #1410 )
...
* add mssql ci test
* fix drone test
2019-09-04 12:33:44 +08:00
Lunny Xiao
b78ac8ce0a
Use drone new format ( #1388 )
...
* use drone new format
2019-08-14 23:46:40 +08:00
Lunny Xiao
2ad174c078
update drone ( #1374 )
2019-07-30 15:31:23 +08:00
Lunny Xiao
c9b14f9487
move depends package from github.com to customize domain ( #1327 )
2019-06-17 13:38:13 +08:00
Lunny Xiao
3c5e41a5bf
add mysql utf8mb4 tests ( #1120 )
2018-10-18 20:15:27 +08:00
Lunny Xiao
3e8290cc94
Add drone ci ( #1092 )
...
* add drone ci
* add db tests on drone
* fix drone
* update drone
* fix drone config
* improve drone ci
* improve postgres
* update mymysql drone config
* comment codecov on drone ci
2018-10-08 16:53:36 +08:00