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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitted by:  Wolfgang Lux <wlux>
Submitted on:  Mon 29 Jun 2015 12:00:20 PM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Item Group: BugStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

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>

 

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
  • -unavailable- added by wlux (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 29 Jun 2015 12:00:20 PM UTCwluxAttached File-=>Added make.log, #34341

    Back to the top


    Powered by Savane 3.1-cleanup1