Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Concat_ws()

  • This topic is empty.
Viewing 2 reply threads
  • Author
    Posts
    • #9285
      mjs7231
      Member

      I downloaded the trial version to see if the data sync would work. My findings were that your script uses the concat_ws function which is implimented differently in 4.0.14 and later. I am trying to sync two databases on both ends of this change.

      Is there any plan to remove the use of this function, and possibly do the concat youself in the language which the app was written?

    • #19466
      peterlaursen
      Participant

      ……hmmmmmm

      I have 3 comments.

      1) That would burden the client with those calculations. So concat_ws() on the server side should continue to be used when ever possible.

      2) Charset and collation implementations with various MySQL versions would have to be solved too. A table definition of 5.0 and 4.0 are NEVER identical – at least charset definitions differ. I am in doubt whether it can me done in a safe way. English-speaking people (like you?) always forget that there is more than one charset and more than 25 characteres!

      3) There are some data type incompabilities. For instance: how to handle a varchar(1000) in a 5.0 database when syncing with a 4.0 database?

      Low priority in my opinion. Unicode issues and localization is much more important.

    • #19467
      Ritesh
      Member

      We dont plan to implement concat_ws() on the client side. It will destroy the whole efficiency of the algorithm used in the data sync tool.

      You will need to upgrade or downgrade your target server.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.