Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird SQL statement #6

Open
HZ89 opened this issue Nov 27, 2017 · 0 comments
Open

Weird SQL statement #6

HZ89 opened this issue Nov 27, 2017 · 0 comments
Labels

Comments

@HZ89
Copy link
Owner

HZ89 commented Nov 27, 2017

verison:0.2.3
log:

Nov 27 15:06:01 [27156]: (/home/harrison/Dropbox/project/go_path/src/github.com/HZ89/djob/store/store.go:746)
Nov 27 15:06:01 [27156]: [2017-11-27 15:06:01]  [10.45ms]  SELECT * FROM `executions`  WHERE `executions`.`name` = 'test1' AND `executions`.`region` = 'idc' AND `executions`.`group` = '0' AND `executions`.`run_node_name` = '' AND ((`name` = 'test1') AND (`region` = 'idc')) ORDER BY `executions`.`name` ASC LIMIT 1

When insert executions into databases, it will execution this sql, may be AND ((name = 'test1') AND (region = 'idc')) is superfluous

@HZ89 HZ89 added the bug label Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant