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

Quick fixes in mysqlReScanForeignScan #3

Merged
merged 2 commits into from
Apr 15, 2012

Conversation

joshwilliams
Copy link
Contributor

Not sure why the rescan was getting hit before the iterate function that would have initialised it, but without that test it was causing a segfault.

Josh Williams added 2 commits April 11, 2012 15:11
mysql_row_seek() expects a MYSQL_ROW_OFFSET object rather than the
(first) row index number we were giving it.  Use mysql_data_seek()
instead.
If we run as the inner node of a nested loop mysqlReScanForeignScan
may be called first, prior to the result being initialized, causing a
segfault in the back end.  There's nothing to be done in that case
anyway, so just ignore it.
dpage added a commit that referenced this pull request Apr 15, 2012
Quick fixes in mysqlReScanForeignScan
@dpage dpage merged commit 707cc23 into EnterpriseDB:master Apr 15, 2012
@dpage dpage mentioned this pull request Mar 26, 2013
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.

None yet

2 participants