bugGNUstep - Bugs: bug #45436, SQLClient library from trunk...

Group
 
 

bug #45436: SQLClient library from trunk (revision 38717)

Submitter:  Wolfgang Lux <wlux>
Submitted:  Mon 29 Jun 2015 12:00:20 PM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Item Group:  Bug Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 29 Jun 2015 12:00:20 PM UTC, original submission:  

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).

Wolfgang Lux <wlux>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #34341:  make.log added by wlux (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by wlux (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-29 wlux Attached File- Added make.log, #34341

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code