~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Brian Aker
  • Date: 2009-01-09 17:25:21 UTC
  • Revision ID: brian@tangent.org-20090109172521-hs5b8i1h37wipjfa
Remove dead code from session.

Show diffs side-by-side

added added

removed removed

Lines of Context:
325
325
 
326
326
void mark_transaction_to_rollback(Session *session, bool all);
327
327
 
328
 
#ifdef DRIZZLE_SERVER
329
 
 
330
328
/**
331
329
  @class Statement
332
330
  @brief State of a single command executed against this connection.
1247
1245
  bool store_globals();
1248
1246
  void awake(Session::killed_state state_to_set);
1249
1247
 
1250
 
  enum enum_binlog_query_type {
1251
 
    /*
1252
 
      The query can be logged row-based or statement-based
1253
 
    */
1254
 
    ROW_QUERY_TYPE,
1255
 
 
1256
 
    /*
1257
 
      The query has to be logged statement-based
1258
 
    */
1259
 
    STMT_QUERY_TYPE,
1260
 
 
1261
 
    /*
1262
 
      The query represents a change to a table in the "mysql"
1263
 
      database and is currently mapped to ROW_QUERY_TYPE.
1264
 
    */
1265
 
    DRIZZLE_QUERY_TYPE,
1266
 
    QUERY_TYPE_COUNT
1267
 
  };
1268
 
 
1269
1248
  /*
1270
1249
    For enter_cond() / exit_cond() to work the mutex must be got before
1271
1250
    enter_cond(); this mutex is then released by exit_cond().
2183
2162
  return session->lex->current_select->add_group_to_list(session, item, asc);
2184
2163
}
2185
2164
 
2186
 
#endif /* DRIZZLE_SERVER */
2187
 
 
2188
2165
#endif /* DRIZZLED_SQL_CLASS_H */