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

10808 Коммитов

Автор SHA1 Сообщение Дата
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
Andres Taylor f645c11a39
Merge pull request #5258 from tanjunchen/fix-up-code-bug
avoid having to escape twice in go/vt/vtgate/plugin_mysql_server.go file
2019-10-07 15:17:08 +02:00
tanjunchen d78c433980 avoid having to escape twice
Signed-off-by: tanjunchen <2799194073@qq.com>
2019-10-07 20:30:49 +08:00
Andres Taylor 8ab3311ecf
Merge pull request #5270 from planetscale/ss-revert-flag
Revert "Merge pull request #5203 from systay/never-master"
2019-10-07 05:59:45 +02:00
Sugu Sougoumarane c1dcd4badb Revert "Merge pull request #5203 from systay/never-master"
This reverts commit 2731866eac, reversing
changes made to 698935b636.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-10-06 13:11:54 -07:00
tanjunchen 23c7c6ee70 fix-up some spelling mistakes
Signed-off-by: tanjunchen <2799194073@qq.com>
2019-10-06 11:59:43 +08:00
Sugu Sougoumarane 2731866eac
Merge pull request #5203 from systay/never-master
Add startup argument to stop tablet from reparent
2019-10-05 11:05:10 -07:00
Sugu Sougoumarane 698935b636
Merge pull request #5248 from tanjunchen/clean-up-document
fix up word spelling mistakes
2019-10-05 11:03:45 -07:00
Sugu Sougoumarane cc467ac08b
Merge pull request #5186 from planetscale/rk-newmult
Multiplication operation expression
2019-10-05 08:04:01 -07:00
Sugu Sougoumarane b93263aec4
Merge pull request #5232 from beautytiger/dev-190926-fatalf
move t.Fatalf into same goroutine in vtworkerclienttest
2019-10-05 07:58:14 -07:00
Sugu Sougoumarane 64aac0390f
Merge pull request #5241 from hwdef/add-error-handling
fix: add some error handling.
2019-10-05 07:48:04 -07:00
Sugu Sougoumarane 477d8d47db
Merge pull request #5259 from systay/tiny-refactoring
Make StatementType a type alias instead of an int
2019-10-05 07:36:43 -07:00
Nitin Shatma a6c53fd030 minor-changes
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 21:28:01 -07:00
Nitin Shatma d93239c76e proto-changes
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 18:51:16 -07:00
Nitin Shatma 84d6205c64 address-review-feedback
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 17:38:41 -07:00
Nitin Shatma 6ee9ce3e65 address-review-feedback
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 15:26:17 -07:00
Nitin Shatma b6a41fe6e6 address-review-feedback
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 15:22:43 -07:00
Nitin Shatma 14d18cc5cb minor-cleanup
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:49:54 -07:00
Nitin Shatma 097744730f rebase
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:26:19 -07:00
Nitin Shatma 59bb792b51 add-type-equivalence
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:23:17 -07:00
Nitin Shatma 4ee1527009 fix-test
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:23:17 -07:00
Nitin Shatma df4ce5f294 test
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:23:17 -07:00
Nitin Shatma 513c7f4414 test
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:23:16 -07:00
Nitin Shatma fe59f7b882 minor
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:23:16 -07:00
Nitin Shatma a4ce7d81e0 add-missing-type-mapping
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:23:16 -07:00
Nitin Shatma b736b17924 review-feedback
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:23:16 -07:00
Nitin Shatma 34c595d6e9 minor-cleanup
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:23:16 -07:00
Nitin Shatma b912811977 vstream optional field event
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:23:16 -07:00
Andres Taylor f0cfd16670 Make StatementType a type alias instead of an int
Signed-off-by: Andres Taylor <antaylor@squareup.com>
2019-10-02 06:17:29 +02:00
Deepthi Sigireddi 169331a63f
Merge pull request #5254 from planetscale/ds-fix-restore-crashloop
Don't abort restore if master is unreachable
2019-10-01 14:43:49 -07:00
deepthi 1e1ef87cfd cleanup per review comments
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-01 12:34:44 -07:00
tanjunchen b34443bdb1 simplified code
Signed-off-by: tanjunchen <2799194073@qq.com>
2019-10-01 12:05:26 +08:00
deepthi e6c4a09906 implement delay between retries of attempting to get mysql slave status, add unit test
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-09-30 18:10:56 -07:00
deepthi 0d1ebf0374 Don't abort restore if master is unreachable
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-09-30 15:13:26 -07:00
tanjunchen 83c9078cb9 fix-up the wrong words
Signed-off-by: tanjunchen <2799194073@qq.com>
2019-09-29 22:13:47 +08:00
hwdef e56de26247 fix: add some error handling.
Signed-off-by: hwdef <hwdef97@gmail.com>
2019-09-28 13:10:37 +08:00
Sugu Sougoumarane 15c51d388c
Merge pull request #5247 from tanjunchen/improve-document
improve some spelling mistakes
2019-09-27 10:30:02 -07:00
Sugu Sougoumarane e8b05e6e86
Merge pull request #5244 from planetscale/topo-watcher-race
topology_watcher: Allow tablets to reuse old tablet addresses.
2019-09-27 10:29:22 -07:00
Guangming Wang 59a296af10 send to errchan anyway to cancel race
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-09-27 22:07:01 +08:00
chentanjun 3699dc3653 improve some spelling mistakes
Signed-off-by: chentanjun <2799194073@qq.com>
2019-09-27 21:59:04 +08:00
Sugu Sougoumarane 7c72f47da8
Merge pull request #5242 from hwdef/fix-typo1
fix some spelling mistakes
2019-09-27 06:46:38 -07:00
yuxiaobo e47d73a6d9 Improve the quality of the documents
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-09-27 16:03:33 +08:00
Guangming Wang abcc880fbb close blocked chan before return
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-09-27 15:28:02 +08:00
Guangming Wang 87df14a41e move t.Fatalf into same goroutine in vtworkerclienttest
format code

remove duplicated wg.Done

Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-09-27 12:56:26 +08:00
Anthony Yeh 3296bfe9b3 topology_watcher: Allow tablets to reuse old tablet addresses.
Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2019-09-26 21:25:47 -07:00
hwdef 28abeb0985 fix some spelling mistakes
Signed-off-by: hwdef <hwdef97@gmail.com>
2019-09-27 11:15:31 +08:00
Sugu Sougoumarane eb2c7e2453
Merge pull request #5234 from planetscale/ds-gen-proto
update generated files
2019-09-26 14:15:09 -07:00
Sugu Sougoumarane bd0806eac9
Merge pull request #5219 from planetscale/sa-5201
Add support for COM_RESET_CONNECTION
2019-09-26 13:57:07 -07:00
deepthi 37d3165941 update generated files
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-09-26 11:51:10 -07:00
Sugu Sougoumarane 4b54065e2a
Merge pull request #5233 from drogart/drogart-change-bad-handshake-logging-to-info
Change bad client handshake logging from err to info.
2019-09-26 10:07:26 -07:00