~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_error.h

  • Committer: Olaf van der Spek
  • Date: 2011-02-12 17:09:31 UTC
  • mto: (2167.1.2 build) (2172.1.4 build)
  • mto: This revision was merged to the branch mainline in revision 2168.
  • Revision ID: olafvdspek@gmail.com-20110212170931-k1fg0lzsmm5i3ciq
casts

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
 
20
 
 
21
 
20
22
#ifndef DRIZZLED_SQL_ERROR_H
21
23
#define DRIZZLED_SQL_ERROR_H
22
24
 
27
29
 
28
30
#include <bitset>
29
31
 
 
32
#include "drizzled/visibility.h"
 
33
 
30
34
namespace drizzled
31
35
{
32
36
 
59
63
  void set_msg(Session *session, const char *msg_arg);
60
64
};
61
65
 
62
 
DRIZZLE_ERROR *push_warning(Session *session, DRIZZLE_ERROR::enum_warning_level level,
 
66
DRIZZLED_API DRIZZLE_ERROR *push_warning(Session *session, DRIZZLE_ERROR::enum_warning_level level,
63
67
                            drizzled::error_t code, const char *msg);
64
68
 
65
 
void push_warning_printf(Session *session, DRIZZLE_ERROR::enum_warning_level level,
 
69
DRIZZLED_API void push_warning_printf(Session *session, DRIZZLE_ERROR::enum_warning_level level,
66
70
                         drizzled::error_t code, const char *format, ...);
67
71
 
68
72
void drizzle_reset_errors(Session *session, bool force);