You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 5.4 added Database::prepare() as a convenient alternative that performs the replacement based on WCF_N and has proven to prevent a lot of runtime errors for legacy setups with WCF_N !== 1.
The next step is to deprecate prepareStatement() and make it an alias of prepare() in 7.0. For some situations, most important exporters, we need to preserve the previous behavior by introducing prepareUnmanaged() which behaves exactly as prepareStatement() but represents an explicit opt-in.
WoltLab Suite 6.2
prepareUnmanaged() is introduced and is identical to the prepareStatement() in version 6.1.
prepareStatement() is marked as deprecated and forwards all calls to prepareUnmanaged().
prepare() is updated to use prepareUnmanaged() instead of prepareStatement().
All uses of prepareStatement() in the exporters are migrated to prepareUnmanaged() or prepare().
All remaining uses of prepareStatement() in the software are rewritten to use prepare() instead. This includes rewriting the queries to no longer use WCF_N directly.
WoltLab Suite 7.0
prepareStatement() is being removed.
The text was updated successfully, but these errors were encountered:
Version 5.4 added
Database::prepare()
as a convenient alternative that performs the replacement based onWCF_N
and has proven to prevent a lot of runtime errors for legacy setups withWCF_N !== 1
.The next step is to deprecate
prepareStatement()
and make it an alias ofprepare()
in 7.0. For some situations, most important exporters, we need to preserve the previous behavior by introducingprepareUnmanaged()
which behaves exactly asprepareStatement()
but represents an explicit opt-in.prepareUnmanaged()
is introduced and is identical to theprepareStatement()
in version 6.1.prepareStatement()
is marked as deprecated and forwards all calls toprepareUnmanaged()
.prepare()
is updated to useprepareUnmanaged()
instead ofprepareStatement()
.prepareStatement()
in the exporters are migrated toprepareUnmanaged()
orprepare()
.prepareStatement()
in the software are rewritten to useprepare()
instead. This includes rewriting the queries to no longer useWCF_N
directly.prepareStatement()
is being removed.The text was updated successfully, but these errors were encountered: