[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 2ea46a: Ref #16906 - Return an error message if the pma storage db could not be selected

William Desportes williamdes at wdes.fr
Sat Aug 28 04:09:26 CEST 2021


Branch: refs/heads/QA_5_1
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: 2ea46aa1131065125b45f2b3818a86d952a491a5
https://github.com/phpmyadmin/phpmyadmin/commit/2ea46aa1131065125b45f2b3818a86d952a491a5
Author: William Desportes <williamdes at wdes.fr>
Date: 2021-08-27 (Fri, 08 August 2021) +02:00

Changed paths: 
M libraries/classes/Relation.php

Log Message:
-----------
Ref #16906 - Return an error message if the pma storage db could not be selected

Signed-off-by: William Desportes <williamdes at wdes.fr>

Commit: 9c0dcc20433497563e4a6623e5cf951a5bc36978
https://github.com/phpmyadmin/phpmyadmin/commit/9c0dcc20433497563e4a6623e5cf951a5bc36978
Author: William Desportes <williamdes at wdes.fr>
Date: 2021-08-27 (Fri, 08 August 2021) +02:00

Changed paths: 
M libraries/classes/Relation.php

Log Message:
-----------
Fix #16906 - Use the control connection to create the storage database and tables

Signed-off-by: William Desportes <williamdes at wdes.fr>

Commit: bb2c869e4cf3974b5fb4c88dd9b135f578b0c042
https://github.com/phpmyadmin/phpmyadmin/commit/bb2c869e4cf3974b5fb4c88dd9b135f578b0c042
Author: William Desportes <williamdes at wdes.fr>
Date: 2021-08-27 (Fri, 08 August 2021) +02:00

Changed paths: 
M libraries/classes/Relation.php

Log Message:
-----------
Ref #16906 - Clear the relation cache after the control db was created

Signed-off-by: William Desportes <williamdes at wdes.fr>

Commit: b527b13e2d0cbc949f07fffcd4878d805e4de9ba
https://github.com/phpmyadmin/phpmyadmin/commit/b527b13e2d0cbc949f07fffcd4878d805e4de9ba
Author: William Desportes <williamdes at wdes.fr>
Date: 2021-08-27 (Fri, 08 August 2021) +02:00

Changed paths: 
M libraries/classes/Relation.php

Log Message:
-----------
Old typo fix

Signed-off-by: William Desportes <williamdes at wdes.fr>

Commit: c01e681c33150a6b1c50b0da044f144337bffe1c
https://github.com/phpmyadmin/phpmyadmin/commit/c01e681c33150a6b1c50b0da044f144337bffe1c
Author: William Desportes <williamdes at wdes.fr>
Date: 2021-08-28 (Sat, 08 August 2021) +02:00

Changed paths: 
M libraries/classes/Relation.php

Log Message:
-----------
Prevent overriding user setting while auto fixing pma storage

Once the table was created it was overriding the setting. It should respect that the user said the table will be named pma__userconfig_table and not pma__userconfig (the default value).
If the database had the default tables in it, the detection would silently mark them as the right tables totally ignoring the user defined settings for the table names.

Signed-off-by: William Desportes <williamdes at wdes.fr>

Commit: 576decd1f4d4821af5382805e749ee5eb60da316
https://github.com/phpmyadmin/phpmyadmin/commit/576decd1f4d4821af5382805e749ee5eb60da316
Author: William Desportes <williamdes at wdes.fr>
Date: 2021-08-28 (Sat, 08 August 2021) +02:00

Changed paths: 
M libraries/classes/Relation.php

Log Message:
-----------
Fix coding standard issues

Signed-off-by: William Desportes <williamdes at wdes.fr>

Commit: c775db6b4d3dac88f588e23495661f8b167e41c0
https://github.com/phpmyadmin/phpmyadmin/commit/c775db6b4d3dac88f588e23495661f8b167e41c0
Author: William Desportes <williamdes at wdes.fr>
Date: 2021-08-28 (Sat, 08 August 2021) +02:00

Changed paths: 
M test/classes/RelationTest.php

Log Message:
-----------
Ref #16906 - Add tests for Relation::getDefaultPmaTableNames

Signed-off-by: William Desportes <williamdes at wdes.fr>

Commit: b0ec0fd11209d28b3d54139701c0a84c4b5ae796
https://github.com/phpmyadmin/phpmyadmin/commit/b0ec0fd11209d28b3d54139701c0a84c4b5ae796
Author: William Desportes <williamdes at wdes.fr>
Date: 2021-08-28 (Sat, 08 August 2021) +02:00

Changed paths: 
M libraries/classes/Relation.php
M test/classes/DatabaseInterfaceTest.php
M test/classes/RelationTest.php

Log Message:
-----------
Fix #16906 - Replace table names with the configuration ones while creating the storage tables

Signed-off-by: William Desportes <williamdes at wdes.fr>

Commit: dc5cf4766b52f1d04528cb53c204678263fcfbc4
https://github.com/phpmyadmin/phpmyadmin/commit/dc5cf4766b52f1d04528cb53c204678263fcfbc4
Author: William Desportes <williamdes at wdes.fr>
Date: 2021-08-28 (Sat, 08 August 2021) +02:00

Changed paths: 
M libraries/classes/Relation.php

Log Message:
-----------
Fix #16906 - Escape the table name that is checked with backquotes on canAccessStorageTable function

Signed-off-by: William Desportes <williamdes at wdes.fr>

Commit: 2b177839bf8ed044222e25ec51bbefb908dc57dd
https://github.com/phpmyadmin/phpmyadmin/commit/2b177839bf8ed044222e25ec51bbefb908dc57dd
Author: William Desportes <williamdes at wdes.fr>
Date: 2021-08-28 (Sat, 08 August 2021) +02:00

Changed paths: 
M test/classes/DatabaseInterfaceTest.php
M test/classes/RelationTest.php
M test/classes/TwoFactorTest.php

Log Message:
-----------
Fix tests after dc5cf4766b

Signed-off-by: William Desportes <williamdes at wdes.fr>



More information about the Git mailing list