[bug #45436] SQLClient library from trunk (revision 38717)

Wolfgang Lux <[email protected]>
Newsgroups gmane.comp.lib.gnustep.bugs
Message-ID <[email protected]>
URL:
  <http://savannah.gnu.org/bugs/?45436>

                 Summary: SQLClient library from trunk (revision 38717)
                 Project: GNUstep
            Submitted by: wlux
            Submitted on: Mo 29 Jun 2015 12:00:20 GMT
                Category: Libraries
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I'm getting errors while the JDBC module is compiled because the code directly
accesses attributes from the _db object, which was recently changed from
SQLClient * to id (see attached log).
Incidentally, I think changing the _db attribute from SQLClient * to id to
accommodate either a SQLClient or an SQLClientPool object is bad style. There
should be a formal protocol (perhaps called SQLClient) to collect the common
methods that should be supported by the _db object. I tried doing that, but
then stopped when I noticed that the code calls a private method
_substitute:with: on the _db attribute (which, by the way, isn't implemented
by the SQLClientPool class).



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mo 29 Jun 2015 12:00:20 GMT  Name: make.log  Size: 2kB   By: wlux

<http://savannah.gnu.org/bugs/download.php?file_id=34341>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45436>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.