ewnavilae / gmodmodules

Automatically exported from code.google.com/p/gmodmodules
0 stars 0 forks source link

Cannot Read Data #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What is the expected output? What do you see instead?
Some sort of data. I get nothing

What version of the product are you using? On what operating system?
tmysql3boost server os 2008

Please provide any additional information below.
I can connect the database. I can insert information, however i cannot read 
data.

function GM:PlayerAuthed(pl,steamid)
    tmysql.query("SELECT `Money`,`Class`,`Classes`,`Skills` FROM `fw_playerdata` WHERE 'SteamID'='"..steamid.."'",
    function(res,stat,err)
        if err != 0 or !ValidEntity(pl) then return end
        LoadFWProfile(pl,res)
    end)

end

res returns nil even when there is data that matches the steamid feild. MYSQL 
syntax is correct.

Original issue reported on code.google.com by remscar on 26 Mar 2011 at 5:43

GoogleCodeExporter commented 8 years ago
Unable to reproduce. Isolate to testcase or check libmysql.

Original comment by AzuiSl...@gmail.com on 26 Mar 2011 at 5:50

GoogleCodeExporter commented 8 years ago

Original comment by AzuiSl...@gmail.com on 17 Oct 2011 at 5:14