Jonathan Chan Kwan Yin
Jonathan Chan Kwan Yin
This seems a bug indeed.
unsigned longs?
Prefer linking the exact code that contains examples. Too many examples would not be good, since I could add them to a search on Poggit directly anyway. Prefer selecting the...
It isn't a worker. Just a thread on a wait loop. Don't ask me why I didn't use a Worker.
This should be a simple change. Only affects code in MysqlCredentials.php. Pull requests welcome.
Seems to be this loop https://github.com/poggit/libasynql/blob/50ac73e295869f97a46fad1d55af749608558f6e/libasynql/src/poggit/libasynql/libasynql.php#L137-L139 Could make this async indeed.
For now, your specific case can be done like this: ```sql -- # :payer string -- # :recipient string -- # :amount int UPDATE money SET amount = amount *...
Right now the best solution is to `CREATE PROCEDURE` or `CREATE FUNCTION`. Adding support for multiple queries breaks quite a lot of internals and is not trivial to implement.
> The problem could be simply resolved using AwaitGenerator. > > 1. Wait until query reduced money to A > > 2. Then add money to B. This has nothing...
Plugin reloading will NOT be implemented in the future. And if it does, it will make the methodology in this PR completely invalid.