Changeset 7961


Ignore:
Timestamp:
Jun 4, 2021, 9:43:52 AM (18 months ago)
Author:
Nicklas Nordborg
Message:

References #2250: Named transactions

The change in [7950] caused settings to not be loaded due to a uninitialized left-over variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/net/sf/basedb/core/SessionControl.java

    r7950 r7961  
    222222    this.currentContexts = Collections.synchronizedMap(new HashMap<ContextKey, ItemContext>());
    223223    this.allowedClients = Collections.synchronizedMap(new HashMap<String, Boolean>());
    224     int tempClientId = 0;
    225224    ClientInfo tmpClient = null;
    226225    if (externalClientId != null)
     
    246245        {
    247246          tmpClient = new ClientInfo(clientData.getId(), externalClientId, clientData.getName());
    248           //tempClientId = clientData.getId();
    249           //tempClientName = clientData.getName();
    250247          // load default settings for client application
    251           clientDefaultSettings = loadClientDefaultSettings(session, tempClientId);
     248          clientDefaultSettings = loadClientDefaultSettings(session, tmpClient.id);
    252249        }
    253250        else if (failIfNoClient)
Note: See TracChangeset for help on using the changeset viewer.