get rid of exported global variables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Triaged
|
Low
|
Unassigned |
Bug Description
The following list is not honestly very terrible - but most likely all of these should be abstracted behind an accessor or something. These are all of the global variables that plugins are accessing directly - which means we have to expose them in the linker.
drizzled/
drizzled/
drizzled/
drizzled/
drizzled/
drizzled/
drizzled/
drizzled/
drizzled/
drizzled/
drizzled/
drizzled/
drizzled/
drizzled/
drizzled/
Related branches
- Drizzle Trunk: Pending requested
-
Diff: 207 lines (+26/-19)7 files modifiedclient/drizzletest.cc (+1/-1)
drizzled/drizzled.cc (+1/-1)
drizzled/internal/my_static.cc (+3/-1)
drizzled/internal/my_sys.h (+2/-0)
drizzled/plugin/storage_engine.cc (+11/-6)
drizzled/plugin/storage_engine.h (+1/-1)
plugin/innobase/handler/ha_innodb.cc (+7/-9)
Changed in drizzle: | |
importance: | Undecided → Low |
status: | New → Confirmed |
milestone: | none → future |
I've fixed these two:
drizzled/ internal/ my_static. cc:42:DRIZZLED_ API int my_umask=0664; plugin/ storage_ engine. h:128:extern DRIZZLED_API const std::string DEFAULT_ DEFINITION_ FILE_EXT;
drizzled/