W
W
webe2018-02-21 07:23:41
MySQL
webe, 2018-02-21 07:23:41

Are there any differences between MariaDb and Mysql?

There is a small request
for mysql 5.6 It fulfills the norms, sorting does not work in maria 5.6.
Does anyone know what could be the problem?
UPD: I found a solution, but it's very strange, I can't understand why maria Requires Limit
ORDER BY products.count DESC, product_images.order_sort ASC
LIMIT 9999999999 <----- This is how it works

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Bay, 2018-02-21
@kawabanga

Sorting that can and works, but in a subquery.
Sort the result.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question