Skip to content
Browse files

set time_zone to UTC

  • Loading branch information...
1 parent d5b74c8 commit a2a78f3e3374f8d8cdeef5d2822efea4ad38aba3 @nikicat nikicat committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 mysql_fdw.c
View
1 mysql_fdw.c
@@ -580,6 +580,7 @@ mysqlIterateForeignScan(ForeignScanState *node)
/* Execute the query, if required */
if (!festate->result)
{
+ mysql_query(festate->conn, "SET time_zone = '+00:00'");
if (mysql_query(festate->conn, festate->query) != 0)
{
char *err = pstrdup(mysql_error(festate->conn));

0 comments on commit a2a78f3

Please sign in to comment.
Something went wrong with that request. Please try again.