43de228e84
*: Address comments
2015-10-26 21:46:29 +08:00
2003c6eb4b
*: Bind autocommit checker to ctx.
2015-10-26 21:21:37 +08:00
ad0241e5ac
*: Address comment
2015-10-26 16:31:07 +08:00
407d99967e
*: Refactor some code to support global system variable.
2015-10-26 14:35:06 +08:00
5f2167a5d9
*: Get/Set global sys var from/to kv store.
2015-10-25 22:38:28 +08:00
29369dba8f
*: Rename mysqldef to mysql
2015-10-19 16:26:43 +08:00
83fa8f8d4f
*: Address comment
2015-10-16 12:26:10 +08:00
48976af41c
*: Address comments
2015-10-16 10:04:49 +08:00
67081336f2
tidb: Address comments
2015-10-15 23:07:36 +08:00
a8779d8d52
*: Address comment
2015-10-15 22:50:55 +08:00
207ba2f1f3
*: Add sql helper to make operations on meta table easier.
2015-10-15 17:17:04 +08:00
948fa8bc2b
*: Avoid store plaintext password in mysql.user table.
...
Store hashed password.
2015-10-04 22:31:37 +08:00
be44e4a286
*: Introduce schema version
...
Make schema change to an atomic operation.
2015-09-24 17:28:34 +08:00
8b264f9427
Modify ddl tests
2015-09-24 17:28:34 +08:00
f9e400d4b3
builtin: Support User() and Current_User()
2015-09-23 11:02:45 +08:00
036796ea9f
*: Address comment
...
log error in session.Auth()
2015-09-22 11:41:23 +08:00
25126e946a
*: Address comments
...
1. Address comments
2. Set ci hosts
2015-09-22 10:30:56 +08:00
59af4ac591
*: Support basic auth for tidb-server
...
Use password to auth user.
2015-09-22 00:24:43 +08:00
92e40e29b8
*: WIP add Auth interface for Session
2015-09-21 18:31:26 +08:00
e7d2bff9f1
*: Move bootstrap to CreateSession
...
Bootstrap should be done for both tidb-server and embedded mode.
2015-09-21 15:34:52 +08:00
1bd9a1e740
*: rename SetStatus to SetStatusFlag
2015-09-17 16:47:53 +08:00
85e7c6e1dc
tidb: rename SetStatusInTrans to SetStatus
2015-09-17 16:08:46 +08:00
6ab4f8b64c
tidb: add autocommit judgment and test
2015-09-17 09:40:50 +08:00
127b0fba0e
*: clean up and update test
2015-09-16 17:40:47 +08:00
ee2a4cb93c
tidb: fix a bug
2015-09-16 10:36:23 +08:00
b435e3e7e1
tidb: update format
2015-09-15 18:58:52 +08:00
c745049abf
tidb: fix a bug and update test
2015-09-15 18:53:40 +08:00
f4ecd30008
makefile, session: tiny clean up and fix a golint check.
2015-09-13 22:56:00 +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
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
b540a5a2fd
txn: Using %q to format key and value
...
since key and value could be binary
2015-09-10 15:17:06 +08:00
ccef9934ab
Fix auto import
2015-09-09 18:33:02 +08:00
023d3bdb85
Session: clean up
...
Remove unused methods
2015-09-09 17:25:41 +08:00
042ba3b3cf
session: fix reset and clean up
...
Fix add unique key
2015-09-09 15:27:35 +08:00
9827f6c18d
Session: Clean up
...
Reset statement history
2015-09-09 13:34:16 +08:00
2342cfc107
session: Check if select for update statement
...
Make sure we do not retry "select for update statement"
2015-09-09 12:15:09 +08:00
7c24e9d7e8
session: Experimental transaction retry
...
Support query like: set a=a+1
2015-09-09 12:15:09 +08:00
1e4cdb813f
*: update QL-LICENSE and STRUTIL-LICENSE.
2015-09-08 19:25:50 +08:00
f87692e639
Merge pull request #46 from pingcap/c4pt0r/fix-copyright-infringement
...
c4pt0r/fix copyright infringement
2015-09-08 13:57:41 +08:00
6042380cd0
tidb: fix string() panic if txn is nil
2015-09-08 10:17:19 +08:00
4ca7ca7e5b
tidb, column, table, table/tables: fix-copyright-infringement.
2015-09-07 09:15:16 -04:00
cd01fa1dc4
tidb: Convert bool type prepared statement args to int8
...
We handle bool as int8 in tidb.
2015-09-07 18:36:46 +08:00
8bd63a4d12
parser: Change syntax error log
...
Make syntax log easy to read.
https://github.com/pingcap/tidb/issues/25
2015-09-07 12:02:21 +08:00
0d6f270068
Add files
2015-09-06 12:08:47 +08:00