lp:~rsilk/mysql-server/pluggable-auth

Created by rsilk and last modified
Get this branch:
bzr branch lp:~rsilk/mysql-server/pluggable-auth
Only rsilk can upload to this branch. If you are rsilk please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
rsilk
Project:
MySQL Server
Status:
Experimental

Recent revisions

2784. By rsilk

Include missing changes from last pullup.

2783. By rsilk

Pullup from local branch.

2782. By rsilk

Added missing plugin_auth.h

2781. By rsilk

Pullup from local branch. Applied server-side changes from review requests.

2780. By rsilk

Added missing client plugin sources

2779. By rsilk

Applied pluggable auth patch from local branch

2778. By Alexander Nozdrin <email address hidden>

Merge from 6.0

2777. By Dmitry Lenev <email address hidden>

Fix for bug #44738 "fill_schema_table_from_frm() opens tables without
lowercasing table name".

In lower_case_table_names > 0 mode some queries to I_S left entries
with incorrect key in table definition cache. This wasted memory and
in combination with similar problem in CREATE TABLE (which also has
peeked into table definition cache using non-normalized key) led to
to spurious ER_TABLE_EXISTS_ERROR errors when one tried to create a
table with the same name as a previously existing but dropped table
(assuming that table name contained characters in upper case).

This problem occured due to fact that fill_schema_table_from_frm()
was not properly normalizing (lowercasing) database and table names
which it used for lookups in table definition cache.

This fix adds proper normalization to this function. It also solves
similar problem in CREATE TABLE's code by ensuring that it uses
properly normalized version of table name when it peeks into table
definition cache instead of non-normalized one.

2776. By Jon Olav Hauglid <email address hidden>

manual merge

2775. By Jon Olav Hauglid <email address hidden>

Bug #21793 Missing CF_CHANGES_DATA and CF_STATUS_COMMAND for
handful of commands

CF_CHANGES_DATA and CF_STATUS_COMMAND flags added to the
commands mentioned in the bug description. With the following
two exceptions:

1) 4 commands do not exist:
SQLCOM_RENAME_DB
SQLCOM_LOAD_MASTER_DATA
SQLCOM_LOAD_MASTER_TABLE
SQLCOM_SHOW_COLUMN_TYPES

2) All SQLCOM_SHOW_* commands already had CF_STATUS_COMMAND,
leaving only SQLCOM_BINLOG_BASE64_EVENT.

Further, check_prepared_statement() in sql_prepare.cc has been
simplified by taking advantage of the CF_STATUS_COMMAND flag.

Note that no test case has been added.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar RepositoryFormatKnitPack6 (bzr 1.9)
Stacked on:
lp:~mysql/mysql-server/mysql-6.0
This branch contains Public information 
Everyone can see this information.