Skip to content

MySQLOO 9.7.0

Compare
Choose a tag to compare
@FredyH FredyH released this 17 Nov 17:52
· 25 commits to master since this release
ff4e9d0

Changes from 9.6.1:

  • Switched to MariaDB client which supports both 32 and 64 bit version
    • MySQL 8 is now fully supported, including the new native authentication (#60, #67)
  • Added ConVar to disable version check (#59)
  • Fixed not being able to add prepared query to transactions more than once (#31)
  • Added new functions to configure SSLSettings: db:setSSLSettings(key, cert, ca, capath, cipher)
  • Fixed database escape not working on strings including null characters (#42)
  • Completely restructured the code
    • Mysql and Lua classes are now separated
    • Lua is now fully in charge of the lifetime of Userdata/Lua objects
  • Switched to the CMake building system (CLion, Visual Studio and more now be used to develop/build this module)
  • Severely improved garbage collection performance
    • You can now create thousands of queries in one go without any lag
  • Improved performance when launching the same prepared query many times in a row
  • Added integration test of (almost) all functionality in Lua, including basic memory leak checks
  • Fixed several bugs, including some possible heap corruption on map change

Breaking Changes

  • Due to mysqloo now properly using metatables, some libraries/wrappers that relied on this not being the case might break.
    • older versions of the mysqloolib.lua and tmysql wrapper libraries included in this project will not work with mysqloo 9.7.0+. If your server/script uses this library, please use the latest version contained in the repository, which are compatible with all mysqloo 9 versions.