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

Created by rsilk on 2009-07-15 and last modified on 2010-01-03
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 on 2010-01-03

Include missing changes from last pullup.

2783. By rsilk on 2010-01-03

Pullup from local branch.

2782. By rsilk on 2009-08-14

Added missing plugin_auth.h

2781. By rsilk on 2009-08-14

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

2780. By rsilk on 2009-08-10

Added missing client plugin sources

2779. By rsilk on 2009-07-16

Applied pluggable auth patch from local branch

2778. By Alexander Nozdrin <email address hidden> on 2009-05-16

Merge from 6.0

2777. By Dmitry Lenev <email address hidden> on 2009-05-15

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> on 2009-05-14

manual merge

2775. By Jon Olav Hauglid <email address hidden> on 2009-05-14

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.