Raymond Feng
5fec12a00c
Merge pull request #179 from azatoth/zero_datetime
...
Add special handling of zero date/time entries
2016-08-11 09:03:14 -07:00
Loay
07f306e727
Merge pull request #185 from strongloop/eslint/dependencies
...
Update eslint and dependencies
2016-08-10 20:28:39 -04:00
Loay
9c9b61e7dc
Update eslint infrastructure
2016-08-10 20:04:26 -04:00
Ryan Graham
4368b6e1e1
Merge pull request #186 from strongloop/parallel-tests
...
test: use original test db as seed schema
2016-08-10 09:09:51 -07:00
Ryan Graham
2533fe8404
test: use dump of original test DB as seed
2016-08-09 19:14:51 -07:00
Ryan Graham
a798377f98
test: skip cardinality, update sub_part
...
Index cardinality is actually a metric that is based on MySQL analyzing
the table contents, so its value here has more to do with whether the
tests are running against a new table, an old table, or whether it has
any data in it.
The Sub_part field is similarly unimportant for the purposes of these
tests since it refers to indexing internals based on data type and
partial indexing.
See: https://dev.mysql.com/doc/refman/5.5/en/show-index.html
2016-08-09 19:14:51 -07:00
Ryan Graham
3954709bbc
test: accept alternate test db credentials
...
Allow the tests to run on ci.strongloop.com using the credentials that
are given there, but translate them to the form that is used on
cis-jenkins, which is actually the correct format.
2016-08-09 19:00:07 -07:00
Ryan Graham
b1c5516b4c
Merge pull request #184 from strongloop/update-tests-to-current-mysql
...
Update tests to allow concurrency and newer MySQL
2016-08-09 11:27:58 -07:00
Ryan Graham
cb118de2cd
test: use should for easier debugging
2016-08-09 11:25:39 -07:00
Ryan Graham
b965a31f77
test: account for mysql version differences
...
Some of the tests are based on default behaviour of MySQL 5.5 or older
which is not the same as 5.7 out of the box.
2016-08-09 11:25:38 -07:00
Ryan Graham
45491d1d90
test: match case with example/table.sql
2016-08-09 11:25:38 -07:00
Ryan Graham
5a7cac6852
test: separate assertions from test flow control
2016-08-09 11:25:38 -07:00
Ryan Graham
9ad29ddbaa
test: update tests to use example DB
...
Use should.match() so we can use case-insensitve regexp for properties
that change case depending on the server being tested against.
2016-08-09 11:25:38 -07:00
Ryan Graham
acaa6b0bb9
test: seed test DB with example
...
Only run if the environment defines a test database to connect to.
2016-08-08 17:37:09 -07:00
Ryan Graham
ebb6e68f0e
test: fix undefined password
...
If no password is given, '+ password' stringifies to 'undefined', which
generates a URL that has 'undefined' as the password instead of leaving
out the password.
2016-08-05 10:54:21 -07:00
Candy
0fcaa35f52
Merge pull request #178 from strongloop/initial_glob
...
Add globalization
2016-08-04 11:16:46 -04:00
Carl Fürstenberg
1ee79768f2
Add special handling of zero date/time entries
...
Per MySQL docs
(http://dev.mysql.com/doc/refman/5.7/en/date-and-time-types.html ):
"MySQL permits you to store a “zero” value of '0000-00-00' as a
“dummy date.” This is in some cases more convenient than using NULL
values, and uses less data and index space. To disallow '0000-00-00',
enable the NO_ZERO_DATE mode.
“Zero” date or time values used through Connector/ODBC are converted
automatically to NULL because ODBC cannot handle such values."
As we are not using Connector/ODBC we need to handle this ourself.
2016-07-29 14:59:24 +02:00
Candy
b55ae36e79
Add globalization
2016-07-28 17:20:03 -04:00
Ryan Graham
0cb17dc0ab
Update URLs in CONTRIBUTING.md ( #176 )
2016-07-13 17:33:00 -07:00
Simon Ho
1a9568514a
2.3.0
...
* Add function connect (juehou)
* insert/update copyright notices (Ryan Graham)
* relicense as MIT only (Ryan Graham)
* Override other settings if url provided (juehou)
* Add `connectorCapabilities ` (Amir Jafarian)
* Implement ReplaceOrCreate (Amir Jafarian)
2016-06-21 13:58:45 -07:00
Janny
a63765fe7f
Merge pull request #166 from strongloop/feature/lazy-connect
...
Add function connect
2016-05-13 08:41:01 -04:00
juehou
658635e72c
Add function connect
2016-05-12 15:56:48 -04:00
Ryan Graham
340a4eb0f6
insert/update copyright notices
2016-05-03 16:52:03 -07:00
Ryan Graham
c442f572c7
relicense as MIT only
2016-05-03 16:49:23 -07:00
Janny
7f8abbac7f
Merge pull request #156 from strongloop/feature/handle-url-in-config
...
Use url to override other settings if url provided
2016-04-07 11:32:41 +08:00
juehou
12cf967b7b
Override other settings if url provided
...
Handle url in config
Override other settings if url provided
2016-04-06 23:31:23 -04:00
Amir-61
18e05b1365
Merge pull request #157 from strongloop/Add_connectorCapabilities
...
Add `connectorCapabilities `
2016-03-31 15:04:38 -04:00
Amir Jafarian
02e7c57ecd
Add `connectorCapabilities `
2016-03-30 11:53:03 -04:00
Amir-61
fe58c75460
Merge pull request #139 from strongloop/replace
...
Implementation of ReplaceOrCreate - mysql
2016-03-28 17:12:08 -04:00
Miroslav Bajtoš
0f10ccdb37
2.2.1
...
* Remove sl-blip from dependencies (Miroslav Bajtoš)
* Upgrade `should` module (Amir Jafarian)
* removed console.log (cgole)
* seperate env variable for test db (cgole)
* Changed username to user (cgole)
* Added db username password (cgole)
* Add mysql CI host (cgole)
* Refer to licenses with a link (Sam Roberts)
* Pass options to the execute command. (Diogo Correia)
* Use strongloop conventions for licensing (Sam Roberts)
2016-02-19 10:40:12 +01:00
Miroslav Bajtoš
c32155611d
Remove sl-blip from dependencies
2016-02-19 10:31:18 +01:00
Simon Ho
5da176359b
Merge pull request #146 from strongloop/upgrade_should
...
Upgrade `should` module
2016-01-21 13:07:06 -08:00
Amir Jafarian
551856b105
Upgrade `should` module
2016-01-21 15:59:41 -05:00
Amir Jafarian
f572f920a4
Implement ReplaceOrCreate
2016-01-15 19:12:38 -05:00
Chandrika Gole
f4e488a789
Merge pull request #134 from strongloop/add_mysql_ci_host
...
Add mysql CI host
2015-11-20 12:27:23 -08:00
cgole
58850ec24c
removed console.log
2015-11-19 14:57:10 -08:00
cgole
6c3e58f932
seperate env variable for test db
2015-11-18 17:13:06 -08:00
cgole
5d95e03d3f
Changed username to user
2015-11-18 15:07:03 -08:00
cgole
da879ea47f
Added db username password
2015-11-18 14:37:46 -08:00
cgole
f255850382
Add mysql CI host
2015-11-17 13:23:52 -08:00
Sam Roberts
90ca8a5879
Refer to licenses with a link
2015-11-03 12:27:49 -08:00
Raymond Feng
46454f4bee
Merge pull request #128 from devuo/feature/fix-upsert-transaction
...
Fix database transactions not working with upsert()
2015-10-11 12:56:18 -07:00
Diogo Correia
8569c9812a
Pass options to the execute command.
2015-10-11 17:08:25 +01:00
Sam Roberts
b27d1ce32f
Use strongloop conventions for licensing
2015-09-21 16:42:54 -07:00
Raymond Feng
730eaeecb5
2.2.0
...
* Clean up regexop tests (Simon Ho)
* Add regexp operator tests (Simon Ho)
* Fix RegExp unit test setup/teardown (Simon Ho)
* Add support for RegExp operator (Simon Ho)
2015-07-30 11:55:07 -07:00
Simon Ho
33d6b7e855
Merge pull request #117 from strongloop/regex-op-cleanup
...
Clean up regexop tests
2015-07-29 09:48:37 -07:00
Simon Ho
a1d78229f5
Clean up regexop tests
2015-07-29 09:46:51 -07:00
Simon Ho
0f63e7a72e
Merge pull request #116 from strongloop/add-regex-op-tests
...
Add regexp operator tests
2015-07-29 09:39:21 -07:00
Simon Ho
1a8fb3b9fe
Add regexp operator tests
2015-07-29 09:31:24 -07:00
Simon Ho
7e22957469
Merge pull request #115 from strongloop/fix-regex-unit-test-setup
...
Fix RegExp unit test setup/teardown
2015-07-28 18:15:47 -07:00