db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject RE: Can LargeSelect use prepared statements?
Date Thu, 13 Mar 2008 10:24:45 GMT

> It looks like Torque's LargeSelect does not use prepared statements in
> its queries.  Is there a way to make it do that?

You would have to modify the Torque code.

The problem with using prepared statements is that the Code for creating
prepared statements and the code which produces "normal" selects is
different, and can produce different outcome for more complicated queries.
So with the current code base, having a "switch" is a bad idea because
queries could behave differently.

    Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message