View | Details | Raw Unified | Return to bug 277889 | Differences between
and this patch

Collapse All | Expand All

(-)dbdimp.c (-6 lines)
Lines 2115-2126 Link Here
2115
        we turn off Mysql's auto reconnect and handle re-connecting ourselves
2115
        we turn off Mysql's auto reconnect and handle re-connecting ourselves
2116
        so that we can keep track of when this happens.
2116
        so that we can keep track of when this happens.
2117
      */
2117
      */
2118
#if MYSQL_VERSION_ID >= 50013
2119
      my_bool reconnect = FALSE;
2120
      mysql_options(result, MYSQL_OPT_RECONNECT, &reconnect);
2121
#else
2122
      result->reconnect = 0;
2123
#endif
2124
#if MYSQL_VERSION_ID >=SERVER_PREPARE_VERSION
2118
#if MYSQL_VERSION_ID >=SERVER_PREPARE_VERSION
2125
      /* connection succeeded. */
2119
      /* connection succeeded. */
2126
      /* imp_dbh == NULL when mysql_dr_connect() is called from mysql.xs
2120
      /* imp_dbh == NULL when mysql_dr_connect() is called from mysql.xs

Return to bug 277889