SELECT does not return?
See original GitHub issueCurrent master 13d68525e75e287e083e77dc4b4ae36279ae4acb does not return data from SELECTs.
Running FXServer with ONLY the mysql-async resource started and with example.lua
enabled yields this failure.
[] [C: 0ms, Q: 0ms, R: 1ms] SELECT "hello1" as world {=}
Error running system event handling function for resource mysql-async: citizen:/scripting/lua/scheduler.lua:39: Failed to execute thread: example.lua:59: attempt to index a nil value (field '?')
stack traceback:
example.lua:59: in upvalue 'handler'
citizen:/scripting/lua/scheduler.lua:124: in function <citizen:/scripting/lua/scheduler.lua:123>
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:39: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function <citizen:/scripting/lua/scheduler.lua:92>
[C]: in function 'coroutine.resume'
citizen:/scripting/lua/scheduler.lua:33: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function <citizen:/scripting/lua/scheduler.lua:92>
hitch warning: frame time of 438 milliseconds
This can be replicated using EssentialMode 4 + esplugin_mysql, and fully-custom code, where character selection tends to explode.
Downgrading to https://github.com/brouznouf/fivem-mysql-async/releases/tag/v2.0.0-beta-6 does not exhibit this problem.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Why is select() not returning in my code? - Stack Overflow
I want to connect those multiple clients to the server using the select and FD_Set functions. Once the client connects to the server,...
Read more >SQL SELECT does not return all values - NI Community
i try to select values from my database. My problem is, i do not get all values from a few tables. i've seen...
Read more >Select statement does not return records even data exists
Select statement does not return records even data exists. Suggested Answer. Hi ,. I want to fetch the results below query. select sum(SalesBalance) ......
Read more >Why does my SELECT query not return null values? [duplicate]
This happens because col IN (1,null) returns TRUE if col=1 , and NULL otherwise (i.e. it can never return FALSE ). Since NOT...
Read more >does not return the expected value in a select query.
The wildcards (% and _) for the SELECT statement on strings do not appear to work. A SELECT * from tablename where name='ja%'...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
He is. Use beta6 until this is resolved.
Yup, tell you if something wrong 😉