From 992bf7e4765f9554cec4ae21c17ab37b7aced290 Mon Sep 17 00:00:00 2001 From: Phillip Zedalis Date: Mon, 13 Feb 2017 01:58:31 -0500 Subject: [PATCH] Version 2.170213.0 Critical update to how parameters are ordered. Complex queries may have failed due to parameters not binding correctly. --- Source/.SQLdeLite.xojo_uistate | Bin 216 -> 216 bytes Source/SQLdeLite.xojo_code | 6 ++++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/.SQLdeLite.xojo_uistate b/Source/.SQLdeLite.xojo_uistate index dbddf5c5e0d452d0e87bdbd54d4817bb7e9258ac..3e4834661de993169ccc9bc77baa8975f608e554 100644 GIT binary patch delta 128 zcmcb?c!NI59z-n=3fbCneP 0) Then @@ -780,7 +780,7 @@ Protected Module SQLdeLite Dim __parameter As New SQLdeLite.Parameter __parameter.Name = _property.Name __parameter.Value = _property.Value(Record) - __parameter.Position = _selectText.IndexOf(__field) + __parameter.Position = SQLText.IndexOf(__field) // Replace the variable with a question mark (for prepared statements) and add the value to the collection of bound parameters. If (__parameter.Position > 0) Then @@ -1157,6 +1157,8 @@ Protected Module SQLdeLite SQLdeLite Release Notes =================== + Version 2.170213.0 - February 13nd, 2017 + - Critical update to how parameters are ordered. Complex queries may have failed due to parameters not binding correctly. Version 2.170122.0 - January 22nd, 2017 - cubeSQL plugin will freeze up when trying to bind empty String/Text parameters. Offset this by binding Null if the String/Text field is blank. Version 2.1611.70 - November 7th, 2016