[Interchange-bugs] [Bug 208] Changed - [sql-param N] does not work
bugzilla-daemon@developer.akopia.com
bugzilla-daemon@developer.akopia.com
Fri Jun 1 11:28:01 2001
http://developer.akopia.com/bugs/show_bug.cgi?id=208
*** shadow/208 Fri Jun 1 11:14:38 2001
--- shadow/208.tmp.13695 Fri Jun 1 11:27:24 2001
***************
*** 3,10 ****
Version: 4.6.3
Platform: All
OS/Version: All
! Status: NEW
! Resolution:
Severity: critical
Priority: P2
Component: Core
--- 3,10 ----
Version: 4.6.3
Platform: All
OS/Version: All
! Status: RESOLVED
! Resolution: WORKSFORME
Severity: critical
Priority: P2
Component: Core
***************
*** 35,37 ****
--- 35,45 ----
$run =~ s#($B$QR{_param})#is_number($2)?$row->[$2]:$1#ige;
but now [sql-param name] returns '[sql-param name]' (the string!).
+
+ ------- Additional Comments From mike@minivend.com 2001-06-01 11:27 -------
+ This is a documentation problem. [sql-param N] can never work anymore,
+ as that would eliminate the possibility of a field name of all digits.
+ While we understand that most SQL databases don't permit this, some
+ types (IC and some LDAP, as well as Ace) do.
+
+ The correct usage is [sql-pos N].