Граф коммитов

135 Коммитов

Автор SHA1 Сообщение Дата
Alain Jobart 48189f7bb9 Adding mysql types to go/mysql/proto.
Using them in client2 and diff_utils.
2013-12-20 10:46:06 -08:00
Liang Guo 83d7138532 Fix handling of NULL in mysql row values 2013-12-11 15:05:49 -08:00
Sugu Sougoumarane 1f294e8d10 tests for mysql protos. 2013-10-22 10:01:21 -07:00
Sugu Sougoumarane dd01dafbd8 Simplify bson encode API. 2013-10-18 15:43:26 -07:00
Sugu Sougoumarane 3809d76bc2 Move error constants into mysql package. 2013-09-30 09:35:29 -07:00
Alain Jobart a8bc39e721 Fix DbName case. 2013-09-02 22:55:12 -07:00
Ryszard Szopa 88809ec538 Manually redact password information from logging. 2013-08-06 14:58:51 -07:00
Ryszard Szopa 66cf2567c4 Convert commands to use glog.
Conflicts:
	go/cmd/vtocc/vtocc.go
	go/cmd/vttablet/vttablet.go
2013-08-06 14:58:10 -07:00
Ryszard Szopa cead93c364 Automatic rewrite of relog import paths and calls to use glog.
Commands run:

  find go -name "*.go" | xargs sed --in-place -r 's,"github.com/youtube/vitess/go/relog",log "github.com/golang/glog",g; s,relog.Info,log.Infof,g; s,relog.Warning,log.Warningf,g; s,relog.Error,log.Errorf,g; s,relog.Fatal,log.Fatalf,g; s,relog.Debug,log.V(6).Infof,g'
  find . -name '*.go' -exec gofmt -w {} \;
2013-08-06 14:56:00 -07:00
Ryszard Szopa 0d046a5984 Replace code.google.com with github.com/youtube/vitess. 2013-07-18 18:18:20 -07:00
Alain Jobart 46c1b60448 Adding support for encrypted replication.
LGTM Sugu.
2013-06-13 17:28:44 -07:00
Sugu Sougoumarane edeec1a84f change mysql API to accept string instead of []byte for queries 2013-04-30 13:00:43 -07:00
Sugu Sougoumarane 0313590965 Fix for multi-result. Ensure we pull all data from server on close result. 2013-04-08 15:32:10 -07:00
Sugu Sougoumarane 110c5576eb backdoor for allowing multi statements (no support for multi results yet) 2013-04-05 18:54:38 -07:00
Alain Jobart afaab059e9 Make sure we compile mysql library with 64 bits libraries, otherwise it breaks.
LGTM Sugu.
2013-02-13 13:28:42 -08:00
Ric Szopa ece66e050e Redact away dbconfig password. 2012-11-14 12:53:32 -08:00
Sugu Sougoumarane 169f86c653 enforce strict mode & other misc fixes 2012-11-09 11:54:43 -08:00
Sugu Sougoumarane f677ce365a mysql: tests for QueryResult encoding 2012-11-08 10:26:36 -08:00
Sugu Sougoumarane fb806cf4dc tabletserver: introduce a more formal type system 2012-11-05 14:28:37 -08:00
Ric Szopa fe0272ef1e Use 1 << 20 as a Big Number instead of 1 << 30. 2012-10-11 11:44:31 -07:00
Alain Jobart 1485664c43 Splitting the data structures used in mysql-related RPC into proto submodules.
LGTM Sugu and Mike.
2012-09-24 15:14:48 -07:00
Sugu Sougoumarane 8d927b230b cleaner & more efficient mysql.go 2012-09-17 13:14:17 -07:00
Sugu Sougoumarane 5fe7099d6f standardize on a single way to use mysql 2012-09-13 11:12:27 -07:00
Alain Jobart 90e0a63589 Code clean-up: renaming a few 'self' into variable names,
to follow newer code conventions.

LGTM: Sugu
2012-08-28 16:05:34 -07:00
Alain Jobart 1138c656aa Now using rpcplus package everywhere, and adding support for streaming
mysql queries using a streaming RPC API. Only the go client side is
in here, the python client code will be next.

LGTM by Mike and Sugu over the last couple weeks.
2012-08-27 16:26:06 -07:00
Sugu Sougoumarane e448f50dcf config revamp: convert dbconfig maps to actual structs 2012-08-08 16:11:15 -07:00
Sugu Sougoumarane ca3b52dec2 Make vttablet serve queries and use info from my.cnf 2012-08-02 16:08:50 -07:00
Sugu Sougoumarane e0570f33e8 mysql.go: add library init call for thread safety. 2012-07-11 17:57:03 -07:00
Mike Solomon 898507dd0d fix intermittent segfault under mysql error conditions 2012-07-06 00:33:31 -07:00
Ric Szopa 02115e7048 Change the license notice to be shorter and refer to the license file. 2012-06-07 11:55:06 -07:00
Sugu Sougoumarane 11eb137452 optimzation stage1:
- Cache & reuse field info for selects
- Optimization in QueryBson for reading
- Move the defer closure out of Execute into its own function
- Delete unused execCacheResult
2012-04-24 11:22:23 -07:00
Sugu Sougoumarane e2e3e0ef00 copyright deviolation 2012-04-01 21:58:56 -07:00
Sugu Sougoumarane 69b96741f9 refactor: created new reusable pools package by pulling code out of connection pools. 2012-03-16 17:07:27 -07:00
Sugu Sougoumarane a082e88409 updated to go's new build system and weekly.2012-03-04 2012-03-11 17:53:40 -07:00
Sugu Sougoumarane 72a862e6b3 initial source code check-in. 2012-02-24 23:30:03 -08:00