diff options
| author | Sergei Golubchik <sergii@pisem.net> | 2011-11-02 12:55:46 +0100 |
|---|---|---|
| committer | Sergei Golubchik <sergii@pisem.net> | 2011-11-02 12:55:46 +0100 |
| commit | 90b43902b0e67bcd4c6a5f08d7d76c93df74d4c8 (patch) | |
| tree | abea3216f5299f3cb53c92e6a79e37daa883b78a /sql/event_db_repository.cc | |
| parent | 7714adaef85cb7d83b1624db2198aec40ddefa24 (diff) | |
| download | mariadb-git-90b43902b0e67bcd4c6a5f08d7d76c93df74d4c8.tar.gz | |
compilation warnings on Windows
Diffstat (limited to 'sql/event_db_repository.cc')
| -rw-r--r-- | sql/event_db_repository.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/event_db_repository.cc b/sql/event_db_repository.cc index 53f9727f489..807b5cf603e 100644 --- a/sql/event_db_repository.cc +++ b/sql/event_db_repository.cc @@ -200,7 +200,7 @@ mysql_event_fill_row(THD *thd, TABLE *table, Event_parse_data *et, sp_head *sp, - ulong sql_mode, + ulonglong sql_mode, my_bool is_update) { CHARSET_INFO *scs= system_charset_info; @@ -651,7 +651,7 @@ Event_db_repository::create_event(THD *thd, Event_parse_data *parse_data, int ret= 1; TABLE *table= NULL; sp_head *sp= thd->lex->sphead; - ulong saved_mode= thd->variables.sql_mode; + ulonglong saved_mode= thd->variables.sql_mode; /* Take a savepoint to release only the lock on mysql.event table at the end but keep the global read lock and @@ -768,7 +768,7 @@ Event_db_repository::update_event(THD *thd, Event_parse_data *parse_data, CHARSET_INFO *scs= system_charset_info; TABLE *table= NULL; sp_head *sp= thd->lex->sphead; - ulong saved_mode= thd->variables.sql_mode; + ulonglong saved_mode= thd->variables.sql_mode; /* Take a savepoint to release only the lock on mysql.event table at the end but keep the global read lock and @@ -1052,7 +1052,7 @@ Event_db_repository::load_named_event(THD *thd, LEX_STRING dbname, LEX_STRING name, Event_basic *etn) { bool ret; - ulong saved_mode= thd->variables.sql_mode; + ulonglong saved_mode= thd->variables.sql_mode; Open_tables_backup open_tables_backup; TABLE_LIST event_table; |
