~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/show_warnings.cc

  • Committer: Brian Aker
  • Date: 2010-12-24 03:44:02 UTC
  • mfrom: (2015.1.3 timestamp)
  • mto: This revision was merged to the branch mainline in revision 2028.
  • Revision ID: brian@tangent.org-20101224034402-n1hpg1yxwjz59hpw
Finish up issues with unsigned/int by fixing cast().

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_warnings.h>
36
36
  warning_levels.set(DRIZZLE_ERROR::WARN_LEVEL_NOTE);
37
37
  warning_levels.set(DRIZZLE_ERROR::WARN_LEVEL_WARN);
38
38
  warning_levels.set(DRIZZLE_ERROR::WARN_LEVEL_ERROR);
39
 
  bool res= show_warnings(getSession(), warning_levels);
40
 
 
 
39
  bool res= mysqld_show_warnings(session, warning_levels);
41
40
  return res;
42
41
}
43
42