~clint-fewbar/drizzle/regex-policy-cache-limiter

« back to all changes in this revision

Viewing changes to drizzled/statement/show_warnings.cc

  • Committer: Clint Byrum
  • Date: 2012-03-15 18:05:43 UTC
  • mfrom: (2224.1.302 workspace)
  • Revision ID: clint@ubuntu.com-20120315180543-9jxxm4q10k3np2ws
merging with latest trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
using namespace std;
29
29
 
30
 
namespace drizzled
31
 
{
 
30
namespace drizzled {
32
31
 
33
32
bool statement::ShowWarnings::execute()
34
33
{
36
35
  warning_levels.set(DRIZZLE_ERROR::WARN_LEVEL_NOTE);
37
36
  warning_levels.set(DRIZZLE_ERROR::WARN_LEVEL_WARN);
38
37
  warning_levels.set(DRIZZLE_ERROR::WARN_LEVEL_ERROR);
39
 
  bool res= show_warnings(getSession(), warning_levels);
40
 
 
41
 
  return res;
 
38
  return show_warnings(&session(), warning_levels);
42
39
}
43
40
 
44
41
} /* namespace drizzled */