~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/flush.cc

  • Committer: Lee Bieber
  • Date: 2011-02-11 20:30:05 UTC
  • mfrom: (2157.1.3 build)
  • Revision ID: kalebral@gmail.com-20110211203005-757o1y2yf78dxzqr
Merge Stewart - 716848: drizzleimport displays wrong program_name
Merge Stewart - update README file
Merge Andrew and Joe - Exposes the InnoDB SYS_REPLICATION_LOG to data_dictionary so that it is fast and fixes many issues we have been having

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#include <config.h>
22
 
 
 
21
#include "config.h"
23
22
#include <drizzled/show.h>
24
23
#include <drizzled/session.h>
25
24
#include <drizzled/lock.h>
26
25
#include <drizzled/statement/flush.h>
27
 
#include <drizzled/sql_table.h>
28
 
#include <drizzled/plugin/logging.h>
29
 
#include <drizzled/plugin/storage_engine.h>
 
26
#include "drizzled/sql_table.h"
 
27
#include "drizzled/plugin/logging.h"
30
28
 
31
29
namespace drizzled
32
30
{
55
53
bool statement::Flush::reloadCache()
56
54
{
57
55
  bool result= false;
58
 
  TableList *tables= (TableList *) getSession()->getLex()->select_lex.table_list.first;
 
56
  TableList *tables= (TableList *) getSession()->lex->select_lex.table_list.first;
59
57
 
60
58
  if (flush_log)
61
59
  {