dgsan
9291cbafdc
Resolves issues #31 , #15 .
2013-05-30 13:43:01 -07:00
Anatoliy Chakkaev
141bf6394c
Merge pull request #29 from fallanic/master
...
Typo in require statement
2013-04-30 11:48:18 -07:00
Fabien Allanic
efb8237819
Fixed typo in the require statement
2013-04-30 11:04:57 -07:00
Anatoliy Chakkaev
4612ba275d
0.0.1-6
2013-04-22 08:41:41 +04:00
Anatoliy Chakkaev
6c5666e23e
Add checking for undefined in buildWhere
2013-04-22 08:40:12 +04:00
Anatoliy Chakkaev
400614a8c9
Fix injection
2013-04-18 22:58:21 +04:00
dgsan
97e1b7eef0
Merge pull request #25 from dgsan/master
...
Fixes #21 , changes word for offset to 'skip' to match JDB core.
2013-04-18 09:13:08 -07:00
dgsan
d7112909eb
Fixes #21
...
Changed param for using offset with limit to 'skip' so as to match JDB core.
(Unit test to be pushed to JDB core.)
2013-04-18 09:11:03 -07:00
dgsan
a54dd29c43
Merge pull request #24 from dgsan/master
...
Since there's no timeout param to mocha test frequently fail somewhat randomly. Default timeout to 15000, which consistently passes on my system, whereas the default 2000 fails every time.
2013-04-18 08:43:05 -07:00
dgsan
8921b54a1a
On slower systems the lack of a timeout argument to mocha makes some tests fail after 2 seconds.
...
At least on my rather sad dev box many mysql ops (particularly creating tables) can take quite a bit longer than 2 seconds. Accordingly I've added the moch '--timeout' parameter and set it to 15000, which seems to pass consistently on my dev box.
2013-04-18 08:35:56 -07:00
Anatoliy Chakkaev
25b8cc8029
Merge pull request #23 from gierschv/master
...
Handle undefined when altering tables
2013-04-18 07:35:35 -07:00
Vincent Giersch
fa617dc35f
Mistake in an undefined check
2013-04-18 15:57:56 +02:00
Vincent Giersch
1bae8a8062
Handle undefined when altering tables
2013-04-18 13:20:05 +02:00
Anatoliy Chakkaev
5f007eabc0
Ignore getSchema globa leak
2013-04-08 02:06:28 +04:00
Anatoliy Chakkaev
e2d41d3dd3
Mass-runner friednly test
2013-04-08 02:00:16 +04:00
Anatoliy Chakkaev
b6f0c2cfc8
Split test cases
2013-04-08 01:53:55 +04:00
Anatoliy Chakkaev
cd3d2859cb
Added coverage to gitignore
2013-04-07 17:59:45 +04:00
Anatoliy Chakkaev
ce6e7bf794
merge
2013-04-06 14:37:14 +04:00
Anatoliy Chakkaev
e9eb9376fe
Handle undefined and boolean
2013-04-06 14:36:32 +04:00
Anatoliy Chakkaev
de227f5f35
Merge pull request #16 from codebudo/master
...
Dependent JugglingDB version in package.json
2013-04-03 10:44:38 -07:00
S. Mikkel Wilson
8431ad4aef
Specify required jugglingdb version.
2013-04-03 10:39:05 -07:00
Anatoliy Chakkaev
1f31c86169
0.0.1-5
2013-04-03 19:33:55 +04:00
Anatoliy Chakkaev
f4a75f28c1
Upd node version for travis
2013-03-27 20:32:13 +04:00
Anatoliy Chakkaev
cd0018f3a5
Upd test runner
2013-03-27 18:15:23 +04:00
Anatoliy Chakkaev
4302a125ef
Fix undefined handling
2013-03-27 04:38:18 +04:00
Anatoliy Chakkaev
9f063c13c5
Moved to mocha
2013-03-27 04:37:13 +04:00
Anatoliy Chakkaev
f2b34378ae
FIx tests
2013-03-07 03:14:41 +08:00
Anatoliy Chakkaev
70096afd1b
Upd package and README
2013-03-07 03:10:20 +08:00
Anatoliy Chakkaev
cfdd519f32
Update package.json
2013-03-07 02:49:06 +07:00
Anatoliy Chakkaev
5083c855a8
0.0.1-4
2013-02-22 01:26:13 +07:00
Anatoliy Chakkaev
da973b56c9
Proper Point type registration
2013-02-22 01:25:15 +07:00
Anatoliy Chakkaev
ec6d6e7572
Set User table name and fix test for migrations
2013-02-16 23:09:20 +08:00
dgsan
b15aa88681
Made additional bug-fix changes as noted in comments previously, however while I'm fairly certain the changes are correct, not as sure about how to test. I kind of wonder if changing the USING clause even needs to be supported.
2013-02-14 14:05:49 -07:00
dgsan
25202bd455
Semicolon consistency.
2013-02-14 09:52:00 -07:00
dgsan
ac8f882175
This adds support for indexes to automigrate() and adds a check for the indexes existence to the migration.coffee 'should run migration' test.
...
All unit tests continue to pass. The code snippets for adding indexes are the declarative versions of the methods used in alterTable(), so the indexes should be consistant with previous declarations/additions.
Should resolve bug #5 .
As a side node, also removed the 'UNIQUE' clause from the `id` declaration as it is redundant with the 'PRIMARY KEY' declaration so far as I'm aware and results in what seems to be a second index getting maintained for no reason. (If I'm wrong about this I'd be intrested in the explanation. MySQL does have a lot of oddities.)
2013-02-14 09:37:32 -07:00
Anatoliy Chakkaev
73807276bc
Updated deps
2013-02-12 17:10:15 +08:00
Anatoliy Chakkaev
80cae2d14f
0.0.1-2
2013-02-10 05:07:15 +08:00
Anatoliy Chakkaev
ad96800c64
Merge pull request #6 from zxqfox/patch-1
...
Fixup mistyped regexp
2013-02-06 00:17:24 -08:00
Alex Yaroshevich
5a7a30acdd
Fixup mistyped regexp
...
There is no «Unknown database 'dbname'» but «ER_BAD_DB_ERROR: Unknown database 'dbname'»
2013-02-04 06:03:46 +04:00
Anatoliy Chakkaev
035a8e8bac
Merge branch 'master' of github.com:1602/jugglingdb-mysql
2013-01-30 22:17:12 +07:00
Anatoliy Chakkaev
8c2781a214
0.0.1-1
2013-01-30 22:15:52 +07:00
Anatoliy Chakkaev
718b7fd320
Specify adapter name
2013-01-30 22:15:32 +07:00
Anatoliy Chakkaev
65a0baa633
Listen for error on connection, close #4
2013-01-30 22:15:18 +07:00
Anatoliy Chakkaev
a64c70dca2
Merge pull request #3 from hsujian/patch-1
...
rename PostgreSQL as MySQL in README
2012-12-25 01:28:23 -08:00
hsujian
38ec874f89
rename PostgreSQL as MySQL in README
2012-12-25 16:29:09 +08:00
Anatoliy Chakkaev
1c8194a7ce
Merge pull request #2 from sdrdis/master
...
Added support for include key
2012-12-16 16:39:19 -08:00
Anatoliy Chakkaev
6366736b02
Merge pull request #1 from saschagehlich/additional_types
...
add additional Point type to the schema
2012-12-16 10:09:07 -08:00
Sébastien Drouyer
7a69062f47
added support for include key
2012-12-16 18:57:39 +01:00
Sascha Gehlich
d433ba7efe
add additional Point type to the schema
2012-12-16 14:27:30 +01:00
Anatoliy Chakkaev
e78fab6f5b
Additonal test case
2012-12-15 00:09:42 +04:00