Commit a71a524e authored by unknown's avatar unknown
Browse files

Bug #23427: incompatible ABI change in 5.0.26?

Revert 1 June change enough to restore ABI compatibility with previous
versions.


include/mysql.h:
  Revert patch that breaks ABI compatibility
libmysqld/lib_sql.cc:
  Remove useless assignment.
parent b7a2126a
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -293,12 +293,6 @@ typedef struct st_mysql
  /* needed for embedded server - no net buffer to store the 'info' */
  char *info_buffer;
#endif
  /*
    In embedded server it points to the statement that is processed
    in the current query. We store some results directly in statement
    fields then.
  */
  struct st_mysql_stmt *current_stmt;
} MYSQL;

typedef struct st_mysql_res {
+0 −1
Original line number Diff line number Diff line
@@ -100,7 +100,6 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
  mysql->affected_rows= ~(my_ulonglong) 0;
  mysql->field_count= 0;
  net->last_errno= 0;
  mysql->current_stmt= stmt;

  thd->store_globals();				// Fix if more than one connect
  /*