SA-MP Forums Archive
Problem with MySQL R39-2. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problem with MySQL R39-2. (/showthread.php?tid=559373)



Problem with MySQL R39-2. - Baltimore - 22.01.2015

Hello !

I have this error:

Код:
[22:13:08] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Numero", connection: 1
[22:13:08] [WARNING] CMySQLResult::GetRowDataByName - field not found ("Numero")
[22:13:08] [ERROR] cache_get_field_content_int - invalid datatype
In my code:

pawn Код:
new Numero = cache_get_field_content_int(i, "Numero");
In my database:

pawn Код:
`Numero` bigint(20) NOT NULL,
THX


Re: Problem with MySQL R39-2. - PowerPC603 - 22.01.2015

PAWN doesn't support bigints.
Big ints are 64-bit integers, PAWN only supports 32-bit integers.


Re : Problem with MySQL R39-2. - Baltimore - 22.01.2015

I changed in:

`Numero` int(11) NOT NULL,

Not work