diff options
author | unknown <andrey@lmy004.> | 2006-01-11 12:49:56 +0100 |
---|---|---|
committer | unknown <andrey@lmy004.> | 2006-01-11 12:49:56 +0100 |
commit | b8ce8ad1d5168371bde4c4d3de2a22d3c725a57f (patch) | |
tree | 3b6efcf2fc9c9f1d46615088d69667c0b1bbe214 /sql/event.cc | |
parent | 0d732a1470dc443c636493f2b6d4db269b250241 (diff) | |
download | mariadb-git-b8ce8ad1d5168371bde4c4d3de2a22d3c725a57f.tar.gz |
WL #1034 (Internal CRON) pre-push fixes
after another merge fixes.
mysql-test/r/information_schema.result:
WL #1034 (Internal CRON)
fix result
mysql-test/r/mysqlcheck.result:
WL #1034 (Internal CRON)
fix result
mysql-test/r/sp.result:
WL #1034 (Internal CRON)
fix result
sql/event.cc:
after fixes for WL1012 fix these to be able to compile
sql/event_timed.cc:
after fixes for WL1012 fix these to be able to compile
sql/share/errmsg.txt:
readd error messages removed during manual update
sql/sql_yacc.yy:
fix sql_yacc.yy for WL#1034 (Internal CRON) after the manual
merge. The merge wasn't good :(
Diffstat (limited to 'sql/event.cc')
-rw-r--r-- | sql/event.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sql/event.cc b/sql/event.cc index 26f960e4bae..6d62be903bd 100644 --- a/sql/event.cc +++ b/sql/event.cc @@ -413,7 +413,7 @@ db_create_event(THD *thd, event_timed *et, my_bool create_if_not, if ((ret= evex_fill_row(thd, table, et, false))) goto err; - if (table->file->write_row(table->record[0])) + if (table->file->ha_write_row(table->record[0])) { my_error(ER_EVENT_STORE_FAILED, MYF(0), et->name.str, ret); goto err; @@ -423,8 +423,8 @@ db_create_event(THD *thd, event_timed *et, my_bool create_if_not, { thd->clear_error(); /* Such a statement can always go directly to binlog, no trans cache */ - Query_log_event qinfo(thd, thd->query, thd->query_length, 0, FALSE); - mysql_bin_log.write(&qinfo); + thd->binlog_query(THD::MYSQL_QUERY_TYPE, + thd->query, thd->query_length, FALSE, FALSE); } *rows_affected= 1; @@ -522,7 +522,7 @@ db_update_event(THD *thd, event_timed *et, sp_name *new_name) store(new_name->m_name.str, new_name->m_name.length, system_charset_info); } - if ((ret= table->file->update_row(table->record[1], table->record[0]))) + if ((ret= table->file->ha_update_row(table->record[1], table->record[0]))) { my_error(ER_EVENT_STORE_FAILED, MYF(0), et->name.str, ret); goto err; @@ -853,7 +853,7 @@ evex_drop_event(THD *thd, event_timed *et, bool drop_if_exists, if (!(ret= evex_db_find_event_aux(thd, et->dbname, et->name, table))) { - if ((ret= table->file->delete_row(table->record[0]))) + if ((ret= table->file->ha_delete_row(table->record[0]))) { my_error(ER_EVENT_CANNOT_DELETE, MYF(0)); goto done; |