Replies: 3 comments
-
|
Converted to discussion as its not an issue/bug |
Beta Was this translation helpful? Give feedback.
-
|
This is exactly where I got stuck too and was surprised at this limitation given how otherwise flexible the module system is. It's also currently impossible (though someone better than me at C++ might be able to prove me wrong) to create a custom database worker pool because it uses templates and the linker always fails if you try. Case in point: Playerbots has to modify the core in order to use its own schema/prepared statements. It's definitely a limitation that doesn't seem necessary |
Beta Was this translation helpful? Give feedback.
-
|
my solution: #24525 for comment |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The
PrepareStatementmethod onMySQLConnectionis protected.I was wondering why - being able to prepare one's own statements would enable module authors to improve database performance. As it stands, the options are to either use unprepared statements or to modify the core source to have custom prepared statements to use.
Neither is ideal.
Beta Was this translation helpful? Give feedback.
All reactions