Merge lp:~stewart/drizzle/fix-create-schema-for-catalogs into lp:~drizzle-trunk/drizzle/development
Status: | Work in progress |
---|---|
Proposed branch: | lp:~stewart/drizzle/fix-create-schema-for-catalogs |
Merge into: | lp:~drizzle-trunk/drizzle/development |
Prerequisite: | lp:~stewart/drizzle/schema-identifier-has-catalog |
Diff against target: |
270 lines (+22/-79) 10 files modified
drizzled/identifier/constants/schema.cc (+1/-1) drizzled/message/schema.cc (+9/-18) drizzled/message/schema.h (+1/-2) drizzled/statement/alter_schema.cc (+1/-1) drizzled/statement/create_schema.cc (+1/-1) drizzled/table/instance/base.cc (+0/-24) plugin/schema_engine/schema.cc (+0/-19) plugin/transaction_log/tests/t/bug911643-master.opt (+1/-5) unittests/main.cc (+1/-1) unittests/table_identifier.cc (+7/-7) |
To merge this branch: | bzr merge lp:~stewart/drizzle/fix-create-schema-for-catalogs |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Drizzle Merge Team | Pending | ||
Review via email: mp+87580@code.launchpad.net |
Description of the change
This fixes a bit of code around creating and altering SCHEMAs so that it takes what CATALOG you're connected to into account.
i.e. it allows you to (only with console plugin currently) create schemas in catalogs other than LOCAL.
Unmerged revisions
- 2495. By Stewart Smith
-
fix up problem with constant schema identifiers for DATA_DICTIONARY and INFORMATION_SCHEMA that came up on certain compilers choosing orders for static constructor execution.
- 2494. By Stewart Smith
-
fix up table_identifier unit tests to deal with identifier::Table constructor now also requiring a Catalog identifier
- 2493. By Stewart Smith
-
merge trunk
- 2492. By Stewart Smith
-
fix initialization of message::schema to be from the Schema identifier, which includes the CATALOG name, so that we can create schemas in catalogs other than LOCAL
- 2491. By Stewart Smith
-
force a identifier::Schema to be constructed with a identifier:
:Catalog. This is close to the final 'big' part for CATALOG support. We also have to modify all around the server that creates identifier::Schema so it does so properly. Since a single Session cannot span schemas, we get off a wee bit easy :) The big limitation in this patch is that INFORMATION_SCHEMA and DATA_DICTIONARY only appear in the LOCAL catalog (and this really needs to be fixed before CATALOGs other than LOCAL are supported). - 2490. By Stewart Smith
-
use the table identifier and catalog in the identifier in constructing the path in build_table_
filename instead of the global drizzled: :catalog: :local_ identifier( ). Another step towards full CATALOG support - 2489. By Stewart Smith
-
merge table_identifier unittest fix
- 2488. By Stewart Smith
-
TableShare use a TableIdentifier instead of db,table strings.
- 2487. By Stewart Smith
-
merge print_transacti
on_message filename/path bug fix (also hit in testing CATALOG) - 2486. By Stewart Smith
-
merge off-by-one error message fix (was hitting this)