Skip to content

Fix 'exactly once' MySQL execution error#57

Merged
MeirShpilraien merged 3 commits intoRedisGears:masterfrom
shankai:master
May 23, 2021
Merged

Fix 'exactly once' MySQL execution error#57
MeirShpilraien merged 3 commits intoRedisGears:masterfrom
shankai:master

Conversation

@shankai
Copy link
Copy Markdown
Contributor

@shankai shankai commented Apr 27, 2021

No description provided.

Comment thread rgsync/Connectors/sql_connectors.py Outdated
self.delQuery = 'delete from %s where %s=:%s' % (self.tableName, self.pk, self.pk)
if self.exactlyOnceTableName is not None:
self.exactlyOnceQuery = GetUpdateQuery(self.exactlyOnceTableName, {'val', 'val'}, 'id')
self.exactlyOnceQuery = GetUpdateQuery(self.exactlyOnceTableName, {'val': 'val'}, 'id')
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch 👍

Copy link
Copy Markdown

@MeirShpilraien MeirShpilraien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @shankai
Small question...

Comment thread rgsync/Connectors/sql_connectors.py
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 23, 2021

CLA assistant check
All committers have signed the CLA.

@MeirShpilraien
Copy link
Copy Markdown

@shankai can you sign the CLA?

@shankai
Copy link
Copy Markdown
Contributor Author

shankai commented May 23, 2021

@shankai can you sign the CLA?

OK, I've signed it.

@MeirShpilraien MeirShpilraien merged commit 537ea77 into RedisGears:master May 23, 2021
@MeirShpilraien
Copy link
Copy Markdown

Thanks @shankai

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants