summaryrefslogtreecommitdiff
path: root/sql/sp.h
diff options
context:
space:
mode:
authorunknown <anozdrin/alik@ibm.opbmk>2007-08-30 20:06:19 +0400
committerunknown <anozdrin/alik@ibm.opbmk>2007-08-30 20:06:19 +0400
commit3edb630197ae42353905325e9d1c8e78d329c23a (patch)
tree4f3652996129fb156cf227aa8e3bc8dbc55ea5e5 /sql/sp.h
parentffd0c6c1498f374592acabaf0f50857a87ed52e7 (diff)
downloadmariadb-git-3edb630197ae42353905325e9d1c8e78d329c23a.tar.gz
Cleanup-patch for BUG#25843: changing default database between
PREPARE and EXECUTE of statement breaks binlog. sql/sp.cc: - Polishing sp_use_new_db(): - renamed no_access_check to force_switch to be more adequate; - fixed comment; sql/sql_class.h: Polishing: fixed comment. sql/sql_db.cc: 1. Use mysql_change_db_impl() to reset current database instead of THD::set_db() in mysql_rm_db(). THD::set_db() does not take care of THD::db_access and database attributes (@@collation_database). 2. Polishing: add, fix comments.
Diffstat (limited to 'sql/sp.h')
0 files changed, 0 insertions, 0 deletions