bfeb0f8a7b
Merge pull request #113 from pingcap/siddontang/in-with-subquery
...
expressions,parser: IN expression uses subquery
2015-09-11 13:54:47 +08:00
6ce10d1a4d
expressions,parser: IN expression uses subquery
2015-09-11 13:45:47 +08:00
fe78877401
Merge pull request #111 from pingcap/siddontang/check-subquery-column
...
check subquery column
2015-09-11 13:32:41 +08:00
6ecc7cccfd
Address comment
2015-09-11 13:28:31 +08:00
e37c62b88d
*: check column in select uniformly
2015-09-11 13:15:01 +08:00
ca163c38f7
expressions: check subquery column count
2015-09-11 13:09:54 +08:00
15eaba81a2
Merge pull request #104 from cznic/master
...
parser/parser.y: S/R conflicts 10->9.
2015-09-11 12:38:26 +08:00
6b23c71efe
Merge pull request #110 from pingcap/siddontang/update-subquery
...
expressions: update subquery
2015-09-11 12:13:30 +08:00
af8d96dff3
Address comment
2015-09-11 11:56:39 +08:00
825bb7c6a3
expressions: update subquery
2015-09-11 11:48:51 +08:00
492bb4f349
Merge pull request #105 from pingcap/coocood/check-args
...
driver: check argument types
2015-09-11 11:18:47 +08:00
f72377cc4e
tidb: checkArgs fix comment syntax.
2015-09-11 11:16:36 +08:00
088288b797
tidb: add comments on checkArgs.
2015-09-11 11:06:17 +08:00
54adce0394
Merge pull request #106 from pingcap/golint-happy
...
tables tests: replace cnt + 1 to cnt++
2015-09-11 10:04:14 +08:00
e1207adb6c
tables tests: replace cnt + 1 to cnt++
...
golint warning
2015-09-11 09:50:53 +08:00
60e5999dd9
driver: check argument types
...
We use mysql.Time internally and time.Time type has not been handled, so when user pass in time.Time type, tidb returns error.
Since we reduced integer types to only 'int', 'int64', 'uint64' recently, all other integer types needs to be converted to int64 or uint64.
Fixes #95
2015-09-11 09:49:01 +08:00
e052e57ef9
parser/parser.y: S/R conflicts 10->9.
2015-09-10 19:48:21 +02:00
6c292141f0
Merge pull request #102 from cznic/master
...
parser/parser.y: S/R conflicts 11->10.
2015-09-10 23:31:31 +08:00
396b0a2bca
Merge pull request #100 from pingcap/coocood/convert
...
util/types, column, expressions: use types.Convert to replace Col.Cas…
2015-09-10 23:30:54 +08:00
9c52952c86
Merge pull request #103 from pingcap/siddontang/row-with-in-expr
...
support row constructor in IN expression
2015-09-10 23:27:13 +08:00
1758d53dc8
Address comment
2015-09-10 23:13:32 +08:00
7c12300baa
utl/types: cast bound to float to compare with float, address comments
2015-09-10 22:54:11 +08:00
80d574bfc4
util/types: unexport method overflow and invConv
2015-09-10 22:29:28 +08:00
0b06ec79ae
parser/parser.y: S/R conflicts 11->10.
2015-09-10 14:45:19 +02:00
74f0095ae3
Merge pull request #101 from pingcap/shenli/fix-interpreter
...
interpreter: Change default dbPath
2015-09-10 20:36:39 +08:00
a36ce20eab
interpreter: Change default dbPath
...
Fit driver changes
2015-09-10 20:29:54 +08:00
e644d9b406
Merge pull request #99 from cznic/master
...
parser/parser.y: Remove ConstraintOpts superfluous production. S/R conflicts 18->11.
2015-09-10 20:16:54 +08:00
8c3e5a28e6
util/types: clean up for golint
2015-09-10 20:14:51 +08:00
a80d131c06
util/types, column, expressions: use types.Convert to replace Col.CastValue
...
The two methods has similar functionality and has complex logic, after this change,
the code base would be easier to maintain.
For `CAST` function, the behaviour is different than the general purpose `types.Convert`,
so I implemented a dedicated function for it.
2015-09-10 20:11:40 +08:00
a6998ebe42
parser/parser.y: S/R conflicts 18->11.
2015-09-10 14:06:45 +02:00
e833a9fadf
Merge pull request #98 from cznic/master
...
parser/parser.y: Remove FieldOpts superfluous production. (S/R conflicts 24->18)
2015-09-10 19:45:16 +08:00
bc95ddd9f5
parser/parser.y: Remove superfluous production of FieldOpts. (S/R conflicts 24->18).
2015-09-10 13:16:10 +02:00
be4ce5b17c
tidb: add row test
2015-09-10 18:43:29 +08:00
2055d891ed
expressions: support row in IN expression
2015-09-10 18:35:03 +08:00
af42efef32
expressions: check with columnNumber
2015-09-10 18:35:03 +08:00
63776c2e76
Merge pull request #92 from pingcap/qiuyesuifeng/decimal-type-index-support
...
Add decimal type codec support.
2015-09-10 18:21:29 +08:00
7929d4bef0
Merge pull request #97 from pingcap/trace-error
...
column: Trace more errors
2015-09-10 18:05:48 +08:00
a5d8981f19
column: Trace more errors
...
We can get error stack
2015-09-10 17:54:05 +08:00
aa3b38a328
Merge pull request #96 from pingcap/shenli/split-uri-dbname
...
tidb: Split datasource name to uri and dbName
2015-09-10 17:48:27 +08:00
4cddb25555
*: Address comments and Update USAGE.md
2015-09-10 17:15:21 +08:00
62b73d29c7
tidb: Split datasource name to uri and dbName
...
The DBName may be different from data path name.
2015-09-10 16:41:12 +08:00
28157c743d
Merge pull request #94 from pingcap/ngaut/re-fmt
...
txn: Using %q to format key and value
2015-09-10 15:24:56 +08:00
038ab131b1
util/codec: address comment.
2015-09-10 15:18:02 +08:00
b540a5a2fd
txn: Using %q to format key and value
...
since key and value could be binary
2015-09-10 15:17:06 +08:00
2a72346857
util/codec: address comments.
2015-09-10 14:58:23 +08:00
98b6c57ce9
Merge pull request #93 from pingcap/siddontang/check-one-column
...
select check one column
2015-09-10 14:37:44 +08:00
5d0d30d642
util/codec: fix a bug for decimal encoding and add more tests.
...
fix bug.
2015-09-10 14:06:28 +08:00
285b8c0739
rset: fix make check
2015-09-10 13:58:55 +08:00
c624e18c96
stmts: add invalid row test in select
2015-09-10 13:54:40 +08:00
a15f22731b
rsets: check row is not in group by, order by and having
2015-09-10 13:53:09 +08:00