When executing a statement that uses the "floor" function, I get the following error message.
System.NullReferenceException
Object reference not set to an instance of an object.
Stack Trace:
at Quest.Toad.Db.SpecialExecuteContext.get_Sql()
at Quest.Toad.Editor.EditorForm.scriptEngine_ExecutionFinished(Object sender, ScriptEngineDoneArgs e)
at Quest.Toad.Db.ScriptEngineDoneHandler.Invoke(Object sender, ScriptEngineDoneArgs e)
at Quest.Toad.Db.ScriptEngine.DoneBackgroundExecution(Object sender, ScriptEngineDoneArgs args)
followed by this error:
System.Threading.SynchronizationLockException
Object synchronization method was called from an unsynchronized block of code.
Stack Trace:
at Quest.Toad.Editor.ScriptEngineManager.ChangeSchema(ScriptEngine engine, String schema)
at Quest.Toad.Db.ScriptEngine.ExecuteBackground()
Upgrade to the latest version of Toad for Sybase.