Uploaded image for project: 'Torque'
  1. Torque
  2. TORQUE-5

Mapping of INTEGER to MEDIUMINT for MySQL?

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2
    • 3.3
    • Generator
    • None

    Description

      With Torque 3.2, the XML schema data type INTEGER is mapped to MEDIUMINT, while it has been INTEGER in earlier generator releases.

      It may be better to revert to the old mapping. The MySQL documentation states that the data range for MEDIUMINT is 2^24 while that of INTEGER is 2^32. This can matter when using INTEGER as object ids.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tfischer Thomas Fox
            friedj Joerg Friedrich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment