vitess-gh/go
Mark Caudill 53949d3da7 add support for DEFAULT in insert statements for sequences to the query planner
This will treat DEFAULT as "null" for the purposes of sequences when
running insert statements. This matches with MySQL's documented
behavior and observed resulted.

See for more information:
https://dev.mysql.com/doc/refman/8.0/en/data-type-defaults.html

Signed-off-by: Mark Caudill <mark@sharpspring.com>
2019-10-11 16:46:22 -04:00
..
acl staticcheck: packages/files missed during first pass 2019-03-07 11:51:31 -08:00
bucketpool Improve the quality of the documents 2019-09-27 16:03:33 +08:00
bytes2 Use the import () way 2019-02-12 13:26:59 -05:00
cache make vtgate query_plans endpoint return json; also fix comment typos 2019-08-21 10:41:02 -04:00
cacheservice update cacheservice Using var block (#4906) 2019-06-06 12:51:24 -07:00
cmd fix: add some error handling. 2019-09-28 13:10:37 +08:00
event fix some spelling mistakes 2019-09-27 11:15:31 +08:00
exit Factor out glog references for ease of dropping in an adapter to a different logging library. 2018-04-20 19:40:15 -07:00
fileutil Fixed more golint issues, mainly fixing comments. 2017-10-22 17:24:48 -07:00
flagutil Add error handling for parsing StringMapValues instead of panicking (#4912) 2019-06-06 12:48:18 -07:00
hack codegen: use strings.Builder instead of hack 2019-02-17 15:00:50 -08:00
history
ioutil2 Fixed more golint issues, mainly fixing comments. 2017-10-22 17:24:48 -07:00
json2 Rewrite imports to new custom URL. 2018-02-27 12:00:33 -08:00
jsonutil add jsonutil package to implement MarshalNoEscape 2017-09-11 08:52:00 -07:00
memcache fix some grammar issues 2019-04-15 22:43:28 +08:00
mysql minor 2019-10-02 12:23:16 -07:00
netutil fix spelling mistake 2019-08-23 13:33:42 +08:00
pools Track number of times pool had zero available slots 2019-09-12 15:30:06 -04:00
proc staticcheck: packages/files missed during first pass 2019-03-07 11:51:31 -08:00
race
ratelimiter staticcheck: packages/files missed during first pass 2019-03-07 11:51:31 -08:00
sqlescape Move sqlparser.Backtick to new package, "sqlescape" 2017-10-04 18:11:38 +02:00
sqltypes Merge pull request #5186 from planetscale/rk-newmult 2019-10-05 08:04:01 -07:00
stats fix some spelling mistakes 2019-09-26 17:06:20 +08:00
streamlog rename FilterTag to QueryLogFilterTag for consistency and clarity 2019-05-31 12:23:43 -07:00
sync2 fix some spelling mistakes 2019-09-26 17:06:20 +08:00
tb
testfiles Reduce the number of unit tests that require VTROOT by moving testdata closer to the tests 2019-01-23 19:28:54 -08:00
timer staticcheck: packages/files missed during first pass 2019-03-07 11:51:31 -08:00
trace Merge pull request #5259 from systay/tiny-refactoring 2019-10-05 07:36:43 -07:00
vt add support for DEFAULT in insert statements for sequences to the query planner 2019-10-11 16:46:22 -04:00
vtbench fix: add some error handling. 2019-09-28 13:10:37 +08:00
zk/zkctl Adding temporary link so travis passes. 2017-12-14 07:46:16 -08:00
README.md Change http to https for security links 2019-02-16 12:41:48 +07:00

README.md

This directory contains all the Go code for Vitess.

Most of the packages at the top level are general-purpose and are suitable for use outside Vitess. Packages that are specific to Vitess are in the vt subdirectory. Binaries are in the cmd subdirectory.

Please see GoDoc for a listing of the packages and their purposes.

vt/proto contains the compiled protos for go, one per each directory. When importing these protos (for instance XXX.proto), we rename them on import to XXXpb. For instance:

import (
    topodatapb "vitess.io/vitess/go/vt/proto/topodata"
)