Derby
  1. Derby
  2. DERBY-5402

Assignment instead of comparison in Driver20.getPropertyInfo

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0
    • Fix Version/s: 10.8.2.2, 10.9.1.0
    • Component/s: JDBC
    • Labels:
      None

      Description

      Assignment is used instead of comparison:
      if (dbname.length() == 0 || (encryptDB = true && encryptpassword == null)) {

        Activity

        Kristian Waagan created issue -
        Hide
        Kristian Waagan added a comment -

        Committed to trunk with revision 1165221, backported to 10.8 with revision 1165222.
        Closing issue.

        Show
        Kristian Waagan added a comment - Committed to trunk with revision 1165221, backported to 10.8 with revision 1165222. Closing issue.
        Kristian Waagan made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 10.8.1.6 [ 12316676 ]
        Fix Version/s 10.9.0.0 [ 12316344 ]
        Resolution Fixed [ 1 ]
        Myrna van Lunteren made changes -
        Fix Version/s 10.8.2.0 [ 12317955 ]
        Fix Version/s 10.8.1.6 [ 12316676 ]
        Myrna van Lunteren made changes -
        Fix Version/s 10.8.2.2 [ 12317968 ]
        Fix Version/s 10.8.2.0 [ 12317955 ]
        Gavin made changes -
        Workflow jira [ 12631318 ] Default workflow, editable Closed status [ 12801230 ]

          People

          • Assignee:
            Kristian Waagan
            Reporter:
            Kristian Waagan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development