Replace placeholders by actual values in Benchmark
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 27 Jan 2021 11:39:51 +0000 (12:39 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 27 Jan 2021 11:45:43 +0000 (12:45 +0100)
commit048aaf0c318f01d11da4f6b8c01b6fdd1acbcb7a
tree65d07239b58852ee4297412c0e6b49c26bcdde56
parent2ff4f82ca857b71e4c01db468befca1db03fa11f
Replace placeholders by actual values in Benchmark

In most cases this allows one to simply copy the query to easily edit it within
a MySQL shell. The code (intentionally) does not handle single quotes
correctly. It also truncates the parameter after 100 characters and handles at
most 30 parameters.
wcfsetup/install/files/lib/system/database/statement/PreparedStatement.class.php