Aaron
Aaron
It's actually a separate project with it's own maintainer: https://github.com/moteus/lua-odbc ODBC is referenced in DBI.lua because he also provided a shim to make it compatible with the DBI interface: https://github.com/moteus/lua-odbc-dbi...
> umm so this must be available as lua lib to be able to use the odbc module of dbi i guess? Exactly correct. > so the ODBC module inside...
That works fine for me. I assumed that it was a private field that shouldn't be utilized out of fear breaking encapsulation. If that's not a concern, and n_connections can...
I'm not particularly concerned about the name. I probably would call it active_connections() but, to your point, that still sounds somewhat like an iterator. Any of these work for you?...
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-22.html#mysqld-8-0-22-optimizer > It was possible (although unsupported) to insert a floating point value into a LIMIT or OFFSET clause by means of a parameter (and possibly a user variable). This...
> So we just need to ensure we pass to MySQL as integers [if(lua_isinteger(param))](https://www.lua.org/manual/5.3/manual.html#lua_isinteger). I swear I spent hours looking for exactly this and never found it :) This is...
LGTM. Loads perfectly on one of my non-prod instances (Postgres 14.9 w/ Timescale.) Comments look great. Indexes look kind of aggressive but shouldn't be a problem.
> Do you happen to know if the organizers of this project are alright? Sorry, I'm just some random guy that stumbled over this wondering how to get my mail...
I also would prefer something other than MySQL. I'm already running Postgres; SQLite would be more than enough for a small site like mine (just a few hundred inbound emails/day.)...
> so please let me know what you've got so far so that I can just focus on what's left without re-inventing what you've already done. I've done nothing but...