Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5402

Assignment instead of comparison in Driver20.getPropertyInfo

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.9.1.0
    • 10.8.2.2, 10.9.1.0
    • JDBC
    • None

    Description

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

      Attachments

        Activity

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

          People

            kristwaa Kristian Waagan
            kristwaa Kristian Waagan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment