Fixed warning for undefined database name