udan11 / samp-plugin-sql

An abstract layer that communicates with multiple database servers (MySQL and PostgreSQL) implemented as a plugin for SA-MP servers.
BSD 2-Clause "Simplified" License
16 stars 13 forks source link

warning 213: tag mismatch #15

Closed leonardostefani closed 8 years ago

leonardostefani commented 8 years ago

Whats is the problem?

Compiler output:

C:\Users\Leonardo\Desktop\samp-server\gamemodes\sample.pwn(225) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Warning.

Line 225:

new handle; handle = sql_connect(SQL_HANDLER_POSTGRESQL, "127.0.0.1", "postgres", "leo123", "samp", 5432);

leonardostefani commented 8 years ago

Sorry.. was only create a variable of "kind ´sql´":

new SQL:handle;
handle = sql_connect(SQL_HANDLER_POSTGRESQL, "127.0.0.1", "postgres", "leo123", "samp", 5432)