| Bug #28017 | Plugins should support LGPL license | ||
|---|---|---|---|
| Submitted: | 22 Apr 2007 13:39 | Modified: | 29 Jul 2008 18:47 |
| Reporter: | Mark Leith | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: General | Severity: | S4 (Feature request) |
| Version: | 5.1-BK | OS: | Any |
| Assigned to: | Assigned Account | CPU Architecture: | Any |
| Tags: | bfsm_2007_05_03 | ||
[3 Jun 2007 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[20 Jul 2007 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[23 Aug 2007 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[29 Jul 2008 18:47]
Mark Leith
Wow what a long time. Setting this to a P4 and verifying, yet again.

Description: Plugins currently do not support the LGPL license, they should.. How to repeat: N/A Suggested fix: ===== include/mysql/plugin.h 1.26 vs edited ===== --- 1.26/include/mysql/plugin.h 2007-01-27 00:36:36 +01:00 +++ edited/include/mysql/plugin.h 2007-04-22 15:32:11 +02:00 @@ -36,10 +36,12 @@ #define PLUGIN_LICENSE_PROPRIETARY 0 #define PLUGIN_LICENSE_GPL 1 #define PLUGIN_LICENSE_BSD 2 +#define PLUGIN_LICENSE_LGPL 3 #define PLUGIN_LICENSE_PROPRIETARY_STRING "PROPRIETARY" #define PLUGIN_LICENSE_GPL_STRING "GPL" #define PLUGIN_LICENSE_BSD_STRING "BSD" +#define PLUGIN_LICENSE_LGPL_STRING "LGPL" /* Macros for beginning and ending plugin declarations. Between ===== sql/sql_show.cc 1.405 vs edited ===== --- 1.405/sql/sql_show.cc 2007-04-13 08:25:44 +02:00 +++ edited/sql/sql_show.cc 2007-04-22 15:35:12 +02:00 @@ -218,6 +218,10 @@ table->field[9]->store(PLUGIN_LICENSE_BSD_STRING, strlen(PLUGIN_LICENSE_BSD_STRING), cs); break; + case PLUGIN_LICENSE_LGPL: + table->field[9]->store(PLUGIN_LICENSE_LGPL_STRING, + strlen(PLUGIN_LICENSE_LGPL_STRING), cs); + break; default: table->field[9]->store(PLUGIN_LICENSE_PROPRIETARY_STRING, strlen(PLUGIN_LICENSE_PROPRIETARY_STRING), cs);