summaryrefslogtreecommitdiff
path: root/sql/sql_db.cc
diff options
context:
space:
mode:
authorserg@serg.mylan <>2004-09-07 21:30:28 +0200
committerserg@serg.mylan <>2004-09-07 21:30:28 +0200
commit323e683cbfd532459c4ee924a0c32c3c1f0b572b (patch)
treee1cbd7bc7ac5fa0739864e430b898343bdfa631e /sql/sql_db.cc
parentc26246b08313048bfda17691add56ab048fd7953 (diff)
parent9bafeecb244b6b35395a6fc9877a7e8800784416 (diff)
downloadmariadb-git-323e683cbfd532459c4ee924a0c32c3c1f0b572b.tar.gz
merged
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r--sql/sql_db.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc
index cfc75e3be95..426f7d36633 100644
--- a/sql/sql_db.cc
+++ b/sql/sql_db.cc
@@ -852,6 +852,11 @@ err:
communication packet (in case of 'connect' or 'COM_INIT_DB')
we have to do end space removal in this function.
+ NOTES
+ Do as little as possible in this function, as it is not called for the
+ replication slave SQL thread (for that thread, setting of thd->db is done
+ in ::exec_event() methods of log_event.cc).
+
RETURN VALUES
0 ok
1 error