FredyH / MySQLOO

MySQLOO
GNU Lesser General Public License v2.1
140 stars 55 forks source link

Query.onError missing 3rd `sql` arg #115

Closed 2048khz-gachi-rmx closed 2 years ago

2048khz-gachi-rmx commented 2 years ago

Functionality seems to have been lost between 9.6 and 9.7, but the docs still reference the sql argument.

9.6:

https://github.com/FredyH/MySQLOO/blob/abddaf62c8cfd72d940baf43eee10ee091dd8b45/MySQLOO/source/Query.cpp#L30-L33

9.7:

https://github.com/FredyH/MySQLOO/blob/b1d29b5a4f6aa44f357aa683aba6da50afc62827/src/lua/LuaIQuery.cpp#L80-L91

Docs:

https://github.com/FredyH/MySQLOO/blob/b1d29b5a4f6aa44f357aa683aba6da50afc62827/README.md?plain=1#L217-L218

FredyH commented 2 years ago

This was indeed lost with the latest major update, I fixed it in 9.7.6. Thanks for reporting it!