Hello, i found bug in mysqllib.
Output only 1 value.
Work:
Code:
local mysql = mysql.execute("SELECT vnum,locale_name FROM player2.item_proto")
say("Vnum 1: "..mysql[1].." Name. "..mysql[2])
Not work:
Code:
local mysql = mysql.execute("SELECT vnum,locale_name FROM player2.item_proto")
say("Vnum 1: "..mysql[1][1].." Name. "..mysql[1][2])
say("Vnum 2: "..mysql[2][1].." Name. "..mysql[2][2])
And sorting from the end table.
First value in function - last in table.
By google translate.