~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/show_errors.cc

  • Committer: Brian Aker
  • Date: 2011-02-22 06:12:02 UTC
  • mfrom: (2190.1.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110222061202-k03czxykqy4x9hjs
List update, header fixes, multiple symbols, and David deletes some code.

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"
 
21
#include <config.h>
22
22
#include <drizzled/show.h>
23
23
#include <drizzled/session.h>
24
24
#include <drizzled/statement/show_errors.h>
34
34
{
35
35
  bitset<DRIZZLE_ERROR::NUM_ERRORS> warning_levels;
36
36
  warning_levels.set(DRIZZLE_ERROR::WARN_LEVEL_ERROR);
37
 
  bool res= show_warnings(session, warning_levels);
 
37
  bool res= show_warnings(getSession(), warning_levels);
38
38
  return res;
39
39
}
40
40