Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.0.24
    • Fix Version/s: 10.0
    • Labels:
      None
    • Environment:
      FreeBSD 10.2
      clang 3.4

      Description

      Build failure in `storage/connect/tabmysql.cpp`

      This is a clang specific error where we're passing a string constant where a variable of type `PSZ` is expected

      Fix:

      --- storage/connect/tabmysql.cpp.orig   2016-02-17 21:59:55.000000000 +0100
      +++ storage/connect/tabmysql.cpp        2016-02-21 13:26:47.706891856 +0100
      @@ -334,7 +334,7 @@ bool MYSQLDEF::DefineAM(PGLOBAL g, LPCST
           Delayed = !!GetIntCatInfo("Delayed", 0);
         } else {
           // MYSQL access from a PROXY table
      -    Database = GetStringCatInfo(g, "Database", Schema ? Schema : "*");
      +    Database = GetStringCatInfo(g, "Database", Schema ? Schema : (PSZ)"*");
           Isview = GetBoolCatInfo("View", false);
      
           // We must get other connection parms from the calling table
      

      cast to type `PSZ`

        Attachments

          Activity

            People

            • Assignee:
              bertrandop Olivier Bertrand
              Reporter:
              spil Bernard Spil
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: