View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 16429 | Bug reports | Other | public | 2020-06-25 19:30 | 2021-03-07 21:11 |
| Reporter | Assigned To | DenisChenu | |||
| Priority | none | Severity | feature | ||
| Status | closed | Resolution | fixed | ||
| Summary | 16429: Add config variable to force MyISAM engine in CREATE TABLE statements in MySQL | ||||
| Description | When using MySQL replication on a LimeSurvey MySQL database, the default storage engine variable is ignored. This makes it so that the replication could use InnoDB (if that is the replication's default) engine when creating lime_survey_xxx tables. If these have lots of columns (see https://dev.mysql.com/doc/refman/8.0/en/column-count-limit.html), this causes replication to error and halt. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | |||||
| I will donate to the project if issue is resolved | |||||
| Browser | |||||
| Database type & version | |||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | |||||
| Git branch / Pull Request URL | |||||
|
I don't check a lot but : if mysqlEngine is set to InnoDB : we must use InnoDB. If there are reason to force InnoDB or MyISAM in create table statement (token and survey) : why not force it always ? I mean : why adding a config var ? |
|
|
@DenisChenu: you have a point there. However, since this is kind of an edge case (only if you are using MySQL replication with the replication's default engine on InnoDB), I thought adding a new config variable would be the least intrusive and has 0% chance of breaking things. |
|
|
In 3.X :
In 4.X :
Then you broke less things with |
|
|
@jenseeckhout : can you cjeck if proposed solution (use |
|
|
@jenseeckhout : ? no news ? I can make the pull request, but want to know if it fix your issue. |
|
|
@DenisChenu Sorry, I lost track of this ticket! Yes, the issue is solved! MySQL replication now correctly picks up the engine. The PR is already done but waiting to be merged, if I'm correct: https://github.com/LimeSurvey/LimeSurvey/pull/1447 |
|
|
Yes : but see my comment … I really think we don't need a new settings can you just revert your commit and test with
|
|
|
Thank you @jenseeckhout |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-06-25 19:30 |
|
New Issue | |
| 2020-06-26 08:30 | DenisChenu | Note Added: 58507 | |
| 2020-06-26 08:37 |
|
Note Added: 58508 | |
| 2020-06-26 08:52 | DenisChenu | Note Added: 58511 | |
| 2020-07-09 12:23 | DenisChenu | Note Added: 58830 | |
| 2020-07-13 15:56 | DenisChenu | Assigned To | => DenisChenu |
| 2020-07-13 15:56 | DenisChenu | Status | new => feedback |
| 2020-07-13 15:56 | DenisChenu | Note Added: 58924 | |
| 2020-07-13 16:00 |
|
Note Added: 58925 | |
| 2020-07-13 16:00 |
|
Status | feedback => assigned |
| 2020-07-13 16:01 | DenisChenu | Note Added: 58926 | |
| 2020-07-13 16:02 | DenisChenu | Assigned To | DenisChenu => ollehar |
| 2020-07-13 16:02 | DenisChenu | Status | assigned => ready for testing |
| 2020-07-13 16:02 | DenisChenu | Note Added: 58927 | |
| 2020-07-13 16:50 | DenisChenu | Assigned To | ollehar => DenisChenu |
| 2020-07-13 16:50 | DenisChenu | Status | ready for testing => resolved |
| 2020-07-13 16:50 | DenisChenu | Resolution | open => fixed |
| 2020-07-13 16:50 | DenisChenu | Note Added: 58929 | |
| 2021-03-07 21:11 | c_schmitz | Status | resolved => closed |