core/logic/Database.cpp
changeset 4349 4772045265f8
parent 4138 da768ad428cf
     1.1 --- a/core/logic/Database.cpp	Fri May 09 09:34:29 2014 -0700
     1.2 +++ b/core/logic/Database.cpp	Fri May 09 10:36:58 2014 -0700
     1.3 @@ -353,6 +353,12 @@
     1.4  		}
     1.5  	}
     1.6  
     1.7 +	/* Someone unloaded the default driver? Silly.. */
     1.8 +	if (pDriver == m_pDefault)
     1.9 +	{
    1.10 +		m_pDefault = NULL;
    1.11 +	}
    1.12 +
    1.13  	/* Now that the driver is gone, we have to test the think queue.
    1.14  	 * Whatever happens therein is up to the db op!
    1.15  	 */