Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MySQL >= 5.5.3 bug
#1
Hello

One of my customer face this issue:

https://discussions.vtiger.com/index.php...nt/1198220


FYI: After check coreBOS code it look like the above vtiger issue also relevance to coreBOS.

Regards
Addady
Reply
#2
Hi,

I dedicated some time to this today and found that the solution proposed isn't exactly equivalent to the current functionality. As the global search is right now, it ignores case, in other words it is a case insensitive search, but with the change proposed it is converted into a case sensitive search so it doesn't return the same results.

I made a minor change to make the functionality equivalent but it makes the search work slower and since in the majority of installs it really isn't necessary I added a global variable so it can be activated only if needed.

https://github.com/tsolucio/corebos/comm...8c836f4b2a

Thank you very much for sharing :-)
Joe
TSolucio
Reply
#3
Hi,

I believe to need another parameter. One that allow to use if faster without the LOWER function.
As I understand it , every Corebos using MySQL >= 5.5.3 will need you use the BINARY function, in order to search non Latin characters.

Addady
Reply
#4
I would prefer to keep the functionality equivalent. I mean to keep both search types case insensitive, because that is the way it has always been, but if you can send me a PR I will consider it.
Joe
TSolucio
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)