Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX With Mariadb 11.1.2 ordering of table is broken #290 #291

Open
wants to merge 1 commit into
base: 3.x-dev
Choose a base branch
from

Conversation

tkuschel
Copy link

Pull Request for Issue #290
also see https://issues.joomla.org/tracker/joomla-cms/42333

Summary of Changes

Removed public function selectRowNumber($orderBy, $orderColumnAlias) in MysqlQueryBuilder.php
it already works within DatabaseQuery.php with window function ROW_NUMBER()

Testing Instructions

see https://issues.joomla.org/tracker/joomla-cms/42333

Documentation Changes Required

only valid for Joomla 5.x because MariaDB and MySQL miniumum

@tkuschel
Copy link
Author

Please be kind and add a test with the Mariadb 11.1.x version, see https://mariadb.com/kb/en/mariadb-11-1-3-release-notes/

@PhilETaylor
Copy link
Contributor

This issue DOES effect Joomla 3 sites running on 11.2.2-MariaDB also.

The fix to remove the function selectRowNumber in the Joomla 3 file libraries/joomla/database/query/mysqli.php just like this PR proposes for Joomla 5

@nielsnuebel
Copy link

nielsnuebel commented Mar 13, 2024

I have tested this successfully. We need this in the next Joomla Version asap.

1 similar comment
@tecpromotion
Copy link

I have tested this successfully. We need this in the next Joomla Version asap.

@HLeithner
Copy link
Contributor

We can't do this change because it would break the supported mysql versions for 3.x branch.

Can you please add a version check to only use the "parent" implementation when mariadb >= 11.0 is used?

@tkuschel
Copy link
Author

Can you please add a version check to only use the "parent" implementation when mariadb >= 11.0 is used?

I'm currently on rehabilitation and can't work on it from here. Perhaps someone else can take over. I'll be away for at least 6 weeks.

@richard67
Copy link
Contributor

I'm currently on rehabilitation and can't work on it from here. Perhaps someone else can take over. I'll be away for at least 6 weeks.

@tkuschel My best wishes for you. I hope all will go well. Maybe @HLeithner or me can take over.

@richard67
Copy link
Contributor

Regarding the versions check see my alternative PR #300 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants