11/* ****************************************************************************
22
33Copyright (c) 1996, 2016, Oracle and/or its affiliates. All Rights Reserved.
4- Copyright (c) 2015, 2017 , MariaDB Corporation.
4+ Copyright (c) 2015, 2018 , MariaDB Corporation.
55
66This program is free software; you can redistribute it and/or modify it under
77the terms of the GNU General Public License as published by the Free Software
@@ -38,7 +38,6 @@ Created 3/26/1996 Heikki Tuuri
3838
3939#include " lock0types.h"
4040#include " log0log.h"
41- #include " usr0types.h"
4241#include " que0types.h"
4342#include " mem0mem.h"
4443#include " trx0xa.h"
@@ -55,9 +54,6 @@ class ReadView;
5554// Forward declaration
5655class FlushObserver ;
5756
58- /* * Dummy session used currently in MySQL interface */
59- extern sess_t * trx_dummy_sess;
60-
6157/* * Set flush observer for the transaction
6258@param[in/out] trx transaction struct
6359@param[in] observer flush observer */
@@ -1139,7 +1135,6 @@ struct trx_t {
11391135ulint error_key_num;/* !< if the index creation fails to a
11401136duplicate key error, a mysql key
11411137number of that index is stored here */
1142- sess_t * sess;/* !< session of the trx, NULL if none */
11431138que_t * graph;/* !< query currently run in the session,
11441139or NULL if none; NOTE that the query
11451140belongs to the session, and it can
0 commit comments