summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2002-03-21 18:05:46 +0200
committerunknown <heikki@hundin.mysql.fi>2002-03-21 18:05:46 +0200
commitb83d55d9c5e40820b920d4ccf7e35a7905d509ae (patch)
tree2e79ab83c9a30a8858f0d5f27d76c46801cfc860 /sql/handler.cc
parentd3c0752b6aec6afef1f0dba85c9a0f1237843e6d (diff)
downloadmariadb-git-b83d55d9c5e40820b920d4ccf7e35a7905d509ae.tar.gz
sql_show.cc, handler.h, handler.cc:
Add foreign key defs to SHOW CREATE TABLE sql/handler.cc: Add foreign key defs to SHOW CREATE TABLE sql/handler.h: Add foreign key defs to SHOW CREATE TABLE sql/sql_show.cc: Add foreign key defs to SHOW CREATE TABLE
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index 5a713bccc1e..098c3130de2 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -260,13 +260,13 @@ int ha_autocommit_or_rollback(THD *thd, int error)
/*
This function is called when MySQL writes the log segment of a
transaction to the binlog. It is called when the LOCK_log mutex is
- reserved. Here we communicate to transactional table handlers whta
+ reserved. Here we communicate to transactional table handlers what
binlog position corresponds to the current transaction. The handler
can store it and in recovery print to the user, so that the user
knows from what position in the binlog to start possible
roll-forward, for example, if the crashed server was a slave in
replication. This function also calls the commit of the table
- handler, because the order of trasnactions in the log of the table
+ handler, because the order of transactions in the log of the table
handler must be the same as in the binlog.
arguments:
@@ -298,7 +298,6 @@ int ha_report_binlog_offset_and_commit(THD *thd,
return error;
}
-
int ha_commit_trans(THD *thd, THD_TRANS* trans)
{
int error=0;