Bug Report #4033
Configuration defaults
| Status: | Closed | Start date: | 06/01/2011 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | - | |||
| Target version: | Kohana v3.x - v3.1.5 | Estimated time: | 0.10 hour | |
| Resolution: | fixed | Points: | 1 |
Description
Right now, configuration of a database instance does not have any defaults (there are defaults for the "default" and "alternate" database instances inherited from modules/database/config/database.php, but not for other instances).
For "profiling" and "caching", this is a non-issue (nothing bad happens if they aren't set). For "table_prefix" the default should be an empty string, and for "charset" it's probably best to leave it alone (uses database default, which might be desired behavior in certain cases).
(I'll submit a pull request when I get home in a couple hours)
Associated revisions
Ensure the table_prefix is assigned. Fixes #4033
History
Updated by Vit Brunner 12 months ago
Damn, I can no longer edit the original description :)
As promised, the pull request: https://github.com/kohana/database/pull/14
Updated by Matt Button 10 months ago
- Assignee set to Matt Button
- Target version set to v3.2.1
Updated by Chris Bandy 4 months ago
- Assignee changed from Matt Button to Chris Bandy
- Target version changed from v3.2.1 to v3.1.5
- Resolution set to fixed
- Points set to 1
Updated by Chris Bandy 4 months ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset 005ecf12b6a15a66b0d05412adfb54df7783de11.