Permalink
Browse files

s/mysql_row_seek/mysql_data_seek/

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.
  • Loading branch information...
1 parent 07e3224 commit 3f1f460460142beb7bb781e388243c61b360216a @joshwilliams joshwilliams committed Apr 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mysql_fdw.c
View
@@ -626,6 +626,6 @@ mysqlReScanForeignScan(ForeignScanState *node)
{
MySQLFdwExecutionState *festate = (MySQLFdwExecutionState *) node->fdw_state;
- mysql_row_seek(festate->result, 0);
+ mysql_data_seek(festate->result, 0);
}

0 comments on commit 3f1f460

Please sign in to comment.