Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #3 from joshwilliams/fix_only

Quick fixes in mysqlReScanForeignScan
  • Loading branch information...
commit 707cc23310cdb3c04ee54b996f0a2d9e14d66756 2 parents 07e3224 + 7bcf32c
Dave Page dpage authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 mysql_fdw.c
5 mysql_fdw.c
View
@@ -626,6 +626,9 @@ mysqlReScanForeignScan(ForeignScanState *node)
{
MySQLFdwExecutionState *festate = (MySQLFdwExecutionState *) node->fdw_state;
- mysql_row_seek(festate->result, 0);
+ if (festate->result)
+ {
+ mysql_data_seek(festate->result, 0);
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.